Public bug reported:
Binary package hint: scanbuttond
########## PATCH
--- scanbuttond-0.2.3.orig/backends/niash.c
+++ scanbuttond-0.2.3/backends/niash.c
@@ -29,14 +29,15 @@
static char* backend_name = "Niash USB";
-#define NUM_SUPPORTED_USB_DEVICES 4
+#define NUM_SUPPORTED_USB_DEVICES 5
static int supported_usb_devices[NUM_SUPPORTED_USB_DEVICES][3] = {
// vendor, product, num_buttons
{ 0x06bd, 0x0100, 4 }, // Agfa Snapscan Touch
{ 0x03f0, 0x0205, 2 }, // HP Scanjet 3300c
{ 0x03f0, 0x0405, 3 }, // HP Scanjet 3400c
- { 0x03f0, 0x0305, 3 } // HP Scanjet 4300c
+ { 0x03f0, 0x0305, 3 }, // HP Scanjet 4300c
+ { 0x047b, 0x1002, 3 }, // HP Scanjet 4300c
};
// TODO: check if this backend really works on the Epson 2580 too...
@@ -44,6 +45,7 @@
{ "Agfa", "Snapscan Touch" },
{ "Hewlett-Packard", "Scanjet 3300c" },
{ "Hewlett-Packard", "Scanjet 3400c" },
+ { "Hewlett-Packard", "Scanjet 4300c" },
{ "Hewlett-Packard", "Scanjet 4300c" }
};
########## PATCH
########## DEBUG INFO
# lsusb -v -d 047b:1002
Bus 002 Device 004: ID 047b:1002 Silitek Corp. HP ScanJet 4300c Parallel Port
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x047b Silitek Corp.
idProduct 0x1002 HP ScanJet 4300c Parallel Port
bcdDevice 0.00
iManufacturer 0
iProduct 0
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 39
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x40
(Missing must-be-set bit!)
Self Powered
MaxPower 48mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 16
bInterfaceSubClass 1
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 8
Device Status: 0x0001
Self Powered
########## DEBUG INFO
** Affects: scanbuttond (Ubuntu)
Importance: Undecided
Status: Unconfirmed
** Tags added: patch
--
ScanJet 4300C not recognized
https://launchpad.net/bugs/82309
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs