[sane-devel] As instructed by /etc/udev/rules.d/libsane.rules

m. allan noah kitno455 at gmail.com
Tue Nov 17 13:42:09 UTC 2009


On Tue, Nov 17, 2009 at 6:42 AM, Julien BLACHE <jb at jblache.org> wrote:
> Johannes Meixner <jsmeix at suse.de> wrote:
>
> Hi,
>
>> What the heck has udev libsane.rules to do
>> with a particular kernel minor version number?
>
> That was a change in the USB layer in the kernel that needed a
> new/modified udev rule to create the device nodes.
>
> Now remember that the same people that brought you that unstable,
> ever-changing, ever-breaking USB stack are the same people who started
> and led udev for a while. Oh, and that little thing called
> "stable-api-nonsense.txt", too.
>

While all of this may be true, it does not answer the original
question- If the distro is already producing a modified version of our
tool to turn .desc files into whatever format is required, can we not
install that tool as part of sane? And, can we not modify it such that
it can take arguments to find the .desc file? Then, a new .desc file
could be dropped in /tmp, and the program could ingest that file and
output a proper rule?

Not only third party drivers could use this- I routinely get email
from users when a new scanner is released that works with my drivers
(it auto detects the device parameters), but they can only scan as
root. It would be nice to send that person a .desc file with a single
machine in it, and have them generate a rules file for just that
machine...

allan
-- 
"The truth is an offense, but not a sin"



More information about the sane-devel mailing list