Andrei Popescu wrote:
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):
As my other post said, there were still permissions problems. I did a
reboot, however, and it did solve the problem. Maybe there is something
in Lenny, or Sid, that allows the udev rules to work without a reboot,
but this is not in Etch? In any case, it is working now. So I added a
similar rule in /etc/udev/udev.rules for my new camera that I could
access with gtkam as root, but not as a normal user, and rebooted
again. Lo and Behold, I can now access the camera as a normal user,
too! I am now a happy camper.
Thanks to all who helped me on both of these issues.
--
Marc Shapiro
[EMAIL PROTECTED]
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]