On Saturday March 25 2006 11:20, Oliver Schwartz wrote: > On Thursday 23 March 2006 15:18, breach0r wrote: > > Hi, > > > > I tried, now sane-backends-1.0.16_2 is installed, i still get I/O > > error when trying to init the scanner. I/O error the first try and > > device unavailable the next tries. set SANE_DEBUG_SNAPSCAN=255 no > > longer produces any output (but i tried in csh should i try with > > export in bash?). > > I don't know much about csh. Try again in bash, or use > > SANE_DEBUG_SNAPSCAN=255 xsane 2>debug.log > > (all in one line). > > /Oliver
i reinstalled sane-backends-1.0.16_2 from freebsd ports i get: [sanei_debug] Setting debug level of snapscan to 255. [snapscan] sane_snapscan_init [snapscan] sane_snapscan_init: Snapscan backend version 1.4.50 [snapscan] sane_snapscan_get_devices (0xbfbfdf88, 0) [snapscan] sane_snapscan_exit with no device available. and after a fresh init of the scanner i get (with the i/o error message): [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,0xbfbfd970,6,0xbfbfd940,0xbfbfd93c (36)) [snapscan] atomic_usb_cmd(0,0xbfbfd970,6,0xbfbfd940,0xbfbfd93c (36)) [snapscan] usb_cmd(0,0xbfbfd970,6,0xbfbfd940,0xbfbfd93c (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,0xbfbfd9c0,6,0x0,0x0 (0)) [snapscan] atomic_usb_cmd(0,0xbfbfd9c0,6,0x0,0x0 (0)) [snapscan] usb_cmd(0,0xbfbfd9c0,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 (0xbfbfdf98, 0) [snapscan] sane_snapscan_open (libusb:/dev/usb1:/dev/ugen0, 0xbfbfde04) [snapscan] find_device [snapscan] sane_snapscan_open: Allocating 129024 bytes as scanner buffer. [snapscan] sane_snapscan_open: allocated scanner structure at 0x812b800 [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,0xbfbfdd10,6,0x0,0x0 (0)) [snapscan] atomic_usb_cmd(0,0xbfbfdd10,6,0x0,0x0 (0)) [snapscan] usb_cmd(0,0xbfbfdd10,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,0xbfbfdd50,6,0x0,0x0 (0)) [snapscan] atomic_usb_cmd(0,0xbfbfdd50,6,0x0,0x0 (0)) [snapscan] usb_cmd(0,0xbfbfdd50,6,0x0,0x0 (0)) [snapscan] sane_snapscan_open: self test passed. [snapscan] inquiry [snapscan] snapscan_cmd [snapscan] snapscani_usb_cmd(0,0x812b830,6,0x815d000,0x812b940 (139)) [snapscan] atomic_usb_cmd(0,0x812b830,6,0x815d000,0x812b940 (139)) [snapscan] usb_cmd(0,0x812b830,6,0x815d000,0x812b940 (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