[sane-devel] New to list - need help to understand sane

Karl F. Larsen k5di at zianet.com
Sun Nov 17 17:37:15 GMT 2002


Hi Bill, I think you have a usb scanner. If so look back about one day 
on this list to a message from me with the title Scanner Basics. It 
explains how I got my USB scanner working. 

On Mon, 18 Nov 2002, William Heidrich wrote:

> Still having trouble. Thanks if the following means anything to you.
> 
> 
> 0) the scanner works fine under windows 98 & XP
> 1) I have compiled the scanner driver as a module. (using RH 8.0)
> 2) without modprobe it is detected as libusb:001:004
> 3) after modprobe it is identified as /dev/usb/scanner0
> 
> Sane-find-scanner detects these and scanimage -L detects and names the
> scanner correctly
> 
> When I try scanimage >image.pnm the console hangs. The trace shows write
> errors to the scanner
> 
> I tried with debug option and I have attached the log I received: (I get
> a similar log when I have libusb:001:004 listed in the canon630u.conf
> file
> 
> ***
> 
> ****
> 
> 
> 
> 
> -----Original Message-----
> From: sane-devel-admin at www.mostang.com
> [mailto:sane-devel-admin at www.mostang.com] On Behalf Of Henning
> Meier-Geinitz
> Sent: Saturday, 16 November 2002 9:49 PM
> To: SANE Mailing List
> Subject: Re: [sane-devel] New to list - need help to understand sane
> 
> 
> > [root at localhost root]# sane-find-scanner
> > found USB scanner (vendor=0x04a9, product=0x2204 [CanoScan FB630U]) at
> 
> > libusb:001:004
> 
> Ok, found by libusb.
> 
> > [root at localhost root]# SANE_DEBUG_CANON630U=255 scanimage -L 
> > [sanei_debug] Setting debug level of canon630u to 255. [canon630u]
> > sane_init: version_code != 0, authorize != 0 [canon630u] sane_init:
> > SANE Canon630u backend version 1.0.1 from sane-backends-1.0.9
> > 1.0.9
> > [canon630u] reading configure file canon630u.conf
> > [canon630u] attach_matching_devices(usb 0x04a9 0x2204)
> 
> Your first line in canon630u.conf is
> 
> usb 0x04a9 0x2204
> 
> That's ok. It will find your scanner.
> 
> > [canon630u] attach_scanner: libusb:001:004
> > [canon630u] attach_scanner: opening libusb:001:004 [canon630u]
> > CANON_open_device: `libusb:001:004' [canon630u] CANON_close_device: 
> > [canon630u] finished reading configure file [canon630u] 
> > sane_get_devices(local_only = 0) device `canon630u:libusb:001:004' is 
> > a CANON Canoscan FB630U flatbed scanner
> 
> Ok, your scanner is found. Now does scanning work?
> 
> scanimage >image.pnm
> 
> 
> 
> Bye,
>   Henning
> 
> _______________________________________________
> Sane-devel mailing list
> Sane-devel at www.mostang.com
> http://www.mostang.com/mailman/listinfo/sane-devel
> 

-- 
                      
               - Karl Larsen k5di Las Cruces,NM Az ScQRPions -




More information about the sane-devel mailing list