plustek: HP2300C not a LM9831 or LM9832 chip based scanner.
Subject:
HP2300C not a LM9831 or LM9832 chip based scanner.
From:
Herbert Straub ####@####.####
Date:
30 Oct 2002 23:26:11 -0000
Message-Id: <3DC068E0.6000209@aon.at>
Hallo,
i connect a HP2300C USB Scanner and modify the modify the plustek-dev.c
file (copy the 2200 entries and modify the product/vendor id). Not
loading the scanner kernel modul;
$> sane-find-scanner -v -v
[...]
<device descriptor of 0x03f0/0x0901 at 001:004 (Hewlett-Packard hp
scanjet scanner)>
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x03F0
idProduct 0x0901
bcdDevice 1.00
iManufacturer 1 (Hewlett-Packard)
iProduct 2 (hp scanjet scanner)
iSerialNumber 12 (CN262S30H5)
bNumConfigurations 1
<configuration 0>
bLength 9
bDescriptorType 2
wTotalLength 39
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0 ()
bmAttributes 192 (Self-powered)
MaxPower 48 mA
<interface 0>
<altsetting 0>
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 16
bInterfaceSubClass 1
bInterfaceProtocol 0
iInterface 0 ()
<endpoint 0>
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 (in 0x01)
bmAttributes 2 (bulk)
wMaxPacketSize 64
bInterval 0 ms
bRefresh 0
bSynchAddress 0
<endpoint 1>
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 (out 0x02)
bmAttributes 2 (bulk)
wMaxPacketSize 64
bInterval 0 ms
bRefresh 0
bSynchAddress 0
<endpoint 2>
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 (in 0x03)
bmAttributes 3 (interrupt)
wMaxPacketSize 1
bInterval 8 ms
bRefresh 0
bSynchAddress 0
found USB scanner (vendor=0x03f0 [Hewlett-Packard], product=0x0901 [hp
scanjet scanner]) at libusb:001:004
[...]
$> scanimage -L -v
[...]
[plustek] attach (libusb:001:004, 0xbfffd698, (nil))
[plustek] Device configuration:
[plustek] device name : >libusb:001:004<
[plustek] porttype : 1
[plustek] USB-ID : >0x03F0-0x0901<
[plustek] warmup : 30s
[plustek] lampOff : 0
[plustek] lampOffOnEnd : 0
[plustek] skipCalibr. : 0
[plustek] invertNegs. : 0
[plustek] pos_x : 0
[plustek] pos_y : 0
[plustek] pos_shading_y: -1
[plustek] neg_x : 0
[plustek] neg_y : 0
[plustek] neg_shading_y: -1
[plustek] tpa_x : 0
[plustek] tpa_y : 0
[plustek] tpa_shading_y: -1
[plustek] red gain : -1
[plustek] green gain : -1
[plustek] blue gain : -1
[plustek] red Gamma : 1.00
[plustek] green Gamma : 1.00
[plustek] blue Gamma : 1.00
[plustek] gray Gamma : 1.00
[plustek] ---------------------
[plustek] drvopen()
[plustek] usbDev_open(libusb:001:004,0x03F0-0x0901)
[plustek] Vendor ID=0x03F0, Product ID=0x0901
[plustek] usbio_DetectLM983x
[plustek] UIO error
[plustek] This is not a LM9831 or LM9832 chip based scanner.
[plustek] open failed: -1
[plustek] sane_get_devices (0xbffff7a4, 0)
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).
[plustek] sane_exit
Any hints, suggestions or further tests?
Regards
Herbert