Von: Florian Kulzer <[EMAIL PROTECTED]> > On Thu, Aug 24, 2006 at 12:06:03 +0100, Wackojacko wrote: > > Christof Hurschler wrote: > > >>On Thursday 24 August 2006 19:10, Christof Hurschler shared this with > us > > >>all: > > >>>--> No one responded to my last post, so I'll try it again. A > previously > > >>>working scanner is no longer accessible for the group "scanner". It > > >>works > > >>>under root. Something seems to have changed in a recent > dist-upgrade. > > >>--> > > >>>--> The device is listed as: > > >>>--> > > >>>--> T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 2 Spd=12 MxCh= 0 > > >>>--> D: Ver= 1.00 Cls=ff(vend.) Sub=ff Prot=ff MxPS=64 #Cfgs= 1 > > >>>--> P: Vendor=04b8 ProdID=0109 Rev= 1.07 > > >>>--> S: Manufacturer=EPSON > > >>>--> S: Product=Expression1640XL > > >>>--> C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 2mA > > >>>--> I: If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff > Driver=(none) > > >>>--> E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms > > >>>--> E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms > > >>>--> > > >>>--> but ls -la /proc/bus/usb/001 > > >>>--> total 0 > > >>>--> dr-xr-xr-x 2 root root 0 2006-08-24 11:35 . > > >>>--> drwxr-xr-x 6 root root 0 2006-08-24 11:35 .. > > >>>--> -rw-r--r-- 1 root root 43 2006-08-24 11:35 001 > > >>>--> -rw-r--r-- 1 root root 50 2006-08-24 09:36 002 > > >>>--> > > >>>--> where 001:002 used to be root:scanner, allowing scanning by users > in > > >>>that group. Not any more. --> > > >>>--> I don't know where the rights for this device are beging set, can > > >>>someone suggest a way to solve this problem? I did find someting > about > > >>>setting rights in the documentation for usblib, but have never had to > > >>>intervene in this regard before. And am not sure if that is the > problem > > >>>anyway. > > [...] > > > I use sid and AKAICT udev deals with permissions for devices. Try > > /etc/udev/permission.rules. > > The udev rules for the scanners are in /etc/udev/libsane.rules which > comes from package "libsane". It seems that the rule for product id 0109 > is missing: > > ... > # Epson Expression 1600 > SYSFS{idVendor}=="04b8", SYSFS{idProduct}=="0107", MODE="664", > GROUP="scanner" > # Epson Perfection 1640 > SYSFS{idVendor}=="04b8", SYSFS{idProduct}=="010a", MODE="664", > GROUP="scanner" > ... > > (This is copied from an up-to-date Sid system, libsane 1.0.18-3) > > You can try to insert the following between the 0107 and the 010a rule: > > # Epson Expression 1640XL > SYSFS{idVendor}=="04b8", SYSFS{idProduct}=="0109", MODE="664", > GROUP="scanner" > > That should set the group to "scanner" if you unplug the device and plug > it in again. (I am not sure if you also have to restart udev.) > > If this works you should mail the rule to the sane-devel mailing list; > see the comments at the beginning of /etc/udev/libsane.rules for > details. (I do not have this scanner therefore I cannot check this.) > > -- > Regards, > Florian
Thank you very, very much. I'll do as you suggest. Chris > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact > [EMAIL PROTECTED] -- "Feel free" – 10 GB Mailbox, 100 FreeSMS/Monat ... Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]