LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   scanner permissions [suse 10] problem (https://www.linuxquestions.org/questions/linux-software-2/scanner-permissions-%5Bsuse-10%5D-problem-379682/)

david@linuxquestions 11-03-2005 02:48 PM

scanner permissions [suse 10] problem
 
Hi,

I've recently installed SUSE 10, and am having trouble getting my Canon FS4000US (USB film scanner) working. Linux itself (that is SANE) has no support, wheras Vuescan does, which I would be using anyway.
The system (sane) recognises the Scanner, as does YAST (I suppose they're doing the same). This works both if logged in as root or user.

Now Vuescan can't access (doesn't find) the scanner if logged in as user, while there is no problem if logged in as root. Additionally changing the write permission of /proc/bus/usb/xxx/yyy (the scanner) enables user to use Vuescan as well.

this is a bit uncomfortable as I've got to log in as root to do so, and unpluging the scanner or rebooting requires the procedure again.
I've already found numerous threads on the internet, but somehow all these focus around changing the hotplug configuration and don't help (me).
One solution would be to change the write permisson of the scanner whenever it is plugged in. these other solutions seem to be doing something like that, just don't work. they are all focused around sane ...
But since I'm stupid, I don't know how to do that ... myself.
And ... that can't be the correct solution can it?
any help welcome!!

Thanks in advance!

David

storywizard 11-05-2005 12:20 AM

scanner access
 
Hello,

I have the same kind of situation with the scanner function of my Epson Stylus CX 5400 in Suse 10, here is the beginning of a thread that I hope will solve the problem...

http://forums.suselinuxsupport.de/in...8&#entry123138

good luck...:)

storywizard

david@linuxquestions 11-05-2005 02:23 AM

OK, I've found a solution. The reason for all tohers failing propably was they were dealing with the hotplug system which for some reason fell from grace in SUSE 10, now udev is to be used instead. Adding the line
BUS=="usb", SYSFS[idProduct]=="3042", NAME="%k", MODE="644"
to the file /etc/udev/rule.d/50-udev.rules where 3042 is the product id of the FS4000US and adding myself to the group scanner (although I don't know if that was really necessary) solved the problem. I hope ...

David

P.S. dont't ask me what that means, I neither know what NAME="%k" nor MODE="644" means. I just copied a line further above which had to do something with usbscanner ... if anybody knows ... I'd like to know what I did ;-) ... the only thing I know is about bus and the idProduct, which are straightforward ...


All times are GMT -5. The time now is 11:01 PM.