howto pass options to a kernal "scanner" module on startup (1650 USB Epson scanner related)
I have 1660 EPSON Precision scanner.
detected by /usr/bin/sane-find-scanner
found USB scanner (vendor=0x04b8, product=0x0110) at /dev/usb/scanner0
found USB scanner (vendor=0x04b8 [EPSON], product=0x0110 [EPSON
Scanner]) at
libusb:003:002
I understand that I need to pass options to kernel usb module to make
kernel 2.4.27-2 to load scanner module properly.
On RedHat I as able to do it by:
1) adding scanner vendor and products information to the kernel modules
configuration file /etc/modules.conf as follows:
echo "alias usb-controller usb-uhci" >> /etc/modules.conf
echo "options scanner vendor=0x04b8 product=0x0110">> /etc/modules.conf
2) Changing some known config parameters in Sane software and rebooting
the machine.
On Debian Sarge I did the same; After rebooting scanner was mot found.
Passing parameters manually works:
su modprobe scanner vendor=0x04b8 product=0x011e
Now xsane starts correctly, detects the scanner and works perfectly.
Question:
What is the "debian way" do to load scanner module with option on
start-up.
Thank you in advance.
--
Ivan Teliatnikov <ivan@geosci.usyd.edu.au>
University of Sydney
Reply to: