Hmmm, are you sure, that you're using the latest one? Sorry if this is too obvious, but this looks exactly like the old sanei_thread patch from Mattias is still active in this precompiled package...
Mattias, can you please check this? Ciao, Gerhard On Sunday 22 February 2004 00:33, Stephen Magladry wrote: > I am using the new pre-compiled software from > <http://www.ellert.se/twain-sane/> from 2/15 and I am have problems > with the Plustek back-end with the Canoscan 1220u scanner with Mac OS > 10.3.2. > > The scan appears to complete, but then the scanimage command appears to > hang. > Here's some basic information that everyone seems to supply. > > > [blah:~] blah% sane-find-scanner > > # No SCSI scanners found. If you expected something different, make > sure that > # you have loaded a SCSI driver for your SCSI adapter. > > found USB scanner (vendor=0x04a9 [Canon], product=0x2207 [CanoScan], > chip=LM9832/3) at libusb:002:002-04a9-2207-00-00 > # Your USB scanner was (probably) detected. It may or may not be > supported by > # SANE. Try scanimage -L and read the backend's manpage. > > # Scanners connected to the parallel port or other proprietary ports > can't be > # detected by this program. > > # You may want to run this program as root to find all devices. Once > you > # found the scanner devices, be sure to adjust access permissions as > # necessary. > [blah:~] blah% scanimage -L > device `plustek:libusb:002:002-04a9-2207-00-00' is a Canon N1220U USB > flatbed scanner > > > > > I then enable debug messages. > export SANE_DEBUG_PLUSTEK=255 > export SANE_DEBUG_SANEI_USB=255 > > and > > [blah:~] blah% scanimage -T > > appears to complete successfully, but > > > [blah:~] blah% scanimage >test.pnm > > hangs the terminal window, not ever giving me back a command prompt. > The debugging information is extensive and too much to provided > completely here, but here are the last few lines. > > > .... > [plustek] usb_ScanReadImage() done, result: 0 > [plustek] sane_read - read 744 bytes > [plustek] sane_read - read 744 bytes > [plustek] usb_ReadData() > [plustek] usb_ScanReadImage(2988) > [sanei_usb] sanei_usb_write_bulk: trying to write 4 bytes > [sanei_usb] 0000: 01 00 0B AC > ................ > usb_bulk_write: ep addr = 0x03 > Converting ep address to pipeRef. > ep_to_pipeRef: Pipe 1: DIR: 1 number: 1 > ep_to_pipeRef: Pipe 2: DIR: 1 number: 2 > ep_to_pipeRef: Pipe 3: DIR: 0 number: 3 > ep_to_pipeRef: pipeRef for ep address 0x03 found: 0x03 > usb_bulk_write: endpoint=0x03 size=4 timeout=30000 ms > read/write completed, result=0, size=4 > [sanei_usb] sanei_usb_write_bulk: wanted 4 bytes, wrote 4 bytes > [sanei_usb] sanei_usb_read_bulk: trying to read 2988 bytes > usb_bulk_read: ep addr = 0x82 > Converting ep address to pipeRef. > ep_to_pipeRef: Pipe 1: DIR: 1 number: 1 > ep_to_pipeRef: Pipe 2: DIR: 1 number: 2 > ep_to_pipeRef: pipeRef for ep address 0x82 found: 0x02 > usb_bulk_read: endpoint=0x82 size=2988 timeout=30000 ms > read/write completed, result=0, size=2988 > [sanei_usb] 0000: BA A7 BD D5 DC DE DF E1 E6 E6 E5 E6 E5 E6 EA EA > ................ > [sanei_usb] 0010: EA EA E8 E8 EA E8 E9 EC EC EB EA EC EB E7 E5 E9 > ................ > [sanei_usb] 0020: E8 E8 E8 E8 EA F1 F1 EC EA E8 E8 E7 E9 E5 E6 E8 > ................ > ... > bunch of [sanei_usb] removed. Didn't seem to add much to the getting > to the problem. > ... > [sanei_usb] 0AD0: 54 53 4C 44 40 3A 30 32 2E 2C 2E 2C 2C 28 2A 29 > TSLD@:02.,.,,(*) > [sanei_usb] 0AE0: 27 24 27 26 28 29 29 29 29 2D 28 28 2C 25 27 28 > '$'&())))-((,%'( > [sanei_usb] 0AF0: 26 25 27 21 2A 1F 23 1F 21 2A 31 32 29 2A 2A 27 > &%'!*.#.!*12)**' > [sanei_usb] 0B00: 30 2D 29 21 12 28 36 3F 44 43 42 40 28 49 26 33 > 0-)!.(6?DCB@(I&3 > [sanei_usb] 0B10: 3A 35 2F 3E 3C 33 34 41 36 3A 40 34 3F 3E 38 4B > > :5/><34A6:@4?>8K > > [sanei_usb] 0B20: 49 40 3E 33 40 4C 54 CF FF FF FF FF FF FF E4 6B > I@>[email protected] > [sanei_usb] 0B30: 49 46 3D 36 22 34 29 2D 2E 29 32 34 3B 36 4A 5B > IF=6"4)-.)24;6J[ > [sanei_usb] 0B40: 7D D5 FA FF FF FF FF FF FF FF FF FF FF FF FF FF > }............... > [sanei_usb] 0B50: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF > ................ > [sanei_usb] 0B60: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF > ................ > [sanei_usb] 0B70: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF > ................ > [sanei_usb] 0B80: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF > ................ > [sanei_usb] 0B90: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF > ................ > [sanei_usb] 0BA0: FF FF FF FF FF FF FF FF FF FF 00 71 > ...........q.... > [sanei_usb] sanei_usb_read_bulk: wanted 2988 bytes, got 2988 bytes > [plustek] usb_ScanReadImage() done, result: 0 > [plustek] sane_read - read 744 bytes > [plustek] reader_process: finished reading data > > > Anyone have any ideas? > > > Regards, > > > Stephen Magladry
