[arch-general] Scanner only works as root
Hello, I have an HP Photosmart C3180 all-in-one (printer/scanner/copier). Installed cups, hplip, sane. Printing works. Scanning, however, only works as root, otherwise xsane says that there are no devices. But if I chmod 777 -R /dev/bus/usb/* it works for my current user; therefore I deduce it is a permission problem. This looks like an udev problem, however my udev knowledge is next to null. What steps could I take to solve this problem? I would like to get rid of this ugly hack. Thanks. -- Renan Birck ~ Canoas, RS, Brasil "Quando tudo que você tem é um martelo, todos os seus problemas se parecem com os seus dedões."
Renan Birck escribió:
Hello,
I have an HP Photosmart C3180 all-in-one (printer/scanner/copier). Installed cups, hplip, sane.
Printing works. Scanning, however, only works as root, otherwise xsane says that there are no devices.
But if I chmod 777 -R /dev/bus/usb/* it works for my current user; therefore I deduce it is a permission problem. This looks like an udev problem, however my udev knowledge is next to null.
What steps could I take to solve this problem? I would like to get rid of this ugly hack.
Thanks. Do you have your user in scanner group?
Renan, how did you to install your printer/scanner? I could not get mine to work. Did you used hp-setup? jfsantos On Feb 5, 2008 10:12 PM, Antonio de la Rosa <webmaster@web-t-sys.com> wrote:
Renan Birck escribió:
Hello,
I have an HP Photosmart C3180 all-in-one (printer/scanner/copier). Installed cups, hplip, sane.
Printing works. Scanning, however, only works as root, otherwise xsane says that there are no devices.
But if I chmod 777 -R /dev/bus/usb/* it works for my current user; therefore I deduce it is a permission problem. This looks like an udev problem, however my udev knowledge is next to null.
What steps could I take to solve this problem? I would like to get rid of this ugly hack.
Thanks. Do you have your user in scanner group?
João Felipe Santos wrote:
Renan,
how did you to install your printer/scanner? I could not get mine to work. Did you used hp-setup?
Yes, hp-setup, after installing cups. -- Renan Birck ~ Canoas, RS, Brasil "Quando tudo que você tem é um martelo, todos os seus problemas se parecem com os seus dedões."
Antonio de la Rosa wrote:
Renan Birck escribió:
Hello,
I have an HP Photosmart C3180 all-in-one (printer/scanner/copier). Installed cups, hplip, sane.
Printing works. Scanning, however, only works as root, otherwise xsane says that there are no devices.
But if I chmod 777 -R /dev/bus/usb/* it works for my current user; therefore I deduce it is a permission problem. This looks like an udev problem, however my udev knowledge is next to null.
What steps could I take to solve this problem? I would like to get rid of this ugly hack.
Thanks.
Do you have your user in scanner group?
I have the same problem with HP Deskjet F380 All-in-one. Adding myself to the scanner group didn't help. http://bbs.archlinux.org/viewtopic.php?id=43356 Allan
Allan McRae wrote:
Antonio de la Rosa wrote:
Renan Birck escribió:
Hello,
I have an HP Photosmart C3180 all-in-one (printer/scanner/copier). Installed cups, hplip, sane.
Printing works. Scanning, however, only works as root, otherwise xsane says that there are no devices.
But if I chmod 777 -R /dev/bus/usb/* it works for my current user; therefore I deduce it is a permission problem. This looks like an udev problem, however my udev knowledge is next to null.
What steps could I take to solve this problem? I would like to get rid of this ugly hack.
Thanks.
Do you have your user in scanner group?
I have the same problem with HP Deskjet F380 All-in-one. Adding myself to the scanner group didn't help. http://bbs.archlinux.org/viewtopic.php?id=43356
Well the solution turns out to be rather simple...
cd /dev/bus/usb ls -lR
Note that your printer/scanner/copier is probably given permissions root:lp. So add yourself to the lp group
usernod -a -G lp <username>
Allan
Allan McRae wrote:
Note that your printer/scanner/copier is probably given permissions root:lp. So add yourself to the lp group
usernod -a -G lp <username>
This will do it, I think. Thanks. -- Renan Birck ~ Canoas, RS, Brasil "Quando tudo que você tem é um martelo, todos os seus problemas se parecem com os seus dedões."
Antonio de la Rosa wrote:
Do you have your user in scanner group?
Yes. -- Renan Birck ~ Canoas, RS, Brasil "Quando tudo que você tem é um martelo, todos os seus problemas se parecem com os seus dedões."
Hi, Renan Birck wrote:
I have an HP Photosmart C3180 all-in-one (printer/scanner/copier). Installed cups, hplip, sane.
Printing works. Scanning, however, only works as root, otherwise xsane says that there are no devices.
I have exactly the same printer. It is important that you are in both the *lp* and *scanner* groups to use the device. For administrative purposes, I believe, it is necessary to be in the *sys* group. Did you also check the sane configuration file to ensure the *hpaio* backend is enabled? I think it is in /etc/sane.d/dll.conf Regards, Neil Darlow
participants (5)
-
Allan McRae
-
Antonio de la Rosa
-
João Felipe Santos
-
Neil Darlow
-
Renan Birck