[RH 7.2] HP 4100c scanner

Pagina: 1
Acties:

  • a casema user
  • Registratie: Januari 2000
  • Laatst online: 16:52
Ik probeer mijn scanner (HP 4100c te installeren onder RedHat 7.2) en volgends de site van SANE wordt mijn scanner ondersteund.
Maar bij het opstarten van het programma krijg ik de melding dat er geen scanner gevonden is.

Op een site heb ik daarover wat uitleg gevonden.
* My scanner works with USB on Windows. But not with Linux.
First be sure that the scanner is found by the system. Do the following steps as user root.
To get a listing of the devices found on the USB do

cat /proc/bus/usb/devices

This gives you listings similar to the following:

T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=03f0 ProdID=0601 Rev= 1.00
S: Product=HP ScanJet 6300C
S: SerialNumber=SG98P161P3PE
C:* #Ifs= 1 Cfg#= 1 Atr=60 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 3 Cls=00(>ifc ) Sub=00 Prot=00 Driver=usbscanner
E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl= 0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 16 Ivl= 0ms
E: Ad=83(I) Atr=03(Int.) MxPS= 1 Ivl=250ms
zoiets heb ik ook :) , tot dusver goed
The entry "Product=" should show your type of scanner. If you don't find an entry for your scanner, it is not recognized. Check if your kernel supports USB and if you have installed the necessary packages.
Now when your scanner is recognized, do a

cat /proc/bus/usb/drivers

This should give you something like

usbdevfs
hub
hid
48- 63: usbscanner
jaaaaa, ook nog goed.
This indicates that the usbscanner driver is available. Now have a look at the permissions of the device /dev/usbscanner by

ls -l /dev/usbscanner

If it shows

crw-r--r-- 1 root root 180, 48 Jan 19 2001 /dev/usbscanner
nee :(
dat bestaat dus helaas niet bij mij :(
it is not ok. Only root can read and write to the scanner. To allow everyone to use it, do

chmod 666 /dev/usbscanner

Now look where the configuration file hp.conf of SANE is located. It should be at /etc/sane.d/hp.conf or /usr/local/etc/sane.d/hp.conf. To that file you need to add the two lines

/dev/usbscanner
option connect-device

The file then should look like

scsi HP
/dev/scanner
/dev/usbscanner
option connect-device

You might need to use /dev/usb/scanner0 instead of /dev/usbscanner.
Now you should be able to use the scanner with SANE.
bij het opstarten kreeg ik ook wat output van usb in mijn /var/log/messages file (een selectie daarvan)
Feb 8 20:03:57 Sander kernel: usb-uhci.c: USB UHCI at I/O 0xe000, IRQ 10
Feb 8 20:03:57 Sander kernel: usb-uhci.c: Detected 2 ports
Feb 8 20:03:57 Sander kernel: usb.c: new USB bus registered, assigned bus number 1
Feb 8 20:03:57 Sander kernel: hub.c: USB hub found
Feb 8 20:03:57 Sander kernel: hub.c: 2 ports detected
Feb 8 20:03:57 Sander kernel: usb-uhci.c: v1.251:USB Universal Host Controller Interface driver
Feb 8 20:03:57 Sander kernel: hub.c: USB new device connect on bus1/1, assigned device number 2
Feb 8 20:03:57 Sander kernel: usb.c: USB device 2 (vend/prod 0x3f0/0x101) is not claimed by any active driver.
Feb 8 20:03:57 Sander kernel: hub.c: USB new device connect on bus1/2, assigned device number 3
Feb 8 20:03:57 Sander kernel: usb.c: USB device 3 (vend/prod 0x471/0x308) is not claimed by any active driver.
Feb 8 20:03:57 Sander kernel: usb_control/bulk_msg: timeout
Feb 8 20:03:57 Sander last message repeated 5 times
feb 8 20:03:57 Sander random: Initializing random number generator: succeeded
Feb 8 20:03:57 Sander kernel: usb_control/bulk_msg: timeout
Feb 8 20:03:57 Sander last message repeated 2 times
Feb 8 20:03:57 Sander kernel: usb.c: registered new driver usbscanner
Feb 8 20:03:57 Sander kernel: scanner.c: USB Scanner support registered.
Feb 8 20:03:57 Sander kernel: usb_control/bulk_msg: timeout
Feb 8 20:03:57 Sander last message repeated 105 times
Feb 8 20:03:57 Sander kernel: usb-uhci.c: ENXIO 80000380, flags 0, urb c153fac0, burb c153f9c0
Feb 8 20:03:57 Sander kernel: usb.c: error getting string descriptor 0 (error=-6)
Feb 8 20:03:57 Sander kernel: usb_control/bulk_msg: timeout
Feb 8 20:03:57 Sander last message repeated 59 times
Feb 8 20:03:57 Sander kernel: EXT3 FS 2.4-0.9.8, 25 Aug 2001 on ide0(3,5), internal journal
Feb 8 20:03:57 Sander kernel: usb_control/bulk_msg: timeout
Feb 8 20:03:57 Sander last message repeated 9 times
wat heb ik nu allemaal weer fout gedaan ??

Taaaa taa taa taaaa taa taa ta taaataaaaa.


  • Treenaks
  • Registratie: April 2001
  • Laatst online: 16:46
Niets :) Je mist gewoon het device voor je scanner.

Doe eens:

mknod /dev/usbscanner c 180 48

Dan maakt'ie /dev/usbscanner aan voor je.

  • a casema user
  • Registratie: Januari 2000
  • Laatst online: 16:52
dank je.
Het werkt nu idd, jammer dat ik niet eerder ergens anders kon lezen hoe dit verholpen kon worden.

Nu aan de slag met de webcam, wordt vast een stuk moeilijker.

Taaaa taa taa taaaa taa taa ta taaataaaaa.