LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (http://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   my scaner won't work, xsane dos'nt find it (http://www.linuxquestions.org/questions/linux-hardware-18/my-scaner-wont-work-xsane-dosnt-find-it-405576/)

ezz 01-19-2006 07:08 PM

my scaner won't work, xsane dos'nt find it
 
When I open xsane, in my user it dos'nt find my scanner, it tells me I don't have permissions, and to try as root, but when I try as root it tells me that it is really DANGEROUS, but, it dos work.
So how do I change my permissions so I don't have to be in root.

by the way I am using slackware, and the scanner is a umax 3450

thanks,
Ezra

kak 01-19-2006 10:59 PM

Assuming it is an usb scanner you need to change the permissions on /proc/bus/usb/***/***

Run sane-find-scanner as root
Note this line--->"found USB scanner (vendor=******, product=*****) at libusb:002:006"
002:006 refers to /proc/bus/usb/002/006 as an example.

so to fix "chmod 770 /proc/bus/usb/002/006"

I have the chmod line in rc.local because if I remembered correctly /proc is a non permanent directory so it gets updated with each boot.
It may not be nessesary but it doesn't seem to hurt anything.

ezz 01-20-2006 12:26 AM

it is a usb scanner.
I went to /proc/bus/usb/ and I looked and I couldn't find any thing that I could change my permissions in

I found my rc.local but didn't find any thing in there ether

Thanks

kak 01-20-2006 07:05 AM

There should be nothing in rc.local to start with. You will need to add the chmod line.

Are you using 2.4 or 2.6 kernel?

2.4:
Assuming KDE is installed open up kuser as root.
Check your groups; make sure scanner is one and add yourself to that group.
You may need to create the group manually and you may need to restart(can't remember for sure though)

2.6:
add the following to rc.local
chmod -R 770 /proc/bus/usb/
Then restart.

ezz 01-20-2006 09:17 AM

Thanks it worked

I am using 2.6 Kernel


All times are GMT -5. The time now is 02:30 AM.