LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 05-25-2009, 08:31 AM   #1
jamespetts
Member
 
Registered: Sep 2002
Location: UK
Distribution: Ubuntu 11.10
Posts: 121

Rep: Reputation: 16
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, 08:45 AM   #2
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
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, 09:41 AM   #3
jamespetts
Member
 
Registered: Sep 2002
Location: UK
Distribution: Ubuntu 11.10
Posts: 121

Original Poster
Rep: Reputation: 16
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, 10:05 AM   #4
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
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, 12:09 PM   #5
jamespetts
Member
 
Registered: Sep 2002
Location: UK
Distribution: Ubuntu 11.10
Posts: 121

Original Poster
Rep: Reputation: 16
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, 01:01 PM   #6
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

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



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

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

All times are GMT -5. The time now is 08:14 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