Re: [CentOS] scanner only works in su mode

2013-09-27 Thread Michael Hennebry
On Thu, 26 Sep 2013, Robert Heller wrote: > OK, this is what you need to do: > > Create a file named /lib/udev/rules.d/90-local.rules containing this line: > > SUBSYSTEMS=="usb", ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="5611", > GROUP="scanner", MODE="0660" > > > (This means: on the USB subsys

Re: [CentOS] scanner only works in su mode

2013-09-26 Thread m . roth
Michael Hennebry wrote: > On Thu, 26 Sep 2013, Robert Heller wrote: > >> It looks like to use the scanner you need to edit your /etc/group file or use the user manager to add yourself to the lp group. > > That did not work. > I ran a separate login to get one that admitted I was in the lp group. Ap

Re: [CentOS] scanner only works in su mode

2013-09-26 Thread zGreenfelder
On Thu, Sep 26, 2013 at 2:08 PM, Michael Hennebry < henne...@web.cs.ndsu.nodak.edu> wrote: > On Thu, 26 Sep 2013, Robert Heller wrote: > > > It looks like to use the scanner you need to edit your /etc/group file > or use > > the user manager to add yourself to the lp group. > > That did not work.

Re: [CentOS] scanner only works in su mode

2013-09-26 Thread m . roth
Michael Hennebry wrote: > On Thu, 26 Sep 2013, Robert Heller wrote: > >> It looks like to use the scanner you need to edit your /etc/group file >> or use the user manager to add yourself to the lp group. > > That did not work. > I ran a separate login to get one that admitted I was in the lp group.

Re: [CentOS] scanner only works in su mode

2013-09-26 Thread Michael Hennebry
On Thu, 26 Sep 2013, Robert Heller wrote: > It looks like to use the scanner you need to edit your /etc/group file or use > the user manager to add yourself to the lp group. That did not work. I ran a separate login to get one that admitted I was in the lp group. Applying strace to hp-scan told m

Re: [CentOS] scanner only works in su mode

2013-09-26 Thread bmcclure
On Thu, 2013-09-26 at 00:14 -0500, Michael Hennebry wrote: > On Wed, 25 Sep 2013, Robert Heller wrote: > > > At Wed, 25 Sep 2013 13:34:51 -0600 CentOS mailing list > > wrote: > > > The proper cure for this is to add yourself to the group that udev puts the > > device in. Look in /etc/udev/r

Re: [CentOS] scanner only works in su mode

2013-09-25 Thread Eero Volotinen
another solution is to set suid root bit on sane binary? 2013/9/26 Michael Hennebry > On Wed, 25 Sep 2013, Robert Heller wrote: > > > At Wed, 25 Sep 2013 13:34:51 -0600 CentOS mailing list < > centos@centos.org> wrote: > > > The proper cure for this is to add yourself to the group that udev put

Re: [CentOS] scanner only works in su mode

2013-09-25 Thread Michael Hennebry
On Wed, 25 Sep 2013, Robert Heller wrote: > At Wed, 25 Sep 2013 13:34:51 -0600 CentOS mailing list > wrote: > The proper cure for this is to add yourself to the group that udev puts the > device in. Look in /etc/udev/rules.d. Under CentOS 5 with hplip3-common > installed, this would be 55-hpm

Re: [CentOS] scanner only works in su mode

2013-09-25 Thread m . roth
Michael Hennebry wrote: > On Wed, 25 Sep 2013, Michael Hennebry wrote: >> On Wed, 25 Sep 2013, Frank Cox wrote: >>> On Wed, 25 Sep 2013 12:35:08 -0500 (CDT) >>> Michael Hennebry wrote: >>> Also found: [root@localhost sane.d]# sane-find-scanner ... found USB scanner (vendor=0x03f

Re: [CentOS] scanner only works in su mode

2013-09-25 Thread Frank Cox
On Wed, 25 Sep 2013 14:27:14 -0500 (CDT) Michael Hennebry wrote: > It did the trick for now. > Should I expect it to survive a reboot? No. You can either add a file to /etc/security/console.perms.d to set the user permissions just for your scanner, or if you want to make all usb devices availab

Re: [CentOS] scanner only works in su mode

2013-09-25 Thread Michael Hennebry
On Wed, 25 Sep 2013, Michael Hennebry wrote: > On Wed, 25 Sep 2013, Frank Cox wrote: > >> On Wed, 25 Sep 2013 12:35:08 -0500 (CDT) >> Michael Hennebry wrote: >> >>> Also found: >>> [root@localhost sane.d]# sane-find-scanner >>> ... >>> found USB scanner (vendor=0x03f0 [HP], product=0x5611 [Photosm

Re: [CentOS] scanner only works in su mode

2013-09-25 Thread Michael Hennebry
On Wed, 25 Sep 2013, Frank Cox wrote: > On Wed, 25 Sep 2013 12:35:08 -0500 (CDT) > Michael Hennebry wrote: > >> Also found: >> [root@localhost sane.d]# sane-find-scanner >> ... >> found USB scanner (vendor=0x03f0 [HP], product=0x5611 [Photosmart C3100 >> series]) at libusb:001:006 Is that a refere

Re: [CentOS] scanner only works in su mode

2013-09-25 Thread Michael Hennebry
On Wed, 25 Sep 2013, Eero Volotinen wrote: > how about using using sudo ? I'd like to use the scanner through xsane. Also, I expect that there is a reason that hp-scan recommends against using it as root. -- Michael henne...@web.cs.ndsu.nodak.edu "On Monday, I'm gonna have to tell my kinderga

Re: [CentOS] scanner only works in su mode

2013-09-25 Thread Frank Cox
On Wed, 25 Sep 2013 12:35:08 -0500 (CDT) Michael Hennebry wrote: > Also found: > [root@localhost sane.d]# sane-find-scanner > ... > found USB scanner (vendor=0x03f0 [HP], product=0x5611 [Photosmart C3100 > series]) at libusb:001:006 Is that a reference to /dev/bus/usb/001/006 ? Yes. -- MELVILLE

Re: [CentOS] scanner only works in su mode

2013-09-25 Thread Eero Volotinen
how about using using sudo ? 2013/9/25 Michael Hennebry > On Wed, 25 Sep 2013, Michael Hennebry wrote: > > > On Tue, 24 Sep 2013, Frank Cox wrote: > > > >> On Tue, 24 Sep 2013 17:57:12 -0500 (CDT) > >> Michael Hennebry wrote: > >> > >>> What do I change to make it let me use xsane or hp-scan as

Re: [CentOS] scanner only works in su mode

2013-09-25 Thread Michael Hennebry
On Wed, 25 Sep 2013, Michael Hennebry wrote: > On Tue, 24 Sep 2013, Frank Cox wrote: > >> On Tue, 24 Sep 2013 17:57:12 -0500 (CDT) >> Michael Hennebry wrote: >> >>> What do I change to make it let me use xsane or hp-scan as myself? >> >> You need to set the permission on the scanner device to allo

Re: [CentOS] scanner only works in su mode

2013-09-25 Thread Michael Hennebry
Also found: [root@localhost sane.d]# sane-find-scanner ... found USB scanner (vendor=0x03f0 [HP], product=0x5611 [Photosmart C3100 series]) at libusb:001:006 Is that a reference to /dev/bus/usb/001/006 ? -- Michael henne...@web.cs.ndsu.nodak.edu "On Monday, I'm gonna have to tell my kindergar

Re: [CentOS] scanner only works in su mode

2013-09-25 Thread Michael Hennebry
On Tue, 24 Sep 2013, Frank Cox wrote: > On Tue, 24 Sep 2013 17:57:12 -0500 (CDT) > Michael Hennebry wrote: > >> What do I change to make it let me use xsane or hp-scan as myself? > > You need to set the permission on the scanner device to allow your username to > use it, since it's apparently now

Re: [CentOS] scanner only works in su mode

2013-09-24 Thread Frank Cox
On Tue, 24 Sep 2013 17:57:12 -0500 (CDT) Michael Hennebry wrote: > What do I change to make it let me use xsane or hp-scan as myself? You need to set the permission on the scanner device to allow your username to use it, since it's apparently now set to allow root only. scanimage -L will tell yo

[CentOS] scanner only works in su mode

2013-09-24 Thread Michael Hennebry
Apparently I hadn't done any scanning since my move to centos. hp-scan works for root, but not for me as me. When I try to use xsane, it tells me no device found. When I try to use hp-scan as myself it tells me: error: Unable to locate device hpaio:/usb/Photosmart_C3100_series?serial=CN6ARC321S04K