public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* Re: [gentoo-user] USB scanner (Canon LiDE 25) only recognized as root
  2006-01-08 20:35 [gentoo-user] USB scanner (Canon LiDE 25) only recognized as root Christian Floeter
@ 2006-01-08 19:56 ` Abhay Kedia
  2006-01-08 22:03   ` Christian Floeter
  2006-01-09  3:55 ` Richard Fish
  1 sibling, 1 reply; 14+ messages in thread
From: Abhay Kedia @ 2006-01-08 19:56 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 267 bytes --]

On Monday 09 January 2006 02:05, Christian Floeter wrote:
>
> my Canon LiDE 25 scanner is only recognized by scanimage when logged in
> as root.
>
A shot in the dark. Could this be the solution?
http://gentoo-wiki.com/HOWTO_Install_a_USB_scanner#UDEV

Regards,
Abhay

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [gentoo-user] USB scanner (Canon LiDE 25) only recognized as root
@ 2006-01-08 20:35 Christian Floeter
  2006-01-08 19:56 ` Abhay Kedia
  2006-01-09  3:55 ` Richard Fish
  0 siblings, 2 replies; 14+ messages in thread
From: Christian Floeter @ 2006-01-08 20:35 UTC (permalink / raw
  To: gentoo-user

Hi,

my Canon LiDE 25 scanner is only recognized by scanimage when logged in 
as root.

I have:
kernel 2.6.15-rc7 vanilla, udev 079, libusb 0.1.10a, sane-backends 
1.0.17, xsane 0.98a-r1, sane-frontends 1.0.14.

My user is in the usb and scanner groups, and my USE flags contain usb 
and scanner as well.

Permissions in /proc/bus/usb are set correctly when the scanner is 
plugged in:

cf@sakura ~ $ sane-find-scanner -q
found USB scanner (vendor=0x04a9 [Canon], product=0x2220 [CanoScan], 
chip=LM9832/3) at libusb:004:011

cf@sakura ~ $ ls -l /proc/bus/usb/004
total 0
-rw-rw-r--  1 root usb     43  8. Jan 09:59 001
-rw-rw----  1 root scanner 57  8. Jan 09:59 011

And I have a /var/lib/lock/sane directory, as required by the plustek 
backend:

sakura linux # ls -l /var/lib/lock/
total 4
drwxrwx---  2 root scanner 4096  7. Jan 12:39 sane

And still, scanimage cannot find the scanner as user:

cf@sakura ~ $ scanimage -L

No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).

Whereas as root, it gives:

sakura linux # scanimage -L
device `plustek:libusb:004:011' is a Canon LiDE25 USB flatbed scanner

So what's missing here? How can I get it to work when logged in as user?
Do other LiDE owners experience the same problem?

C.
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] USB scanner (Canon LiDE 25) only recognized as root
  2006-01-08 19:56 ` Abhay Kedia
@ 2006-01-08 22:03   ` Christian Floeter
  2006-01-09  3:56     ` Richard Fish
  0 siblings, 1 reply; 14+ messages in thread
From: Christian Floeter @ 2006-01-08 22:03 UTC (permalink / raw
  To: gentoo-user

Abhay Kedia wrote:
> On Monday 09 January 2006 02:05, Christian Floeter wrote:
> 
>>my Canon LiDE 25 scanner is only recognized by scanimage when logged in
>>as root.
>>
> 
> A shot in the dark. Could this be the solution?
> http://gentoo-wiki.com/HOWTO_Install_a_USB_scanner#UDEV

No, doesn't work. I've tried the given udev rule and the 'usbscanner' 
init script, without success.

C.
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] USB scanner (Canon LiDE 25) only recognized as root
  2006-01-08 20:35 [gentoo-user] USB scanner (Canon LiDE 25) only recognized as root Christian Floeter
  2006-01-08 19:56 ` Abhay Kedia
@ 2006-01-09  3:55 ` Richard Fish
  2006-01-09 10:07   ` Christian Floeter
  1 sibling, 1 reply; 14+ messages in thread
From: Richard Fish @ 2006-01-09  3:55 UTC (permalink / raw
  To: gentoo-user

On 1/8/06, Christian Floeter <pyramid04@gmx.net> wrote:
> cf@sakura ~ $ scanimage -L
>
> No scanners were identified. If you were expecting something different,
> check that the scanner is plugged in, turned on and detected by the
> sane-find-scanner tool (if appropriate). Please read the documentation
> which came with this software (README, FAQ, manpages).
>
> Whereas as root, it gives:
>
> sakura linux # scanimage -L
> device `plustek:libusb:004:011' is a Canon LiDE25 USB flatbed scanner
>
> So what's missing here? How can I get it to work when logged in as user?
> Do other LiDE owners experience the same problem?

No similar problem here (LIDE35, genesys backend).  Take a look at (or
post) the output of

strace -e open sane-find-scanner -q

-Richard

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] USB scanner (Canon LiDE 25) only recognized as root
  2006-01-08 22:03   ` Christian Floeter
@ 2006-01-09  3:56     ` Richard Fish
  0 siblings, 0 replies; 14+ messages in thread
From: Richard Fish @ 2006-01-09  3:56 UTC (permalink / raw
  To: gentoo-user

On 1/8/06, Christian Floeter <pyramid04@gmx.net> wrote:
> Abhay Kedia wrote:
> > On Monday 09 January 2006 02:05, Christian Floeter wrote:
> >
> >>my Canon LiDE 25 scanner is only recognized by scanimage when logged in
> >>as root.
> >>
> >
> > A shot in the dark. Could this be the solution?
> > http://gentoo-wiki.com/HOWTO_Install_a_USB_scanner#UDEV
>
> No, doesn't work. I've tried the given udev rule and the 'usbscanner'
> init script, without success.

BTW, that page has some errors on it.  Particularly, for udev where it
says .rules, it should be .permissions.  However I didn't have to do
any of that to get my scanner working as a regular user.

-Richard

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] USB scanner (Canon LiDE 25) only recognized as root
  2006-01-09  3:55 ` Richard Fish
@ 2006-01-09 10:07   ` Christian Floeter
  2006-01-09 14:40     ` Richard Fish
  0 siblings, 1 reply; 14+ messages in thread
From: Christian Floeter @ 2006-01-09 10:07 UTC (permalink / raw
  To: gentoo-user

Richard Fish wrote:

> No similar problem here (LIDE35, genesys backend).  Take a look at (or
> post) the output of
> 
> strace -e open sane-find-scanner -q

cf@sakura ~ $ strace -e open sane-find-scanner -q
open("/etc/ld.so.cache", O_RDONLY)      = 3
open("/usr/lib/libusb-0.1.so.4", O_RDONLY) = 3
open("/lib/libpthread.so.0", O_RDONLY)  = 3
open("/usr/lib/libjpeg.so.62", O_RDONLY) = 3
open("/usr/lib/libieee1284.so.3", O_RDONLY) = 3
open("/usr/lib/libgphoto2.so.2", O_RDONLY) = 3
open("/usr/lib/libgphoto2_port.so.0", O_RDONLY) = 3
open("/lib/libdl.so.2", O_RDONLY)       = 3
open("/lib/libm.so.6", O_RDONLY)        = 3
open("/lib/libc.so.6", O_RDONLY)        = 3
open("/dev/urandom", O_RDONLY)          = 3
open("/proc/scsi/scsi", O_RDONLY)       = 3
open("/proc/scsi/scsi", O_RDONLY)       = 3
open("/dev/scanner", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file 
or directory)
open("/dev/sg0", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or 
directory)
open("/dev/sg1", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or 
directory)
open("/dev/sg2", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or 
directory)
open("/dev/sg3", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or 
directory)
open("/dev/sg4", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or 
directory)
open("/dev/sg5", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or 
directory)
open("/dev/sg6", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or 
directory)
open("/dev/sg7", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or 
directory)
open("/dev/sg8", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or 
directory)
open("/dev/sg9", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or 
directory)
open("/dev/sga", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or 
directory)
open("/dev/sgb", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or 
directory)
open("/dev/sgc", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or 
directory)
open("/dev/sgd", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or 
directory)
open("/dev/sge", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or 
directory)
open("/dev/sgf", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or 
directory)
open("/dev/sgg", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or 
directory)
open("/dev/sgh", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or 
directory)
open("/dev/sgi", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or 
directory)
open("/dev/sgj", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or 
directory)
open("/dev/sgk", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or 
directory)
open("/dev/sgl", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or 
directory)
open("/dev/sgm", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or 
directory)
open("/dev/sgn", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or 
directory)
open("/dev/sgo", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or 
directory)
open("/dev/sgp", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or 
directory)
open("/dev/sgq", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or 
directory)
open("/dev/sgr", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or 
directory)
open("/dev/sgs", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or 
directory)
open("/dev/sgt", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or 
directory)
open("/dev/sgu", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or 
directory)
open("/dev/sgv", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or 
directory)
open("/dev/sgw", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or 
directory)
open("/dev/sgx", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or 
directory)
open("/dev/sgy", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or 
directory)
open("/dev/sgz", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or 
directory)
open("/proc/devices", O_RDONLY)         = 3
open("/dev/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
open("/proc/bus/usb", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
open("/proc/bus/usb", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
open("/proc/bus/usb/004", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
open("/proc/bus/usb/004/015", O_RDWR)   = 4
open("/proc/bus/usb/004/001", O_RDWR)   = 4
open("/proc/bus/usb/004/015", O_RDWR)   = 3
open("/proc/bus/usb/004/001", O_RDWR)   = 3
open("/proc/bus/usb/003", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
open("/proc/bus/usb/003/002", O_RDWR)   = 4
open("/proc/bus/usb/003/001", O_RDWR)   = 4
open("/proc/bus/usb/003/002", O_RDWR)   = 3
open("/proc/bus/usb/003/001", O_RDWR)   = 3
open("/proc/bus/usb/002", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
open("/proc/bus/usb/002/001", O_RDWR)   = 4
open("/proc/bus/usb/002/001", O_RDWR)   = 3
open("/proc/bus/usb/001", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
open("/proc/bus/usb/001/001", O_RDWR)   = 4
open("/proc/bus/usb/001/001", O_RDWR)   = 3
open("/proc/bus/usb/004/015", O_RDWR)   = 3
open("/proc/bus/usb/004/015", O_RDWR)   = 3
open("/proc/bus/usb/004/015", O_RDWR)   = 3
found USB scanner (vendor=0x04a9 [Canon], product=0x2220 [CanoScan], 
chip=LM9832/3) at libusb:004:015
open("/proc/bus/usb/004/001", O_RDWR)   = 3
open("/proc/bus/usb/004/001", O_RDWR)   = 3
open("/proc/bus/usb/003/002", O_RDWR)   = 3
open("/proc/bus/usb/003/002", O_RDWR)   = 3
open("/proc/bus/usb/003/001", O_RDWR)   = 3
open("/proc/bus/usb/003/001", O_RDWR)   = 3
open("/proc/bus/usb/002/001", O_RDWR)   = 3
open("/proc/bus/usb/002/001", O_RDWR)   = 3
open("/proc/bus/usb/001/001", O_RDWR)   = 3
open("/proc/bus/usb/001/001", O_RDWR)   = 3


Any hints in there?

C.
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] USB scanner (Canon LiDE 25) only recognized as root
  2006-01-09 10:07   ` Christian Floeter
@ 2006-01-09 14:40     ` Richard Fish
  2006-01-09 14:46       ` Octavio Ruiz (Ta^3)
  2006-01-09 16:46       ` Christian Floeter
  0 siblings, 2 replies; 14+ messages in thread
From: Richard Fish @ 2006-01-09 14:40 UTC (permalink / raw
  To: gentoo-user

On 1/9/06, Christian Floeter <pyramid04@gmx.net> wrote:
> Richard Fish wrote:
>
> > No similar problem here (LIDE35, genesys backend).  Take a look at (or
> > post) the output of
> >
> > strace -e open sane-find-scanner -q
>
> cf@sakura ~ $ strace -e open sane-find-scanner -q
> open("/proc/bus/usb/004/015", O_RDWR)   = 3
> found USB scanner (vendor=0x04a9 [Canon], product=0x2220 [CanoScan],
> chip=LM9832/3) at libusb:004:015

Did you run this as a regular user, or as root, because this found your scanner.

-Richard

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] USB scanner (Canon LiDE 25) only recognized as root
  2006-01-09 14:40     ` Richard Fish
@ 2006-01-09 14:46       ` Octavio Ruiz (Ta^3)
  2006-01-09 16:49         ` Christian Floeter
  2006-01-09 16:46       ` Christian Floeter
  1 sibling, 1 reply; 14+ messages in thread
From: Octavio Ruiz (Ta^3) @ 2006-01-09 14:46 UTC (permalink / raw
  To: gentoo-user

Richard Fish, who happens to be smarter than you, thinks:
> On 1/9/06, Christian Floeter <pyramid04@gmx.net> wrote:
> > Richard Fish wrote:
> > > No similar problem here (LIDE35, genesys backend).  Take a look at (or
> > > post) the output of
> > > strace -e open sane-find-scanner -q
> > cf@sakura ~ $ strace -e open sane-find-scanner -q
> > open("/proc/bus/usb/004/015", O_RDWR)   = 3
> > found USB scanner (vendor=0x04a9 [Canon], product=0x2220 [CanoScan],
> > chip=LM9832/3) at libusb:004:015

# emerge sys-apps/coldplug
# rc-update add coldplug default
# /etc/init.d/coldplug
$  sane-find-scanner -q

:)

-- 
ASHes to ASHes, DOS to DOS.
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] USB scanner (Canon LiDE 25) only recognized as root
  2006-01-09 14:40     ` Richard Fish
  2006-01-09 14:46       ` Octavio Ruiz (Ta^3)
@ 2006-01-09 16:46       ` Christian Floeter
  2006-01-10  4:07         ` Richard Fish
  1 sibling, 1 reply; 14+ messages in thread
From: Christian Floeter @ 2006-01-09 16:46 UTC (permalink / raw
  To: gentoo-user

Richard Fish wrote:
> On 1/9/06, Christian Floeter <pyramid04@gmx.net> wrote:
> 
>>Richard Fish wrote:
>>
>>
>>>No similar problem here (LIDE35, genesys backend).  Take a look at (or
>>>post) the output of
>>>
>>>strace -e open sane-find-scanner -q
>>
>>cf@sakura ~ $ strace -e open sane-find-scanner -q
>>open("/proc/bus/usb/004/015", O_RDWR)   = 3
>>found USB scanner (vendor=0x04a9 [Canon], product=0x2220 [CanoScan],
>>chip=LM9832/3) at libusb:004:015
> 
> 
> Did you run this as a regular user, or as root, because this found your scanner.

As a user (as can be seen by the $ prompt). I ran it as root too, but 
the output was identical.

BTW, sane-find-scanner always finds my scanner, it's scanimage that doesn't.

C.
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] USB scanner (Canon LiDE 25) only recognized as root
  2006-01-09 14:46       ` Octavio Ruiz (Ta^3)
@ 2006-01-09 16:49         ` Christian Floeter
  0 siblings, 0 replies; 14+ messages in thread
From: Christian Floeter @ 2006-01-09 16:49 UTC (permalink / raw
  To: gentoo-user

Octavio Ruiz (Ta^3) wrote:

> # emerge sys-apps/coldplug
> # rc-update add coldplug default
> # /etc/init.d/coldplug
> $  sane-find-scanner -q

sakura cf # rc-update show
            alsasound |
                aumix |
             bootmisc | boot
              checkfs | boot
            checkroot | boot
                clock | boot
             coldplug | boot
          consolefont | boot
          crypto-loop |
                cupsd |      default
           domainname | boot default
                 famd |
                  gpm |
               hdparm |
             hostname | boot
              hotplug | boot
              keymaps | boot
                local |      default nonetwork
           localmount | boot
              modules | boot
             net.eth0 |
               net.lo | boot
             net.ppp0 |
             netmount |      default
                 nscd |
              numlock |
              portmap |
            rmnologin | boot
               rsyncd |
                 sshd |
            syslog-ng |      default
              urandom | boot
           vixie-cron |      default
                  xdm |
               xprint |


C.
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] USB scanner (Canon LiDE 25) only recognized as root
  2006-01-09 16:46       ` Christian Floeter
@ 2006-01-10  4:07         ` Richard Fish
  2006-01-10 11:51           ` [gentoo-user] [SOLVED] " Christian Floeter
  0 siblings, 1 reply; 14+ messages in thread
From: Richard Fish @ 2006-01-10  4:07 UTC (permalink / raw
  To: gentoo-user

On 1/9/06, Christian Floeter <pyramid04@gmx.net> wrote:
> BTW, sane-find-scanner always finds my scanner, it's scanimage that doesn't.

Ok, sounds like a sane configuration or installation issue, not really
a system problem.  Let's try something with scanimage:

strace -f -e open scanimage -L 2>&1 | grep -e lib -e /etc -e /proc/bus/usb

-Richard

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] [SOLVED] USB scanner (Canon LiDE 25) only recognized as root
  2006-01-10  4:07         ` Richard Fish
@ 2006-01-10 11:51           ` Christian Floeter
  2006-01-10 14:14             ` Ernie Schroder
  2006-01-10 15:15             ` Richard Fish
  0 siblings, 2 replies; 14+ messages in thread
From: Christian Floeter @ 2006-01-10 11:51 UTC (permalink / raw
  To: gentoo-user

Richard Fish wrote:
> On 1/9/06, Christian Floeter <pyramid04@gmx.net> wrote:
> 
>>BTW, sane-find-scanner always finds my scanner, it's scanimage that doesn't.
> 
> 
> Ok, sounds like a sane configuration or installation issue, not really
> a system problem.  Let's try something with scanimage:
> 
> strace -f -e open scanimage -L 2>&1 | grep -e lib -e /etc -e /proc/bus/usb

Problem solved! :)

strace listed the following line:

open("/var/lib/lock/sane/LCK..libusb:004:016", O_WRONLY|O_CREAT|O_EXCL, 
0644) = -1 EACCES (Permission denied)

I found that /var/lib/lock had permissions 660, so I changed it to 775 
and the scanner was correctly found as user. Surely something the ebuild 
should have done for me... :-/

Thanks Richard for your help. strace really is a tool worth remembering for.

While we're here, I have to say that I'm still not that lucky with my 
LiDE 25 scanner. When scanning under Linux, the output shows vertical 
stripes, whereas under Windoze the output is faultless. Can something be 
done about it? What about other LiDE's out there?

C.
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] [SOLVED] USB scanner (Canon LiDE 25) only recognized as root
  2006-01-10 11:51           ` [gentoo-user] [SOLVED] " Christian Floeter
@ 2006-01-10 14:14             ` Ernie Schroder
  2006-01-10 15:15             ` Richard Fish
  1 sibling, 0 replies; 14+ messages in thread
From: Ernie Schroder @ 2006-01-10 14:14 UTC (permalink / raw
  To: gentoo-user

On Tuesday 10 January 2006 06:51, a tiny voice compelled Christian Floeter to 
write:
> Richard Fish wrote:
> > On 1/9/06, Christian Floeter <pyramid04@gmx.net> wrote:
> >>BTW, sane-find-scanner always finds my scanner, it's scanimage that
> >> doesn't.
> >
> > Ok, sounds like a sane configuration or installation issue, not really
> > a system problem.  Let's try something with scanimage:
> >
> > strace -f -e open scanimage -L 2>&1 | grep -e lib -e /etc -e
> > /proc/bus/usb
>
> Problem solved! :)
>
> strace listed the following line:
>
> open("/var/lib/lock/sane/LCK..libusb:004:016", O_WRONLY|O_CREAT|O_EXCL,
> 0644) = -1 EACCES (Permission denied)
>
> I found that /var/lib/lock had permissions 660, so I changed it to 775
> and the scanner was correctly found as user. Surely something the ebuild
> should have done for me... :-/
>
> Thanks Richard for your help. strace really is a tool worth remembering
> for.
>
> While we're here, I have to say that I'm still not that lucky with my
> LiDE 25 scanner. When scanning under Linux, the output shows vertical
> stripes, whereas under Windoze the output is faultless. Can something be
> done about it? What about other LiDE's out there?
>
> C.

Christian,
Give the archives here a try, or join and ask. ane-devel is an active, very 
informed group and you'll get all the help you need there.

http://lists.alioth.debian.org/mailman/listinfo/sane-devel
-- 
Regards, Ernie
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] [SOLVED] USB scanner (Canon LiDE 25) only recognized as root
  2006-01-10 11:51           ` [gentoo-user] [SOLVED] " Christian Floeter
  2006-01-10 14:14             ` Ernie Schroder
@ 2006-01-10 15:15             ` Richard Fish
  1 sibling, 0 replies; 14+ messages in thread
From: Richard Fish @ 2006-01-10 15:15 UTC (permalink / raw
  To: gentoo-user

On 1/10/06, Christian Floeter <pyramid04@gmx.net> wrote:
> While we're here, I have to say that I'm still not that lucky with my
> LiDE 25 scanner. When scanning under Linux, the output shows vertical
> stripes, whereas under Windoze the output is faultless. Can something be
> done about it? What about other LiDE's out there?

I had an LiDE 25 for a while before it broke (it didn't survive a
badly packed suitcase!).  Support for the LiDE 35 was just added in
the most recent release of sane, so I don't have a lot of experience
with it.  All of my scanning is documents...bills, receipts for
expense reports, that sort of thing.  Never had any problem like you
describe, but I am using Kooka as the frontend.

-Richard

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2006-01-10 15:27 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-08 20:35 [gentoo-user] USB scanner (Canon LiDE 25) only recognized as root Christian Floeter
2006-01-08 19:56 ` Abhay Kedia
2006-01-08 22:03   ` Christian Floeter
2006-01-09  3:56     ` Richard Fish
2006-01-09  3:55 ` Richard Fish
2006-01-09 10:07   ` Christian Floeter
2006-01-09 14:40     ` Richard Fish
2006-01-09 14:46       ` Octavio Ruiz (Ta^3)
2006-01-09 16:49         ` Christian Floeter
2006-01-09 16:46       ` Christian Floeter
2006-01-10  4:07         ` Richard Fish
2006-01-10 11:51           ` [gentoo-user] [SOLVED] " Christian Floeter
2006-01-10 14:14             ` Ernie Schroder
2006-01-10 15:15             ` Richard Fish

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox