[Nix-dev] [PATCH] Scanning with SANE as unprivileged user
Shea Levy
shea at shealevy.com
Mon Dec 5 18:33:26 CET 2011
Hi Petr,
On 12/4/11 9:30 PM, Petr Rockai wrote:
> Hi,
>
> the expressions in sane-backends imply that there was an intent to ship
> the udev rules that flag sane-recognized scanner devices for udev-acl,
> so that ordinary users logged in at the console can scan. However, the
> way this udev rule file is provided by sane-backends upstream has
> changed: the file is not distributed verbatim, but a tool is built to
> print the rules. I have updated the sane package to that effect.
>
> I have also added a "snapshot" build of sane-backends, since my canon
> lide 210 is substantially faster with the git snapshot than it is in the
> latest release. Might be useful for others too.
>
> Finally, to make use of the udev rules, I have added a module to nixos/,
> so that folks can just say hardware.sane.enable = true instead of
> learning about how to enable the udev rules manually.
>
> Petr
>
Thanks for the patches, committed.
~Shea
More information about the nix-dev
mailing list