LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 02-06-2014, 07:05 AM   #1
acampbell
Member
 
Registered: Nov 2003
Location: London
Distribution: Debian
Posts: 118

Rep: Reputation: 16
[SOLVED] Permission problem for Epson scanner - xsane only works as root


This is an Epson Perfection V330 on Arch.

I had this scanner working as user with xsane for several months. Yesterday it would only work as root. This is a permissions problem but I do't know how to fix it.

I am a member of the scanner group.

I get the following with sane-find-scanner as user:

found USB scanner (vendor=0x04b8 [EPSON], product=0x0142 [EPSON Perfection V33/V330]) at libusb:004:003
could not open USB device 0x1d6b/0x0002 at 004:001: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0001 at 003:001: Access denied (insufficient permissions)
could not open USB device 0x413c/0x3200 at 002:002: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0001 at 002:001: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0001 at 001:001: Access denied (insufficient permissions)

Scanimage -L says:

device `epkowa:interpreter:004:003' is a Epson Perfection V330 Photo flatbed scanner

The relevant entry in /lib/udev/rules.d/49-sane.rules is

# EPSON Perfection V330 Photo
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0142", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"

I tried using the lts kernel and also reverted to the previous version of xsane, but that didn't help.

I tried manually changing the owner/group of /dev/bus/usb/00*/00* but no effect.

I found plenty of posts about this on Google but nothing that fixed my problem.

Funnily enough, Vuescan does run the scanner as user.

Any ideas, anyone?

Last edited by acampbell; 02-07-2014 at 04:40 AM.
 
Old 02-07-2014, 04:42 AM   #2
acampbell
Member
 
Registered: Nov 2003
Location: London
Distribution: Debian
Posts: 118

Original Poster
Rep: Reputation: 16
I finally found the "simple" solution myself after a day spent googling. I just deleted ~/.sane and allowed it to remake itself, after which user access was restored. I'm surprised no one else has reported this.

Last edited by acampbell; 02-08-2014 at 03:47 AM.
 
  


Reply



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
[SOLVED] scanner permission problem: epson workforce 630 on 32bit 13.1 slackware tfrei Slackware 8 01-28-2011 08:04 AM
[SOLVED] xsane does not find scanner and libusb permission error H_TeXMeX_H Slackware 2 10-26-2010 03:35 AM
Problem with my Canon Lide 25 scanner and Sane/XSane hansdezwart Linux - Hardware 1 08-22-2007 06:10 AM
xsane only works as root verbose Linux - General 4 12-08-2006 03:17 AM
xsane only works as root mike Linux - Software 1 01-24-2003 02:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:15 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration