Skip to content
This repository was archived by the owner on Aug 5, 2022. It is now read-only.

Commit 04fc304

Browse files
committed
fwupd: explain how to enable hidraw
Reconfiguring the kernel is something that may or may not be necessary in a product, depending on what fwupd is meant to update. For now it is something that has to be done by the developer who wants to test fwupd. Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
1 parent 881282c commit 04fc304

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

meta-refkit-core/recipes-extended/fwupd/README

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
1-
To test fwupd with qemu, one can build refkit-image-common with this in local.conf:
1+
To test fwupd with qemu and a Logitech Unifying Receiver, one can
2+
build refkit-image-common with this in local.conf:
23

34
REFKIT_IMAGE_COMMON_EXTRA_INSTALL_append = " fwupd fwupd-demo-firmware usbutils"
5+
SRC_URI_append-pn-linux-intel = "file://${META_REFKIT_CORE_BASE}/recipes-extended/fwupd/files/hidraw-class.cfg"
6+
7+
hidraw-class.cfg is only needed when using fwupd with USB devices. By
8+
default, linux-intel and linux-yocto kernels do not support the
9+
necessary /dev/hidraw* device.
410

511
Buy a Logitech Unifying Receiver that is supported:
612
https://github.com/hughsie/fwupd/tree/master/plugins/unifying
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Needed for apps (like fwupd) which interact with USB hardware via libudev.
2+
# http://www.signal11.us/oss/udev/
3+
CONFIG_HIDRAW=y

0 commit comments

Comments
 (0)