get a debug log for the backend that supports the scanner, mustek_usb2, not mustek.
allan On 7/29/07, Dr. Harry Knitter <harry at knitter-edv-beratung.de> wrote: > Thanks fro your reply, Alan > > I did export SANE_DEBUG_MUSTEK=20; xscanimage > foo.pnm & 2>&1 > > here the result: > [sanei_debug] Setting debug level of mustek to 20. > [mustek] SANE mustek backend version 1.0 build 138 from sane-backends 1.0.18 > [mustek] sane_init: authorize == null > [mustek] sane_init: using sanei_scsi_open_extended > [mustek] sane_init: reading config file `mustek.conf' > [mustek] sane_init: config file line 1: ignoring comment line > [mustek] sane_init: config file line 2: ignoring empty line > [mustek] sane_init: config file line 3: ignoring comment line > [mustek] sane_init: config file line 4: ignoring comment line > [mustek] sane_init: config file line 5: ignoring comment line > [mustek] sane_init: config file line 6: ignoring comment line > [mustek] sane_init: config file line 7: ignoring comment line > [mustek] sane_init: config file line 8: ignoring comment line > [mustek] sane_init: config file line 9: ignoring empty line > [mustek] sane_init: config file line 10: ignoring comment line > [mustek] sane_init: config file line 11: trying to attach `scsi MUSTEK * > Scanner' > [mustek] sane_init: config file line 12: ignoring comment line > [mustek] sane_init: config file line 13: ignoring comment line > [mustek] sane_init: config file line 14: ignoring comment line > [mustek] sane_init: config file line 15: ignoring comment line > [mustek] sane_init: config file line 16: ignoring comment line > [mustek] sane_init: config file line 17: ignoring empty line > [mustek] sane_init: config file line 18: trying to attach `scsi SCANNER' > [mustek] sane_init: config file line 19: ignoring comment line > [mustek] sane_init: config file line 20: ignoring comment line > [mustek] sane_init: config file line 21: ignoring comment line > [mustek] sane_init: config file line 22: ignoring comment line > [mustek] sane_init: config file line 23: ignoring comment line > [mustek] sane_init: config file line 24: ignoring empty line > [mustek] sane_init: config file line 25: trying to attach `/dev/scanner' > [mustek] attach: trying device /dev/scanner > [mustek] dev_open /dev/scanner > [mustek] dev_open: Invalid argument: can't open /dev/scanner as a SCSI device > [mustek] dev_open: Invalid argument: can't open /dev/scanner as an AB306N > device > [mustek] mustek_scsi_pp_open: error opening device /dev/scanner > [mustek] dev_open: Invalid argument: can't open /dev/scanner as a > SCSI-over-parallel device > [mustek] dev_open: can't open /dev/scanner > [mustek] sane_init: config file line 26: ignoring comment line > [mustek] sane_init: config file line 27: ignoring comment line > [mustek] sane_init: config file line 28: ignoring comment line > [mustek] sane_init: config file line 29: ignoring comment line > [mustek] sane_init: config file line 30: ignoring comment line > [mustek] sane_init: config file line 31: ignoring empty line > [mustek] sane_init: config file line 32: ignoring comment line > [mustek] sane_init: config file line 33: ignoring comment line > [mustek] sane_init: config file line 34: ignoring comment line > [mustek] sane_init: config file line 35: ignoring comment line > [mustek] sane_init: config file line 36: ignoring comment line > [mustek] sane_init: config file line 37: ignoring empty line > [mustek] sane_init: config file line 38: ignoring comment line > [mustek] sane_init: config file line 39: ignoring comment line > [mustek] sane_init: config file line 40: ignoring comment line > [mustek] sane_init: config file line 41: ignoring comment line > [mustek] sane_init: end > [mustek] sane_get_devices: 0 devices > [mustek] sane_get_devices: end > > sane-find-scanner gives me: > > found USB scanner (vendor=0x055f [Hewlett-Packard. ], product=0x0409 > [USB2.0 Scanner ]) at libusb:001:006 > > In all configuration files I read I found 0x55f for Mustek and 0x0409 for > BearPaw 2448TA Pro, the scanner that is attached to my machine. > > The vendor and scanner name sane-find-scanner reports to me do not interest me > at all. However, how can I persuade sane to get the right backend for my > scanner? > > Harry > -- "The truth is an offense, but not a sin"
