longsleep / linux-pine64

Pine64 Linux Kernel
Other
111 stars 107 forks source link

hid-generic: device has no listeners, quitting #33

Closed pnoodles closed 7 years ago

pnoodles commented 8 years ago

Current kernel:

3.10.102-3-pine64-longsleep #98 SMP PREEMPT Sat Aug 20 22:28:17 CEST 2016

I am trying to run apcupsd on the Pine64+ to monitor my battery backup, but the tool is unable to connect to the device. The battery backup is plugged in via USB and is recognized when running lsusb as shown below:

Bus 004 Device 004: ID 051d:0002 American Power Conversion Uninterruptible Power Supply

After plugging in the device, dmesg shows the device, but contains the message in the title.

[1367680.112640] ehci_irq: highspeed device connect [1367680.235486] ohci_irq: fullspeed or lowspeed device connect [1367680.629086] usb 4-1: new full-speed USB device number 4 using sunxi-ohci [1367680.947945] hid-generic 0003:051D:0002.0006: device has no listeners, quitting

I have read that CONFIG_USB_HIDDEV should be enabled in the kernel and used the following command to verify: gzip -d < /proc/config.gz | grep HIDDEV

CONFIG_USB_HIDDEV is not set

Is this something that can be enabled in the kernel build? Any help would be greatly appreciated.

pnoodles commented 7 years ago

Thanks @longsleep!