[sane-devel] Plustek opticfilm 7600i

2014-01-07 Thread Torfinn Ingolfsen
On Tue, Jan 7, 2014 at 6:01 AM, Stef  wrote:
>
> wireshark has an USB logging feature, and I may adapt my decoding
> scripts to its ouptut if you can manage to record a preview.

Ok, I installed Wireshark 1.8.12 on the Powerbook G4 (newest version
for PPC), but it doesn't look like it has USB logging.
For now, it seems like usb logging is only supported in Linux and Windows:
http://wiki.wireshark.org/CaptureSetup/USB
at least I couldn't find one.

I will look for other ways.
-- 
Regards,
Torfinn



[sane-devel] NET BJNP Canon imageCLASS MF4880DW

2014-01-07 Thread Louis Lagendijk
On Mon, 2014-01-06 at 11:49 -0500, Yvan L. G?linas wrote:
> Hi,
> 
> I have a Canon imageCLASS MF4880DW and sane-backend git has been
> updated and working fine via USB  (lsusb: Bus 003 Device 004: ID
> 04a9:2773 Canon, Inc.) Thanks!
> 
> 
> I was trying to use it via the net but it didn't worked at first. I
> noted with wireshark that this printer is not using BJNP on port 8612
> but instead MFNP on port 8610.  As such MFNP looks similar to BJNP.
> 
> I changed the sane-backend/backend/pixma_bjnp_private.h/BJNP_STRING to
> "MFNP" and recompiled
> (#define BJNP_STRING "MFNP")
> 
> .After that I forced the port to 8610 in pixma.conf by adding
> bjnp://"ip address":8610
> 
> When using the default dpi of 75 (eg with xscanimage), it work and get
> a good scan (tried flatbed only at this time).
> 
> But if I am increasing the dpi to the 150, 300, or 600, it don't work
> and I am getting a buch of logs as follow;
> 
>   [bjnp] bjnp_recv_header:ERROR, Received response has cmd code 80, expected 
> 33
>   [bjnp] Could not read response to command!
>   [bjnp] bjnp_recv_header:ERROR, Received response has cmd code 10, expected 
> 33
>   [bjnp] Could not read response to command!
>   [bjnp] bjnp_recv_header:ERROR, Received response has cmd code 4, expected 33
>   [bjnp] Could not read response to command!
>   [bjnp] bjnp_recv_header:ERROR, Received response has cmd code 1, expected 33
>   [bjnp] Could not read response to command!
>   [bjnp] bjnp_recv_header:ERROR, Received response has cmd code 0, expected 33
> 
> 
> Any suggestion what I should do next?
> 
> 
> Thanks in advance
> 
First question: does it work well over USB? If scanning over USB already
fails there is no point in testing over the network.

If scanning over USB works ok even for the higher resolutions , we can
try to debug the USB over IP-protocol. to do that:
export SANE_DEBUG_PIXMA=3
scanimage <> whatever options you need> 2> log

and mail me the created logfile. I will have a look at it when I have
some time (I cannot promise a very quick turn around as I am quite busy
with some other projects right now). 

I we can get this to work I can include official support for it. I
cannot test this myself as I do not have a device that talks MFNP. 
I have been interested in supporting MFNP as well assuming it is similar
to BJNP.
Kind regards, Louis






[sane-devel] Plustek opticfilm 7600i

2014-01-07 Thread Stef
On 06/01/2014 23:55, Torfinn Ingolfsen wrote:
> On Mon, Jan 6, 2014 at 9:07 PM, Stef  wrote:
>>  so this scanner can be added to the genesys backend in the
>> genesys_gl841.[ch] files (which in fact supports mainly GL842 based models).
>> However the reported resolution of 7200 doesn't match the 2400 max
>> resolution for the GL842 chip. Some custom sensor interleaving like for the
>> gl847 devices ?
>>  Another hurdle is that no 2400 dpi support is done for this kind of
>> chip. I'm afraid this won't be trivial.
>>
>>  Do you think you can record an usblog of a preview scan ?
> I'm using this scanner with an OS X machine, old Powerbook G4 running
> OS X 10.5.8.
> Are there any usb logging tools for OS X?
> (I haven't found anything with Google)
>
>
 Hello,

 wireshark has an USB logging feature, and I may adapt my decoding 
scripts to its ouptut if you can manage to record a preview.

Regards,
 Stef