[sane-devel] problem with Epson perfection 2480 photo scanner in FreeBSD

breach0r breacher at telenet.be
Sun Mar 19 18:33:36 UTC 2006


On Sunday March 19 2006 18:51, Oliver Schwartz wrote:
> Hi,
>
> > I have a major issue with my Epson perfection 2480 photo scanner.
> > It used to run in FreeBSD. I haven't used it in a few weeks during
> > which upgrades occured and I noticed this week it stopped working.
> > Portupgrade of sane had replaced the snapscan.conf file, I put back
> > there my correct firmware file with full pathname but it still
> > doesn't work.
> >
> > Since I track 5.4/5-STABLE, I first reverted to 5.4-RELEASE. When
> > the scanner worked, it used to be initialised at boot time (makes
> > the double noise) but even after the downgrade it wasn't. I also
> > downgraded Xsane to 0.98 but it didn't help either. I don't have
> > any older tar of sane-backends in distfiles and didn't delete those
> > for a long time, so I haven't tried downgrading backends. I don't
> > understand. Usual errors are either "No device available" or :
> >
> > Failed to open device 'snapscan:libusb:/dev/usb1:/dev/ugen0': Error
> > during device I/O.
>
> The debug log may provide more hints on what's going wrong. Can you
> try to set the environment variable SANE_DEBUG_SNAPSCAN=255,
> reproduce the error and post the debug log?

i may have missed a few lines in the previous paste ... here it goes again

xsane
[sanei_debug] Setting debug level of snapscan to 255.
[snapscan] sane_snapscan_init
[snapscan] sane_snapscan_init: Snapscan backend version 1.4.50
[snapscan] add_usb_device(libusb:/dev/usb1:/dev/ugen0)
[snapscan] add_usb_device: Detected (kind of) an USB device
[snapscan] snapscani_usb_open(libusb:/dev/usb1:/dev/ugen0)
[snapscan] add_usb_device: Checking if 0x04b8 is a supported USB vendor ID
[snapscan] snapscani_check_device()
[snapscan] mini_inquiry
[snapscan] snapscan_cmd
[snapscan] snapscani_usb_cmd(0,0xbfbfd980,6,0xbfbfd950,0xbfbfd94c (36))
[snapscan] atomic_usb_cmd(0,0xbfbfd980,6,0xbfbfd950,0xbfbfd94c (36))
[snapscan] usb_cmd(0,0xbfbfd980,6,0xbfbfd950,0xbfbfd94c (36))
[snapscan] usb_cmd: cmdlen=6, datalen=0
[snapscan] usb_write: writing:  0x12 0x00 0x00 0x00 0x24 0x00
[snapscan] Written 6 bytes
[snapscan] usb_read: reading:  0xf9 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] Read 8 bytes
[snapscan] usb_read: reading:  0x06 0x00 0x02 0x02 0x49 0x00 0x00 0x00 0x45 
0x50 ...
[snapscan] Read 36 bytes
[snapscan] usb_read: reading:  0xfb 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] Read 8 bytes
[snapscan] snapscani_check_device: Is vendor "EPSON" model "EPSON Scanner" a 
supported scanner?
[snapscan] snapscani_get_model_id(EPSON Scanner, 0, 2)
[snapscan] snapscani_get_model_id: looking up scanner for ID 0x04b8,0x0121.
[snapscan] snapscani_get_model_id: scanner identified
[snapscan] snapscani_check_device: Autodetected driver: Perfection 2480
[snapscan] snapscani_usb_close(0)
[snapscan] 1st read 3 write 1
[snapscan] snapscani_usb_cmd(0,0xbfbfd9d0,6,0x0,0x0 (0))
[snapscan] atomic_usb_cmd(0,0xbfbfd9d0,6,0x0,0x0 (0))
[snapscan] usb_cmd(0,0xbfbfd9d0,6,0x0,0x0 (0))
[snapscan] usb_cmd: cmdlen=6, datalen=0
[snapscan] usb_write: writing:  0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] Written 6 bytes
[snapscan] usb_read: reading:  0xfb 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] Read 8 bytes
[snapscan] 2nd read 4 write 2
[snapscan] snapscani_init_device_structure()
[snapscan] sane_snapscan_get_devices (0xbfbfdfa8, 0)
[snapscan] sane_snapscan_open (libusb:/dev/usb1:/dev/ugen0, 0xbfbfde14)
[snapscan] find_device
[snapscan] sane_snapscan_open: Allocating 129024 bytes as scanner buffer.
[snapscan] sane_snapscan_open: allocated scanner structure at 0x8131000
[snapscan] open_scanner
[snapscan] snapscani_usb_open(libusb:/dev/usb1:/dev/ugen0)
[snapscan] sane_snapscan_open: waiting for scanner to warm up.
[snapscan] wait_scanner_ready
[snapscan] test_unit_ready
[snapscan] snapscan_cmd
[snapscan] snapscani_usb_cmd(0,0xbfbfdd20,6,0x0,0x0 (0))
[snapscan] atomic_usb_cmd(0,0xbfbfdd20,6,0x0,0x0 (0))
[snapscan] usb_cmd(0,0xbfbfdd20,6,0x0,0x0 (0))
[snapscan] usb_cmd: cmdlen=6, datalen=0
[snapscan] usb_write: writing:  0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] Written 6 bytes
[snapscan] usb_read: reading:  0xfb 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] Read 8 bytes
[snapscan] sane_snapscan_open: performing scanner self test.
[snapscan] send_diagnostic
[snapscan] snapscan_cmd
[snapscan] snapscani_usb_cmd(0,0xbfbfdd60,6,0x0,0x0 (0))
[snapscan] atomic_usb_cmd(0,0xbfbfdd60,6,0x0,0x0 (0))
[snapscan] usb_cmd(0,0xbfbfdd60,6,0x0,0x0 (0))
[snapscan] sane_snapscan_open: self test passed.
[snapscan] inquiry
[snapscan] snapscan_cmd
[snapscan] snapscani_usb_cmd(0,0x8131030,6,0x8161000,0x8131140 (139))
[snapscan] atomic_usb_cmd(0,0x8131030,6,0x8161000,0x8131140 (139))
[snapscan] usb_cmd(0,0x8131030,6,0x8161000,0x8131140 (139))
[snapscan] usb_cmd: cmdlen=6, datalen=0
[snapscan] usb_write: writing:  0x12 0x00 0x00 0x00 0x8b 0x00
[snapscan] Written 6 bytes
[snapscan] usb_read: reading:  0xf9 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] Read 8 bytes
[snapscan] usb_read Only 0 bytes read
[snapscan] usb_read: reading:  0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
0x00 ...
[snapscan] Read 0 bytes
[snapscan] inquiry: snapscan_cmd command failed: Error during device I/O
[snapscan] sane_snapscan_open: error in inquiry command: Error during device 
I/O
[snapscan] sane_snapscan_exit



More information about the sane-devel mailing list