On Sat, Apr 26, 2008 at 03:59:40PM -0700, Marc Shapiro wrote: > Andrei Popescu wrote: >> On Sat, Apr 26, 2008 at 12:08:29PM -0700, Marc Shapiro wrote: >> >> >>>> You need something like this in /etc/udev/rules.d/z60_libsane.rules >>>> >>>> # Epson DX-7400 | Epson DX-7400 >>>> SYSFS{idVendor}=="04b8", SYSFS{idProduct}=="0838", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes" >>>> >>>> and make sure you are in the 'scanner' group. (I copied that line from >>>> my sid machine). >>>> >>> I have added the line to /etc/udev/rules.d/z60_libsane.rules. Do I need >>> to reboot the system to get it recognized, or is there another way? Like >>> restarting a daemon, or something of that sort? >>> >> >> All I did (for the DX-9400F) was to unplug/plug it to get the device node >> recreated. You might want to remove the static device node in >> /dev/.static/ first. >> > Still not working as normal user. It works for root, however, without > needing the node in /dev/.static/dev. I hate to reboot. I like the long > uptime but we had a power outage recently, so I guess that really isn't > much of an issue right now. A reboot was not needed in my case. Let's check some permissions (this is on my parents lenny where the scanner is installed): $ ls -l /usr/bin/xsane # though I doubt these will be wrong -rwxr-xr-x 1 root root 642500 2008-04-11 20:24 /usr/bin/xsane $ ls -l /dev/bus/usb/001/ total 0 crw-rw---- 1 root root 189, 0 2008-04-27 11:57 001 crw-rw-r-- 1 root scanner 189, 1 2008-04-27 11:57 002 Regards, Andrei -- If you can't explain it simply, you don't understand it well enough. (Albert Einstein)
Attachment:
signature.asc
Description: Digital signature