kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #24682
[Bug 1007575] Re: SB Arena USB headset causes X BUG, can't click outside window
** Changed in: linux (Ubuntu)
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1007575
Title:
SB Arena USB headset causes X BUG, can't click outside window
Status in “linux” package in Ubuntu:
Fix Released
Status in “linux” source package in Precise:
Fix Released
Status in “linux” source package in Quantal:
Fix Released
Bug description:
SRU Justification:
Impact:
* Plugging in a SB Arena USB headset or a number of other usb
headsets causes the current window to hold focus, and prevent other
windows from being selected essentially making the desktop unusable.
* Without this patch users are forced to not use these devices.
Fix:
* cherry picked from upstream commit 929578ab0339fe42bb3ceeaa2e6607189cddf70b
* Fixes the button mappings for the volume control which shows up as a hid
device which is attached to the headset.
Testcase:
* Create 2 windows
* With focus set on one of them plug in the headset
* Attempt to change focus using the mouse to the other window.
* User will not be able to select focus on the other window.
When I plug my SB Arena USB headset in, I can't click the mouse in any
window besides the one with focus. The current window works ok, but
any other doesn't register the click. Also, I get a BUG in the X logs.
This on Precise, xserver-xorg-input-evdev version 1:2.7.0-0ubuntu1
/var/log/Xorg.0.log:
on device insert:
[252903.181] (II) config/udev: Adding input device Creative Technology SB Arena Headset (/dev/input/event9)
[252903.181] (**) Creative Technology SB Arena Headset: Applying InputClass "evdev keyboard catchall"
[252903.181] (II) Using input driver 'evdev' for 'Creative Technology SB Arena Headset'
[252903.181] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[252903.181] (**) Creative Technology SB Arena Headset: always reports core events
[252903.181] (**) evdev: Creative Technology SB Arena Headset: Device: "/dev/input/event9"
[252903.181] (--) evdev: Creative Technology SB Arena Headset: Vendor 0x41e Product 0x403
[252903.181] (--) evdev: Creative Technology SB Arena Headset: Found 8 mouse buttons
[252903.181] (--) evdev: Creative Technology SB Arena Headset: Found keys
[252903.181] (II) evdev: Creative Technology SB Arena Headset: Configuring as mouse
[252903.181] (II) evdev: Creative Technology SB Arena Headset: Configuring as keyboard
[252903.181] (**) evdev: Creative Technology SB Arena Headset: YAxisMapping: buttons 4 and 5
[252903.181] (**) evdev: Creative Technology SB Arena Headset: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[252903.181] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.1/usb4/4-1/4-1:1.3/input/input18/event9"
[252903.181] (II) XINPUT: Adding extended input device "Creative Technology SB Arena Headset" (type: KEYBOARD, id 15)
[252903.181] (**) Option "xkb_rules" "evdev"
[252903.181] (**) Option "xkb_model" "pc105"
[252903.181] (**) Option "xkb_layout" "us"
[252903.191] BUG: triggered 'if (!dev->valuator || dev->valuator->numAxes < 2)'
BUG: ../../dix/getevents.c:850 in scale_to_desktop()
[252903.191]
Backtrace:
[252903.192] 0: /usr/bin/X (xorg_backtrace+0x26) [0x7f148e6f3866]
[252903.192] 1: /usr/bin/X (0x7f148e56b000+0x621fe) [0x7f148e5cd1fe]
[252903.192] 2: /usr/bin/X (0x7f148e56b000+0x62e6d) [0x7f148e5cde6d]
[252903.192] 3: /usr/bin/X (GetPointerEvents+0xe2) [0x7f148e5cf202]
[252903.192] 4: /usr/bin/X (QueuePointerEvents+0x1d) [0x7f148e5cf65d]
[252903.192] 5: /usr/bin/X (xf86PostButtonEvent+0xdd) [0x7f148e60b5ed]
[252903.192] 6: /usr/lib/xorg/modules/input/evdev_drv.so (0x7f1486989000+0x5f48) [0x7f148698ef48]
[252903.192] 7: /usr/bin/X (0x7f148e56b000+0x8ae07) [0x7f148e5f5e07]
[252903.192] 8: /usr/bin/X (0x7f148e56b000+0xb0d4a) [0x7f148e61bd4a]
[252903.192] 9: /lib/x86_64-linux-gnu/libpthread.so.0 (0x7f148d891000+0xfcb0) [0x7f148d8a0cb0]
[252903.192] 10: /lib/x86_64-linux-gnu/libc.so.6 (__select+0x13) [0x7f148c7f0803]
[252903.192] 11: /usr/bin/X (WaitForSomething+0x19b) [0x7f148e6f0c4b]
[252903.192] 12: /usr/bin/X (0x7f148e56b000+0x4e4f2) [0x7f148e5b94f2]
[252903.192] 13: /usr/bin/X (0x7f148e56b000+0x3d6aa) [0x7f148e5a86aa]
[252903.192] 14: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xed) [0x7f148c72676d]
[252903.192] 15: /usr/bin/X (0x7f148e56b000+0x3d99d) [0x7f148e5a899d]
on removal:
[252937.048] BUG: triggered 'if (!dev->valuator || dev->valuator->numAxes < 2)'
BUG: ../../dix/getevents.c:850 in scale_to_desktop()
[252937.048]
Backtrace:
[252937.048] 0: /usr/bin/X (xorg_backtrace+0x26) [0x7f148e6f3866]
[252937.048] 1: /usr/bin/X (0x7f148e56b000+0x621fe) [0x7f148e5cd1fe]
[252937.048] 2: /usr/bin/X (0x7f148e56b000+0x62e6d) [0x7f148e5cde6d]
[252937.048] 3: /usr/bin/X (GetPointerEvents+0xe2) [0x7f148e5cf202]
[252937.048] 4: /usr/bin/X (QueuePointerEvents+0x1d) [0x7f148e5cf65d]
[252937.048] 5: /usr/bin/X (xf86PostButtonEvent+0xdd) [0x7f148e60b5ed]
[252937.048] 6: /usr/lib/xorg/modules/input/evdev_drv.so (0x7f1486989000+0x5f48) [0x7f148698ef48]
[252937.048] 7: /usr/bin/X (0x7f148e56b000+0x8ae07) [0x7f148e5f5e07]
[252937.048] 8: /usr/bin/X (0x7f148e56b000+0xb0d4a) [0x7f148e61bd4a]
[252937.048] 9: /lib/x86_64-linux-gnu/libpthread.so.0 (0x7f148d891000+0xfcb0) [0x7f148d8a0cb0]
[252937.048] 10: /lib/x86_64-linux-gnu/libc.so.6 (__select+0x13) [0x7f148c7f0803]
[252937.048] 11: /usr/bin/X (WaitForSomething+0x19b) [0x7f148e6f0c4b]
[252937.049] 12: /usr/bin/X (0x7f148e56b000+0x4e4f2) [0x7f148e5b94f2]
[252937.049] 13: /usr/bin/X (0x7f148e56b000+0x3d6aa) [0x7f148e5a86aa]
[252937.049] 14: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xed) [0x7f148c72676d]
[252937.049] 15: /usr/bin/X (0x7f148e56b000+0x3d99d) [0x7f148e5a899d]
[252937.310] (II) config/udev: removing device Creative Technology SB Arena Headset
[252937.310] (II) evdev: Creative Technology SB Arena Headset: Close
[252937.310] (II) UnloadModule: "evdev"
[252937.310] (II) Unloading evdev
lsusb:
mwharris@linux:~$ lsusb -s 4:11 -v
Bus 004 Device 011: ID 041e:0403 Creative Technology, Ltd
Couldn't open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x041e Creative Technology, Ltd
idProduct 0x0403
bcdDevice 1.10
iManufacturer 1
iProduct 2
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 306
bNumInterfaces 4
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 100mA
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 10
bDescriptorType 36
bDescriptorSubtype 1 (HEADER)
bcdADC 1.00
wTotalLength 107
bInCollection 2
baInterfaceNr( 0) 1
baInterfaceNr( 1) 2
AudioControl Interface Descriptor:
bLength 12
bDescriptorType 36
bDescriptorSubtype 2 (INPUT_TERMINAL)
bTerminalID 1
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 2
bSourceID 8
bControlSize 2
bmaControls( 0) 0x01
bmaControls( 0) 0x00
Mute Control
bmaControls( 1) 0x02
bmaControls( 1) 0x00
Volume Control
bmaControls( 2) 0x02
bmaControls( 2) 0x00
Volume Control
iFeature 0
AudioControl Interface Descriptor:
bLength 9
bDescriptorType 36
bDescriptorSubtype 3 (OUTPUT_TERMINAL)
bTerminalID 3
wTerminalType 0x0301 Speaker
bAssocTerminal 0
bSourceID 2
iTerminal 0
AudioControl Interface Descriptor:
bLength 12
bDescriptorType 36
bDescriptorSubtype 2 (INPUT_TERMINAL)
bTerminalID 4
wTerminalType 0x0201 Microphone
bAssocTerminal 0
bNrChannels 1
wChannelConfig 0x0000
iChannelNames 0
iTerminal 0
AudioControl Interface Descriptor:
bLength 11
bDescriptorType 36
bDescriptorSubtype 6 (FEATURE_UNIT)
bUnitID 5
bSourceID 4
bControlSize 2
bmaControls( 0) 0x01
bmaControls( 0) 0x00
Mute Control
bmaControls( 1) 0x02
bmaControls( 1) 0x00
Volume Control
iFeature 0
AudioControl Interface Descriptor:
bLength 9
bDescriptorType 36
bDescriptorSubtype 3 (OUTPUT_TERMINAL)
bTerminalID 6
wTerminalType 0x0101 USB Streaming
bAssocTerminal 0
bSourceID 9
iTerminal 0
AudioControl Interface Descriptor:
bLength 11
bDescriptorType 36
bDescriptorSubtype 6 (FEATURE_UNIT)
bUnitID 7
bSourceID 4
bControlSize 2
bmaControls( 0) 0x01
bmaControls( 0) 0x00
Mute Control
bmaControls( 1) 0x02
bmaControls( 1) 0x00
Volume Control
iFeature 0
AudioControl Interface Descriptor:
bLength 13
bDescriptorType 36
bDescriptorSubtype 4 (MIXER_UNIT)
bUnitID 8
bNrInPins 2
baSourceID( 0) 1
baSourceID( 1) 7
bNrChannels 2
wChannelConfig 0x0003
Left Front (L)
Right Front (R)
iChannelNames 0
bmControls 0x00
iMixer 0
AudioControl Interface Descriptor:
bLength 7
bDescriptorType 36
bDescriptorSubtype 5 (SELECTOR_UNIT)
bUnitID 9
bNrInPins 1
baSource( 0) 5
iSelector 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 1
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 2 Discrete
tSamFreq[ 0] 44100
tSamFreq[ 1] 48000
Endpoint Descriptor:
bLength 9
bDescriptorType 5
bEndpointAddress 0x04 EP 4 OUT
bmAttributes 13
Transfer Type Isochronous
Synch Type Synchronous
Usage Type Data
wMaxPacketSize 0x00c0 1x 192 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 0 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 1
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 3
bBitResolution 24
bSamFreqType 2 Discrete
tSamFreq[ 0] 44100
tSamFreq[ 1] 48000
Endpoint Descriptor:
bLength 9
bDescriptorType 5
bEndpointAddress 0x04 EP 4 OUT
bmAttributes 13
Transfer Type Isochronous
Synch Type Synchronous
Usage Type Data
wMaxPacketSize 0x0120 1x 288 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 0 Decoded PCM samples
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 1 Audio
bInterfaceSubClass 2 Streaming
bInterfaceProtocol 0
iInterface 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
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 6
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 2 Discrete
tSamFreq[ 0] 44100
tSamFreq[ 1] 48000
Endpoint Descriptor:
bLength 9
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 13
Transfer Type Isochronous
Synch Type Synchronous
Usage Type Data
wMaxPacketSize 0x00c0 1x 192 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 0 Decoded PCM samples
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.11
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 102
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 30
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1007575/+subscriptions