[sane-devel] PIE PF3600Pro issues

Ralph Little skelband at gmail.com
Wed May 18 06:08:41 BST 2022


Hi,

On 2022-05-17 05:27, Klaus Kämpf wrote:
> On 17.05.22 11:56, Klaus Kämpf wrote:
>>
>> Well, somehow your model doesn't like the "Write Gain Offset" call.
>> I need to check the sources and my notes what to do here. 
>
> Ralph,
>
> your only current option is to comment-out the respective call at
> https://gitlab.com/sane-project/backends/-/blob/master/backend/pieusb.c#L1038 
> (until line 1047) and recompile.
>
> In case you are able to capture USB traffic in Windows, it would be 
> interesting to see what the 'official' driver does here. Maybe it's 
> the call itself, maybe it's just wrong parameters.
>
> Klaus

I tried that and it got further. It gets past the warmup routine, then 
seems to go through the motions of getting ready to scan, then hangs at 
this point:

[pieusb]     _pieusb_scsi_command returned 3:Busy
[pieusb]     sanei_pieusb_command loop, status 3:Busy
[pieusb]     sanei_pieusb_command loop, status 0:Ok
[pieusb]     sanei_pieusb_command() finished with state 0
[pieusb] sanei_pieusb_wait_ready()
[pieusb] sanei_pieusb_cmd_test_unit_ready()
[pieusb] *** sanei_pieusb_command(00:Test Unit Ready): size 0x00
[pieusb]     sanei_pieusb_command loop, status 8:Again
[pieusb]         _pieusb_scsi_command(): 00:Test Unit Ready
Cmd    00000000: 00 00 00 00 00 00 ......
[pieusb]         _pieusb_scsi_command usbstat 0x03
[pieusb]     _pieusb_scsi_command returned 3:Busy
[pieusb]     sanei_pieusb_command loop, status 3:Busy
[pieusb]     sanei_pieusb_command loop, status 0:Ok
[pieusb]     sanei_pieusb_command() finished with state 0
[pieusb] sanei_pieusb_cmd_test_unit_ready() return status = Success
[pieusb] -> sanei_pieusb_cmd_test_unit_ready: 0
[pieusb] sanei_pieusb_cmd_get_scanned_lines(): 36 lines (372456 bytes)
[pieusb] *** sanei_pieusb_command(08:Read): size 0x5aee8
[pieusb]     sanei_pieusb_command loop, status 8:Again
[pieusb]         _pieusb_scsi_command(): 08:Read
Cmd    00000000: 08 00 00 00 24 00 ....$.
[pieusb]         _pieusb_scsi_command usbstat 0x01
[pieusb]         _pieusb_scsi_command data in

...at which point I have to terminate SANE. There was some activity from 
within the scanner but at this point, it is completely silent.
I guess the backend is expecting some data, but nothing is forthcoming.

I will try to get a Windows driver working with it to ensure that the 
device is actually functional.
The green light on the front is a bit dodgy. It sometimes comes on, but 
sometimes does not which leads me to doubt if the scanner is completely OK.

For reference, this is the inquiry output:

[pieusb] INQUIRY:
[pieusb] ========
[pieusb]
[pieusb] vendor........................: 'NEUTRAL'
[pieusb] product.......................: '3600FilmScanner'
[pieusb] model  .......................: 0x0027
[pieusb] version.......................: '1.45'
[pieusb] X resolution..................: 3600 dpi
[pieusb] Y resolution..................: 3600 dpi
[pieusb] pixel resolution..............: 3600 dpi
[pieusb] fb width......................: 1.436667 in
[pieusb] fb length.....................: 0.956667 in
[pieusb] transparency width............: 0.990000 in
[pieusb] transparency length...........: 1.225000 in
[pieusb] transparency offset...........: 720,1158
[pieusb] # of halftones................: 0
[pieusb] One pass color................: yes
[pieusb] Filters.......................: Red Green Blue  (8e)
[pieusb] Color depths..................: 16 bit 12 bit 8 bit 1 bit (35)
[pieusb] Color Format..................: Line Pixel  (03)
[pieusb] Image Format..................: OKLine Intel (09)
[pieusb] Scan Capability...............: ExtCal DisCal 3 speeds (4b)
[pieusb] Optional Devices..............:  (68)
[pieusb] Enhancement...................: 02
[pieusb] Gamma bits....................: 12
[pieusb] Fast Preview Resolution.......: 300
[pieusb] Min Highlight.................: 100
[pieusb] Max Shadow....................: 25
[pieusb] Cal Eqn.......................: 1
[pieusb] Min Exposure..................: 100
[pieusb] Max Exposure..................: 10000
[pieusb] x0,y0 x1,y1...................: 720,1158 4284,5568
[pieusb] production....................: 'PIE'
[pieusb] timestamp.....................: '2003/06/16 17:30PM'
[pieusb] signature.....................: 'Flash ROM 29EE512 BY:Chen 
Tsung-Yu  '
[pieusb] sanei_pieusb_find_device_callback: success
[pieusb] sane_get_devices

Cheers,
Ralph




More information about the sane-devel mailing list