hid device not claimed but /dev/input/event exists
kernel 2.6.25-rc2
usb 1-2.2: new full speed USB device using ehci_hcd and address 6 usb 1-2.2: configuration #1 chosen from 1 choice
HID device claimed by neither input, hiddev nor hidraw
input: Logitech Z-10 USB Speaker as /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2.2/1-2.2:1.3/input/input4
input: USB HID v1.10 Device [Logitech Z-10 USB Speaker] on usb-0000:00:02.1-2.2
Nobody claims the device and yet an evdev device shows up in /dev/input? That device reports ~8 EV_KEY event codes, which is about right, but pressing these buttons doesn't generate any events. The audio part of the device works ok with the alsa-usb-audio driver.
Though sometimes it locks up, when I try to change the volume of the
speaker through the gnome-volume dialog. When that happens, lsusb
becomes _very_ slow and eventually times out (cannot read device status,
Connection timed out (110)), I also see some of these messages in dmesg:
usb 1-2.2: usbfs: USBDEVFS_CONTROL failed cmd lsusb rqt 128 rq 6 len 255
ret -110 (with different 'len' values). To reset the device I have to
plug it out and in again.
I enabled HID_DEBUG, but no debug messages show up in my dmesg output, which is strange. Attached is lsusb of the device.
tom
Bus 001 Device 006: ID 046d:0a07 Logitech, Inc.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 8 idVendor 0x046d Logitech, Inc. idProduct 0x0a07 bcdDevice 0.1e iManufacturer 1 Logitech iProduct 2 Z-10 USB Speaker iSerial 0 bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 219
bNumInterfaces 4
bConfigurationValue 1
iConfiguration 3 G6 2006/06/21 10:55
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 1 Audio
bInterfaceSubClass 1 Control Device
bInterfaceProtocol 0
iInterface 0
AudioControl Interface Descriptor:
bLength 9
bDescriptorType 36
bDescriptorSubtype 1 (HEADER)
bcdADC 1.00
wTotalLength 43
bInCollection 1
baInterfaceNr( 0) 1
AudioControl Interface Descriptor:
bLength 12
bDescriptorType 36
bDescriptorSubtype 2 (INPUT_TERMINAL)
bTerminalID 12
wTerminalType 0x0101 USB Streaming
bAssocTerminal 0
bNrChannels 2
wChannelConfig 0x0003
Left Front (L)
Right Front (R)
iChannelNames 0
iTerminal 0
AudioControl Interface Descriptor:
bLength 13
bDescriptorType 36
bDescriptorSubtype 6 (FEATURE_UNIT)
bUnitID 1
bSourceID 12
bControlSize 2
bmaControls( 0) 0x41
bmaControls( 0) 0x01
Mute
Automatic Gain
Bass Boost
bmaControls( 1) 0x02
bmaControls( 1) 0x00
Volume
bmaControls( 2) 0x02
bmaControls( 2) 0x00
Volume
iFeature 0
AudioControl Interface Descriptor:
bLength 9
bDescriptorType 36
bDescriptorSubtype 3 (OUTPUT_TERMINAL)
bTerminalID 20
wTerminalType 0x0301 Speaker
bAssocTerminal 0
bSourceID 1
iTerminal 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 1 Audio
bInterfaceSubClass 2 Streaming
bInterfaceProtocol 0
iInterface 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 1
bNumEndpoints 1
bInterfaceClass 1 Audio
bInterfaceSubClass 2 Streaming
bInterfaceProtocol 0
iInterface 0
AudioStreaming Interface Descriptor:
bLength 7
bDescriptorType 36
bDescriptorSubtype 1 (AS_GENERAL)
bTerminalLink 12
bDelay 0 frames
wFormatTag 1 PCM
AudioStreaming Interface Descriptor:
bLength 14
bDescriptorType 36
bDescriptorSubtype 2 (FORMAT_TYPE)
bFormatType 1 (FORMAT_TYPE_I)
bNrChannels 1
bSubframeSize 2
bBitResolution 16
bSamFreqType 0 Continuous
tLowerSamFreq 6400
tUpperSamFreq 48000
Endpoint Descriptor:
bLength 9
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 9
Transfer Type Isochronous
Synch Type Adaptive
Usage Type Data
wMaxPacketSize 0x0064 1x 100 bytes
bInterval 1
bRefresh 0
bSynchAddress 0
AudioControl Endpoint Descriptor:
bLength 7
bDescriptorType 37
bDescriptorSubtype 1 (EP_GENERAL)
bmAttributes 0x01
Sampling Frequency
bLockDelayUnits 2 Decoded PCM samples
wLockDelay 1 Decoded PCM samples
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 2
bNumEndpoints 1
bInterfaceClass 1 Audio
bInterfaceSubClass 2 Streaming
bInterfaceProtocol 0
iInterface 0
AudioStreaming Interface Descriptor:
bLength 7
bDescriptorType 36
bDescriptorSubtype 1 (AS_GENERAL)
bTerminalLink 12
bDelay 0 frames
wFormatTag 1 PCM
AudioStreaming Interface Descriptor:
bLength 14
bDescriptorType 36
bDescriptorSubtype 2 (FORMAT_TYPE)
bFormatType 1 (FORMAT_TYPE_I)
bNrChannels 2
bSubframeSize 2
bBitResolution 16
bSamFreqType 0 Continuous
tLowerSamFreq 6400
tUpperSamFreq 48000
Endpoint Descriptor:
bLength 9
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 9
Transfer Type Isochronous
Synch Type Adaptive
Usage Type Data
wMaxPacketSize 0x00c8 1x 200 bytes
bInterval 1
bRefresh 0
bSynchAddress 0
AudioControl Endpoint Descriptor:
bLength 7
bDescriptorType 37
bDescriptorSubtype 1 (EP_GENERAL)
bmAttributes 0x01
Sampling Frequency
bLockDelayUnits 2 Decoded PCM samples
wLockDelay 1 Decoded PCM samples
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 0 No Subclass
bInterfaceProtocol 0 None
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.10
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 46
Report Descriptor: (length is 46)
Item(Global): Usage Page, data= [ 0x00 0xff ] 65280
(null)
Item(Local ): Usage, data= [ 0x00 ] 0
(null)
Item(Main ): Collection, data= [ 0x01 ] 1
Application
Item(Global): Logical Minimum, data= [ 0x00 ] 0 Item(Global): Logical Maximum, data= [ 0xff 0x00 ] 255 Item(Global): Report Size, data= [ 0x08 ] 8
Item(Global): Report Count, data= [ 0x08 ] 8 Item(Global): Usage Page, data= [ 0x00 0xff ] 65280
(null)
Item(Local ): Usage, data= [ 0x02 ] 2
(null)
Item(Global): Report ID, data= [ 0x02 ] 2
Item(Global): Usage Page, data= [ 0x00 0xff ] 65280
(null)
Item(Local ): Usage, data= [ 0x03 ] 3
(null)
Item(Main ): Input, data= [ 0x02 ] 2
Data Variable Absolute No_Wrap Linear Preferred_State No_Null_Position Non_Volatile Bitfield
Item(Local ): Usage, data= [ 0x04 ] 4
(null)
Item(Global): Report Count, data= [ 0x03 ] 3
Item(Main ): Feature, data= [ 0x02 ] 2
Data Variable Absolute No_Wrap Linear Preferred_State No_Null_Position Non_Volatile Bitfield
Item(Local ): Usage, data= [ 0x06 ] 6
(null)
Item(Global): Report ID, data= [ 0x03 ] 3
Item(Global): Report Count, data= [ 0xdf 0x03 ] 991 Item(Main ): Output, data= [ 0x02 ] 2
Data Variable Absolute No_Wrap Linear Preferred_State No_Null_Position Non_Volatile Bitfield
Item(Main ): End Collection, data=none
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0009 1x 9 bytes
bInterval 10
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 3
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 0 No Subclass
bInterfaceProtocol 0 None
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.10
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 41
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x85 EP 5 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 10
Device Status: 0x0000
(Bus Powered)
Quoted 8 lines · Tomas Carnecky
usb 1-2.2: new full speed USB device using
ehci_hcdand address 6 usb 1-2.2: configuration #1 chosen from 1 choice
HID device claimed by neither input, hiddev nor hidraw
input: Logitech Z-10 USB Speaker as /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2.2/1-2.2:1.3/input/input4
input: USB HID v1.10 Device [Logitech Z-10 USB Speaker] on usb-0000:00:02.1-2.2
Nobody claims the device and yet an evdev device shows up in/dev/input? That
Yes, that looks indeed bogus.
Quoted 2 lines
I enabled
HID_DEBUG, but no debug messages show up in my dmesg output, which is strange.
You have to modprobe the 'hid' module with 'debug=1' parameter. Please send me the resulting output.
Signature · 2 lines
Jiri Kosina SUSE Labs
Quoted 11 lines · Jiri Kosina
Quoted 8 lines · Tomas Carnecky
usb 1-2.2: new full speed USB device using
ehci_hcdand address 6 usb 1-2.2: configuration #1 chosen from 1 choice
HID device claimed by neither input, hiddev nor hidraw
input: Logitech Z-10 USB Speaker as /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2.2/1-2.2:1.3/input/input4
input: USB HID v1.10 Device [Logitech Z-10 USB Speaker] on usb-0000:00:02.1-2.2
Nobody claims the device and yet an evdev device shows up in/dev/input? That
Quoted 6 lines
Yes, that looks indeed bogus.
Quoted 1 line
I enabled
HID_DEBUG, but no debug messages show up in my dmesg output, which is strange.You have to modprobe the 'hid' module with 'debug=1' parameter. Please send me the resulting output.
Attached is the dump from dmesg.
The device apparently has four 'interfaces' - whatever that is, see [1]. It seems like usbhid probes interface 2 (which is the LCD plus a few buttons, probably the four just under the LCD, as described [1]). Because usbhid doesn't know how to handle the buttons, it fails. But then it probes interface 3 which is a 'proper' HID device with well-defined buttons.
But still nothing shows up if I press the buttons. But something is
strange, neither does when I press buttons on my sidewinder pad. Unless
I 'cat /dev/input/event5' and then press the buttons, then they shows up
in dmesg. But that trick doesn't work with the Z-10 speakers. Maybe the alsa driver is interfering somehow?
[1]
http://forums.logitech.com/logitech/board/message?board.id=stereo_20&message.id=633#M633
usb 1-2.2: new full speed USB device using ehci_hcd and address 8
usb 1-2.2: configuration #1 chosen from 1 choicedrivers/hid/usbhid/hid-core.c: HID probe called for ifnum 2drivers/hid/usbhid/hid-core.c: report descriptor (size 46, read 46) = 06 00 ff 09 00 a1 01 15 00 26 ff 00 75 08 95 08 06 00 ff 09 02 85 02 06 00 ff 09 03 81 02 09 04 95 03 b1 02 09 06 85 03 96 df 03 91 02 c0 drivers/hid/usbhid/hid-core.c: submitting ctrl urb: Get_Report wValue=0x0102 wIndex=0x0002 wLength=9drivers/hid/usbhid/hid-core.c: submitting ctrl urb: Get_Report wValue=0x0302 wIndex=0x0002 wLength=4
INPUT(2)[INPUT]
Field(0)
Usage(8)
ff00.0002
ff00.0003
ff00.0003
ff00.0003
ff00.0003
ff00.0003
ff00.0003
ff00.0003
Logical Minimum(0)
Logical Maximum(255)
Report Size(8)
Report Count(8)
Report Offset(0)
Flags( Variable Absolute )
OUTPUT(3)[OUTPUT]
Field(0)
Usage(991)
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
ff00.0006
Logical Minimum(0)
Logical Maximum(255)
Report Size(8)
Report Count(991)
Report Offset(0)
Flags( Variable Absolute )
FEATURE(2)[FEATURE]
Field(0)
Usage(3)
ff00.0004
ff00.0004
ff00.0004
Logical Minimum(0)
Logical Maximum(255)
Report Size(8)
Report Count(3)
Report Offset(0)
Flags( Variable Absolute )HID device claimed by neither input, hiddev nor hidrawdrivers/hid/usbhid/hid-core.c: HID probe called for ifnum 3drivers/hid/usbhid/hid-core.c: report descriptor (size 41, read 41) = 05 0c 09 01 a1 01 09 e9 09 ea 09 e2 09 b3 09 b4 09 b5 09 b6 09 b7 09 cd 15 00 25 01 95 09 75 01 81 02 95 01 75 07 81 01 c0 drivers/hid/usbhid/hid-core.c: submitting ctrl urb: Get_Report wValue=0x0100 wIndex=0x0003 wLength=2
INPUT[INPUT]
Field(0)
Usage(9)
Consumer.00e9
Consumer.00ea
Consumer.00e2
Consumer.00b3
Consumer.00b4
Consumer.00b5
Consumer.00b6
Consumer.00b7
Consumer.00cd
Logical Minimum(0)
Logical Maximum(1)
Report Size(1)
Report Count(9)
Report Offset(0)
Flags( Variable Absolute )drivers/hid/hid-input.c: Mapping: Consumer.00e9 ---> Key.VolumeUp drivers/hid/hid-input.c: Mapping: Consumer.00ea ---> Key.VolumeDown drivers/hid/hid-input.c: Mapping: Consumer.00e2 ---> Key.Mutedrivers/hid/hid-input.c: Mapping: Consumer.00b3 ---> Key.FastForward drivers/hid/hid-input.c: Mapping: Consumer.00b4 ---> Key.Rewinddrivers/hid/hid-input.c: Mapping: Consumer.00b5 ---> Key.NextSong drivers/hid/hid-input.c: Mapping: Consumer.00b6 ---> Key.PreviousSong drivers/hid/hid-input.c: Mapping: Consumer.00b7 ---> Key.StopCDdrivers/hid/hid-input.c: Mapping: Consumer.00cd ---> Key.PlayPause
input: Logitech Z-10 USB Speaker as /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2.2/1-2.2:1.3/input/input6
input: USB HID v1.10 Device [Logitech Z-10 USB Speaker] on usb-0000:00:02.1-2.2 drivers/hid/hid-core.c: report (size 8) (unnumbered)drivers/hid/hid-core.c: report 0 (size 8) = 00 00 28 00 00 00 00 00
Quoted 6 lines · Tomas Carnecky
The device apparently has four 'interfaces' - whatever that is, see [1]. It seems like usbhid probes interface 2 (which is the LCD plus a few buttons, probably the four just under the LCD, as described [1]). Because usbhid doesn't know how to handle the buttons, it fails. But then it probes interface 3 which is a 'proper' HID device with well-defined buttons.
Yes, the dump clearly shows that.
Does anything appear in dmesg when you press those buttons? There should be messages resembling the one you already have there:
drivers/hid/hid-core.c: report (size 8) (unnumbered) drivers/hid/hid-core.c: report 0 (size 8) = 00 00 28 00 00 00 00 00
and they should react to keys such as FastForward, Play, Mute, Volume Up, etc.
Signature · 2 lines
Jiri Kosina SUSE Labs
Quoted 4 lines · Jiri Kosina
Quoted 1 line · Tomas Carnecky
The device apparently has four 'interfaces' - whatever that is, see [1]. It seems like usbhid probes interface 2 (which is the LCD plus a few buttons, probably the four just under the LCD, as described [1]). Because usbhid doesn't know how to handle the buttons, it fails. But then it probes interface 3 which is a 'proper' HID device with well-defined buttons.
Quoted 8 lines
Yes, the dump clearly shows that.
Does anything appear in dmesg when you press those buttons? There should be messages resembling the one you already have there:
drivers/hid/hid-core.c: report (size 8) (unnumbered)drivers/hid/hid-core.c: report 0 (size 8) = 00 00 28 00 00 00 00 00and they should react to keys such as FastForward, Play, Mute, Volume Up, etc.
Nothing. Not even after I removed the alsa-usb-audio driver. All I see is Keyboard.*, but the events from the speaker should be Key.*, right?
It looks like the speaker goes into a different mode once the USB cable is plugged in. Without the USB cable, the Z-10 acts as simple/dumb speaker, the volume up/down buttons change the internal volume, and I see that on the display, too. The play/next/prev song buttons don't do anything, which is quite obvious.
But once the USB cable is plugged in, the volume up/down buttons stop reacting. I assume they are now meant to send events to the computer so that some software can decide what to do. But features that are not useful for the computer (bass/treble), can still be controlled using the buttons on the speaker. The buttons are not dead. I can see that because the display goes to sleep after a few seconds of inactivity, and when I press the volume buttons, it wakes up and displays the current volume. So the speaker is definitely seeing that the buttons are being pressed.
Is there a USB packet inspector/dumper, like libpcap for network?
tom
Quoted 6 lines · Jiri Kosina
Does anything appear in dmesg when you press those buttons? There should be messages resembling the one you already have there:
drivers/hid/hid-core.c: report (size 8) (unnumbered)drivers/hid/hid-core.c: report 0 (size 8) = 00 00 28 00 00 00 00 00and they should react to keys such as FastForward, Play, Mute, Volume Up, etc.
This bug is in a completely different place then I thought! The speakers were plugged into the hub built into my monitor. I plugged it directly into the mainboard and voila, it works. Even g15daemon, the lcd driver, can now display a nice clock on the lcd.
Could it be that the hub is defective?
tom
Quoted 5 lines · Tomas Carnecky
This bug is in a completely different place then I thought! The speakers were plugged into the hub built into my monitor. I plugged it directly into the mainboard and voila, it works. Even g15daemon, the lcd driver, can now display a nice clock on the lcd. Could it be that the hub is defective?
Definitely could be.
Please collect usbmon logs (this is what you asked for previously -- the USB traffic analyzer -- see Documentation/usb/usbmon.txt) and send them to the usb-devel mailinglist. This is no longer related to HID code at all.
Thanks for tracking this down,
Signature · 2 lines
Jiri Kosina SUSE Labs