Quantcast
Channel: Active questions tagged linux-kernel - Stack Overflow
Viewing all articles
Browse latest Browse all 12244

Minimal Linux kernel options to enable hid input

$
0
0

I need to handle a HID device (a barcode reader) with a custom Linux (v5.8).

I have a modulerized kernel which works as expected with other USB peripherals (storage and serial are known to work), but I seem unable to scan this device.

Plugging it into a desktop (Linux Mint "Ulyana", if it matters) I get a normal enumeration:

[525428.367216] usb 1-11: new full-speed USB device number 9 using xhci_hcd[525428.517071] usb 1-11: New USB device found, idVendor=05e0, idProduct=1200, bcdDevice= 1.00[525428.517077] usb 1-11: New USB device strings: Mfr=1, Product=2, SerialNumber=3[525428.517080] usb 1-11: Product: Symbol Bar Code Scanner[525428.517083] usb 1-11: Manufacturer: Symbol Technologies, Inc, 2008[525428.517086] usb 1-11: SerialNumber: S/N:0641F625A3A943949AF00BAB171ABFE2 Rev:PAACFS00-001-R023[525428.519932] input: Symbol Technologies, Inc, 2008 Symbol Bar Code Scanner as /devices/pci0000:00/0000:00:14.0/usb1/1-11/1-11:1.0/0003:05E0:1200.0005/input/input32[525428.579736] hid-generic 0003:05E0:1200.0005: input,hidraw4: USB HID v1.10 Keyboard [Symbol Technologies, Inc, 2008 Symbol Bar Code Scanner] on usb-0000:00:14.0-11/input0

While on my target I see no sign of the new peripheral; lsusb displays just the root HUB even when I manually modprobe (what I think are) the relevant modules:

# lsusbBus 001 Device 001: ID 1d6b:0002# lsmodModule                  Size  Used by    Not taintedusbhid                 23296  0 usbmon                 19424  0 mt7603e                38048  0 mt76                   31648  1 mt7603emac80211              380000  2 mt7603e,mt76sha256_generic          2240  0 libsha256               8480  1 sha256_genericehci_platform           4704  0 cfg80211              236736  3 mt7603e,mt76,mac80211ehci_hcd               37936  1 ehci_platformrfkill                  8544  1 cfg80211usbcore               143456  4 usbhid,usbmon,ehci_platform,ehci_hcdlibarc4                  832  1 mac80211mtk_eth                30208  0 usb_common              2768  3 usbmon,ehci_platform,usbcore

I am obviously missing something, but I seem unable to understand what.What should I cross-check?

Note: please feel free to ask for relevant details, I did not put too many things here just to avoid cluttering but I'm fully prepared to give all info deemed useful.


Viewing all articles
Browse latest Browse all 12244

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>