• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

Kein Vollständiges Scannen mit Scanjet 6300

Hi,

Ich habe ein Problem mit dem Scanjet 6300C von HP(USB), und leider überhaupt keine Ahnung von Scannern, und Linux.

Das installieren von Sane war kein Problem. Beim Scannen, per Konsole, oder xsane kam er immer nur zu dem Punkt, dass er die "gray-Datei" empfangen wollte, der scanner ruckelt n bissle, und das wars.

Zuerst dachte ich, dass es evtl daran liegen könnte, dass der Scanner zusätzlich einen Papier-einzug beitet, weshalb ich mich der Einstellung noch einmal vergewissert habe. Doch dies half auch nichts.

Nach einigem Rumprobieren bekam ich dann immer I/O-Fehler, obwohl der Scanner korrekt in der sane-conf angezeigt wird.
Also habe ich überprüft, ob der Scanner in der cat /proc/bus/usb/devices vorhanden war, ja war er :).

Nach einigem rumstöbern habe ich dann folgenden Artikel gefunden, der auf ein Posting verweist: http://www.nickles.de/c/a/forum2-537421895.htm
My scanner works with USBbild on Windows. But not with Linux.
You need at least Linux kernelbild V 2.2.19. If you want to upgrade
manually, see
below for hints.
If you have a kernelbild 2.2.19 or later, first be sure that the scanner is
found by
the system. You can run the X11-program usbview to see if it is found.
Or 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

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

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

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.


If you need to upgrade to kernel 2.2.19 manually, you also need the USB
scanner
module scanner.o. As root, load it and make a device /dev/usbscanner by


mknod usbscanner c 180 48

Then you can continue with the description above. (Thank's to Wolfgang
Rapp for
hints about USB).

Ich habe die Anleitung mit leichten Änderungen befolgt. Doch gab es bei mir in den devices keinen "scanner", so musste ich den USB manuell auswählen, was mir zuerst auch einfach erschien (War Anfangs dev/usbdev1.3). Doch nachdem immer noch das selbe Problem auftrat und ich den Stecker zog, und wieder reinsteckte, änderte SUSE usbdev von 1.3 auf 1.4, dann auf 1.5.

Habe ich da irgendwas übersehen?Sollte SUSE ein scanner-device standartmäßig erstellen?oder wie, oder wo, oder was? ;-)

Danke im Vorraus,
 
Oben