Am Samstag, 19. März 2005 12:17 schrieb Julien BLACHE:
> Rainer Dorsch <[EMAIL PROTECTED]> wrote:
>
> [please keep the bug log in the loop when replying]
>
> > It is umax:
> >
> > silverboxy:~# SANE_DEBUG_UMAX=255 scanimage -L
> > [sanei_debug] Setting debug level of umax to 255.
> > [umax] sane_init
> > [umax] This is sane-umax version 1.0 build 44
> > [umax] compiled with USB support for Astra 2200
> > [umax] (C) 1997-2002 by Oliver Rauch
> > [umax] EMAIL: [EMAIL PROTECTED]
> > [umax] reading configure file umax.conf
> > [umax] sanei_config_attach_matching_devices(scsi UMAX * Scanner)
> > [umax] sanei_config_attach_matching_devices(scsi LinoHell JADE)
> > [umax] sanei_config_attach_matching_devices(scsi LinoHell Office)
> > [umax] sanei_config_attach_matching_devices(scsi LinoHell Office2)
> > [umax] sanei_config_attach_matching_devices(scsi LinoHell SAPHIR2)
> > [umax] sanei_config_attach_matching_devices(scsi LinoHell SAPHIR3)
> > [umax] sanei_config_attach_matching_devices(scsi Linotype SAPHIR4)
> > [umax] sanei_config_attach_matching_devices(scsi LinoHell OPAL2)
> > [umax] sanei_config_attach_matching_devices(scsi HDM LS4H1S)
> > [umax] sanei_config_attach_matching_devices(scsi Nikon AX-110)
> > [umax] sanei_config_attach_matching_devices(scsi Nikon AX-210)
> > [umax] sanei_config_attach_matching_devices(scsi KYE ColorPage-HR5)
> > [umax] sanei_config_attach_matching_devices(scsi EPSON Perfection600)
> > [umax] sanei_config_attach_matching_devices(scsi ESCORT "Galleria 600S")
> > [umax] sanei_config_attach_matching_devices(scsi TriGem PowerScanII)
> > [umax] sanei_usb_attach_matching_devices(usb 0x1606 0x0230)
> > [umax] option connection-type = 1
> > [umax] attach_scanner: /dev/scanner, connection_type 1
> > [umax] attach_scanner: opening scsi device /dev/scanner
> > [umax] ERROR: attach_scanner: opening scsi device /dev/scanner failed
> > [umax] option connection-type = 2
> > [umax] attach_scanner: /dev/usbscanner, connection_type 2
> > [umax] attach_scanner: opening usb device /dev/usbscanner
> > [umax] sanei_umaxusb_open: open of `/dev/usbscanner' failed: Invalid
> > argument [umax] ERROR: attach_scanner: opening usb device /dev/usbscanner
> > failed [umax] finished reading configure file
> > [umax] sane_get_devices(local_only = 0)
> >
> >
> >
> > When I run as user, the problem does not occur:
> >
> > [EMAIL PROTECTED]:~$ scanimage -L
> > device `umax1220u:libusb:001:004' is a UMAX Astra 1220U flatbed scanner
> > [EMAIL PROTECTED]:~$ SANE_DEBUG_UMAX=255 scanimage -L
> > [sanei_debug] Setting debug level of umax to 255.
> > [umax] sane_init
> > [umax] This is sane-umax version 1.0 build 44
> > [umax] compiled with USB support for Astra 2200
> > [umax] (C) 1997-2002 by Oliver Rauch
> > [umax] EMAIL: [EMAIL PROTECTED]
> > [umax] reading configure file umax.conf
> > [umax] sanei_config_attach_matching_devices(scsi UMAX * Scanner)
> > [umax] sanei_config_attach_matching_devices(scsi LinoHell JADE)
> > [umax] sanei_config_attach_matching_devices(scsi LinoHell Office)
> > [umax] sanei_config_attach_matching_devices(scsi LinoHell Office2)
> > [umax] sanei_config_attach_matching_devices(scsi LinoHell SAPHIR2)
> > [umax] sanei_config_attach_matching_devices(scsi LinoHell SAPHIR3)
> > [umax] sanei_config_attach_matching_devices(scsi Linotype SAPHIR4)
> > [umax] sanei_config_attach_matching_devices(scsi LinoHell OPAL2)
> > [umax] sanei_config_attach_matching_devices(scsi HDM LS4H1S)
> > [umax] sanei_config_attach_matching_devices(scsi Nikon AX-110)
> > [umax] sanei_config_attach_matching_devices(scsi Nikon AX-210)
> > [umax] sanei_config_attach_matching_devices(scsi KYE ColorPage-HR5)
> > [umax] sanei_config_attach_matching_devices(scsi EPSON Perfection600)
> > [umax] sanei_config_attach_matching_devices(scsi ESCORT "Galleria 600S")
> > [umax] sanei_config_attach_matching_devices(scsi TriGem PowerScanII)
> > [umax] sanei_usb_attach_matching_devices(usb 0x1606 0x0230)
> > [umax] option connection-type = 1
> > [umax] attach_scanner: /dev/scanner, connection_type 1
> > [umax] attach_scanner: opening scsi device /dev/scanner
> > [umax] ERROR: attach_scanner: opening scsi device /dev/scanner failed
> > [umax] option connection-type = 2
> > [umax] attach_scanner: /dev/usbscanner, connection_type 2
> > [umax] attach_scanner: opening usb device /dev/usbscanner
> > [umax] sanei_umaxusb_open: open of `/dev/usbscanner' failed: Invalid
> > argument [umax] ERROR: attach_scanner: opening usb device /dev/usbscanner
> > failed [umax] finished reading configure file
> > [umax] sane_get_devices(local_only = 0)
> > device `umax1220u:libusb:001:004' is a UMAX Astra 1220U flatbed scanner
> > [umax] sane_exit
> > [EMAIL PROTECTED]:~$
>
> OK... probably not a problem in the backend.
>
> Could you run scanimage under gdb and obtain a backtrace ?
>

In your other mail you asked for another trace (?):

silverboxy:~# SANE_DEBUG_DLL=255 SANE_DEBUG_UMAX1220U=255 scanimage -L
[sanei_debug] Setting debug level of dll to 255.
[dll] sane_init: SANE dll backend version 1.0.11 from sane-backends 1.0.15
[dll] sane_init/read_config: reading dll.conf
[dll] add_backend: adding backend `net'
[dll] add_backend: adding backend `abaton'
[dll] add_backend: adding backend `agfafocus'
[dll] add_backend: adding backend `apple'
[dll] add_backend: adding backend `avision'
[dll] add_backend: adding backend `artec'
[dll] add_backend: adding backend `artec_eplus48u'
[dll] add_backend: adding backend `as6e'
[dll] add_backend: adding backend `bh'
[dll] add_backend: adding backend `canon'
[dll] add_backend: adding backend `canon630u'
[dll] add_backend: adding backend `coolscan'
[dll] add_backend: adding backend `coolscan2'
[dll] add_backend: adding backend `dmc'
[dll] add_backend: adding backend `epson'
[dll] add_backend: adding backend `fujitsu'
[dll] add_backend: adding backend `gt68xx'
[dll] add_backend: adding backend `hp'
[dll] add_backend: adding backend `hpsj5s'
[dll] add_backend: adding backend `hp5400'
[dll] add_backend: adding backend `ibm'
[dll] add_backend: adding backend `leo'
[dll] add_backend: adding backend `ma1509'
[dll] add_backend: adding backend `matsushita'
[dll] add_backend: adding backend `microtek'
[dll] add_backend: adding backend `microtek2'
[dll] add_backend: adding backend `mustek'
[dll] add_backend: adding backend `mustek_usb'
[dll] add_backend: adding backend `nec'
[dll] add_backend: adding backend `niash'
[dll] add_backend: adding backend `pie'
[dll] add_backend: adding backend `plustek'
[dll] add_backend: adding backend `qcam'
[dll] add_backend: adding backend `ricoh'
[dll] add_backend: adding backend `s9036'
[dll] add_backend: adding backend `sceptre'
[dll] add_backend: adding backend `sharp'
[dll] add_backend: adding backend `sm3600'
[dll] add_backend: adding backend `snapscan'
[dll] add_backend: adding backend `sp15c'
[dll] add_backend: adding backend `tamarack'
[dll] add_backend: adding backend `teco1'
[dll] add_backend: adding backend `teco2'
[dll] add_backend: adding backend `teco3'
[dll] add_backend: adding backend `u12'
[dll] add_backend: adding backend `umax'
[dll] add_backend: adding backend `umax1220u'
[dll] add_backend: adding backend `v4l'
[dll] add_backend: adding backend `hpoj'
[dll] add_backend: adding backend `hpaio'
[dll] sane_init/read_dlld: processing /etc/sane.d/dll.d ...
[dll] sane_init/read_dlld: considering /etc/sane.d/dll.d/libsane-extras
[dll] sane_init/read_config: reading dll.d/libsane-extras
[dll] add_backend: adding backend `hp4200'
[dll] add_backend: adding backend `hp_rts88xx'
[dll] add_backend: adding backend `sm3840'
[dll] add_backend: adding backend `geniusvp2'
[dll] sane_init/read_dlld: done.
[dll] sane_get_devices
[dll] load: searching backend `geniusvp2' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-geniusvp2.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-geniusvp2.so.1'
[dll] init: initializing backend `geniusvp2'
[dll] init: backend `geniusvp2' is version 1.0.0
[dll] load: searching backend `sm3840' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-sm3840.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-sm3840.so.1'
[dll] init: initializing backend `sm3840'
[dll] init: backend `sm3840' is version 1.0.0
[dll] load: searching backend `hp_rts88xx' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-hp_rts88xx.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-hp_rts88xx.so.1'
[dll] init: initializing backend `hp_rts88xx'
[dll] load: searching backend `hp4200' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-hp4200.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-hp4200.so.1'
[dll] init: initializing backend `hp4200'
[dll] init: backend `hp4200' is version 1.0.0
[dll] load: searching backend `hpaio' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-hpaio.so.1'
[dll] load: couldn't open `/usr/lib/sane/libsane-hpaio.so.1' (No such file or 
directory)
[dll] load: couldn't find backend `hpaio' (No such file or directory)
[dll] load: searching backend `hpoj' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-hpoj.so.1'
[dll] load: couldn't open `/usr/lib/sane/libsane-hpoj.so.1' (No such file or 
directory)
[dll] load: couldn't find backend `hpoj' (No such file or directory)
[dll] load: searching backend `v4l' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-v4l.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-v4l.so.1'
[dll] init: initializing backend `v4l'
[dll] init: backend `v4l' is version 1.0.4
[dll] load: searching backend `umax1220u' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-umax1220u.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-umax1220u.so.1'
[dll] init: initializing backend `umax1220u'
[sanei_debug] Setting debug level of umax1220u to 255.
[umax1220u] sane_init: version_code != 0, authorize != 0
[umax1220u] sane_init: SANE umax1220u backend version 1.0.1 from sane-backends 
1.0.15
[umax1220u] reading configure file umax1220u.conf
[umax1220u] attach_matching_devices(usb 0x1606 0x0010)
[umax1220u] attach_scanner: libusb:001:004
[umax1220u] attach_scanner: opening libusb:001:004
[umax1220u] UMAX_open_device: `libusb:001:004'
[umax1220u] csend: cmd = 0
[umax1220u] usync: len = 0, cmd = 0
[umax1220u] usync: s0 = 0x51 s4 = 0xc8
[umax1220u] doing xxxops
[umax1220u] UMAX_close_device:
[umax1220u] attach_matching_devices(usb 0x1606 0x0030)
[umax1220u] attach_matching_devices(usb 0x1606 0x0130)
[umax1220u] finished reading configure file
[dll] init: backend `umax1220u' is version 1.0.1
[umax1220u] sane_get_devices(local_only = 0)
[dll] load: searching backend `umax' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-umax.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-umax.so.1'
[dll] init: initializing backend `umax'
[dll] init: backend `umax' is version 1.0.44
[dll] load: searching backend `u12' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-u12.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-u12.so.1'
[dll] init: initializing backend `u12'
[dll] init: backend `u12' is version 1.0.0
[dll] load: searching backend `teco3' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-teco3.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-teco3.so.1'
[dll] init: initializing backend `teco3'
[dll] init: backend `teco3' is version 1.0.1
[dll] load: searching backend `teco2' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-teco2.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-teco2.so.1'
[dll] init: initializing backend `teco2'
[dll] init: backend `teco2' is version 1.0.7
[dll] load: searching backend `teco1' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-teco1.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-teco1.so.1'
[dll] init: initializing backend `teco1'
[dll] init: backend `teco1' is version 1.0.10
[dll] load: searching backend `tamarack' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-tamarack.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-tamarack.so.1'
[dll] init: initializing backend `tamarack'
[dll] init: backend `tamarack' is version 1.0.0
[dll] load: searching backend `sp15c' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-sp15c.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-sp15c.so.1'
[dll] init: initializing backend `sp15c'
[dll] init: backend `sp15c' is version 1.0.0
[dll] load: searching backend `snapscan' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-snapscan.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-snapscan.so.1'
[dll] init: initializing backend `snapscan'
[dll] init: backend `snapscan' is version 1.4.42
[dll] load: searching backend `sm3600' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-sm3600.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-sm3600.so.1'
[dll] init: initializing backend `sm3600'
[dll] init: backend `sm3600' is version 1.0.5
[dll] load: searching backend `sharp' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-sharp.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-sharp.so.1'
[dll] init: initializing backend `sharp'
[dll] init: backend `sharp' is version 1.0.0
[dll] load: searching backend `sceptre' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-sceptre.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-sceptre.so.1'
[dll] init: initializing backend `sceptre'
[dll] init: backend `sceptre' is version 1.0.10
[dll] load: searching backend `s9036' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-s9036.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-s9036.so.1'
[dll] init: initializing backend `s9036'
[dll] init: backend `s9036' is version 1.0.0
[dll] load: searching backend `ricoh' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-ricoh.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-ricoh.so.1'
[dll] init: initializing backend `ricoh'
[dll] init: backend `ricoh' is version 1.0.0
[dll] load: searching backend `qcam' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-qcam.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-qcam.so.1'
[dll] init: initializing backend `qcam'
[dll] init: backend `qcam' is version 1.0.0
[dll] load: searching backend `plustek' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-plustek.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-plustek.so.1'
[dll] init: initializing backend `plustek'
[dll] init: backend `plustek' is version 1.0.0
[dll] load: searching backend `pie' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-pie.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-pie.so.1'
[dll] init: initializing backend `pie'
[dll] init: backend `pie' is version 1.0.9
[dll] load: searching backend `niash' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-niash.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-niash.so.1'
[dll] init: initializing backend `niash'
[dll] init: backend `niash' is version 1.0.1
[dll] load: searching backend `nec' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-nec.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-nec.so.1'
[dll] init: initializing backend `nec'
[dll] init: backend `nec' is version 1.0.0
[dll] load: searching backend `mustek_usb' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-mustek_usb.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-mustek_usb.so.1'
[dll] init: initializing backend `mustek_usb'
[dll] init: backend `mustek_usb' is version 1.0.18
[dll] load: searching backend `mustek' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-mustek.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-mustek.so.1'
[dll] init: initializing backend `mustek'
  

Let me know, if you need gdb backtrace. If you need, does scanimage have debug 
symbols?

Thanks,
Rainer

-- 
Rainer Dorsch
Alzentalstr. 28
D-71083 Herrenberg
07032-919495
Icq: 32550367

Reply via email to