You are not logged in.

#1 2008-02-24 08:41:30

ploub
Member
Registered: 2007-05-16
Posts: 132

[SOLVED] scanner not recognised

peter@mesh:~$ 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=0x04b8 [EPSON], product=0x010b [Perfection1240]) at libusb:005:003
  # 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.

  # 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.
peter@mesh:~$ scanimage -L
device `v4l:/dev/video0' is a Noname BT878 video (Hauppauge (bt878)) virtual device
peter@mesh:~$ lsusb
Bus 005 Device 003: ID 04b8:010b Seiko Epson Corp. Perfection 1240
Bus 005 Device 002: ID 05e3:0605 Genesys Logic, Inc. USB 2.0 Hub [ednet]
Bus 005 Device 001: ID 0000:0000  
Bus 004 Device 001: ID 0000:0000  
Bus 003 Device 001: ID 0000:0000  
Bus 002 Device 001: ID 0000:0000  
Bus 001 Device 001: ID 0000:0000

Scanner is recognised by sane-find-scanner but not by scanimage -L. I am in the scanner group.
It was working under other distros and strangely it works on w2k in virtualbox.
Maybe a permissions issue? Any ideas?

Last edited by ploub (2008-02-24 12:47:53)

Online

#2 2008-02-24 10:24:24

azleifel
Member
Registered: 2007-10-28
Posts: 486

Re: [SOLVED] scanner not recognised

As a starting point, plug the scanner in, switch it on and then check the permissions for the device node in /dev/bus/usb ("ls -lR /dev/bus/usb").  Have a read of http://www.sane-project.org/README.linux as well.

Offline

#3 2008-02-24 10:54:12

ploub
Member
Registered: 2007-05-16
Posts: 132

Re: [SOLVED] scanner not recognised

Permissions are correct:

/peter@mesh:~$ ls -lR /dev/bus/usb
.
.
dev/bus/usb/005:
total 0
crw-rw-r-- 1 root root    189, 512 2008-02-24 08:15 001
crw-rw-r-- 1 root root    189, 513 2008-02-24 08:15 002
crw-rw-r-- 1 root scanner 189, 514 2008-02-24 10:01 003

Changing permissions in /proc doesn't help either:

peter@mesh:~$ chmod a+rw /proc/bus/usb/005/003

sudo scanimage -L still only picks up the tv card. Any other ideas? Thanks!

Online

#4 2008-02-24 11:17:13

azleifel
Member
Registered: 2007-10-28
Posts: 486

Re: [SOLVED] scanner not recognised

I'm flying in the dark here because I don't have this particular scanner model (I've got a Perfection 3170 Photo).  Anyway, for the next step check sane configuration.  According to information on the SANE website, the scanner uses the epson2 backend, so switch off the scanner, edit /etc/sane.d/dll.conf, comment out the "epson" and "v4l" lines, check that the "epson2" line is not commented out, save changes and then switch the scanner back on.

Offline

#5 2008-02-24 12:47:19

ploub
Member
Registered: 2007-05-16
Posts: 132

Re: [SOLVED] scanner not recognised

Sorted. In the end commenting out the epson2 line in the /etc/sane.d/dll.conf did the trick. Kudos to azleifel cool

Online

Board footer

Powered by FluxBB