SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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:
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?
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?
Other than the use of Alien's multilib files, it's just a stock install. Maybe I should slackpkg reinstall kernel...? perhaps something got left behind?
I would try to reinstall the kernel-modules package. Be careful to select the X86-64smp version.
yes this is strange...looked in /lib/modules and both hid.ko and usbhid.ko are there, modprobed both and neither appears in lsmod output after a reboot
going to eat/think and then reinstall the kernel-modules
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
hid and usbhid still do not appear in lsmod output.
That's pretty strange as /etc/rc.d/rc.S should load it at startup, provided you uncommented the relevant line in /etc/rc.d/rc.modules and /etc/rc.d/rc.modules* be executable
Quote:
Originally Posted by the_penguinator
.I don't like not knowing _why_ it's working...
Let me remind you the old saying:
« 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 ».
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.