[sane-devel] Sane Permissions libusb and libsane.rules

patsingh patsingh2 at gmail.com
Tue Sep 1 01:33:00 UTC 2009


I have got this working on ubuntu 9.04 (jaunty) server with udev 141-1.2. I
had to read about writing udev rules to make the neccessary changes

/etc/udev/rules.d/60-libsane.rules

SUBSYSTEM!="usb", ACTION!="add|change", GOTO="libsane_rules_end"

# HP PSC 1400
SUBSYSTEM=="usb", ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="4d11",
GROUP="scan
ner"

LABEL="libsane_rules_end"



m. allan noah-3 wrote:
> 
> I'm not sure about Centos 5.3, but later versions of fedora have
> stopped using udev, and use .fdi files in /usr/share/hal/fdi instead.
> 
> allan
> 
> On Wed, Aug 26, 2009 at 1:49 AM, Simon Matter<simon.matter at invoca.ch>
> wrote:
>>> I am running sane as root without issue.  Cannot access it from other
>>> users.  I have an Epson Perfection 640U scanner attached.
>>>
>>> I've read the readme file and followed the directions.  I copied the
>>> libsane.rules file to /etc/udev/rules.d with the name 60-libsane.rules.
>>>  I
>>> have a scanner group which contains my users.  The rules file has the
>>> same
>>> file permissions as the others in /etc/udev/rules.d.
>>
>> Are you runnning the SANE version delivered with CentOS 5.3? If so you
>> sould not simply copy another libsane.rules file to /etc/udev/rules.d.
>>
>> The rules file shipped with current SANE versions doesn't fit the udev
>> version delivered with CentOS 5.3.
>>
>> That's why I said if you are using SANE from CentOS 5.3 you could just
>> edit the existing rules file to make it aware of your scanner group.
>>
>> Regards,
>> Simon
>>
>>
>>
>> --
>> sane-devel mailing list: sane-devel at lists.alioth.debian.org
>> http://lists.alioth.debian.org/mailman/listinfo/sane-devel
>> Unsubscribe: Send mail with subject "unsubscribe your_password"
>>             to sane-devel-request at lists.alioth.debian.org
>>
> 
> 
> 
> -- 
> "The truth is an offense, but not a sin"
> 
> --
> sane-devel mailing list: sane-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/sane-devel
> Unsubscribe: Send mail with subject "unsubscribe your_password"
>              to sane-devel-request at lists.alioth.debian.org
> 
> 

-- 
View this message in context: http://www.nabble.com/Sane-Permissions-libusb-and-libsane.rules-tp25146928p25233066.html
Sent from the SANE - Dev mailing list archive at Nabble.com.




More information about the sane-devel mailing list