Brian Spisak | 19 Mar 17:06 2013
Picon

CanoScan LiDE 700F

Hi,

I see that this scanner is listed as supported, but I'm finding no love with various frontends.

I've installed sane-backends-1.0.22 and when I run 'scanimage -L' and 'sane-find-scanner' I get different results depending on 1) if I'm root v. user, and 2) if I run from within sane-backends-1.0.22/backends or not.  !?!?

Can anyone help me out?

Brian


Session log follows:
--------------------------------------------------------------------------------------------------------------------------

$ scanimage -L
No scanners were identified. ...

$ sane-find-scanner
found USB scanner (vendor=0x04a9, product=0x1907, chip=GL847?) at libusb:002:006
found USB scanner (vendor=0x046d, product=0x08b2) at libusb:002:003

$ sudo scanimage -L
device `genesys:libusb:002:006' is a Canon LiDE 700F flatbed scanner

$ sudo sane-find-scanner
found USB scanner (vendor=0x04a9 [Canon], product=0x1907 [CanoScan], chip=GL847) at libusb:002:006
found USB scanner (vendor=0x046d, product=0x08b2) at libusb:002:003

$ cd Downloads/sane-backends-1.0.22/backend/
$ scanimage -L
device `v4l:/dev/video0' is a Noname Logitech QuickCam Pro 4000 virtual device

$ sudo scanimage -L
device `v4l:/dev/video0' is a Noname Logitech QuickCam Pro 4000 virtual device
device `genesys:libusb:002:006' is a Canon LiDE 700F flatbed scanner







--

-- 
sane-devel mailing list: sane-devel <at> lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
             to sane-devel-request <at> lists.alioth.debian.org
Monty Montgomery | 19 Mar 17:19 2013
Picon

Re: CanoScan LiDE 700F

> I've installed sane-backends-1.0.22 and when I run 'scanimage -L' and
> 'sane-find-scanner' I get different results depending on 1) if I'm root v.
> user, and 2) if I run from within sane-backends-1.0.22/backends or not.
> !?!?

At a guess, the distro you're using has altered the install convention
such that a source build is not integrating with the
distribution-shipped hotplug/udev/systemd rules.  It also sounds like
the backends are also not installed where the distro expects.

I know for a fact that getting a source build to work on, eg, Fedora,
will be an exercise in reading the Fedora package's spec files
carefully.

Most of the install documentation shipped with the current sane
backends is out of date, incorrect for a given distribution, or both.
It still talks about the 2.6 kernel series as if it were new...

Monty

--

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

Brian Spisak | 19 Mar 19:18 2013
Picon

Re: CanoScan LiDE 700F


Hi again,

I upgraded to sane-backends-1.0.23 using my distro's package (Ubuntu Precise) rather than trying to install from source. Still have the same issue:

$ sane-find-scanner
found USB scanner (vendor=0x04a9, product=0x1907, chip=GL847?) at libusb:002:006

$ scanimage -L
No scanners were identified....

$ sudo scanimage -L
device `genesys:libusb:002:006' is a Canon LiDE 700F flatbed scanner

Any other suggestions?
Brian



From: bspisak <at> hotmail.com
To: sane-devel <at> lists.alioth.debian.org
Date: Tue, 19 Mar 2013 09:06:08 -0700
Subject: [sane-devel] CanoScan LiDE 700F

Hi,

I see that this scanner is listed as supported, but I'm finding no love with various frontends.

I've installed sane-backends-1.0.22 and when I run 'scanimage -L' and 'sane-find-scanner' I get different results depending on 1) if I'm root v. user, and 2) if I run from within sane-backends-1.0.22/backends or not.  !?!?

Can anyone help me out?

Brian
--

-- 
sane-devel mailing list: sane-devel <at> lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
             to sane-devel-request <at> lists.alioth.debian.org
Stef | 19 Mar 20:11 2013
Picon

Re: CanoScan LiDE 700F

On 19/03/2013 19:18, Brian Spisak wrote:
<!-- .hmmessage P { margin:0px; padding:0px } body.hmmessage { font-size: 10pt; font-family:Tahoma } -->

Hi again,

I upgraded to sane-backends-1.0.23 using my distro's package (Ubuntu Precise) rather than trying to install from source. Still have the same issue:

$ sane-find-scanner
found USB scanner (vendor=0x04a9, product=0x1907, chip=GL847?) at libusb:002:006

$ scanimage -L
No scanners were identified....

$ sudo scanimage -L
device `genesys:libusb:002:006' is a Canon LiDE 700F flatbed scanner

Any other suggestions?
Brian


    Hello,

    README.linux (in top source directory) has information on how to fix this permission problem.

http://anonscm.debian.org/gitweb/?p=sane/sane-backends.git;a=blob_plain;f=README.linux;hb=HEAD

Regards,
    Stef


--

-- 
sane-devel mailing list: sane-devel <at> lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
             to sane-devel-request <at> lists.alioth.debian.org
Peter D'Hoye | 19 Mar 20:15 2013
Picon

Re: CanoScan LiDE 700F

> $ sane-find-scanner
> found USB scanner (vendor=0x04a9, product=0x1907, chip=GL847?) at
> libusb:002:006
>
> $ scanimage -L
> No scanners were identified....
>
> $ sudo scanimage -L
> device `genesys:libusb:002:006' is a Canon LiDE 700F flatbed scanner

Make sure your user is member of the scanner and/or saned group(s)?

Peter

--

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

Monty Montgomery | 19 Mar 20:55 2013
Picon

Re: CanoScan LiDE 700F

>     README.linux (in top source directory) has information on how to fix
> this permission problem.
>
> http://anonscm.debian.org/gitweb/?p=sane/sane-backends.git;a=blob_plain;f=README.linux;hb=HEAD

Except this information is wrong in modern distros.  Permissions are
regulated by udevd or systemd depending on the distro. If you follow
the instructions on that page, the permissions change will either be
temporary or overridden.

Is this a scanner that was just added to the support list?  If so, and
if Ubuntu's distro package is also failing to set it up properly, it
may be missing a udev or systemd rule (not sure which Ubuntu uses) to
make the device accessible to the console user.

Of course, this is all assuming it's the actual problem... or the only one.

What are the permissions of /dev/bus/usb/002/006?  And what are the
user's groups set to?

Monty

This is assumin ghtis is the actul problem
>
> Regards,
>     Stef
>
>
>
> --
> sane-devel mailing list: sane-devel <at> lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/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/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
             to sane-devel-request <at> lists.alioth.debian.org

Brian Spisak | 19 Mar 21:09 2013
Picon

Re: CanoScan LiDE 700F


You're right, I tried adding myself to the group 'scanner' but it didn't help.

$ ls -l /dev/bus/usb/002/006
crw-rw-r-- 1 root root 189, 133 Mar 19 11:29 /dev/bus/usb/002/006

$ groups
brians adm cdrom sudo dip plugdev scanner lpadmin sambashare

I think Ubuntu uses udev.

> Date: Tue, 19 Mar 2013 15:55:56 -0400
> Subject: Re: [sane-devel] CanoScan LiDE 700F
> From: xiphmont <at> gmail.com
> To: stef.dev <at> free.fr
> CC: bspisak <at> hotmail.com; sane-devel <at> lists.alioth.debian.org
>
> > README.linux (in top source directory) has information on how to fix
> > this permission problem.
> >
> > http://anonscm.debian.org/gitweb/?p=sane/sane-backends.git;a=blob_plain;f=README.linux;hb=HEAD
>
> Except this information is wrong in modern distros. Permissions are
> regulated by udevd or systemd depending on the distro. If you follow
> the instructions on that page, the permissions change will either be
> temporary or overridden.
>
> Is this a scanner that was just added to the support list? If so, and
> if Ubuntu's distro package is also failing to set it up properly, it
> may be missing a udev or systemd rule (not sure which Ubuntu uses) to
> make the device accessible to the console user.
>
> Of course, this is all assuming it's the actual problem... or the only one.
>
> What are the permissions of /dev/bus/usb/002/006? And what are the
> user's groups set to?
>
> Monty
>
>
>
> This is assumin ghtis is the actul problem
> >
> > Regards,
> > Stef
> >
> >
> >
> > --
> > sane-devel mailing list: sane-devel <at> lists.alioth.debian.org
> > http://lists.alioth.debian.org/cgi-bin/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/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
             to sane-devel-request <at> lists.alioth.debian.org
Stef | 19 Mar 21:13 2013
Picon

Re: CanoScan LiDE 700F

On 19/03/2013 21:09, Brian Spisak wrote:
<!-- .hmmessage P { margin:0px; padding:0px } body.hmmessage { font-size: 10pt; font-family:Tahoma } -->

You're right, I tried adding myself to the group 'scanner' but it didn't help.

$ ls -l /dev/bus/usb/002/006
crw-rw-r-- 1 root root 189, 133 Mar 19 11:29 /dev/bus/usb/002/006

$ groups
brians adm cdrom sudo dip plugdev scanner lpadmin sambashare

I think Ubuntu uses udev.


    Hello,

    if udev was set up correctly, you should have /dev/bus/usb/002/006 belonging to scanner group. Here it is root. Did you try to unplug/replug the scanner so a new or changed  rule could be applied after upgrading the package ?

Regards,
    Stef
--

-- 
sane-devel mailing list: sane-devel <at> lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
             to sane-devel-request <at> lists.alioth.debian.org
Brian Spisak | 19 Mar 21:18 2013
Picon

Re: CanoScan LiDE 700F


Just unplug/replug and no help. I'll reboot now as well. I have to run out, but will be back in an hour or so.

$ ls -l /dev/bus/usb/002/007
crw-rw-r--+ 1 root root 189, 134 Mar 19 13:16 /dev/bus/usb/002/007

I also see a rule for my device in /lib/udev/rules.d/40-libsane.rules

# Canon CanoScan 700F
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="1907", ENV{libsane_matched}="yes"



Date: Tue, 19 Mar 2013 21:13:55 +0100
From: stef.dev <at> free.fr
To: bspisak <at> hotmail.com
CC: sane-devel <at> lists.alioth.debian.org
Subject: Re: [sane-devel] CanoScan LiDE 700F

On 19/03/2013 21:09, Brian Spisak wrote:
<!-- .ExternalClass .ecxhmmessage P {padding:0px;} .ExternalClass body.ecxhmmessage {font-size:10pt;font-family:Tahoma;} -->

You're right, I tried adding myself to the group 'scanner' but it didn't help.

$ ls -l /dev/bus/usb/002/006
crw-rw-r-- 1 root root 189, 133 Mar 19 11:29 /dev/bus/usb/002/006

$ groups
brians adm cdrom sudo dip plugdev scanner lpadmin sambashare

I think Ubuntu uses udev.


    Hello,

    if udev was set up correctly, you should have /dev/bus/usb/002/006 belonging to scanner group. Here it is root. Did you try to unplug/replug the scanner so a new or changed  rule could be applied after upgrading the package ?

Regards,
    Stef
--

-- 
sane-devel mailing list: sane-devel <at> lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
             to sane-devel-request <at> lists.alioth.debian.org
Stef | 19 Mar 21:51 2013
Picon

Re: CanoScan LiDE 700F

On 19/03/2013 21:18, Brian Spisak wrote:
<!-- .hmmessage P { margin:0px; padding:0px } body.hmmessage { font-size: 10pt; font-family:Tahoma } -->

Just unplug/replug and no help. I'll reboot now as well. I have to run out, but will be back in an hour or so.

$ ls -l /dev/bus/usb/002/007
crw-rw-r--+ 1 root root 189, 134 Mar 19 13:16 /dev/bus/usb/002/007

I also see a rule for my device in /lib/udev/rules.d/40-libsane.rules

# Canon CanoScan 700F
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="1907", ENV{libsane_matched}="yes"



    Possible thing to check:
    - another *libsane.rules elsewhere
    - another rule applying first from another file
    - wrong persistent file in /etc/udev/rules.d

Maybe udevadm (as root) could help, on my box it gives (with the last line below the most important):

udevadm info --query=all --name=/dev/bus/usb/001/004
P: /devices/pci0000:00/0000:00:12.2/usb1/1-4
N: bus/usb/001/004
E: BUSNUM=001
E: DEVNAME=/dev/bus/usb/001/004
E: DEVNUM=004
E: DEVPATH=/devices/pci0000:00/0000:00:12.2/usb1/1-4
E: DEVTYPE=usb_device
E: DRIVER=usb
E: ID_BUS=usb
E: ID_MODEL=CanoScan
E: ID_MODEL_ENC=CanoScan
E: ID_MODEL_ID=2213
E: ID_REVISION=0302
E: ID_SERIAL=Canon_CanoScan
E: ID_USB_INTERFACES=:ffffff:
E: ID_VENDOR=Canon
E: ID_VENDOR_ENC=Canon
E: ID_VENDOR_ID=04a9
E: MAJOR=189
E: MINOR=3
E: PRODUCT=4a9/2213/302
E: SUBSYSTEM=usb
E: TYPE=255/255/255
E: UDEV_LOG=3
E: USEC_INITIALIZED=6561531242
E: libsane_matched=yes


    You could alos use 'udevadm test /dev/bus/usb/002/007' to get udev debug traces.

Regards,
    Stef

--

-- 
sane-devel mailing list: sane-devel <at> lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
             to sane-devel-request <at> lists.alioth.debian.org
Brian Spisak | 20 Mar 00:06 2013
Picon

Re: CanoScan LiDE 700F


Well, after a reboot, I can now see the scanner without having to be root.

Strangely, my scanner still has root permissions:

$ scanimage -L
device `genesys:libusb:002:006' is a Canon LiDE 700F flatbed scanner

$ ls -l /dev/bus/usb/002/006
crw-rw-r--+ 1 root root 189, 133 Mar 19 15:52 /dev/bus/usb/002/006


Thanks again for everyone's help!
Brian

Date: Tue, 19 Mar 2013 21:51:10 +0100
From: stef.dev <at> free.fr
To: bspisak <at> hotmail.com
CC: sane-devel <at> lists.alioth.debian.org
Subject: Re: [sane-devel] CanoScan LiDE 700F

On 19/03/2013 21:18, Brian Spisak wrote:
<!-- .ExternalClass .ecxhmmessage P {padding:0px;} .ExternalClass body.ecxhmmessage {font-size:10pt;font-family:Tahoma;} -->

Just unplug/replug and no help. I'll reboot now as well. I have to run out, but will be back in an hour or so.

$ ls -l /dev/bus/usb/002/007
crw-rw-r--+ 1 root root 189, 134 Mar 19 13:16 /dev/bus/usb/002/007

I also see a rule for my device in /lib/udev/rules.d/40-libsane.rules

# Canon CanoScan 700F
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="1907", ENV{libsane_matched}="yes"



    Possible thing to check:
    - another *libsane.rules elsewhere
    - another rule applying first from another file
    - wrong persistent file in /etc/udev/rules.d

Maybe udevadm (as root) could help, on my box it gives (with the last line below the most important):

udevadm info --query=all --name=/dev/bus/usb/001/004
P: /devices/pci0000:00/0000:00:12.2/usb1/1-4
N: bus/usb/001/004
E: BUSNUM=001
E: DEVNAME=/dev/bus/usb/001/004
E: DEVNUM=004
E: DEVPATH=/devices/pci0000:00/0000:00:12.2/usb1/1-4
E: DEVTYPE=usb_device
E: DRIVER=usb
E: ID_BUS=usb
E: ID_MODEL=CanoScan
E: ID_MODEL_ENC=CanoScan
E: ID_MODEL_ID=2213
E: ID_REVISION=0302
E: ID_SERIAL=Canon_CanoScan
E: ID_USB_INTERFACES=:ffffff:
E: ID_VENDOR=Canon
E: ID_VENDOR_ENC=Canon
E: ID_VENDOR_ID=04a9
E: MAJOR=189
E: MINOR=3
E: PRODUCT=4a9/2213/302
E: SUBSYSTEM=usb
E: TYPE=255/255/255
E: UDEV_LOG=3
E: USEC_INITIALIZED=6561531242
E: libsane_matched=yes


    You could alos use 'udevadm test /dev/bus/usb/002/007' to get udev debug traces.

Regards,
    Stef

--

-- 
sane-devel mailing list: sane-devel <at> lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
             to sane-devel-request <at> lists.alioth.debian.org
Sebastian Reinhardt | 19 Mar 17:21 2013
Picon

Re: CanoScan LiDE 700F

Am 19.03.2013 17:06, schrieb Brian Spisak:
<!-- .hmmessage P { margin:0px; padding:0px } body.hmmessage { font-size: 10pt; font-family:Tahoma } -->
Hi,

I see that this scanner is listed as supported, but I'm finding no love with various frontends.

I've installed sane-backends-1.0.22 and when I run 'scanimage -L' and 'sane-find-scanner' I get different results depending on 1) if I'm root v. user, and 2) if I run from within sane-backends-1.0.22/backends or not.  !?!?

Can anyone help me out?

Brian


Session log follows:
--------------------------------------------------------------------------------------------------------------------------

$ scanimage -L
No scanners were identified. ...

$ sane-find-scanner
found USB scanner (vendor=0x04a9, product=0x1907, chip=GL847?) at libusb:002:006
found USB scanner (vendor=0x046d, product=0x08b2) at libusb:002:003

$ sudo scanimage -L
device `genesys:libusb:002:006' is a Canon LiDE 700F flatbed scanner

$ sudo sane-find-scanner
found USB scanner (vendor=0x04a9 [Canon], product=0x1907 [CanoScan], chip=GL847) at libusb:002:006
found USB scanner (vendor=0x046d, product=0x08b2) at libusb:002:003

$ cd Downloads/sane-backends-1.0.22/backend/
$ scanimage -L
device `v4l:/dev/video0' is a Noname Logitech QuickCam Pro 4000 virtual device

$ sudo scanimage -L
device `v4l:/dev/video0' is a Noname Logitech QuickCam Pro 4000 virtual device
device `genesys:libusb:002:006' is a Canon LiDE 700F flatbed scanner









I use the same scanner. It works! But You need 1.0.23! Check Your distro for new backend-version or compile yourself!

-- Regards Sebastian Reinhardt
--

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

Gmane