I was reading older posts and it seems that the issue is I don't have /dev/usb. My HCI is clearly EHCI:
Code: Select all
sula:/home/afh lspci | grep -i usb
00:1a.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06)
00:1d.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06)
Which is compiled into the kernel, and seems to be working:
Code: Select all
sula:/home/afh dmesg | grep -i usb
[ 0.082432] ACPI: bus type USB registered
[ 0.082554] usbcore: registered new interface driver usbfs
[ 0.082664] usbcore: registered new interface driver hub
[ 0.082777] usbcore: registered new device driver usb
[ 0.424730] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.424737] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 0.424764] usbcore: registered new interface driver usblp
[ 0.424788] usbcore: registered new interface driver usb-storage
[ 0.431444] usbcore: registered new interface driver usbhid
[ 0.431447] usbhid: USB HID core driver
But I'm getting:
Code: Select all
sula:/home/afh export LIBUSB_DEBUG=9
sula:/home/afh lsusb
libusb: debug [libusb_init] created default context
libusb: debug [libusb_init] libusb v1.0.21.11156
libusb: error [op_init] could not find usbfs
unable to initialize libusb: -99
According to the internet libusb needs a usbfs on /dev/usb. I tried adding the following to my /etc/fstab and rebooting:
But that did not seem to solve the issue. Any ideas?
Edit: Not sure what happened, but after adding USV support on the kernel it's now working. I probably didn't install the kernel after adding some other option. Here is the relevant config on the working setup:
Code: Select all
CONFIG_MEDIA_USB_SUPPORT=y
CONFIG_USB_VIDEO_CLASS=y
CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y
CONFIG_USB_GSPCA=m
CONFIG_SND_USB=y
CONFIG_USB_HID=y
CONFIG_USB_HIDDEV=y
CONFIG_USB_OHCI_LITTLE_ENDIAN=y
CONFIG_USB_SUPPORT=y
CONFIG_USB_COMMON=y
CONFIG_USB_ARCH_HAS_HCD=y
CONFIG_USB=y
CONFIG_USB_PCI=y
CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
CONFIG_USB_DEFAULT_PERSIST=y
CONFIG_USB_MON=y
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_EHCI_ROOT_HUB_TT=y
CONFIG_USB_EHCI_TT_NEWSCHED=y
CONFIG_USB_EHCI_PCI=y
CONFIG_USB_OHCI_HCD=y
CONFIG_USB_OHCI_HCD_PCI=y
CONFIG_USB_STORAGE=y
CONFIG_EARLY_PRINTK_USB=y