Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 125784 - SCSI scanner & sane-backends udev rule?
Summary: SCSI scanner & sane-backends udev rule?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Highest enhancement (vote)
Assignee: Patrick Kursawe (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: udev-meta
  Show dependency tree
 
Reported: 2006-03-10 18:22 UTC by Robert Scott
Modified: 2006-07-28 02:12 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Scott 2006-03-10 18:22:34 UTC
If the install routine for media-gfx/sane-backends would add a udev .rules file consisting of:

BUS=="scsi", sysfs{type}=="6", GROUP="scanner"

(type 6 seems to be for scanners) it would stop me from having to do this every time I set up a system. 

And all SCSI scanner users would get their sg* devices in the proper scanner group. And for that they would love you forver.

Or is it a no-no for non-core packages to go adding udev rules?
Comment 1 Patrick Kursawe (RETIRED) gentoo-dev 2006-03-11 06:53:30 UTC
Sounds good. Could take some time until I actually do this, though. Currently quite busy with my son (two weeks old).
Comment 2 Patrick Kursawe (RETIRED) gentoo-dev 2006-07-28 02:12:34 UTC
I tweaked the sane-desc tool of .18 to emit this entry, please test .18-r1 which should hit your portage mirror soon. Thanks for the hint. Please re-open if there are problems with it.