[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Root can't run scanner

Having read much on setting up a scanner, its embarrassing that I
cannot get it to work.

I have an Epson 3490 Photo printer attached via the usb bus to debian 
sarge. I'm running kernel 2.6.8-2-686, which means I'm using libusb
rather than the kernel's scanner module ($ lsmod | grep scanner
returns nothing). 

This scanner is seen on the usb bus:

     $ cat /proc/bus/usb/devices | more
  	T:  Bus=02 Lev=02 Prnt=02 Port=02 Cnt=01 Dev#= 23 Spd=480
  	    MxCh= 0 
	D:  Ver= 2.00 Cls=ff(vend.) Sub=ff Prot=ff MxPS=64 #Cfgs=  1
	P:  Vendor=04b8 ProdID=0122 Rev= 1.10
	S:  Manufacturer=EPSON
	S:  Product=EPSON Scanner
	C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=100mA
	I:  If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff
	E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
	E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
	E:  Ad=83(I) Atr=03(Int.) MxPS=   8 Ivl=4096ms

The scanner is known to my backend (sane database of scanners):

   $ sane-find-scanner
	# sane-find-scanner
	found USB scanner (vendor=0x04b8 [EPSON], product=0x0122
        [EPSON Scanner]) at libusb:002:023

In /etc/sane.d/epson.conf there is a "usb" line (but also a "scsi
EPSON" line, which I assume is ignored.)

I have a scanner group and a saned group, and both user and root
belong to them, and I subsequently relogged in (there may be a bit of
overkill here). 


I gave permission to the scanner group to use the scanner interface:  

	$ ls -l /dev/usb/ | grep scanner0
        crw-rw-rw-  1 root scanner 180,  48 2005-09-08 12:16 scanner0 

And finally, for both root and user:

    # scanimage -L
    No scanners were identified. ...

I don't find any .usermap for scanning in /etc/hotplug/usb/, nor is
there any usb.usermap file. Not sure there should be. The closest is
/etc/hotplug/usb.handmap, but it has no entry for a scanner. I assume
that hotplug is irrelevant here.

       Haines Brown
         ET1(SS) U.S.S. Irex SS-482       

Reply to: