Bug#486912: Bug:#486912 libsane: HP PSC 1210, can scan as root, but not as user, udev rule missing
Am Donnerstag, 10. Juli 2008 15:15 schrieb Mark Purcell:
> On Thu, 19 Jun 2008, Adolf Winterer wrote:
> > HP Multifunction device PSC 1210 is connected via USB. The device is
> > found with scanimage -L as root, but not as user. Using lsusb the USB
> > device is shows as root but not as user.
>
> Can you confirm you are a member of the scanner group?
Yes, the user is member of the group scanner. The user already was member of
this group BEFORE I added the udev rule.
> > After some research I found that an udev
> > rule is missing. I added the following two lines to the file
> > /etc/udev/rules.d/z60_libsane.rules
> >
> > --------- begin quote ---------
> > # Hewlet-Packard multifunction device PSC 1210
> > SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="2f11", MODE="0664",
> > GROUP="scanner", ENV{libsane_matched}="yes" --------- ende quote
> > ---------
>
> Adolf,
>
> You should also have /etc/udev/rules.d/55-hpmud.rules, which should
> contain: # Check for AiO products (0x03f0xx11).
> SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="??11",
> OWNER="lp",GROUP="scanner", MODE="0660"
This rule was present from the beginning, but it did not work for scanning. I
assumed that scanning was controlled by the z60_libsane.rules and printing by
55-hpmud.rules.
> this should match your device.
>
> Can you confirm this resolves your issue?
No, without the additional rule scanning was impossible as user, it worked
well as root.
Printing was working well out of the box.
> If not then could I ask you to use the reportbug(1) to submit a followup
> against hplip and that will pull more debug information `hp-check` in
> particular.
This could take some weeks as the PC we are talking about is my friend's which
I will visit in some weeks again. I opened the bug as my friend does not have
the knowledge to handle these system specifics.
Regards,
Adolf
> Thanks,
> Mark
--
Never trust a smiling cat.
Reply to: