LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 01-17-2010, 05:56 AM   #1
gauchao
Member
 
Registered: Dec 2009
Distribution: SLACKWARE 13/13.1/13.37 64 bit
Posts: 127

Rep: Reputation: 23
User permissions/groups to access USB scanner


Slackware 13 64 bit
Hp Photosmart c4280 USB (All-in-one)

- Printer successfully configured using CUPS
- Scanner only works when I am Root.
- When trying to access scanner as user it says there is no scanner attached.

What should be the groups for this user in order to access the scanner? Actually, they are: haldaemon, disk, audio, video, cdrom, plugdev, power, scanner, lp.

Below are the outputs for sane-find-scanner (as both root and user), although, since the scanner works well under root, I am almost sure it is a problem with setting permissions and groups. Thank you!

Quote:
# sane-find-scanner

# sane-find-scanner will now attempt to detect your scanner. If the
# result is different from what you expected, first make sure your
# scanner is powered up and properly connected to your computer.

# No SCSI scanners found. If you expected something different, make sure that
# you have loaded a kernel SCSI driver for your SCSI adapter.

found USB scanner (vendor=0x03f0 [HP], product=0x5c11 [Photosmart C4200 series]) at libusb:002:005
# Your USB scanner was (probably) detected. It may or may not be supported by
# SANE. Try scanimage -L and read the backend's manpage.

# Not checking for parallel port scanners.

# Most Scanners connected to the parallel port or other proprietary ports
# can't be detected by this program.
Quote:
$ sane-find-scanner

# sane-find-scanner will now attempt to detect your scanner. If the
# result is different from what you expected, first make sure your
# scanner is powered up and properly connected to your computer.

# No SCSI scanners found. If you expected something different, make sure that
# you have loaded a kernel SCSI driver for your SCSI adapter.

# No USB scanners found. If you expected something different, make sure that
# you have loaded a kernel driver for your USB host controller and have setup
# the USB system correctly. See man sane-usb for details.

# Not checking for parallel port scanners.

# Most Scanners connected to the parallel port or other proprietary ports
# can't be detected by this program.

# You may want to run this program as root to find all devices. Once you
# found the scanner devices, be sure to adjust access permissions as
# necessary.
 
Old 01-17-2010, 06:14 AM   #2
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Posts: 11,388
Blog Entries: 2

Rep: Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825
Well, I'm in the following groups and my HP all-in-one works fine, scanner too:

Code:
bash-3.1$ groups 
users lp floppy audio video cdrom plugdev power netdev
Note that after you add yourself to these groups you may have to restart messagebus '/etc/rc.d/rc.messagebus reload'.
 
Old 01-17-2010, 06:22 AM   #3
gauchao
Member
 
Registered: Dec 2009
Distribution: SLACKWARE 13/13.1/13.37 64 bit
Posts: 127

Original Poster
Rep: Reputation: 23
Thank you very much, TexMex. I just needed to restart messagebus. It works flawlessly. Sorry to bother you.
 
  


Reply

Tags
groups, permissions, scanner, 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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Where to set permissions to getting an USB scanner work for an ordinary user? Olaus Linux - Hardware 2 10-22-2009 10:05 AM
usb scanner permissions problem leopold_2006 Slackware 6 12-11-2007 04:14 PM
user groups and permissions questions cuco76 Linux - Security 4 12-23-2006 12:22 PM
Permissions: giving specific groups write access to a directory kinetik Linux - General 3 07-06-2006 08:30 AM
user groups and permissions yank_ Linux - Newbie 1 02-26-2001 10:57 PM


All times are GMT -5. The time now is 05:03 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
Open Source Consulting | Domain Registration