[sane-devel] rules for scsi scanner
Tony van der Hoff
lists at nospam.vanderhoff.org
Tue Dec 13 17:38:14 UTC 2005
Hi list,
I have a UMAX scanner in the SCSI bus, which is correctly detected as
/dev/sg3. The .udevdb entry for this device is:
P:/class/scsi_generic/sg3
N:sg3
S: scsi/host1/bus0/target5/lun0/generic
M:21:3
A:0
R:0
On boot /dev/sg3 is assigned to group cdrw. I have to manually chgrp it to
scanner, to allow designated users to access it.
I have been fiddling for days now to set up a udev rule to automatically
assign it to the correct group, but without success. I'm also slightly
concerned that after any configuration change it may not come up as
/dev/sg3, so would really prefer it to be called /dev/scanner.
Given my miserable failure to learn udev rules, has anyone out there cracked
the code? How's it done?
TIA, Tony
--
Tony van der Hoff | mailto:tony at vanderhoff.org
Buckinghamshire, England
More information about the sane-devel
mailing list