LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-25-2009, 09:31 AM   #1
jamespetts
Member
 
Registered: Sep 2002
Location: UK
Distribution: Ubuntu 11.10
Posts: 113

Rep: Reputation: 15
Question Can only scan as root: IEEE-1394


In an Ubuntu-Jaunty installation, I have an Epson Perfection V700 Photo scanner connected via IEEE-1394. However, the device is only accessible as root, either from iscan or Sane, otherwise both applications report that the device is not available. scanimage-L does not show the scanner, whereas sudo scanimage-L does.

I have found this related topic, but I was unable to follow the advice as my scanner is IEEE-1394, and consequently, no idVendor or IdProduct could be found in the dmesg output, the only relevant part of which was as follows:

Code:
[    4.770432] ieee1394: Host added: ID:BUS[0-01:1023]  GUID[00e018000009389f]
[    4.919583] scsi6 : SBP-2 IEEE-1394
[    5.920555] ieee1394: sbp2: Logged into SBP-2 device
[    5.920611] ieee1394: sbp2: Node 0-00:1023: Max speed [S400] - Max payload [2048]
[    5.922044] scsi 6:0:0:0: Processor         EPSON    GT-X900          1.06 PQ: 0 ANSI: 4
[    5.922245] scsi 6:0:0:0: Attached scsi generic sg3 type 3
If I could find the relevant information, I could add a rule to /etc/udev/rules.d/10-scanner.rules, but I cannot find where to obtain that information. Can anybody assist? Thank you.
 
Old 05-25-2009, 09:45 AM   #2
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,038

Rep: Reputation: 373Reputation: 373Reputation: 373Reputation: 373
You probably just need to make yourself a member of the group scanner.
Check like this:
Code:
tred@vaio:~$ groups
tred adm dialout fax cdrom floppy audio video plugdev syslog scanner fuse lpadmin admin netdev
tred@vaio:~$
If you are not a member then add yourself like this:
Code:
james@pc:~$ sudo gpasswd -a james scanner
Then logout & login again.
Now plug in your scanner. You should be able to use it.
If not, re-check the permissions on the device with ls -l /dev/scanner
 
Old 05-25-2009, 10:41 AM   #3
jamespetts
Member
 
Registered: Sep 2002
Location: UK
Distribution: Ubuntu 11.10
Posts: 113

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by tredegar View Post
You probably just need to make yourself a member of the group scanner.
Check like this:
Code:
tred@vaio:~$ groups
tred adm dialout fax cdrom floppy audio video plugdev syslog scanner fuse lpadmin admin netdev
tred@vaio:~$
If you are not a member then add yourself like this:
Code:
james@pc:~$ sudo gpasswd -a james scanner
Then logout & login again.
Now plug in your scanner. You should be able to use it.
If not, re-check the permissions on the device with ls -l /dev/scanner

Thank you for the suggestion - however, when I listed the groups as you suggested, there was no group called "scanner".
 
Old 05-25-2009, 11:05 AM   #4
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,038

Rep: Reputation: 373Reputation: 373Reputation: 373Reputation: 373
Quote:
when I listed the groups as you suggested, there was no group called "scanner"
groups is just a command that tells you what groups you are a member of.
If scanner is not listed for you, then you are not a member of the scanner group, and you need to add yourself as I posted above.

Code:
cat /etc/group
will list all the groups created by your install. You probably aren't a member of many of them, but you do need to be a member of the scanner group if you wish to use the scanner.
 
Old 05-25-2009, 01:09 PM   #5
jamespetts
Member
 
Registered: Sep 2002
Location: UK
Distribution: Ubuntu 11.10
Posts: 113

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by tredegar View Post
groups is just a command that tells you what groups you are a member of.
If scanner is not listed for you, then you are not a member of the scanner group, and you need to add yourself as I posted above.

Code:
cat /etc/group
will list all the groups created by your install. You probably aren't a member of many of them, but you do need to be a member of the scanner group if you wish to use the scanner.
Thank you very much for your further prompt reply. However, when I executed the cat /etc/group command, there was no group called scanner listed there, either.
 
Old 05-25-2009, 02:01 PM   #6
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,038

Rep: Reputation: 373Reputation: 373Reputation: 373Reputation: 373
Quote:
when I executed the cat /etc/group command, there was no group called scanner listed
OK. Some more Q's:

1] Are you sure? Please check again. And are you sure there's not something you have forgotten to tell us, like you are running linux on a virtual machine? I have assumed you are running a normal installed-to-HDD system. If not then please give us the full picture.

I am also running "Hardy" AKA 8.04 and I have the group scanner listed in /etc/group by default.

I have just realised you cannot
Code:
ls -l /dev/scanner
so forget about that for now.

2] What does
Code:
sudo scanimage -L
report back?

Mine says this:
Code:
device `plustek:libusb:003:002' is a Canon CanoScan N670U/N676U/LiDE20 flatbed scanner
3] Does your scanner offer a USB connection? Is that any more usable?
 
  


Reply

Tags
dmesg, epson, ieee1394, perfection, photo, root, scanner, ubuntu, udev


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
TCP/IP over IEEE 1394? johnMG Linux - Networking 3 06-04-2008 12:20 PM
ieee 1394 and linux dany_apache Linux - Hardware 2 01-11-2005 07:18 AM
ieee 1394 hang after installation mcfaddenj Fedora - Installation 4 09-27-2004 09:05 PM
IEEE 1394 for Linux Snerkel Linux - Software 1 08-10-2004 04:40 PM
Ieee 1394 one9ooh6 Linux - Newbie 1 07-15-2003 01:32 PM


All times are GMT -5. The time now is 09:35 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration