View Full Version : Scanner-rights cannot be changed
greyhound
2007-09-29, 09:59 AM CDT
Needed a new scanner (Epson Perfection V200) and it works fine under F7 with the Epkowa driver "iscan-2.8.0-1.c2.i386.rpm" from FC6. But only as root, the previous 1670 with snapscan did as user too. As user the scanner will not be recognized now. Kernel: 2.6.22.9-91.fc7. Here the steps:
# sane-find-scanner |grep libusb
found USB scanner (vendor=0x04b8 [EPSON], product=0x012e [EPSON Scanner]) at libusb:005:004
#ls -la /proc/bus/usb/005/004
-rw-r--r-- 1 root root 50 29. Sep 17:21 /proc/bus/usb/005/004
#chmod 0666 /proc/bus/usb/005/004
# ls -la /proc/bus/usb/005/004
-rw-rw-rw- 1 root root 50 29. Sep 17:21 /proc/bus/usb/005/004
in 60_iscan.rules i made
ATTR{idVendor}=="04b8", ATTR{idProduct}=="012e", MODE="0666", SYMLINK+="scanner-%k"
Can anybody help?
greyhound
2007-09-30, 11:18 AM CDT
The aim was to use the scanner as user. With D3lphin it was possible to change the permissions, but no success. To add a group "scanner" and add the user to "scanner" did not help. The suggestion of SELinux to avoid the error mentioned there did not help too, disabling SELinux also. Anybody who solved the problem and can subscribe how to.
Thanks in advance!
PatMcLJr
2007-10-01, 08:14 AM CDT
sorry, I can't help pnly comisserate
I have a similar problem with my serial port to use my modem/fax
evertime I want to use it I have to chmod the /dev/ttyS0 to 660
This doesn't help eaither, I have a perfection 1660 on my FC6 box, works fine. Hope I don't have any problems when I have to move to F8
did you try digging around in the udev yet? I tried but had no luck with my serial port problem
sorry, best of luck,
Pat Jr.
sej7278
2008-09-02, 06:45 AM CDT
any update on this, i've just been bitten by it on centos 5.2, it used to work and i think i solved it before by doing something with udev, but i think that's what's broken as changing the udev rules does nothing (even with a reboot).
greyhound
2008-09-02, 09:00 AM CDT
see this (F8 in the meantime):
http://forums.fedoraforum.org/showthread.php?p=992088#post992088
brebs
2008-09-02, 09:06 AM CDT
Well, as always with udev, you could enable udev debugging and SEE what's going on ;) Look in /etc/udev/udev.conf
/etc/udev/rules.d/91-local.rules
SUBSYSTEM=="usb", ATTR{product}=="CanoScan", GROUP="users", MODE="0660"
That filename was chosen for a reason - it OVERRIDES the earlier rules which might set the group/mode.
sej7278
2008-09-02, 09:52 AM CDT
i tried to add a 99-epson.rules file to change the mode, and i also added a command to echo something to a file when the udev rule was matched but nothing happened, i'm sure a recent yum update has broken centos 5.2's udev.
i fixed it in the end by editting the 'scanners' line in /etc/security/console.perms.d/50-default-perms
i assume that fixed it as it sets the defaults for things that aren't matched by udev - as i noticed the udev rules set a different permission than what was actually being set.
vBulletin® v3.8.1, Copyright ©2000-2009, Jelsoft Enterprises Ltd.