Canon imageCLASS MF4370dn

View: New views
20 Messages — Rating Filter:   Alert me  
< Prev | 1 - 2 | Next >

Canon imageCLASS MF4370dn

by aditsu :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Hi, I've just bought <subject>, how can I set it up for scanning over the network?
I'm using sane-backends 1.0.20, and I added bjnp://192.168.1.11 in pixma.conf (that's the ip address of the device), but scanimage -L says:
[pixma] udp_command: no data received (recv): Connection refused[pixma] udp_command: no data received (recv): Connection refused[pixma] udp_command: no data received (recv): Connection refused[pixma] Cannot read scanner make & model:
Also, if I run scanimage as root, it dies with a segmentation fault.

Thanks
Adrian


--
sane-devel mailing list: sane-devel@...
http://lists.alioth.debian.org/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
             to sane-devel-request@...

Re: Canon imageCLASS MF4370dn

by Nicolas Martin-8 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

This model is not supported bu Sane 1.0.20, but currently working on
adding the ImageClass MF4380dn to the pixma backend, and should be
available soon in Sane git.

In the meantime, could you supply the usb vid:pid of this model ?
You can read it with a

$ /usr/sbin/lsusb

nicolas

Le samedi 17 octobre 2009 à 10:58 -0700, Adrian Sandor a écrit :

> Hi, I've just bought <subject>, how can I set it up for scanning over
> the network?
> I'm using sane-backends 1.0.20, and I added bjnp://192.168.1.11 in
> pixma.conf (that's the ip address of the device), but scanimage -L
> says:
> [pixma] udp_command: no data received (recv): Connection
> refused[pixma] udp_command: no data received (recv): Connection
> refused[pixma] udp_command: no data received (recv): Connection
> refused[pixma] Cannot read scanner make & model:
> Also, if I run scanimage as root, it dies with a segmentation fault.
>
> Thanks
> Adrian
>
>
> --
> sane-devel mailing list: sane-devel@...
> http://lists.alioth.debian.org/mailman/listinfo/sane-devel
> Unsubscribe: Send mail with subject "unsubscribe your_password"
>              to sane-devel-request@...


--
sane-devel mailing list: sane-devel@...
http://lists.alioth.debian.org/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
             to sane-devel-request@...

Parent Message unknown Re: Canon imageCLASS MF4370dn

by aditsu :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Hi, no I don't have any kind of firewall running on my computer.


From: Louis Lagendijk <louis@...>
To: Adrian Sandor <aditsu@...>
Sent: Sun, October 18, 2009 3:41:40 AM
Subject: Re: [sane-devel] Canon imageCLASS MF4370dn

hi Adrian,

On Sat, 2009-10-17 at 10:58 -0700, Adrian Sandor wrote:

> Hi, I've just bought <subject>, how can I set it up for scanning over
> the network?
> I'm using sane-backends 1.0.20, and I added bjnp://192.168.1.11 in
> pixma.conf (that's the ip address of the device), but scanimage -L
> says:
> [pixma] udp_command: no data received (recv): Connection
> refused[pixma] udp_command: no data received (recv): Connection
> refused[pixma] udp_command: no data received (recv): Connection
> refused[pixma] Cannot read scanner make & model:
> Also, if I run scanimage as root, it dies with a segmentation fault.
>
Do you have a firewall active? I realize I never included the firewall
instructions in the sane documentation (it is included in the cups-bjnp
docs, the cups backend. Here are the paraphrased instruction for sane:

The sane pixma communicates with port 8612 on the printer/scanner. So
you will have to allow outgoing traffic TO port 8612 on the
printer/scanner for scanning.

Scanner detection is slightly more complicated. (the pixma backend sends
a broadcast on all subnets it can find. The broadcast is sent FROM port
8612 to port 8612. The outgoing packets will be allowed by the rule
described above. Responses from the scanner are sent back to the
computer TO port 8612. Connection tracking however does not
see a match. You will therefore have to allow incoming packets TO port
8612.

With the firewall rules above there is no need to add tha scanner to the
pixma.conf file, unless the scanner is on a network that is not directly
connected to your computer.

I will update the sane docs with the above when I have some time
(hopefully by the end of next week).

kind regards, Louis




--
sane-devel mailing list: sane-devel@...
http://lists.alioth.debian.org/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
             to sane-devel-request@...

Re: Canon imageCLASS MF4370dn

by aditsu :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Oh, in order to be able to use it on the network, I should connect it to USB first? That's funny.

Well, here's some information from lsusb:

Bus 002 Device 006: ID 04a9:26ec Canon, Inc.
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x04a9 Canon, Inc.
  idProduct          0x26ec
  bcdDevice            1.00
  iManufacturer           1 Canon Inc.
  iProduct                2 MF4360-4390
  iSerial                 3 SJF980221406D
  bNumConfigurations      1

Let me know if you need more details.

Thanks
Adrian


From: Nicolas Martin <nicolas0martin@...>
To: Adrian Sandor <aditsu@...>
Cc: sane-devel@...
Sent: Sun, October 18, 2009 3:45:16 AM
Subject: Re: [sane-devel] Canon imageCLASS MF4370dn

This model is not supported bu Sane 1.0.20, but currently working on
adding the ImageClass MF4380dn to the pixma backend, and should be
available soon in Sane git.

In the meantime, could you supply the usb vid:pid of this model ?
You can read it with a

$ /usr/sbin/lsusb

nicolas

Le samedi 17 octobre 2009 à 10:58 -0700, Adrian Sandor a écrit :

> Hi, I've just bought <subject>, how can I set it up for scanning over
> the network?
> I'm using sane-backends 1.0.20, and I added bjnp://192.168.1.11 in
> pixma.conf (that's the ip address of the device), but scanimage -L
> says:
> [pixma] udp_command: no data received (recv): Connection
> refused[pixma] udp_command: no data received (recv): Connection
> refused[pixma] udp_command: no data received (recv): Connection
> refused[pixma] Cannot read scanner make & model:
> Also, if I run scanimage as root, it dies with a segmentation fault.
>
> Thanks
> Adrian
>
>
> --
> sane-devel mailing list: sane-devel@...
> http://lists.alioth.debian.org/mailman/listinfo/sane-devel
> Unsubscribe: Send mail with subject "unsubscribe your_password"
>              to sane-devel-request@...



--
sane-devel mailing list: sane-devel@...
http://lists.alioth.debian.org/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
             to sane-devel-request@...

Re: Canon imageCLASS MF4370dn

by Nicolas Martin-8 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Le samedi 17 octobre 2009 à 19:22 -0700, Adrian Sandor a écrit :
> Oh, in order to be able to use it on the network, I should connect it
> to USB first? That's funny.
That's not what is meant when asking for the usb pid.

We ask you the usb pid because both usb and network part of the pixma
backend use the usb pid to identify the scanner model (pixma backend
supports more than 50 different models), then the Pixma protocol,
initially designed for usb, can be used "off the shelf", as Louis
Lagendijk implemented it, encapsulated into the bjnp (Canon) network
protocol.

So not a funny thing here, but rather ingenious and efficient, as a
Pixma scanner supported for usb can be used directly with network bjnp,
no additional or specific code needed.

Concerning the ImageClass MF4370dn device, it looks like it shares the
same usb pid as MF4380dn, for which I've just committed the declaration
in the pixma backend, following some exchanges with Raimondo who
initiated a thread about this some days ago. MF4380dn is supported
(confirmed for usb), and there's great chance that MF4370dn will be
supported too with the same code.

Louis:
if the network support fails, I'm just wondering whether the DES name
for this model is set correctly, the usb signature (from the USB snoop)
was reported to be: "Canon  MF4360-4390" so a bit different from what
was seen before. Is the DES name detected displayed in the backend logs
to check for that ?

Nicolas


> Well, here's some information from lsusb:
>
> Bus 002 Device 006: ID 04a9:26ec Canon, Inc.
> Device Descriptor:
>   bLength                18
>   bDescriptorType         1
>   bcdUSB               2.00
>   bDeviceClass            0 (Defined at Interface level)
>   bDeviceSubClass         0
>   bDeviceProtocol         0
>   bMaxPacketSize0        64
>   idVendor           0x04a9 Canon, Inc.
>   idProduct          0x26ec
>   bcdDevice            1.00
>   iManufacturer           1 Canon Inc.
>   iProduct                2 MF4360-4390
>   iSerial                 3 SJF980221406D
>   bNumConfigurations      1
>
> Let me know if you need more details.
>
> Thanks
> Adrian
>
>
>
> ______________________________________________________________________
> From: Nicolas Martin <nicolas0martin@...>
> To: Adrian Sandor <aditsu@...>
> Cc: sane-devel@...
> Sent: Sun, October 18, 2009 3:45:16 AM
> Subject: Re: [sane-devel] Canon imageCLASS MF4370dn
>
> This model is not supported bu Sane 1.0.20, but currently working on
> adding the ImageClass MF4380dn to the pixma backend, and should be
> available soon in Sane git.
>
> In the meantime, could you supply the usb vid:pid of this model ?
> You can read it with a
>
> $ /usr/sbin/lsusb
>
> nicolas
>
> Le samedi 17 octobre 2009 à 10:58 -0700, Adrian Sandor a écrit :
> > Hi, I've just bought <subject>, how can I set it up for scanning
> over
> > the network?
> > I'm using sane-backends 1.0.20, and I added bjnp://192.168.1.11 in
> > pixma.conf (that's the ip address of the device), but scanimage -L
> > says:
> > [pixma] udp_command: no data received (recv): Connection
> > refused[pixma] udp_command: no data received (recv): Connection
> > refused[pixma] udp_command: no data received (recv): Connection
> > refused[pixma] Cannot read scanner make & model:
> > Also, if I run scanimage as root, it dies with a segmentation fault.
> >
> > Thanks
> > Adrian
> >
> >
> > --
> > sane-devel mailing list: sane-devel@...
> > http://lists.alioth.debian.org/mailman/listinfo/sane-devel
> > Unsubscribe: Send mail with subject "unsubscribe your_password"
> >              to sane-devel-request@...
>
>
>
> --
> sane-devel mailing list: sane-devel@...
> http://lists.alioth.debian.org/mailman/listinfo/sane-devel
> Unsubscribe: Send mail with subject "unsubscribe your_password"
>              to sane-devel-request@...


--
sane-devel mailing list: sane-devel@...
http://lists.alioth.debian.org/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
             to sane-devel-request@...

Re: Canon imageCLASS MF4370dn

by aditsu :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Aw come on, you're ruining all the fun :p
Anyway, please let me know when I can try the new code and how.

Thanks
Adrian

P.S. Sorry for top-posting, yahoo is kinda making me do it


From: Nicolas Martin <nicolas0martin@...>
To: Adrian Sandor <aditsu@...>
Cc: sane-devel <sane-devel@...>
Sent: Sun, October 18, 2009 7:36:13 PM
Subject: Re: [sane-devel] Canon imageCLASS MF4370dn

Le samedi 17 octobre 2009 à 19:22 -0700, Adrian Sandor a écrit :
> Oh, in order to be able to use it on the network, I should connect it
> to USB first? That's funny.
That's not what is meant when asking for the usb pid.

We ask you the usb pid because both usb and network part of the pixma
backend use the usb pid to identify the scanner model (pixma backend
supports more than 50 different models), then the Pixma protocol,
initially designed for usb, can be used "off the shelf", as Louis
Lagendijk implemented it, encapsulated into the bjnp (Canon) network
protocol.

So not a funny thing here, but rather ingenious and efficient, as a
Pixma scanner supported for usb can be used directly with network bjnp,
no additional or specific code needed.

Concerning the ImageClass MF4370dn device, it looks like it shares the
same usb pid as MF4380dn, for which I've just committed the declaration
in the pixma backend, following some exchanges with Raimondo who
initiated a thread about this some days ago. MF4380dn is supported
(confirmed for usb), and there's great chance that MF4370dn will be
supported too with the same code.

Louis:
if the network support fails, I'm just wondering whether the DES name
for this model is set correctly, the usb signature (from the USB snoop)
was reported to be: "Canon  MF4360-4390" so a bit different from what
was seen before. Is the DES name detected displayed in the backend logs
to check for that ?

Nicolas


> Well, here's some information from lsusb:
>
> Bus 002 Device 006: ID 04a9:26ec Canon, Inc.
> Device Descriptor:
>  bLength                18
>  bDescriptorType        1
>  bcdUSB              2.00
>  bDeviceClass            0 (Defined at Interface level)
>  bDeviceSubClass        0
>  bDeviceProtocol        0
>  bMaxPacketSize0        64
>  idVendor          0x04a9 Canon, Inc.
>  idProduct          0x26ec
>  bcdDevice            1.00
>  iManufacturer          1 Canon Inc.
>  iProduct                2 MF4360-4390
>  iSerial                3 SJF980221406D
>  bNumConfigurations      1
>
> Let me know if you need more details.
>
> Thanks
> Adrian
>
>
>
> ______________________________________________________________________
> From: Nicolas Martin <nicolas0martin@...>
> To: Adrian Sandor <aditsu@...>
> Cc: sane-devel@...
> Sent: Sun, October 18, 2009 3:45:16 AM
> Subject: Re: [sane-devel] Canon imageCLASS MF4370dn
>
> This model is not supported bu Sane 1.0.20, but currently working on
> adding the ImageClass MF4380dn to the pixma backend, and should be
> available soon in Sane git.
>
> In the meantime, could you supply the usb vid:pid of this model ?
> You can read it with a
>
> $ /usr/sbin/lsusb
>
> nicolas
>
> Le samedi 17 octobre 2009 à 10:58 -0700, Adrian Sandor a écrit :
> > Hi, I've just bought <subject>, how can I set it up for scanning
> over
> > the network?
> > I'm using sane-backends 1.0.20, and I added bjnp://192.168.1.11 in
> > pixma.conf (that's the ip address of the device), but scanimage -L
> > says:
> > [pixma] udp_command: no data received (recv): Connection
> > refused[pixma] udp_command: no data received (recv): Connection
> > refused[pixma] udp_command: no data received (recv): Connection
> > refused[pixma] Cannot read scanner make & model:
> > Also, if I run scanimage as root, it dies with a segmentation fault.
> >
> > Thanks
> > Adrian
> >
> >
> > --
> > sane-devel mailing list: sane-devel@...
> > http://lists.alioth.debian.org/mailman/listinfo/sane-devel

> > Unsubscribe: Send mail with subject "unsubscribe your_password"
> >              to sane-devel-request@...
>
>
>
> --
> sane-devel mailing list: sane-devel@...
> http://lists.alioth.debian.org/mailman/listinfo/sane-devel
> Unsubscribe: Send mail with subject "unsubscribe your_password"
>              to sane-devel-request@...



--
sane-devel mailing list: sane-devel@...
http://lists.alioth.debian.org/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
             to sane-devel-request@...

Re: Canon imageCLASS MF4370dn

by Nicolas Martin-8 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Commit is already done for MF4370/MF4380 (both have same pid) so you can
give a try with the latest git.
Try first with usb to check if the scanner works, then with network, and
let us know.

nicolas


________________________________________________________________________

> From: Nicolas Martin <nicolas0martin@...>
> To: Adrian Sandor <aditsu@...>
> Cc: sane-devel <sane-devel@...>
> Sent: Sun, October 18, 2009 7:36:13 PM
> Subject: Re: [sane-devel] Canon imageCLASS MF4370dn
>
> Le samedi 17 octobre 2009 à 19:22 -0700, Adrian Sandor a écrit :
> > Oh, in order to be able to use it on the network, I should connect
> it
> > to USB first? That's funny.
> That's not what is meant when asking for the usb pid.
>
> We ask you the usb pid because both usb and network part of the pixma
> backend use the usb pid to identify the scanner model (pixma backend
> supports more than 50 different models), then the Pixma protocol,
> initially designed for usb, can be used "off the shelf", as Louis
> Lagendijk implemented it, encapsulated into the bjnp (Canon) network
> protocol.
>
> So not a funny thing here, but rather ingenious and efficient, as a
> Pixma scanner supported for usb can be used directly with network
> bjnp,
> no additional or specific code needed.
>
> Concerning the ImageClass MF4370dn device, it looks like it shares the
> same usb pid as MF4380dn, for which I've just committed the
> declaration
> in the pixma backend, following some exchanges with Raimondo who
> initiated a thread about this some days ago. MF4380dn is supported
> (confirmed for usb), and there's great chance that MF4370dn will be
> supported too with the same code.
>
> Louis:
> if the network support fails, I'm just wondering whether the DES name
> for this model is set correctly, the usb signature (from the USB
> snoop)
> was reported to be: "Canon  MF4360-4390" so a bit different from what
> was seen before. Is the DES name detected displayed in the backend
> logs
> to check for that ?
>
> Nicolas
>
>
> > Well, here's some information from lsusb:
> >
> > Bus 002 Device 006: ID 04a9:26ec Canon, Inc.
> > Device Descriptor:
> >  bLength                18
> >  bDescriptorType        1
> >  bcdUSB              2.00
> >  bDeviceClass            0 (Defined at Interface level)
> >  bDeviceSubClass        0
> >  bDeviceProtocol        0
> >  bMaxPacketSize0        64
> >  idVendor          0x04a9 Canon, Inc.
> >  idProduct          0x26ec
> >  bcdDevice            1.00
> >  iManufacturer          1 Canon Inc.
> >  iProduct                2 MF4360-4390
> >  iSerial                3 SJF980221406D
> >  bNumConfigurations      1
> >
> > Let me know if you need more details.
> >
> > Thanks
> > Adrian
> >
> >
> >
> >
> ______________________________________________________________________
> > From: Nicolas Martin <nicolas0martin@...>
> > To: Adrian Sandor <aditsu@...>
> > Cc: sane-devel@...
> > Sent: Sun, October 18, 2009 3:45:16 AM
> > Subject: Re: [sane-devel] Canon imageCLASS MF4370dn
> >
> > This model is not supported bu Sane 1.0.20, but currently working on
> > adding the ImageClass MF4380dn to the pixma backend, and should be
> > available soon in Sane git.
> >
> > In the meantime, could you supply the usb vid:pid of this model ?
> > You can read it with a
> >
> > $ /usr/sbin/lsusb
> >
> > nicolas
> >
> > Le samedi 17 octobre 2009 à 10:58 -0700, Adrian Sandor a écrit :
> > > Hi, I've just bought <subject>, how can I set it up for scanning
> > over
> > > the network?
> > > I'm using sane-backends 1.0.20, and I added bjnp://192.168.1.11 in
> > > pixma.conf (that's the ip address of the device), but scanimage -L
> > > says:
> > > [pixma] udp_command: no data received (recv): Connection
> > > refused[pixma] udp_command: no data received (recv): Connection
> > > refused[pixma] udp_command: no data received (recv): Connection
> > > refused[pixma] Cannot read scanner make & model:
> > > Also, if I run scanimage as root, it dies with a segmentation
> fault.
> > >
> > > Thanks
> > > Adrian
> > >
> > >
> > > --
> > > sane-devel mailing list: sane-devel@...
> > > http://lists.alioth.debian.org/mailman/listinfo/sane-devel
> > > Unsubscribe: Send mail with subject "unsubscribe your_password"
> > >              to sane-devel-request@...
> >
> >
> >
> > --
> > sane-devel mailing list: sane-devel@...
> > http://lists.alioth.debian.org/mailman/listinfo/sane-devel
> > Unsubscribe: Send mail with subject "unsubscribe your_password"
> >              to sane-devel-request@...
>
>
>
> --
> sane-devel mailing list: sane-devel@...
> http://lists.alioth.debian.org/mailman/listinfo/sane-devel
> Unsubscribe: Send mail with subject "unsubscribe your_password"
>              to sane-devel-request@...


--
sane-devel mailing list: sane-devel@...
http://lists.alioth.debian.org/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
             to sane-devel-request@...

Re: Canon imageCLASS MF4370dn

by aditsu :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Well, you didn't say how. Fortunately I found some instructions at http://mp610.blogspot.com/2008/04/give-your-scanner-new-freshly-sane.html
So I installed the latest git version, and.. I confirm that I am able to scan via USB!
Specifically, scanimage -L detects the device, then in order to scan, first I have to press the "scan" button twice on the device to 1) put it in scanning mode and 2) select usb scanning, then I am able to scan e.g. from gimp via xsane.
If I don't press the "scan" button like that, I just get an error message "Error during read: Device busy."
There's also a "Button-controlled scan" option that requires me to press a button both in the software and on the device to start scanning; it works but I don't find it very useful.
However, I can't find any way to access the scanner over the network. That's ok for now because I am the main user and the device is right near my computer, but in the future it would be nice to have the option.

Thanks
Adrian


From: Nicolas Martin <nicolas0martin@...>
To: Adrian Sandor <aditsu@...>
Cc: sane-devel <sane-devel@...>
Sent: Mon, October 19, 2009 4:13:14 AM
Subject: Re: [sane-devel] Canon imageCLASS MF4370dn

Commit is already done for MF4370/MF4380 (both have same pid) so you can
give a try with the latest git.
Try first with usb to check if the scanner works, then with network, and
let us know.

nicolas



--
sane-devel mailing list: sane-devel@...
http://lists.alioth.debian.org/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
             to sane-devel-request@...

Re: Canon imageCLASS MF4370dn

by Nicolas Martin-8 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Le dimanche 18 octobre 2009 à 20:34 -0700, Adrian Sandor a écrit :

> Well, you didn't say how.
You didn't ask for help ;-)

> Fortunately I found some instructions at
> http://mp610.blogspot.com/2008/04/give-your-scanner-new-freshly-sane.html
That is the link I would have recommended ! (and sorry for the
approximative English I use, hope you got through it easily !)

> So I installed the latest git version, and.. I confirm that I am able
> to scan via USB!
Good news !

> Specifically, scanimage -L detects the device, then in order to scan,
> first I have to press the "scan" button twice on the device to 1) put
> it in scanning mode and 2) select usb scanning, then I am able to scan
> e.g. from gimp via xsane.
> If I don't press the "scan" button like that, I just get an error
> message "Error during read: Device busy."
That's a very odd behavior, first Pixma that I hear to require this.
No need to do that with the Windows driver ?

> There's also a "Button-controlled scan" option that requires me to
> press a button both in the software and on the device to start
> scanning; it works but I don't find it very useful.
Yes, as you describe it, you need to have some action on the scanner
itself, so useless here, but very useful for many other Pixma devices,
which do not require this particular manual handling.

> However, I can't find any way to access the scanner over the network.
> That's ok for now because I am the main user and the device is right
> near my computer, but in the future it would be nice to have the
> option.
Wondering whether this could be linked to the special handling you're
describing above. You say that you are selecting "usb scanning". So is
there a way to select also "network scanning" ?

nicolas

>
> ______________________________________________________________________
> From: Nicolas Martin <nicolas0martin@...>
> To: Adrian Sandor <aditsu@...>
> Cc: sane-devel <sane-devel@...>
> Sent: Mon, October 19, 2009 4:13:14 AM
> Subject: Re: [sane-devel] Canon imageCLASS MF4370dn
>
> Commit is already done for MF4370/MF4380 (both have same pid) so you
> can
> give a try with the latest git.
> Try first with usb to check if the scanner works, then with network,
> and
> let us know.
>
> nicolas
>
>
>
> --
> sane-devel mailing list: sane-devel@...
> http://lists.alioth.debian.org/mailman/listinfo/sane-devel
> Unsubscribe: Send mail with subject "unsubscribe your_password"
>              to sane-devel-request@...


--
sane-devel mailing list: sane-devel@...
http://lists.alioth.debian.org/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
             to sane-devel-request@...

Re: Canon imageCLASS MF4370dn

by Louis Lagendijk :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sun, 2009-10-18 at 13:36 +0200, Nicolas Martin wrote:

>
> Louis:
> if the network support fails, I'm just wondering whether the DES name
> for this model is set correctly, the usb signature (from the USB snoop)
> was reported to be: "Canon  MF4360-4390" so a bit different from what
> was seen before. Is the DES name detected displayed in the backend logs
> to check for that ?
>
The code takes the signature returned by the scanner and looks for a
substring match for one of the models.  "MF4360: should match in this
case if there is a space between the MF4360 and the -, if not, we need
to add the dash to lookup_scanner in pixma_io_sanei.c like:
              if ((match[strlen(cfg->model)] == ' ') ||
                  (match[strlen(cfg->model)] == '\0')||
                  (match[strlen(cfg->model)] == '-'))
                {

I already made the change to my local copy of the source.
I will try to commit this as soon as I get my brain around the git
complications (so far I managed to avoid git and want to avoid the extra
commit noise).
I am sick home, and feel pretty bad, so I will not promise to do it
today

kind regards, Louis


>
> > Well, here's some information from lsusb:
> >
> > Bus 002 Device 006: ID 04a9:26ec Canon, Inc.
> > Device Descriptor:
> >   bLength                18
> >   bDescriptorType         1
> >   bcdUSB               2.00
> >   bDeviceClass            0 (Defined at Interface level)
> >   bDeviceSubClass         0
> >   bDeviceProtocol         0
> >   bMaxPacketSize0        64
> >   idVendor           0x04a9 Canon, Inc.
> >   idProduct          0x26ec
> >   bcdDevice            1.00
> >   iManufacturer           1 Canon Inc.
> >   iProduct                2 MF4360-4390
> >   iSerial                 3 SJF980221406D
> >   bNumConfigurations      1
> >
> > Let me know if you need more details.
> >
> > Thanks
> > Adrian
> >
> >
> >
> > ______________________________________________________________________
> > From: Nicolas Martin <nicolas0martin@...>
> > To: Adrian Sandor <aditsu@...>
> > Cc: sane-devel@...
> > Sent: Sun, October 18, 2009 3:45:16 AM
> > Subject: Re: [sane-devel] Canon imageCLASS MF4370dn
> >
> > This model is not supported bu Sane 1.0.20, but currently working on
> > adding the ImageClass MF4380dn to the pixma backend, and should be
> > available soon in Sane git.
> >
> > In the meantime, could you supply the usb vid:pid of this model ?
> > You can read it with a
> >
> > $ /usr/sbin/lsusb
> >
> > nicolas
> >
> > Le samedi 17 octobre 2009 à 10:58 -0700, Adrian Sandor a écrit :
> > > Hi, I've just bought <subject>, how can I set it up for scanning
> > over
> > > the network?
> > > I'm using sane-backends 1.0.20, and I added bjnp://192.168.1.11 in
> > > pixma.conf (that's the ip address of the device), but scanimage -L
> > > says:
> > > [pixma] udp_command: no data received (recv): Connection
> > > refused[pixma] udp_command: no data received (recv): Connection
> > > refused[pixma] udp_command: no data received (recv): Connection
> > > refused[pixma] Cannot read scanner make & model:
> > > Also, if I run scanimage as root, it dies with a segmentation fault.
> > >
> > > Thanks
> > > Adrian
> > >
> > >
> > > --
> > > sane-devel mailing list: sane-devel@...
> > > http://lists.alioth.debian.org/mailman/listinfo/sane-devel
> > > Unsubscribe: Send mail with subject "unsubscribe your_password"
> > >              to sane-devel-request@...
> >
> >
> >
> > --
> > sane-devel mailing list: sane-devel@...
> > http://lists.alioth.debian.org/mailman/listinfo/sane-devel
> > Unsubscribe: Send mail with subject "unsubscribe your_password"
> >              to sane-devel-request@...
>
>
> --
> sane-devel mailing list: sane-devel@...
> http://lists.alioth.debian.org/mailman/listinfo/sane-devel
> Unsubscribe: Send mail with subject "unsubscribe your_password"
>              to sane-devel-request@...


--
sane-devel mailing list: sane-devel@...
http://lists.alioth.debian.org/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
             to sane-devel-request@...

Parent Message unknown Re: Canon imageCLASS MF4370dn

by Nicolas Martin-8 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Le lundi 19 octobre 2009 à 22:34 -0700, Adrian Sandor a écrit :
> > > Well, you didn't say how.
> > You didn't ask for help ;-)
>
> Yes I did, I wrote "Anyway, please let me know when I can try the new code **and how**."
> But it's ok now.
Ok, misunderstanding of "how", thought you had already been able to
install git

>
> > > If I don't press the "scan" button like that, I just get an error
> > > message "Error during read: Device busy."
> > That's a very odd behavior, first Pixma that I hear to require this.
> > No need to do that with the Windows driver ?
>
> It's not exactly a Pixma but I guess it's from the same family.
> I haven't tried the windows driver, but the manual gives similar instructions, please see the attached excerpt (step 2 for both usb and network).
>
> > > There's also a "Button-controlled scan" option that requires me to
> > > press a button both in the software and on the device to start
> > > scanning; it works but I don't find it very useful.
> > Yes, as you describe it, you need to have some action on the scanner
> > itself, so useless here, but very useful for many other Pixma devices,
> > which do not require this particular manual handling.
>
> What does "Button-controlled scan" do on other Pixma devices?
On other Pixma devices, the button-controlled scan is used to be able to
start scanning when in front of the device. You select in Xsane for
instance, button-controlled scan, then click the scan button on Xsane.
At that point, scanning is on hold, and does not start. You must go in
front of the device, select the scanner mode, and hit the copy button to
enable scanning by Xsane. This way, you can more easily scan documents
that require some manipulations on document or scanner cover (e.g. for
books)

> What button controls the scan (with that option) if not one on the device itself?
The scanner button is used here to start scanning, in this case.

>
> > > However, I can't find any way to access the scanner over the network.
> > > That's ok for now because I am the main user and the device is right
> > > near my computer, but in the future it would be nice to have the
> > > option.
> > Wondering whether this could be linked to the special handling you're
> > describing above. You say that you are selecting "usb scanning". So is
> > there a way to select also "network scanning" ?
>
> Yes, the first time I press the "scan" button it goes to "network scanning" and the second time it changes to "usb scanning". However, that only seems to affect the scanning, not the detection.
> No matter what I press, the scanner is detected on usb and not on the network. And obviously, if I can't detect the scanner then I can't scan.
Maybe there's some new trick added by Canon in the scanner network
protocol, this would need to be checked.

Do you have the possibility to take a Windows Wireshark log, and send it
back to me ?

Nicolas


--
sane-devel mailing list: sane-devel@...
http://lists.alioth.debian.org/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
             to sane-devel-request@...

Re: Canon imageCLASS MF4370dn

by aditsu :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> > > > There's also a "Button-controlled scan" option that requires me to

> > > > press a button both in the software and on the device to start
> > > > scanning; it works but I don't find it very useful.
> > > Yes, as you describe it, you need to have some action on the scanner
> > > itself, so useless here, but very useful for many other Pixma devices,
> > > which do not require this particular manual handling.
> >
> > What does "Button-controlled scan" do on other Pixma devices?
> On other Pixma devices, the button-controlled scan is used to be able to
> start scanning when in front of the device. You select in Xsane for
> instance, button-controlled scan, then click the scan button on Xsane.
> At that point, scanning is on hold, and does not start. You must go in
> front of the device, select the scanner mode, and hit the copy button to
> enable scanning by Xsane. This way, you can more easily scan documents
> that require some manipulations on document or scanner cover (e.g. for
> books)

Well, that's exactly what it does on my device. I don't see what's the difference.

> Do you have the possibility to take a Windows Wireshark log, and send it
> back to me ?

Louis asked for the same thing too. I haven't installed it in windoze yet, but as soon as I do, I'll take a wireshark capture and send it.

Thanks
Adrian



     

--
sane-devel mailing list: sane-devel@...
http://lists.alioth.debian.org/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
             to sane-devel-request@...

Re: Canon imageCLASS MF4370dn

by Nicolas Martin-8 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Le mercredi 21 octobre 2009 à 12:55 -0700, Adrian Sandor a écrit :

> > > What does "Button-controlled scan" do on other Pixma devices?
> > On other Pixma devices, the button-controlled scan is used to be able to
> > start scanning when in front of the device. You select in Xsane for
> > instance, button-controlled scan, then click the scan button on Xsane.
> > At that point, scanning is on hold, and does not start. You must go in
> > front of the device, select the scanner mode, and hit the copy button to
> > enable scanning by Xsane. This way, you can more easily scan documents
> > that require some manipulations on document or scanner cover (e.g. for
> > books)
>
> Well, that's exactly what it does on my device. I don't see what's the difference.
Clarification here:
I understood that you could *only* start scanning after pressing the
scan button on the scanner, even if the "button-controlled" option is
unchecked.
Is that what you experience ?

Nicolas




--
sane-devel mailing list: sane-devel@...
http://lists.alioth.debian.org/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
             to sane-devel-request@...

Re: Canon imageCLASS MF4370dn

by aditsu :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> > > > What does "Button-controlled scan" do on other Pixma devices?

> > > On other Pixma devices, the button-controlled scan is used to be able to
> > > start scanning when in front of the device. You select in Xsane for
> > > instance, button-controlled scan, then click the scan button on Xsane.
> > > At that point, scanning is on hold, and does not start. You must go in
> > > front of the device, select the scanner mode, and hit the copy button to
> > > enable scanning by Xsane. This way, you can more easily scan documents
> > > that require some manipulations on document or scanner cover (e.g. for
> > > books)
> >
> > Well, that's exactly what it does on my device. I don't see what's the
> difference.
> Clarification here:
> I understood that you could *only* start scanning after pressing the
> scan button on the scanner, even if the "button-controlled" option is
> unchecked.
> Is that what you experience ?

Ok I guess this does need some clarification.
Suppose I want to scan 3 papers.

1) no "Button-controlled scan"
- press "scan" twice on the device
- click "scan" in xsane
- change paper
- click "scan" in xsane
- change paper
- click "scan" in xsane

2) with "Button-controlled scan"
- press "scan" twice on the device
- click "scan" in xsane
- press "start" on the device
- change paper
- click "scan" in xsane
- press "start" on the device
- change paper
- click "scan" in xsane
- press "start" on the device

Adrian



     

--
sane-devel mailing list: sane-devel@...
http://lists.alioth.debian.org/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
             to sane-devel-request@...

Re: Canon imageCLASS MF4370dn

by Nicolas Martin-8 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Le mercredi 21 octobre 2009 à 13:22 -0700, Adrian Sandor a écrit :

> Ok I guess this does need some clarification.
> Suppose I want to scan 3 papers.
>
> 1) no "Button-controlled scan"
> - press "scan" twice on the device
> - click "scan" in xsane
> - change paper
> - click "scan" in xsane
> - change paper
> - click "scan" in xsane
>
> 2) with "Button-controlled scan"
> - press "scan" twice on the device
> - click "scan" in xsane
> - press "start" on the device
> - change paper
> - click "scan" in xsane
> - press "start" on the device
> - change paper
> - click "scan" in xsane
> - press "start" on the device

Ok, so I see only 1 difference with other Pixma devices, the fact you
need to enter into scanning mode manually (press "scan" twice on the
device).
Other Pixma enter automatically into the scanning mode when they receive
the Sane messages, i.e. simply after a click on "scan" or "preview" in
xsane.

Note that to scan several pages in "button-controlled" mode, when in
front of the device, select first several pages to scan in xsane.
Then click "scan" on xsane *only* for the first page.
After, just use the scanner button to scan the next page.
xsane will stop the scan mode when the count of pages you set is reach.
(or click on cancel).



--
sane-devel mailing list: sane-devel@...
http://lists.alioth.debian.org/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
             to sane-devel-request@...

Re: Canon imageCLASS MF4370dn

by aditsu :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Ok, so I see only 1 difference with other Pixma devices, the fact you

> need to enter into scanning mode manually (press "scan" twice on the
> device).
> Other Pixma enter automatically into the scanning mode when they receive
> the Sane messages, i.e. simply after a click on "scan" or "preview" in
> xsane.

Yes, and more than that, if the device is in power-saving mode, I have to press another button to wake it up first, then put it in scanning mode.
And if I let it sit idle after scanning, it goes to copy mode after a while, and later to power-saving mode.

> Note that to scan several pages in "button-controlled" mode, when in
> front of the device, select first several pages to scan in xsane.
> Then click "scan" on xsane *only* for the first page.
> After, just use the scanner button to scan the next page.
> xsane will stop the scan mode when the count of pages you set is reach.
> (or click on cancel).

That doesn't work for me. I selected "Button-controlled scan" and 2 pages, but after scanning one page, xsane stops waiting and I have to click again.
I also tried that earlier without "Button-controlled scan" but using the ADF - still only one page scanned for every click on "scan".

Adrian



     

--
sane-devel mailing list: sane-devel@...
http://lists.alioth.debian.org/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
             to sane-devel-request@...

Re: Canon imageCLASS MF4370dn

by Nicolas Martin-8 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Le mercredi 21 octobre 2009 à 22:04 -0700, Adrian Sandor a écrit :
> Yes, and more than that, if the device is in power-saving mode, I have to press another button to wake it up first, then put it in scanning mode.
> And if I let it sit idle after scanning, it goes to copy mode after a while, and later to power-saving mode.
Now need check if you get a similar behavior under Windows.
In such case, would require a usb snoop and network log on Windows, to
check for protocol differences with pixma backend.

>
> > Note that to scan several pages in "button-controlled" mode, when in
> > front of the device, select first several pages to scan in xsane.
> > Then click "scan" on xsane *only* for the first page.
> > After, just use the scanner button to scan the next page.
> > xsane will stop the scan mode when the count of pages you set is reach.
> > (or click on cancel).
>
> That doesn't work for me. I selected "Button-controlled scan" and 2 pages, but after scanning one page, xsane stops waiting and I have to click again.
> I also tried that earlier without "Button-controlled scan" but using the ADF - still only one page scanned for every click on "scan".
So that would require to take log trace with xsane:

$ export SANE_DEBUG_PIXMA=11
$ xsane 2> Somelogfile

perform a 2 pages / Button controlled scans in xsane, then close xsane,
zip the Somelogfile you get, and send it back to me.

Nicolas


--
sane-devel mailing list: sane-devel@...
http://lists.alioth.debian.org/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
             to sane-devel-request@...

Parent Message unknown Re: Canon imageCLASS MF4370dn

by aditsu :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> > Do you have the possibility to take a Windows Wireshark log, and send it

> > back to me ?
>
> Louis asked for the same thing too. I haven't installed it in windoze yet, but
> as soon as I do, I'll take a wireshark capture and send it.

Ok I got a capture in windoze now. Here are the actions I did, corresponding to the capture time (if I'm not mistaken):
0-0.6 - started "scangear tool"
13-14 - clicked "test connection" in the scangear tool
43-end - scanned in gimp; it didn't go very smoothly but it worked in the end

The device was connected over the network (only); its ip address is 192.168.1.11. 192.168.1.103 is the computer.

Same as my previous experience, I had to put the device in network scanning mode before scanning (in gimp), otherwise the driver reported that the scanner was offline.
If you need, I can perform any action you specify and send you the wireshark capture.

Adrian



     

--
sane-devel mailing list: sane-devel@...
http://lists.alioth.debian.org/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
             to sane-devel-request@...

capture.pcap.bz2 (29K) Download Attachment

Parent Message unknown Re: Canon imageCLASS MF4370dn

by aditsu :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Ok I got a capture in windoze now. Here are the actions I did, corresponding to

> the capture time (if I'm not mistaken):
> 0-0.6 - started "scangear tool"
> 13-14 - clicked "test connection" in the scangear tool
> 43-end - scanned in gimp; it didn't go very smoothly but it worked in the end
>
> The device was connected over the network (only); its ip address is
> 192.168.1.11. 192.168.1.103 is the computer.

And here's another capture, the only thing I did this time was getting a whole page preview from gimp (in black and white, apparently no gray shades)

Adrian



     

--
sane-devel mailing list: sane-devel@...
http://lists.alioth.debian.org/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
             to sane-devel-request@...

capture2.pcap.bz2 (21K) Download Attachment

Re: Canon imageCLASS MF4370dn

by Louis Lagendijk :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Adrian
a quick short response:

I had a quick look (I was about to quit for the day). this is definately
a different protocol as the BJNP stuff (this uses port 45747. It may be
similar though. I need to have a look at it when I have more time.

kind regards, Louis

On Sat, 2009-10-24 at 12:05 -0700, Adrian Sandor wrote:

> > Ok I got a capture in windoze now. Here are the actions I did, corresponding to
>
> > the capture time (if I'm not mistaken):
> > 0-0.6 - started "scangear tool"
> > 13-14 - clicked "test connection" in the scangear tool
> > 43-end - scanned in gimp; it didn't go very smoothly but it worked in the end
> >
> > The device was connected over the network (only); its ip address is
> > 192.168.1.11. 192.168.1.103 is the computer.
>
> And here's another capture, the only thing I did this time was getting a whole page preview from gimp (in black and white, apparently no gray shades)
>
> Adrian
>
>
>
>      
> -- sane-devel mailing list: sane-devel@... http://lists.alioth.debian.org/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject "unsubscribe your_password" to sane-devel-request@...


--
sane-devel mailing list: sane-devel@...
http://lists.alioth.debian.org/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
             to sane-devel-request@...
< Prev | 1 - 2 | Next >