[sane-devel] Scanner (USB) not found after kernel upgrade

Johannes Meixner jsmeix at suse.de
Wed Feb 8 10:39:33 UTC 2006


On Feb 8 09:28 Olaf Meeuwissen wrote (shortened):
> See:
>   http://bugzilla.kernel.org/show_bug.cgi?id=5001
> The kernel folks blame SANE ;-)

I asked several people and even one of "the kernel folks"
for documentation how to correctly talk to a USB device
which has more than one interface so that SANE could do it
correctly but no such documentation was available.

This proves of course that it is obviously only
a problem in SANE ;-)

By the way:
sanei/sanei_usb.c has more than 1900 lines of code only
to do USB device access.
I wonder why on the user-level there is so much detailed
stuff to be done to communicate with a USB device.
>From my innocent point of view the USB access looks somehow
broken by design. Shouldn't the kernel provide a simple API
with only "open" "read" "write" and "close" functions?
I remember that in Linux/Unix everything is a file
but I assume I am totally outdated ;-)

Kind Regards,
Johannes Meixner
SUSE LINUX Products GmbH, Maxfeldstrasse 5      Mail: jsmeix at suse.de
90409 Nuernberg, Germany                    WWW: http://www.suse.de/

More information about the sane-devel mailing list