LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 01-19-2006, 07:08 PM   #1
ezz
LQ Newbie
 
Registered: Jan 2006
Posts: 11

Rep: Reputation: 0
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

Last edited by ezz; 01-19-2006 at 10:25 PM.
 
Old 01-19-2006, 10:59 PM   #2
kak
Member
 
Registered: Jul 2004
Location: Moriarty, NM, USA about 100 yards form Rattle Snake Coutry
Distribution: Slackware , Ubuntu
Posts: 269

Rep: Reputation: 30
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.
 
Old 01-20-2006, 12:26 AM   #3
ezz
LQ Newbie
 
Registered: Jan 2006
Posts: 11

Original Poster
Rep: Reputation: 0
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
 
Old 01-20-2006, 07:05 AM   #4
kak
Member
 
Registered: Jul 2004
Location: Moriarty, NM, USA about 100 yards form Rattle Snake Coutry
Distribution: Slackware , Ubuntu
Posts: 269

Rep: Reputation: 30
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.
 
Old 01-20-2006, 09:17 AM   #5
ezz
LQ Newbie
 
Registered: Jan 2006
Posts: 11

Original Poster
Rep: Reputation: 0
Thanks it worked

I am using 2.6 Kernel
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Canon N640P EX & Xsane don't work Neeko Linux - Hardware 0 02-20-2005 11:40 PM
Scanner/xsane/vuescan nothing wants to work kak Linux - Hardware 8 08-28-2004 04:10 PM
sane/xsane can't find usb scanner walterbyrd Linux - Hardware 0 07-24-2004 10:39 AM
Virus Scaner Joey.Dale Linux - Software 2 03-08-2004 10:54 AM
scaner problems sqn Slackware 3 12-09-2002 07:39 AM


All times are GMT -5. The time now is 08:51 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration