SlackwareThis Forum is for the discussion of Slackware Linux.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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!
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...
Distribution: Slint64-14.2 on Lenovo Thinkpad W520
Originally Posted by the_penguinator
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
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 ».