[sane-devel] Canon FB630u with Kernel 2.6

Bertrik Sikken bertrik@zonnet.nl
Mon, 10 Jan 2005 23:57:00 +0100


cneugeb@mysc.de wrote:
> 
> Hello List,
> 
> I have a Canon FB630U scanner and I got it to work with  Sane with 
> Linux since kernel 2.4.16
> 
> With kernel 2.6 I can not get it to work again.
> 
> I asked Nathan Ruthman (the author of the backend) if he has any idea and he answered me that
> he got rid of that scanner before kernel 2.6 came out, so he never updated it.
> 
> Is this the end of the support for the FB630u?
> 
> He told me that there's probably a more universal USB standard for
> SANE drivers now; it probably wouldn't take much to
> change this driver if you're up for it.
> 
> There's just two functions - usb_cmd_write and usb_bulk_write that
> would have to wrap a new interface he thinks.
> 
> But I have no experience at all in writing drivers.
> 
> 
> Chistian Neugebauer

The big difference w.r.t. scanner support between kernel 2.4 and 2.6
is the 'scanner' kernel module. This module was removed in kernel 2.6
in favour of libusb, which uses usbdevfs through a set of files in
/proc/bus/usb. The usb support in sane supports both /dev/scanner and
libusb, and as far as I can tell, the canon630u.c file has already
been modified to take advantage of sanei_usb support.

Perhaps you can make it work, just by adding 'usb x y' to the
backend config file, where x y is the USB vendor and product id
of the scanner. You can figure these out by looking at the output
of lsusb.

Kind regards,
Bertrik


-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.6.10 - Release Date: 1/10/2005