LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-21-2009, 12:25 PM   #1
Olaus
Member
 
Registered: Apr 2006
Location: Sweden
Distribution: Slackware64 14.1 multilib
Posts: 112

Rep: Reputation: 16
Where to set permissions to getting an USB scanner work for an ordinary user?


Update:
The scanner group seems to be of no use in this case, the lp group on the other hand hit the spot as far as I can see.

When I run these commands as root:
sane-find-scanner:
Code:
found USB scanner (vendor=0x03f0 [Hewlett-Packard], product=0x2911 [PSC 2200 Series]) at libusb:001:004
scanimage -L:
Code:
device `hpaio:/usb/PSC_2200_Series?serial=MY27RD14D60G' is a Hewlett-Packard PSC_2200_Series all-in-one
As an ordinary user I get nothing from sane-find-scanner.
Scanning works perfectly as root.
Tried to add the user to the scanner group, to no avail.

Any tips where I should change permissions to make scanning as an ordinary user to work? I have an /dev/usb/lp0 entry, but changing the group of that to users (with r/w) does not help.

Last edited by Olaus; 10-23-2009 at 05:24 AM. Reason: Solved
 
Old 10-21-2009, 12:45 PM   #2
pljvaldez
Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Squeeze (x86)
Posts: 6,092

Rep: Reputation: 269Reputation: 269Reputation: 269
You usually just need to add your user to the proper group. Some distros use group "usb", some use "scanner", and I'm sure others use something else.

What is the output of cat /etc/group
 
Old 10-22-2009, 10:05 AM   #3
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,017

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
After you have added yourself to the scanner group, you need to log out and then back in for this change to be recognised.

/dev/usb/lp0 would usually be a USB printr, but I am not used to slack.
 
  


Reply

Tags
xsane


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
usb scanner permissions problem leopold_2006 Slackware 6 12-11-2007 04:14 PM
LXer: How to configure your SCSI or USB scanner to work with SANE/XSANE from your regular user account LXer Syndicated Linux News 0 04-06-2007 05:01 PM
kpowersave doesn't work, if run by ordinary user gfgf Linux - Laptop and Netbook 1 06-14-2006 10:31 AM
Cant mount cdrom in normal user, tried to set permissions, no work. Kindly help me. RHLinuxGUY Slackware 2 09-13-2004 09:35 PM
How to set user permissions for USB ports at boot? drazenko Linux - Hardware 1 07-27-2004 09:13 AM


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

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