LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Trouble with Agfa USB snapscan with -current (https://www.linuxquestions.org/questions/slackware-14/trouble-with-agfa-usb-snapscan-with-current-4175560437/)

rvdboom 12-02-2015 12:48 PM

Trouble with Agfa USB snapscan with -current
 
I've been using my Agfa SnapScan 1212U for years with sane without much problems (except the frailty of the sane.d daemon...).
However, since the last update of -current, and the move to eudev, it fails to work properly anymore.

It's obviously seen by sane-find-scanner :

Code:

root@elephant:/etc/sane.d# sane-find-scanner

  # sane-find-scanner will now attempt to detect your scanner. If the
  # result is different from what you expected, first make sure your
  # scanner is powered up and properly connected to your computer.

  # No SCSI scanners found. If you expected something different, make sure that
  # you have loaded a kernel SCSI driver for your SCSI adapter.

found USB scanner (vendor=0x06bd [AGFA ], product=0x2061 [SNAPSCAN]) at libusb:004:003

It is also found by scanimage :

Code:

root@elephant:/etc/sane.d# scanimage -vvv -Ldevice `snapscan:libusb:004:003' is a AGFA SNAPSCAN flatbed scanner
Calling sane_exit
scanimage: finished

However, as soon as I try to scan, it hangs and afterward, the scanner is not detecter anymore by scanimage, though still visible by sane-find-scanner.
I get an I/O error that I never had before :

Code:

root@elephant:/etc/sane.d# SANE_DEBUG_SNAPSCAN=255 scanimage -x 100 -y 100 --format=tiff >image.tiff
[sanei_debug] Setting debug level of snapscan to 255.
[snapscan] sane_snapscan_init
[snapscan] sane_snapscan_init: Snapscan backend version 1.4.53
[snapscan] add_usb_device(libusb:004:003)
[snapscan] add_usb_device: Detected (kind of) an USB device
[snapscan] snapscani_usb_open(libusb:004:003)
[snapscan] add_usb_device: Checking if 0x06bd is a supported USB vendor ID
[snapscan] snapscani_check_device()
[snapscan] mini_inquiry
[snapscan] snapscan_cmd
[snapscan] snapscani_usb_cmd(0,0x7ffe70216b40,6,0x7ffe70216b50,0x7ffe70216b48 (36))
[snapscan] atomic_usb_cmd(0,0x7ffe70216b40,6,0x7ffe70216b50,0x7ffe70216b48 (36))
[snapscan] usb_cmd(0,0x7ffe70216b40,6,0x7ffe70216b50,0x7ffe70216b48 (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 Only 0 bytes read
[snapscan] usb_read: reading:  0x48 0x6b 0x21 0x70 0xfe 0x7f 0x00 0x00
[snapscan] Read 0 bytes
[snapscan] mini_inquiry: snapscan_cmd command failed: Error during device I/O
[snapscan] snapscani_check_device: mini_inquiry failed with Error during device I/O.
[snapscan] snapscani_usb_close(0)
[snapscan] 1st read 0 write 1
[snapscan] sane_snapscan_get_devices (0x7ffe70217d78, 0)
scanimage: no SANE devices found
[snapscan] sane_snapscan_exit

If anyone has a clue, I'll be grateful.

Albounet 02-21-2017 06:19 PM

Hi !

Any update on this problem ? I have exactly the same symptoms on my Debian stretch.

Alb


All times are GMT -5. The time now is 05:07 AM.