[sane-devel] Hotplug and udev files created automatically now, please test!

Julien BLACHE jb at jblache.org
Thu May 4 05:56:40 UTC 2006


Peter Christy <christy at attglobal.net> wrote:

> [sanei_usb] sanei_usb_init: Looking for kernel scanner devices
> [sanei_usb] kernel_get_vendor_product: ioctl (vendor) of 
> device /dev/usbscanner0 failed: Inappropriate ioctl for device
> [sanei_usb] sanei_usb_get_vendor_product: ioctl (product) of 
> device /dev/usbscanner0 failed: Inappropriate ioctl for device
> [sanei_usb] sanei_usb_init: found kernel scanner device 
> (0xffffffff/0xffffffff) at /dev/usbscanner0

This is your problem. Do NOT name the device node usbscannerX,
otherwise sanei_usb will recognise it as a device from the scanner
driver, and it won't work.

The ioctl() failures should be treated as a real error, there's a bug
in there, as the log shows. The device shouldn't be recognised if
there is a ioctl() failure.

Maybe we should pull the plug on the scanner driver support ?

JB.

-- 
Julien BLACHE                                   <http://www.jblache.org> 
<jb at jblache.org>                                  GPG KeyID 0xF5D65169



More information about the sane-devel mailing list