public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] xsane only works as root
@ 2008-07-30 22:09 Grant
  2008-07-30 22:21 ` Justin Findlay
  0 siblings, 1 reply; 6+ messages in thread
From: Grant @ 2008-07-30 22:09 UTC (permalink / raw
  To: Gentoo mailing list

xsane fully works with my old USB scanner (Epson Perfection 636U) as
long as I'm root.  Does anyone know how to make it work as a normal
user?

- Grant



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

* Re: [gentoo-user] xsane only works as root
  2008-07-30 22:09 [gentoo-user] xsane only works as root Grant
@ 2008-07-30 22:21 ` Justin Findlay
  2008-07-30 22:49   ` Grant
  2008-07-30 23:04   ` Grant
  0 siblings, 2 replies; 6+ messages in thread
From: Justin Findlay @ 2008-07-30 22:21 UTC (permalink / raw
  To: gentoo-user

On AD 2008 July 30 Wednesday 03:09:13 PM -0700, Grant wrote:
> xsane fully works with my old USB scanner (Epson Perfection 636U) as
> long as I'm root.  Does anyone know how to make it work as a normal
> user?

Check the permissions on the appropriate usb device.  You may end up
adding your user to the scanner or usb group.  sane-find-scanner and
scanimage -L might also be helpful.


Justin



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

* Re: [gentoo-user] xsane only works as root
  2008-07-30 22:21 ` Justin Findlay
@ 2008-07-30 22:49   ` Grant
  2008-07-31  0:32     ` Justin Findlay
  2008-07-30 23:04   ` Grant
  1 sibling, 1 reply; 6+ messages in thread
From: Grant @ 2008-07-30 22:49 UTC (permalink / raw
  To: gentoo-user

>> xsane fully works with my old USB scanner (Epson Perfection 636U) as
>> long as I'm root.  Does anyone know how to make it work as a normal
>> user?
>
> Check the permissions on the appropriate usb device.  You may end up
> adding your user to the scanner or usb group.  sane-find-scanner and
> scanimage -L might also be helpful.
>
>
> Justin

Thanks Justin.

I added the user to usb and scanner groups with the same results.

I can't figure out where the device file is.  With the scanner
connected and powered on I did an 'updatedb && locate scanner' and it
didn't come up with anything in /dev, I don't have a /dev/usb/
directory, and the output of 'ls /dev/usb*' is the same with the
scanner on or off.  Any idea where that file might be?   Those two
commands also don't mention it.

- Grant



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

* Re: [gentoo-user] xsane only works as root
  2008-07-30 22:21 ` Justin Findlay
  2008-07-30 22:49   ` Grant
@ 2008-07-30 23:04   ` Grant
  1 sibling, 0 replies; 6+ messages in thread
From: Grant @ 2008-07-30 23:04 UTC (permalink / raw
  To: gentoo-user

>> xsane fully works with my old USB scanner (Epson Perfection 636U) as
>> long as I'm root.  Does anyone know how to make it work as a normal
>> user?
>
> Check the permissions on the appropriate usb device.  You may end up
> adding your user to the scanner or usb group.  sane-find-scanner and
> scanimage -L might also be helpful.
>
>
> Justin


Rebooted and it's working.  Thanks again.

- Grant



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

* Re: [gentoo-user] xsane only works as root
  2008-07-30 22:49   ` Grant
@ 2008-07-31  0:32     ` Justin Findlay
  2008-07-31 10:07       ` Enzo Rapagnetta
  0 siblings, 1 reply; 6+ messages in thread
From: Justin Findlay @ 2008-07-31  0:32 UTC (permalink / raw
  To: gentoo-user

On AD 2008 July 30 Wednesday 03:49:23 PM -0700, Grant wrote:
> I can't figure out where the device file is.  With the scanner
> connected and powered on I did an 'updatedb && locate scanner' and it
> didn't come up with anything in /dev, I don't have a /dev/usb/
> directory, and the output of 'ls /dev/usb*' is the same with the
> scanner on or off.  Any idea where that file might be?   Those two
> commands also don't mention it.

Another way to get info is to power on the scanner and plug it in, then
`modprobe -r` the appropriate kernel module(s) and then modprobe them
while doing `tail -F /var/log/messages`.  The kernel (udev) will create the
appropriate /dev entries upon successful modprobe.

In order for your user to be registered as a member of a group you have
to log completely out (including your X session) and back in.  You can
verify your group memberships with the groups command.  Judging from
what you've said I bet it was merely an issue of adding your user to the
scanner or usb group.  My experience with usb scanners is they generally
just work whereas when I start up my SCSI scanner I always have to
remodprobe the kernel drivers and then `chown :scanner /dev/sg?  &&
chmod 0770 /dev/sg?`, but there's probably a better (right) way to do
that. :-)


Justin



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

* Re: [gentoo-user] xsane only works as root
  2008-07-31  0:32     ` Justin Findlay
@ 2008-07-31 10:07       ` Enzo Rapagnetta
  0 siblings, 0 replies; 6+ messages in thread
From: Enzo Rapagnetta @ 2008-07-31 10:07 UTC (permalink / raw
  To: gentoo-user

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

On 18:32 Wed 30 Jul     , Justin Findlay wrote:
> On AD 2008 July 30 Wednesday 03:49:23 PM -0700, Grant wrote:
> > I can't figure out where the device file is.  With the scanner
> > connected and powered on I did an 'updatedb && locate scanner' and it
> > didn't come up with anything in /dev, I don't have a /dev/usb/
> > directory, and the output of 'ls /dev/usb*' is the same with the
> > scanner on or off.  Any idea where that file might be?   Those two
> > commands also don't mention it.
> 
> Another way to get info is to power on the scanner and plug it in, then
> `modprobe -r` the appropriate kernel module(s) and then modprobe them
> while doing `tail -F /var/log/messages`.  The kernel (udev) will create the
> appropriate /dev entries upon successful modprobe.
> 
> In order for your user to be registered as a member of a group you have
> to log completely out (including your X session) and back in.  You can
> verify your group memberships with the groups command.  Judging from
> what you've said I bet it was merely an issue of adding your user to the
> scanner or usb group.  My experience with usb scanners is they generally
> just work whereas when I start up my SCSI scanner I always have to
> remodprobe the kernel drivers and then `chown :scanner /dev/sg?  &&
> chmod 0770 /dev/sg?`, but there's probably a better (right) way to do
> that. :-)
> 
> 
> Justin
Hello,user is in the plugdev and lp groups too?
Regards
-- 
Unix Veritates

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

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

end of thread, other threads:[~2008-07-31 10:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-30 22:09 [gentoo-user] xsane only works as root Grant
2008-07-30 22:21 ` Justin Findlay
2008-07-30 22:49   ` Grant
2008-07-31  0:32     ` Justin Findlay
2008-07-31 10:07       ` Enzo Rapagnetta
2008-07-30 23:04   ` Grant

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