List Info

Thread: udev rule for HP ScanJet II SCSI




udev rule for HP ScanJet II SCSI
user name
2006-11-05 12:21:23
Unfortunately, the HP ScanJet IIc does not indentify itself
as a scanner
but rather as a SCSI processor (type 3). The scanner works
very nice
with the hp driver in sane (i'm using this device for more
than 10
years. when sane came out, it was working without ever
having any
problem from the very first day on.
[[end-of-old-hp-scsi-device-propaganda]]).
I would recommend to add it like this:
---
.
.
.
# The following list already contains a lot of scanners. If
your scanner
# isn't mentioned there, add it as explained above and mail
the entry to
# the sane-devel mailing list (sane-devellists.alioth.debian.org).
#

ACTION!="add", GOTO="libsane_rules_end"

# Hewlett-Packard ScanJet IIc
BUS=="scsi", SYSFS=="3",
SYSFS="HP      ",
SYSFS="C1750A          ",
MODE="660", GROUP="scanner"

BUS=="scsi", SYSFS=="6",
MODE="660", GROUP="scanner"
SUBSYSTEM!="usb_device",
GOTO="libsane_rules_end"

# Hewlett-Packard ScanJet 4100C
SYSFS=="03f0",
SYSFS=="0101", MODE="660",
GROUP="scanner"
.
.
.
---

cheers

-daniel



-- 
sane-devel mailing list: sane-devellists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/sane-d
evel
Unsubscribe: Send mail with subject "unsubscribe
your_password"
             to sane-devel-requestlists.alioth.debian.org
udev rule for HP ScanJet II SCSI
user name
2006-11-09 19:46:37
On Sun, 05 Nov 2006 13:21:23 +0100
Daniel Golle <daniel.gollegmail.com> wrote:

> ACTION!="add",
GOTO="libsane_rules_end"
>
> # Hewlett-Packard ScanJet IIc
> BUS=="scsi", SYSFS=="3",
SYSFS="HP      ",
> SYSFS="C1750A          ",
MODE="660", GROUP="scanner"
>
> BUS=="scsi", SYSFS=="6",
MODE="660", GROUP="scanner"
> SUBSYSTEM!="usb_device",
GOTO="libsane_rules_end"
>
> # Hewlett-Packard ScanJet 4100C
> SYSFS=="03f0",
SYSFS=="0101", MODE="660",
> GROUP="scanner"
> .US=="scsi
> .
Hi Daniel,
please see below my udev-rule for an Umax scanner in
11-udev.rules:
BUS=="scsi", SYSFS=="Astra 2200     
", NAME="scanner", GROUP="scanner"

That's good enough. As an alternative, you may use may also
use the SYMLINK feature:
BUS=="scsi", SYSFS="C1750A         
", NAME="%k", SYMLINK="hpscanjet",
GROUP="scanner", MODE="660"

so you can access the Scanjet always via /dev/hpscanjet.

Cheers,
Klaus
-- 
sane-devel mailing list: sane-devellists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/sane-d
evel
Unsubscribe: Send mail with subject "unsubscribe
your_password"
             to sane-devel-requestlists.alioth.debian.org
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )