[sane-devel] how to get usb scanner to load scanner.o automatically?

Bertrik Sikken bertrik@zonnet.nl
Sat, 15 Jun 2002 12:24:15 +0200


Hi,

David Cougle wrote:
> I think the device is /dev/usb/scanner0
> if i modprobe scanner, xsane works ok, but not otherwise.
> alias char-major-180,48 scanner
> i have that in modules.conf, but it won't load automatically still.

On my system (Mandrake 8.2) I think the scanner module is loaded by
the USB hotplug scripts. You may have to edit those to associate the
USB vendor/product IDs of the scanner with the scanner kernel module.

It may also work if you create the /dev/usb/scanner0 device node
explicitly using mknod.
I think it's a good idea then to also create a symlink called
/dev/usbscanner: 'ln -s /dev/usb/scanner0 /dev/usbscanner'.

Kind regards,
Bertrik