[sane-devel] Force wake/detection of Fujitsu fi-60F (epjitsu) USB-plugged before firmware files installed?

Jeff Kowalczyk jtk at yahoo.com
Thu Nov 6 18:09:56 UTC 2008


I am having trouble accessing an epjitsu Fujitsu fi-60F at a remote site.
The scanner was plugged in yesterday, the host PC has not been rebooted,
and I would like to avoid doing that during business hours.

The host PC is Ubuntu 8.10 desktop, libsane-1.0.19-6ubuntu1:

$ scanimage -V
scanimage (sane-backends) 1.0.19; backend version 1.0.19

My user is in the scanner group:

 $ grep scan /etc/group
 scanner:x:105:hplip,(...),myuser

The default package epjitsu.conf is as follows:

 $ cat /etc/sane.d/epjitsu.conf 
 # For scanners connected via USB on a known device (kernel driver):
 #usb /dev/usb/scanner0
 
 # For scanners connected via USB using vendor and device ids (libusb):
 #usb VENDORID PRODUCTID
 
 # NOTE: if you have to add your device here- please send the id and model
 # to the author via email, so it can be included in next version. kitno455 at
 # gmail dot com - with epjitsu in the subject line
 
 # these devices require a firmware file in order to function
 # it can generally be found inside C:\windows\fjsti.cab or
 # C:\windows\fjmini\*.cab
 # open that file and look for a ~65K .NAL file with the scanner's name
 # and copy it someplace sane can reach it. then update the line below.
 # NOTE: the firmware line must occur BEFORE the usb line for your scanner
 
 # Fujitsu fi-60F
 firmware /usr/share/sane/epjitsu/60f_0A00.nal
 usb 0x04c5 0x10c7
 
 # Fujitsu S300
 firmware /usr/share/sane/epjitsu/300_0A00.nal
 usb 0x04c5 0x1156

The firware file is in place, but was not at the time the scanner was
plugged in:

 $ ls -al /usr/share/sane/epjitsu
 total 80
 drwxr-xr-x 2 root root  4096 2008-04-28 13:09 .
 drwxr-xr-x 5 root root  4096 2008-11-06 12:25 ..
 -rw-r--r-- 1 root root 65793 2008-04-28 16:17 60f_0A00.nal

sane-find-scanner finds the device as a USB id, but does not
identify or associate it with the epjitsu backend:

  $ 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=0x04c5, product=0x10c7) at libusb:005:004
  # 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.

However, scanimage does not find the device at all:

 $ scanimage -L
 
 No scanners were identified. If you were expecting something different,
 check that the scanner is plugged in, turned on and detected by the
 sane-find-scanner tool (if appropriate). Please read the documentation
 which came with this software (README, FAQ, manpages).

Are there any utilities to force detection and/or waking of this device,
or is my best option to reboot?

Thanks.




More information about the sane-devel mailing list