You are not logged in.

#1 2008-08-18 00:55:46

tuxing
Member
From: Berlin/Germany
Registered: 2007-06-27
Posts: 34

Solution for hplip/scanner detection problems

Hi all,

in some threads problems were posted running hplip/detecting scanners on archlinux
I had similar problems and played around with udev rules, since I think there my be a solution.

I've stolen the 55-hpmud.rules from my kubuntu 8.4 installation and simple inserted it into
archlinux' 53-sane.rules after the line reading 'LABEL="libsane_rules_begin" at line# 30:

--- snip
## included from ubuntu udev rules 55-mud.rules:

SUBSYSTEM=="ppdev", OWNER="lp", GROUP="scanner", MODE="0660"
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", GOTO="pid_test"
SUBSYSTEM!="usb_device", GOTO="hpmud_rules_end"

LABEL="pid_test"
# Check for AiO products (0x03f0xx11).
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="??11", OWNER="lp", GROUP="scanner", MODE="0660"
# Check for Photosmart products (0x03f0xx02).
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="??02", OWNER="lp", GROUP="scanner", MODE="0660"
# Check for Business Inkjet products (0x03f0xx12).
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="??12", OWNER="lp", GROUP="scanner", MODE="0660"
# Check for Deskjet products (0x03f0xx04).
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="??04", OWNER="lp", GROUP="scanner", MODE="0660"
# Check for LaserJet products (0x03f0xx17).
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="??17", OWNER="lp", GROUP="scanner", MODE="0660"
LABEL="hpmud_rules_end"

## /end inclusion
--- snap

After running /etc/start-udev everything worked as expected.

Please note that i've not realy knowlede about udev rules, and what the disfunction caused.

I simple want to tell you my "solution", in hope it helps someone..;)

Good luck!


GNU/Linux is not only another operating system. It is freedom from any point view!

Offline

Board footer

Powered by FluxBB