Ask a Question related to Linux Setup, Configuration & Administration, Design and Development.
-
Michal S. #1
kmod not loading usb scanner module (scanner.o)
I need to have the kernel automatically load scanner.o whenever I
attempt to use my scanner and autoclean (unload) when I'm done.
Hotplug does not fit my purpose because it will not unload the module
as long as the usb device (my scanner) is still plugged in.
When I manually modprobe scanner everything works and xsane accesses
the scanner device via:
crw-rw-rw- 1 root root 180, 48 Jun 22 18:42
/dev/usb/scanner0
Of course I need to manually unload the scanner.o module after I'm
done since scanner.o won't be autocleaned.
To fix this I created following entry in /etc/modules.conf to force
kmod to load my scanner module when xsane accesses it:
alias char-major-180-48 scanner
Unfortunately this does not seem to work. The module is never loaded
even though xsane does attempt to open(/dev/usb/scanner0). I verified
this with strace:
open("/dev/usb/scanner0", O_RDWR) = -1 ENODEV (No such device)
How can I force my kernel (2.4.21) to load scanner.o when device
180,48 is opened?
Thank for help,
Sincerely,
Michal Sabala
PS. I need to automatically unload scanner.o because it seems to
malfunction after prolonged time in the kernel without being used.
PS2. I'm running Debian Testing if that makes a difference...
Michal S. Guest
-
Anybody using Nmap::Scanner?
Hi, I'm having difficulties with that module because it cannot leverage nmap's ability to take arguments ftom stdin. After having looked at it,... -
Creating a PDF w/Scanner
In versions 4.x 5.x I was able to use my document feeder to scan multiple pages into a pdf file. I have just recently upgraded to 6.0 and am unable... -
SCSI module not installed for scanner?
I have an HP-6200C scanner connected to my Red Hat 9 (i386) system via an Advansys ABP-960U SCSI card. Although 'dmesg' reports that the card and... -
Scanner wizard
My last scanner software was not xp compatable and so I used Scanner Wizard. I have grown to like this for some things. It appeared at the left... -
Help with PS7.0 and HP 4c scanner
I have an OLD HP 4c, SCSI, scanner that is still chugging along, or has been up until today! I scanned a photo into PS7 in portrait mode from the 4c....



Reply With Quote

