Hi, I did #define NO_AUTODETECT, however it still doesn't work and I get:
scanimage -d umax1220u:/dev/uscanner0 [sanei_debug] Setting debug level of umax1220u to 10. [umax1220u] sane_init: version_code != 0, authorize != 0 [umax1220u] sane_init: SANE umax1220u backend version 1.0.1 from sane-backends-1.0.8-cvs [umax1220u] reading configure file umax1220u.conf [umax1220u] attach_matching_devices(usb 0x1606 0x0030) [umax1220u] attach_matching_devices(/dev/uscanner0) [umax1220u] attach_scanner: /dev/uscanner0 [umax1220u] attach_scanner: opening /dev/uscanner0 [umax1220u] UMAX_open_device: `/dev/uscanner0' [umax1220u] UMAX_open_device: Scanner is a 2000U. Expect color problems :) [umax1220u] Failure on line of umax1220u-common.c: 304 [umax1220u] UMAX_close_device: [umax1220u] Failure on line of umax1220u-common.c: 1673 [umax1220u] ERROR: attach_scanner: opening /dev/uscanner0 failed [umax1220u] finished reading configure file [umax1220u] sane_open [umax1220u] sane_open: devicename=/dev/uscanner0 [umax1220u] attach_scanner: /dev/uscanner0 [umax1220u] attach_scanner: opening /dev/uscanner0 [umax1220u] UMAX_open_device: `/dev/uscanner0' [umax1220u] UMAX_open_device: Scanner is a 2000U. Expect color problems :) [umax1220u] Failure on line of umax1220u-common.c: 304 [umax1220u] UMAX_close_device: [umax1220u] Failure on line of umax1220u-common.c: 1673 [umax1220u] ERROR: attach_scanner: opening /dev/uscanner0 failed scanimage: open of device umax1220u:/dev/uscanner0 failed: Operation not supported [umax1220u] sane_exit the same is true for sane compiled with libusb and/or the scanner attached to ugen0.... libusb seems to work basically, however, when the scanner is attached to ugen0: #./testlibusb bus/device idVendor/idProduct /dev/usb0//dev/ugen0 1606/0030 wTotalLength: 39 bNumInterfaces: 1 bConfigurationValue: 1 iConfiguration: 0 bmAttributes: 40h MaxPower: 50 bInterfaceNumber: 0 bAlternateSetting: 0 bNumEndpoints: 3 bInterfaceClass: 0 bInterfaceSubClass: 0 bInterfaceProtocol: 0 iInterface: 0 bEndpointAddress: 01h bmAttributes: 02h wMaxPacketSize: 64 bInterval: 0 bRefresh: 0 bSynchAddress: 0 bEndpointAddress: 82h bmAttributes: 02h wMaxPacketSize: 64 bInterval: 0 bRefresh: 0 bSynchAddress: 0 bEndpointAddress: 83h bmAttributes: 03h wMaxPacketSize: 1 bInterval: 1 bRefresh: 0 bSynchAddress: 0 so I guess the backend doesn't work... :-( tn >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Wed, Jul 31, 2002 at 11:57:50AM +0200, Thomas Niedermeier wrote: > did anyone get a umax scanner to work with sane 1.0.7? > my umax 1600u attaches to uscanner0 (as umax astra 2000u though), but > when i try "scanimage" i get the following: [...] > [umax1220u] UMAX_open_device: `/dev/uscanner0' > [umax1220u] UMAX_open_device: sanei_usb_get_vendor_product failed > [umax1220u] ERROR: attach_scanner: opening /dev/uscanner0 failed > scanimage: open of device umax1220u:/dev/uscanner0 failed: Operation > not supported > [umax1220u] sane_exit > > any help would be appreciated I'm just guessing: The backend tries to identify the scanner (vendor and product) and gets the response that this is not possible (FreeBSD uscanner driver can't do it). Usually that's no problem but the umax1220u backend seems to insist on this identification. There is a line #ifndef NO_AUTODETECT in the code (backend/umax1220u-common.c). Try #define NO_AUTODETECT and recompile. Maybe that's enough to get it running. Probably the maintainer of this backend can tell more details. You may also try the CVS version of sane-backends which has support for libusb. This may work (if you have installed libusb). Otherwise I guess the backend must be changed. Bye, Henning __________________________________________________________________ Gesendet von Yahoo! Mail - http://mail.yahoo.de Möchten Sie mit einem Gruß antworten? http://grusskarten.yahoo.de