I encountered a strange problem with the kmod-usb-hid package. I’m using a USB-barcodescanner for my project, connected to the USB-host of my yun. To read the barcodes, I need USB-hid support. A little C-Program then hooks into the device an gives the barcodes to the Arduino-Sketch.
Problem is: If the Yun isn’t connected to the PC, the scanner will fail on boot. Right after powering up it works, but during openwrt-boot it is disconnected. Error via dmesg is:
[ 84.140000] usb 1-1.1: device descriptor read/64, error -145 [ 84.330000] usb 1-1.1: reset full-speed USB device number 3 using ehci-platform [ 99.350000] usb 1-1.1: USB disconnect, device number 3 (And so on...)
Connected to the PC, this nearly never happens! I don’t get it
I know it has something to do with kmod-usb-hid. The error first appears when this package is installed. I’ve captured the boot process with and without driver, please see the attachments.
boot errors.txt (12.7 KB)
boot ok.txt (12.2 KB)