hid and usbhid modules not found
Running 64current with Alien's multilibs installed on a Compaq V5000 laptop. I can't get Xsane to run. Debugging this points to permissions on the usb device being wrong. However /proc/bus/usb does not exist. lsmod shows only usblp module installed, no hid or usbhid. I'm thinking this may be the problem. Doing insmod for hid, hid_generic and usbhid gives "no such file or directory" error.
Clues happily read! |
If you use an initrd, these are the kind of modules you have to add explicitly to the MODULES line in /etc/mkinitrd.conf. Here's what mine looks like on this PC for example:
Code:
SOURCE_TREE="/boot/initrd-tree" Cheers, Niki |
That looks strange as both HID and USB_HID are among the kernel modules shipped in Slackware 14. Did you customize your kernel or do you use stock kernel & kernel-modules packages?
|
Quote:
|
I would try to reinstall the kernel-modules package. Be careful to select the X86-64smp version.
|
Quote:
going to eat/think and then reinstall the kernel-modules |
If you could load it with the modprobe command, just uncomment the line
Code:
#/sbin/modprobe usbhid |
Quote:
looking through the a/ directory on a slack mirror and see only "kernel-modules-3.2.29-x86_64-1.txz" no SMP option... |
Quote:
|
Thanks Didier, it's functioning now, but I'm still left with a puzzle. I reinstalled the kernel-modules and rebooted. Xsane found the scanner and it works properly...however...
1) hid and usbhid still do not appear in lsmod output. 2) #cat /proc/bus/usb gives: no such file or directory 3) As root, #sane-find-scanner fails to find an attached USB scanner, 4) as root #scanimage -L gives: device `umax:libusb:002:002' is a UMAX Astra 2200 flatbed scanner 5) as user $sane-find-scanner gives: could not open USB device 0x1d6b/0x0002 at 001:001: Access denied (insufficient permissions) could not open USB device 0x1d6b/0x0001 at 002:001: Access denied (insufficient permissions) could not open USB device 0x1d6b/0x0001 at 003:001: Access denied (insufficient permissions) 6) as user $scanimage -L gives: device `umax:libusb:002:002' is a UMAX Astra 2200 flatbed scanner yet Xsane is finding the scanner and it works perfectly...I don't like not knowing _why_ it's working... Cheers |
Quote:
Quote:
« La pratique, c'est quand ça marche mais on ne sait pas pourquoi. La théorie c'est quand ça ne marche pas mais on sait pourquoi. Ici la pratique et la théorie sont réconciliées: ça ne marche pas et personne ne sait pourquoi ». Cheers |
All times are GMT -5. The time now is 07:38 AM. |