[sane-devel] libusb problems with CanoScan LiDE25 sane backend ..17 plustek backend 0.50-9

Petar Mijatovic petar.mijatovic at web.de
Fri May 26 13:17:24 UTC 2006


Hello together,

to install the new plustek backend for my scanner CanoScan LiDE25 I try 
to install the new libusb which is recomanded for linux
kernel > = 2.6.

There are problems with the installing of  libusb discribed in the 
enclosed file.
There is not  scanner.o file at kernel drivers and the kernel is 
 recognizing the CanoScan with correct Vendor in ID.
Module loading is not possible.

Can you help me to install appropriate the backends?

Regards,
Petar Mijatovic

  =============================================
              Petar Mijatovic
  privat    : Mainzer Str.36, D-70499 Stuttgart
  e-mail    : petar.mijatovic at web.de
  phone/fax : 0711/8895611
  =============================================

-------------- next part --------------


-----------------------------------------------------------------------------------------
download latest Plustek backends "plustek-usb-0.50-9.tar.gz" from: 
<http://www.gjaeger.de/scanner/plustek/#startofpage>
<http://www.gjaeger.de/scanner/plustek/> backends informations for CanoScan LiDE25
include scanner driver for "Canon LiDE25 CIS LM9833  0x04A9 0x2220"
unpacking "plustek-usb-0.50-9.tar.gz" in the folder of Sane backend

-----------------------------------------------------------------------------------------
INSTALLING SECOND:
download latest Sane backends "sane-backends-1.0.17" and frontends "sane-frontends-1.0.14" and "xsane" from:
<http://www.sane-project.org/>

------------------------------------------------------------------------------------------
INSTALLING FIRST:
1.) libusb-0.1.12 
download from <http://sourceforge.net/project/showfiles.php?group_id=1674> as Platform-Independent "libusb-0.1.12.tar.gz"

>./configure
>make
>make install
>make check; tests> ./test.... --> messages -->

----------------------------------------------------------------------------------------------------
INSTALLING THE sane-backends-1.0.17

>root at mio(1113):/home/petar/sane/sane-backends-1.0.17> ./configure       
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
.
..
...
.....
Build saned:   yes
IPv6 support:  yes
-> The following backends will be built:
abaton agfafocus apple artec as6e avision bh canon canon630u coolscan coolscan2 dc25 dmc epson fujitsu genesys gt68xx hp leo lexmark matsushita microtek microtek2 mustek mustek_usb nec pie plustek plustek_pp ricoh s9036 sceptre sharp sp15c st400 tamarack test teco1 teco2 teco3 umax umax_pp umax1220u artec_eplus48u ma1509 ibm hp5400 u12 snapscan niash sm3840 hp4200 sm3600 dc210 dc240 qcam v4l net mustek_usb2 
*** Warning: sane-backends will be built without libusb support.  There may
*** be valid reasons to do so, e.g. if you don't use USB scanners or on
*** platforms without libusb support but generally this means that you
*** can't use USB devices with SANE. The most probable cause is that
*** libusb is not installed at all or is too old. See README.
****************************************************************
* Please be sure to read file PROBLEMS in this directory       *
* BEFORE running any of the SANE applications.  Some devices   *
* may be damaged by inproper operation, so please do heed this *
* advice.                                                      *
****************************************************************


"after that problem following takes no effects:"
>root at mio(1113):/home/petar/sane/sane-backends-1.0.17> ./make

>root at mio(1113):/home/petar/sane/sane-backends-1.0.17> ./make install

---------------------------------------------------------------------------------------------------------
TRY TO FIX THE PROBLEM; TESTING AND SEARCHING THE PROBLEMS:
---------------------------------------------------------------------------------------------------------

>root at mio(1058):/home/petar/sane/sane-backends-1.0.17/libusb-0.1.12/tests> ./testlibusb 
Dev #1: Linux 2.6.12.3test1 uhci_hcd - VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (#2)
  Dev #2: Brother - HL-2030 series
Dev #1: Linux 2.6.12.3test1 uhci_hcd - VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
  Dev #2: Canon - CanoScan
Dev #1: Linux 2.6.12.3test1 uhci_hcd - Intel Corporation 82371AB/EB/MB PIIX4 USB
Dev #1: Linux 2.6.12.3test1 ehci_hcd - VIA Technologies, Inc. USB 2.0


>root at mio(1059):/home/petar/sane/sane-backends-1.0.17/libusb-0.1.12/tests> ./id_test
bus/device  idVendor/idProduct/bcdDevice  Class/SubClass/Protocol
004/002        04f9  /  0027  /  0100       00      00      00
004/001        0000  /  0000  /  0206       09      00      00
003/002        04a9  /  2220  /  0100       ff      00      ff
003/001        0000  /  0000  /  0206       09      00      00
002/001        0000  /  0000  /  0206       09      00      00
001/001        0000  /  0000  /  0206       09      00      01


>root at mio(1060):/home/petar/sane/sane-backends-1.0.17/libusb-0.1.12/tests> ./driver_name 
bus/device  idVendor/idProduct
004/002     04F9/0027    driver: usblp
004/001     0000/0000    driver: hub
fetching driver string failed (FFFFFFC3): could not get bound driver: No data available

>root at mio(1061):/home/petar/sane/sane-backends-1.0.17/libusb-0.1.12/tests> ./descriptor_test 
bus/device  idVendor/idProduct
004/002     1638404f9/40000027
- Unable to fetch manufacturer string
- Unable to fetch product string
  wTotalLength:         32
  bNumInterfaces:       1
  bConfigurationValue:  1
  iConfiguration:       0
  bmAttributes:         c0h
  MaxPower:             1
    bInterfaceNumber:   0
    bAlternateSetting:  0
    bNumEndpoints:      2
    bInterfaceClass:    7
    bInterfaceSubClass: 1
    bInterfaceProtocol: 2
    iInterface:         0
      bEndpointAddress: 01h
      bmAttributes:     02h
      wMaxPacketSize:   64
      bInterval:        0
      bRefresh:         0
      bSynchAddress:    0
      bEndpointAddress: 82h
      bmAttributes:     02h
      wMaxPacketSize:   16
      bInterval:        0
      bRefresh:         0
      bSynchAddress:    0
004/001     40000000/40000000
- Unable to fetch manufacturer string
- Unable to fetch product string
  wTotalLength:         25
  bNumInterfaces:       1
  bConfigurationValue:  1
  iConfiguration:       0
  bmAttributes:         c0h
  MaxPower:             0
    bInterfaceNumber:   0
    bAlternateSetting:  0
    bNumEndpoints:      1
    bInterfaceClass:    9
    bInterfaceSubClass: 0
    bInterfaceProtocol: 0
    iInterface:         0
      bEndpointAddress: 81h
      bmAttributes:     03h
      wMaxPacketSize:   2
      bInterval:        255
      bRefresh:         0
      bSynchAddress:    0
003/002     400004a9/40002220
- Unable to fetch manufacturer string
- Unable to fetch product string
  wTotalLength:         39
  bNumInterfaces:       1
  bConfigurationValue:  1
  iConfiguration:       0
  bmAttributes:         a0h
  MaxPower:             250
    bInterfaceNumber:   0
    bAlternateSetting:  0
    bNumEndpoints:      3
    bInterfaceClass:    255
    bInterfaceSubClass: 0
    bInterfaceProtocol: 255
    iInterface:         0
      bEndpointAddress: 81h
      bmAttributes:     03h
      wMaxPacketSize:   1
      bInterval:        16
      bRefresh:         0
      bSynchAddress:    0
      bEndpointAddress: 82h
      bmAttributes:     02h
      wMaxPacketSize:   64
      bInterval:        0
      bRefresh:         0
      bSynchAddress:    0
      bEndpointAddress: 03h
      bmAttributes:     02h
      wMaxPacketSize:   64
      bInterval:        0
      bRefresh:         0
      bSynchAddress:    0
003/001     40000000/40000000
- Unable to fetch manufacturer string
- Unable to fetch product string
  wTotalLength:         25
  bNumInterfaces:       1
  bConfigurationValue:  1
  iConfiguration:       0
  bmAttributes:         c0h
  MaxPower:             0
    bInterfaceNumber:   0
    bAlternateSetting:  0
    bNumEndpoints:      1
    bInterfaceClass:    9
    bInterfaceSubClass: 0
    bInterfaceProtocol: 0
    iInterface:         0
      bEndpointAddress: 81h
      bmAttributes:     03h
      wMaxPacketSize:   2
      bInterval:        255
      bRefresh:         0
      bSynchAddress:    0
002/001     40000000/40000000
- Unable to fetch manufacturer string
- Unable to fetch product string
  wTotalLength:         25
  bNumInterfaces:       1
  bConfigurationValue:  1
  iConfiguration:       0
  bmAttributes:         c0h
  MaxPower:             0
    bInterfaceNumber:   0
    bAlternateSetting:  0
    bNumEndpoints:      1
    bInterfaceClass:    9
    bInterfaceSubClass: 0
    bInterfaceProtocol: 0
    iInterface:         0
      bEndpointAddress: 81h
      bmAttributes:     03h
      wMaxPacketSize:   2
      bInterval:        255
      bRefresh:         0
      bSynchAddress:    0
001/001     40000000/40000000
- Unable to fetch manufacturer string
- Unable to fetch product string
  wTotalLength:         25
  bNumInterfaces:       1
  bConfigurationValue:  1
  iConfiguration:       0
  bmAttributes:         e0h
  MaxPower:             0
    bInterfaceNumber:   0
    bAlternateSetting:  0
    bNumEndpoints:      1
    bInterfaceClass:    9
    bInterfaceSubClass: 0
    bInterfaceProtocol: 0
    iInterface:         0
      bEndpointAddress: 81h
      bmAttributes:     03h
      wMaxPacketSize:   2
      bInterval:        12
      bRefresh:         0
      bSynchAddress:    0

>root at mio(1063):/home/petar/sane/sane-backends-1.0.17/libusb-0.1.12/tests> ./find_hubs       
Class/SubClass/Protocol
09      00      00
09      00      00
09      00      00
09      00      01

>root at mio(1064):/home/petar/sane/sane-backends-1.0.17/libusb-0.1.12/tests> ./get_resolution 
idVendor/idProduct/bcdDevice

>root at mio(1066):/home/petar/sane/sane-backends-1.0.17/libusb-0.1.12/tests> ./find_mice 
idVendor/idProduct/bcdDevice

//-----------------------------------------------------------------------------------------
//KERNEL DRIVER-INFO: --> no drivers for scanner.o like it should be for kernel > than 2.6 
//
//<http://tldp.org/HOWTO/Scanner-HOWTO/interfaces.html#OSSUPPORT>

root at mio(1070):/home/petar/sane/sane-backends-1.0.17/libusb-0.1.12> ls -R /lib/modules/2.6.12.3test1/kernel/drivers
/lib/modules/2.6.12.3test1/kernel/drivers:
acpi  block  ide  infiniband  mmc  net  pcmcia  scsi  usb

/lib/modules/2.6.12.3test1/kernel/drivers/acpi:
ac.ko  battery.ko  button.ko  video.ko

/lib/modules/2.6.12.3test1/kernel/drivers/block:
rd.ko

/lib/modules/2.6.12.3test1/kernel/drivers/ide:
ide-floppy.ko  ide-tape.ko

/lib/modules/2.6.12.3test1/kernel/drivers/infiniband:
core  hw  ulp

/lib/modules/2.6.12.3test1/kernel/drivers/infiniband/core:
ib_core.ko  ib_mad.ko  ib_sa.ko  ib_umad.ko

/lib/modules/2.6.12.3test1/kernel/drivers/infiniband/hw:
mthca

/lib/modules/2.6.12.3test1/kernel/drivers/infiniband/hw/mthca:
ib_mthca.ko

/lib/modules/2.6.12.3test1/kernel/drivers/infiniband/ulp:
ipoib

/lib/modules/2.6.12.3test1/kernel/drivers/infiniband/ulp/ipoib:
ib_ipoib.ko

/lib/modules/2.6.12.3test1/kernel/drivers/mmc:
mmc_block.ko  mmc_core.ko  wbsd.ko

/lib/modules/2.6.12.3test1/kernel/drivers/net:
dummy.ko

/lib/modules/2.6.12.3test1/kernel/drivers/pcmcia:
pcmcia_core.ko  pcmcia.ko

/lib/modules/2.6.12.3test1/kernel/drivers/scsi:
ide-scsi.ko  osst.ko  sr_mod.ko  st.ko

/lib/modules/2.6.12.3test1/kernel/drivers/usb:
class  gadget  image  input  media  misc  net  serial

/lib/modules/2.6.12.3test1/kernel/drivers/usb/class:
audio.ko  bluetty.ko  cdc-acm.ko  usb-midi.ko

/lib/modules/2.6.12.3test1/kernel/drivers/usb/gadget:
gadgetfs.ko  g_ether.ko  g_file_storage.ko  g_serial.ko  g_zero.ko  net2280.ko

/lib/modules/2.6.12.3test1/kernel/drivers/usb/image:
mdc800.ko  microtek.ko

/lib/modules/2.6.12.3test1/kernel/drivers/usb/input:
aiptek.ko  ati_remote.ko  kbtab.ko  mtouchusb.ko  powermate.ko  touchkitusb.ko  wacom.ko  xpad.ko

/lib/modules/2.6.12.3test1/kernel/drivers/usb/media:
dabusb.ko

/lib/modules/2.6.12.3test1/kernel/drivers/usb/misc:
auerswald.ko  emi26.ko  idmouse.ko       phidgetkit.ko    rio500.ko  usblcd.ko  usbtest.ko
cytherm.ko    emi62.ko  legousbtower.ko  phidgetservo.ko  sisusbvga  usbled.ko  uss720.ko

/lib/modules/2.6.12.3test1/kernel/drivers/usb/misc/sisusbvga:
sisusb.ko

/lib/modules/2.6.12.3test1/kernel/drivers/usb/net:
catc.ko  kaweth.ko  pegasus.ko  rtl8150.ko  usbnet.ko

/lib/modules/2.6.12.3test1/kernel/drivers/usb/serial:
belkin_sa.ko   digi_acceleport.ko  hp4x.ko         ipw.ko          kobil_sct.ko  safe_serial.ko       whiteheat.ko
cp2101.ko      empeg.ko            io_edgeport.ko  ir-usb.ko       mct_u232.ko   ti_usb_3410_5052.ko
cyberjack.ko   ftdi_sio.ko         io_ti.ko        keyspan_pda.ko  omninet.ko    usbserial.ko
cypress_m8.ko  garmin_gps.ko       ipaq.ko         kl5kusb105.ko   pl2303.ko     visor.ko
------------------------------------------------------------------
DRIVER SEARCH IN 

>petar at mio(1001):~> ls -Ral /proc/bus/usb/
/proc/bus/usb/:
total 0
drwxr-xr-x    6 root     root            0 May 26 08:58 .
dr-xr-xr-x    5 root     root            0 May 26 08:58 ..
dr-xr-xr-x    2 root     root            0 May 26 08:58 001
dr-xr-xr-x    2 root     root            0 May 26 08:58 002
dr-xr-xr-x    2 root     root            0 May 26 08:58 003
dr-xr-xr-x    2 root     root            0 May 26 08:58 004
-r--r--r--    1 root     root            0 May 26 08:58 devices

/proc/bus/usb/001:
total 0
dr-xr-xr-x    2 root     root            0 May 26 08:58 .
drwxr-xr-x    6 root     root            0 May 26 08:58 ..
-rw-r--r--    1 root     root           43 May 26 10:56 001

/proc/bus/usb/002:
total 0
dr-xr-xr-x    2 root     root            0 May 26 08:58 .
drwxr-xr-x    6 root     root            0 May 26 08:58 ..
-rw-r--r--    1 root     root           43 May 26 10:56 001

/proc/bus/usb/003:
total 0
dr-xr-xr-x    2 root     root            0 May 26 08:58 .
drwxr-xr-x    6 root     root            0 May 26 08:58 ..
-rw-r--r--    1 root     root           43 May 26 10:56 001
-rw-r--r--    1 root     root           57 May 26 10:56 002

/proc/bus/usb/004:
total 0
dr-xr-xr-x    2 root     root            0 May 26 08:58 .
drwxr-xr-x    6 root     root            0 May 26 08:58 ..
-rw-r--r--    1 root     root           43 May 26 10:56 001
-rw-r--r--    1 root     root           50 May 26 10:56 002

-----------------------------------------------
KERNEL: ADDITIONAL SEARCH FOR SCANNERS OR USB:

>root at mio(1073):/lib/modules/2.6.12.3test1/kernel/drivers> find . -name \*scan\*

>root at mio(1074):/lib/modules/2.6.12.3test1/kernel/drivers> find . -name \*usb\*
./usb
./usb/class/usb-midi.ko
./usb/input/mtouchusb.ko
./usb/input/touchkitusb.ko
./usb/media/dabusb.ko
./usb/misc/legousbtower.ko
./usb/misc/sisusbvga
./usb/misc/sisusbvga/sisusb.ko
./usb/misc/usblcd.ko
./usb/misc/usbled.ko
./usb/misc/usbtest.ko
./usb/net/usbnet.ko
./usb/serial/ir-usb.ko
./usb/serial/kl5kusb105.ko
./usb/serial/ti_usb_3410_5052.ko
./usb/serial/usbserial.ko


--------------------------------------------------------------------------------------

MESSAGES after get ready:

>man sane-usb

>usbview
CanoScan (Written by red letters)
CanoScan
Manufacturer: Canon
Speed: 12Mb/s (full)
USB Version:  1.10
Device Class: ff(vend.)
Device Subclass: 00
Device Protocol: ff
Maximum Default Endpoint Size: 8
Number of Configurations: 1
Vendor Id: 04a9
Product Id: 2220
Revision Number:  1.00

Config Number: 1
	Number of Interfaces: 1
	Attributes: a0
	MaxPower Needed: 500mA

	Interface Number: 0
		Name: (none)
		Alternate Number: 0
		Class: ff(vend.) 
		Sub Class: 0
		Protocol: 0
		Number of Endpoints: 3

			Endpoint Address: 81
			Direction: in
			Attribute: 3
			Type: Int.
			Max Packet Size: 1
			Interval: 16ms

			Endpoint Address: 82
			Direction: in
			Attribute: 2
			Type: Bulk
			Max Packet Size: 64
			Interval: 0ms

			Endpoint Address: 03
			Direction: out
			Attribute: 2
			Type: Bulk
			Max Packet Size: 64
			Interval: 0ms



>chgrp scanner /dev/usb/scanner0 "made a new group "scanner" with all users:"
>chmod 660 /dev/usb/scanner0

>vim /etc/hotplug/usbscanner
# !/bin/bash

if [ "${ACTION}" = add ] && [ -f "${DEVICE}" ]
then
        chgrp users "${DEVICE}"
        chmod ug+rw "${DEVICE}"
fi

>less /proc/bus/usb/devices
T:  Bus=03 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=ff(vend.) Sub=00 Prot=ff MxPS= 8 #Cfgs=  1
P:  Vendor=04a9 ProdID=2220 Rev= 1.00
S:  Manufacturer=Canon
S:  Product=CanoScan
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=500mA
I:  If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=ff Driver=(none)
E:  Ad=81(I) Atr=03(Int.) MxPS=   1 Ivl=16ms
E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=03(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms


>vim /etc/hotplug/usb.usermap
usbscanner           0x0003      0x04a9   0x2220    0x0000       0x0000       0x00         0x00            0x00        0x00            0x00               0x00               0x00000000

>vim /etc/modules.conf
options scanner vendor=0x04a9 product=0x2220

>vim /etc/sane.d/plustek.conf
#[usb]
[usb] 0x04a9 0x2200
device /dev/usb/scanner0


>root at mio(1084):/home/petar/sane/sane-backends-1.0.17> libusb-config --version
0.1.12
>root at mio(1085):/home/petar/sane/sane-backends-1.0.17> libusb-config --libs   
-L/usr/local/lib -lusb





>root at mio(1079):/home/petar/sane/sane-backends-1.0.17> /sbin/modprobe usbscanner vendor=04a9 product=2220
FATAL: Module usbscanner not found.
>root at mio(1080):/home/petar/sane/sane-backends-1.0.17> /sbin/modprobe scanner vendor=04a9 product=2220
FATAL: Module scanner not found.
>root at mio(1081):/home/petar/sane/sane-backends-1.0.17> /sbin/modprobe scanner                         
FATAL: Module scanner not found.
>root at mio(1082):/home/petar/sane/sane-backends-1.0.17> /sbin/rmmod scanner
ERROR: Module scanner does not exist in /proc/modules

>root at mio(1000):/home/petar>  sane-find-scanner -v
This is sane-find-scanner from sane-backends 1.0.17

  # 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.

searching for SCSI scanners:
checking /dev/scanner... failed to open (Invalid argument)
checking /dev/sg0... failed to open (Invalid argument)
checking /dev/sg1... failed to open (Invalid argument)
checking /dev/sg2... failed to open (Invalid argument)
checking /dev/sg3... failed to open (Invalid argument)
checking /dev/sg4... failed to open (Invalid argument)
checking /dev/sg5... failed to open (Invalid argument)
checking /dev/sg6... failed to open (Invalid argument)
checking /dev/sg7... failed to open (Invalid argument)
checking /dev/sg8... failed to open (Invalid argument)
checking /dev/sg9... failed to open (Invalid argument)
checking /dev/sga... failed to open (Invalid argument)
checking /dev/sgb... failed to open (Invalid argument)
checking /dev/sgc... failed to open (Invalid argument)
checking /dev/sgd... failed to open (Invalid argument)
checking /dev/sge... failed to open (Invalid argument)
checking /dev/sgf... failed to open (Invalid argument)
checking /dev/sgg... failed to open (Invalid argument)
checking /dev/sgh... failed to open (Invalid argument)
checking /dev/sgi... failed to open (Invalid argument)
checking /dev/sgj... failed to open (Invalid argument)
checking /dev/sgk... failed to open (Invalid argument)
checking /dev/sgl... failed to open (Invalid argument)
checking /dev/sgm... failed to open (Invalid argument)
checking /dev/sgn... failed to open (Invalid argument)
checking /dev/sgo... failed to open (Invalid argument)
checking /dev/sgp... failed to open (Invalid argument)
checking /dev/sgq... failed to open (Invalid argument)
checking /dev/sgr... failed to open (Invalid argument)
checking /dev/sgs... failed to open (Invalid argument)
checking /dev/sgt... failed to open (Invalid argument)
checking /dev/sgu... failed to open (Invalid argument)
checking /dev/sgv... failed to open (Invalid argument)
checking /dev/sgw... failed to open (Invalid argument)
checking /dev/sgx... failed to open (Invalid argument)
checking /dev/sgy... failed to open (Invalid argument)
checking /dev/sgz... failed to open (Invalid argument)
  # No SCSI scanners found. If you expected something different, make sure that
  # you have loaded a kernel SCSI driver for your SCSI adapter.

searching for USB scanners:
checking /dev/usb/scanner... failed to open (Invalid argument)
checking /dev/usb/scanner0... failed to open (Invalid argument)
checking /dev/usb/scanner1... failed to open (Invalid argument)
checking /dev/usb/scanner2... failed to open (Invalid argument)
checking /dev/usb/scanner3... failed to open (Invalid argument)
checking /dev/usb/scanner4... failed to open (Invalid argument)
checking /dev/usb/scanner5... failed to open (Invalid argument)
checking /dev/usb/scanner5... failed to open (Invalid argument)
checking /dev/usb/scanner7... failed to open (Invalid argument)
checking /dev/usb/scanner8... failed to open (Invalid argument)
checking /dev/usb/scanner9... failed to open (Invalid argument)
checking /dev/usb/scanner10... failed to open (Invalid argument)
checking /dev/usb/scanner11... failed to open (Invalid argument)
checking /dev/usb/scanner12... failed to open (Invalid argument)
checking /dev/usb/scanner13... failed to open (Invalid argument)
checking /dev/usb/scanner14... failed to open (Invalid argument)
checking /dev/usb/scanner15... failed to open (Invalid argument)
checking /dev/usbscanner... failed to open (Invalid argument)
checking /dev/usbscanner0... failed to open (Invalid argument)
checking /dev/usbscanner1... failed to open (Invalid argument)
checking /dev/usbscanner2... failed to open (Invalid argument)
checking /dev/usbscanner3... failed to open (Invalid argument)
checking /dev/usbscanner4... failed to open (Invalid argument)
checking /dev/usbscanner5... failed to open (Invalid argument)
checking /dev/usbscanner6... failed to open (Invalid argument)
checking /dev/usbscanner7... failed to open (Invalid argument)
checking /dev/usbscanner8... failed to open (Invalid argument)
checking /dev/usbscanner9... failed to open (Invalid argument)
checking /dev/usbscanner10... failed to open (Invalid argument)
checking /dev/usbscanner11... failed to open (Invalid argument)
checking /dev/usbscanner12... failed to open (Invalid argument)
checking /dev/usbscanner13... failed to open (Invalid argument)
checking /dev/usbscanner14... failed to open (Invalid argument)
checking /dev/usbscanner15... failed to open (Invalid argument)
libusb not available
  # No USB scanners found. If you expected something different, make sure that
  # you have loaded a kernel driver for your USB host controller and have setup
  # the USB system correctly. See man sane-usb for details.
  # SANE has been built without libusb support. This may be a reason
  # for not detecting USB scanners. Read README for more details.

  # Not checking for parallel port scanners.

  # Most Scanners connected to the parallel port or other proprietary ports
  # can't be detected by this program.
done


> less /boot/grub/menu.lst

#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd1,0)
#          kernel /vmlinuz-version ro root=/dev/hdb2
#          initrd /initrd-version.img
#boot=/dev/hda
default=2
timeout=10
splashimage=(hd1,0)/grub/splash.xpm.gz
title Red Hat Linux (2.6.12-13)
        root (hd1,0)
        kernel /vmlinuz-2.6.12.3test1 ro root=/dev/hdb2
#       kernel /vmlinuz-2.6.12.3test1 ro root=/dev/hdb2 hdd=ide-scsi
title XP
        rootnoverify (hd0,0)
        chainloader +1

--------------------------------------------------------------
>root at mio(1009):/proc/bus/usb> 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).
--------------------------------------------------------------

>less /etc/fstab "shows the correct line none /proc/bus/usb/usbfs   defaults        0 0 "

LABEL=/                 /                       ext3    defaults        1 1
LABEL=/boot             /boot                   ext3    defaults        1 2
LABEL=/data0            /data0                  ext3    defaults        1 2
LABEL=/data1            /data1                  ext3    defaults        1 2
none                    /dev/pts                devpts  gid=5,mode=620  0 0
LABEL=/home             /home                   ext3    defaults        1 2
LABEL=/opt              /opt                    ext3    defaults        1 2
none                    /proc                   proc    defaults        0 0
none                    /dev/shm                tmpfs   defaults        0 0
none                    /proc/bus/usb           usbfs   defaults        0 0
LABEL=/tmp              /tmp                    ext3    defaults        1 2
LABEL=/usr              /usr                    ext3    defaults        1 2
LABEL=/usr/lib          /usr/lib                ext3    defaults        1 2
LABEL=/usr/local        /usr/local              ext3    defaults        1 2
LABEL=/var              /var                    ext3    defaults        1 2
/dev/hda2               /mnt/XP_f               vfat    noauto,users    0 0
/dev/hda3               swap                    swap    defaults        0 0
/dev/cdrom              /mnt/cdrom              iso9660,udf
noauto,owner,kudzu,ro 0 0
/dev/cdrom1             /mnt/cdrom1             iso9660,udf
noauto,owner,kudzu,ro 0 0
/dev/fd0                /mnt/floppy             auto    noauto,owner,kudzu 0 0
/dev/sda1               /mnt/usbdisc            vfat    noauto,users    0 0
/dev/hda1               /mnt/XP_c               ntfs    defaults        0 0
/dev/hdb8               /mnt/XP_g               vfat    noauto,users    0 0
/dev/hdb9               /mnt/XP_h               vfat    noauto,users    0 0


More information about the sane-devel mailing list