[sane-devel] Canon imageCLASS MF4370dn

Louis Lagendijk louis at lagendijk.xs4all.nl
Tue Oct 20 15:53:56 UTC 2009


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 at gmail.com>
> > To: Adrian Sandor <aditsu at yahoo.com>
> > Cc: sane-devel at lists.alioth.debian.org
> > 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 at lists.alioth.debian.org
> > > http://lists.alioth.debian.org/mailman/listinfo/sane-devel
> > > Unsubscribe: Send mail with subject "unsubscribe your_password"
> > >              to sane-devel-request at lists.alioth.debian.org
> > 
> > 
> > 
> > --
> > sane-devel mailing list: sane-devel at lists.alioth.debian.org
> > http://lists.alioth.debian.org/mailman/listinfo/sane-devel
> > Unsubscribe: Send mail with subject "unsubscribe your_password"
> >              to sane-devel-request at lists.alioth.debian.org
> 
> 
> --
> sane-devel mailing list: sane-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/sane-devel
> Unsubscribe: Send mail with subject "unsubscribe your_password"
>              to sane-devel-request at lists.alioth.debian.org




More information about the sane-devel mailing list