On Saturday April 8 2006 15:56, fredthetree wrote: > it's not libusb. try installing sane-backends-1.0.15 from > ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.0-release/graphics/ >sane-backends-1.0.15.tbz - > works for me.
i now installed 1.0.15 from freebsd ports (hacking the makefile to 1.0.15 and make NO_CHECKSUM=yes and then making a ln -s in the work dir). the scanner still doesn't work. the scanner is connected and seen by my kernel: ugen0: EPSON EPSON Scanner, rev 2.00/1.10, addr 2 i get I/O error, here is the log: [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 (0xbfbfdfa8, 0) [snapscan] sane_snapscan_exit the snapscan file still points to the right proprietary file. let me revert to the latest version to see if it fixes anything. i reinstalled 1.0.17_3 from ports, but it looks it didn't overwrite the older backend i installed manually, because the older backend is still there: [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 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,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,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 > On 4/8/06, fredthetree <[email protected]> wrote: > > libusb perhaps? > > > > On 4/8/06, breach0r <[email protected]> wrote: > > > the culprit is either sane backends (but i couldn't restore an old > > > enough > > > version to verify of the freebsd usbd itself > > > > > > On Saturday April 8 2006 13:30, fredthetree wrote: > > > > tested in windows, it's my scanner. i don't think it's freebsd -- it > > > > > > was > > > > > > > working fine last week (had not updated world/kernel for months, now > > > > > > i'm > > > > > > > using the latest 6_stable and still not working). i'm going to try > > > > > > the > > > > > > > latest sane-cvs. > > > > > > > > On 4/8/06, breach0r <[email protected]> wrote: > > > > > On Saturday April 8 2006 05:36, fredthetree wrote: > > > > > > in the past, the scanning head would do a little movement when > > > > > > the > > > > > > > > > > system > > > > > > > > > > > is booted, but... now the light on the front turns white and > > > > > > nothing > > > > > > > > > happens =/ > > > > > > > > > > same here > > > > > > > > > > i wonder if newer sane libs, or newer freebsd usbd is the culprit. > > > > > > > > > > -- > > > > > sane-devel mailing list: [email protected] > > > > > http://lists.alioth.debian.org/mailman/listinfo/sane-devel > > > > > Unsubscribe: Send mail with subject "unsubscribe your_password" > > > > > to [email protected] > > > > > > -- > > > sane-devel mailing list: [email protected] > > > http://lists.alioth.debian.org/mailman/listinfo/sane-devel > > > Unsubscribe: Send mail with subject "unsubscribe your_password" > > > to [email protected]
