* duplicate usb device ids
@ 2009-02-10 23:24 Michael Friedl
2009-02-11 3:16 ` Greg KH
0 siblings, 1 reply; 4+ messages in thread
From: Michael Friedl @ 2009-02-10 23:24 UTC (permalink / raw)
To: linux-kernel
I got a new CCD 800B barcode scanner, but it has the same device id like
an other product from Tenx, which is on the ignore list for hid devices.
Found nothing about the old product so I report it here.
If the old one get removed from the ignore list the bardcode scanner
works perfect!
Im not sure how to handle duplicate ids..
Current state (2.6.29-rc4):
drivers/hid/hid-core.c:
line 1481: static const struct hid_device_id hid_ignore_list[] = {
line 1613: { HID_USB_DEVICE(USB_VENDOR_ID_TENX,
USB_DEVICE_ID_TENX_IBUDDY1) },
line 1614: { HID_USB_DEVICE(USB_VENDOR_ID_TENX,
USB_DEVICE_ID_TENX_IBUDDY2) },
drivers/hid/hid-ids.h:
#define USB_VENDOR_ID_TENX 0x1130
#define USB_DEVICE_ID_TENX_IBUDDY1 0x0001
#define USB_DEVICE_ID_TENX_IBUDDY2 0x0002
My CCD 800B barcode scanner (Vendor 0x1130, Device 0x0001 )
lsusb -v -s 005:002:
Bus 005 Device 002: ID 1130:0001 Tenx Technology, Inc.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x1130 Tenx Technology, Inc.
idProduct 0x0001
bcdDevice 1.00
iManufacturer 0
iProduct 2 USB-TMU-V3
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 34
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 1 Boot Interface Subclass
bInterfaceProtocol 1 Keyboard
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.10
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 78
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 10
Device Status: 0x0002
(Bus Powered)
Remote Wakeup Enabled
thanks!
Michael Friedl
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: duplicate usb device ids
2009-02-10 23:24 duplicate usb device ids Michael Friedl
@ 2009-02-11 3:16 ` Greg KH
0 siblings, 0 replies; 4+ messages in thread
From: Greg KH @ 2009-02-11 3:16 UTC (permalink / raw)
To: Michael Friedl; +Cc: linux-kernel
On Wed, Feb 11, 2009 at 12:24:22AM +0100, Michael Friedl wrote:
> I got a new CCD 800B barcode scanner, but it has the same device id like an
> other product from Tenx, which is on the ignore list for hid devices.
>
> Found nothing about the old product so I report it here.
> If the old one get removed from the ignore list the bardcode scanner works
> perfect!
>
> Im not sure how to handle duplicate ids..
Let the HID maintainer know, he should probably just remove these ignore
values now that the manufacturer has fixed the device.
thanks,
greg k-h
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: duplicate usb device ids
2009-02-11 20:25 Michael Friedl
@ 2009-02-11 23:11 ` Jiri Kosina
0 siblings, 0 replies; 4+ messages in thread
From: Jiri Kosina @ 2009-02-11 23:11 UTC (permalink / raw)
To: Michael Friedl, Remi Cattiau; +Cc: linux-usb, linux-input
On Wed, 11 Feb 2009, Michael Friedl wrote:
> I got a new CCD 800B barcode scanner, but it has the same device id like
> an other product from Tenx, which is on the ignore list for hid devices.
>
> Found nothing about the old product so I report it here.
> If the old one get removed from the ignore list the bardcode scanner
> works perfect!
The device IDs were added by Remi, added to CC.
Remi, are these really different devices with the same VID/PID? You were
stating that the devices are not HID-compilant, which contradicts what
Michael is saying ...
Thanks,
--
Jiri Kosina
SUSE Labs
^ permalink raw reply [flat|nested] 4+ messages in thread
* duplicate usb device ids
@ 2009-02-11 20:25 Michael Friedl
2009-02-11 23:11 ` Jiri Kosina
0 siblings, 1 reply; 4+ messages in thread
From: Michael Friedl @ 2009-02-11 20:25 UTC (permalink / raw)
To: jkosina-AlSwsSmVLrQ, linux-usb-u79uwXL29TY76Z2rM5mHXA,
linux-input-u79uwXL29TY76Z2rM5mHXA
I got a new CCD 800B barcode scanner, but it has the same device id like
an other product from Tenx, which is on the ignore list for hid devices.
Found nothing about the old product so I report it here.
If the old one get removed from the ignore list the bardcode scanner
works perfect!
Im not sure how to handle duplicate ids..
Current state (2.6.29-rc4):
drivers/hid/hid-core.c:
line 1481: static const struct hid_device_id hid_ignore_list[] = {
line 1613: { HID_USB_DEVICE(USB_VENDOR_ID_TENX,
USB_DEVICE_ID_TENX_IBUDDY1) },
line 1614: { HID_USB_DEVICE(USB_VENDOR_ID_TENX,
USB_DEVICE_ID_TENX_IBUDDY2) },
drivers/hid/hid-ids.h:
#define USB_VENDOR_ID_TENX 0x1130
#define USB_DEVICE_ID_TENX_IBUDDY1 0x0001
#define USB_DEVICE_ID_TENX_IBUDDY2 0x0002
My CCD 800B barcode scanner (Vendor 0x1130, Device 0x0001 )
lsusb -v -s 005:002:
Bus 005 Device 002: ID 1130:0001 Tenx Technology, Inc.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x1130 Tenx Technology, Inc.
idProduct 0x0001
bcdDevice 1.00
iManufacturer 0
iProduct 2 USB-TMU-V3
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 34
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 1 Boot Interface Subclass
bInterfaceProtocol 1 Keyboard
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.10
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 78
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 10
Device Status: 0x0002
(Bus Powered)
Remote Wakeup Enabled
Sorry Im not sure if HID belongs to usb or input section.
thanks!
Michael Friedl
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-02-11 23:11 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-10 23:24 duplicate usb device ids Michael Friedl
2009-02-11 3:16 ` Greg KH
2009-02-11 20:25 Michael Friedl
2009-02-11 23:11 ` Jiri Kosina
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.