[Bug 685653] New: USB Jog/Shuttle appears to be incorrectly mapped as mouse
https://bugzilla.novell.com/show_bug.cgi?id=685653 https://bugzilla.novell.com/show_bug.cgi?id=685653#c0 Summary: USB Jog/Shuttle appears to be incorrectly mapped as mouse Classification: openSUSE Product: openSUSE 11.3 Version: Final Platform: x86-64 OS/Version: openSUSE 11.3 Status: NEW Severity: Major Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: pagan13@estreet.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:2.0.0) Gecko/20100101 Firefox/4.0 I bought a Contour Design "ShuttleXpress" USB jog/shuttle device to use in Kdenlive or Kino. Neither program recognizes this, even though Kino explicitly supports this model (/etc/udev/rules.d/kino.rules). I ran a yast hardware information, looked in USB, and found this device mapped as /dev/input/mice which is the same mapping as my regular USB mouse. It also has a secondary mapping of some sort (dev_name2) that maps it at /dev/input/mouse0. Based on Kino's documentation, it appears Kino, and probably Kdenlive, are looking for a jog/shuttle at /dev/input/event(x), not at /dev/input/mouse(x). Being mapped at mouse doesn't seem to interfere with any regular pointing device, but it is unusable by the software it is designed for, and which support it. Is there some setting I need to make somewhere to get it to map properly, or is this a real bug? Thanks Reproducible: Always Steps to Reproduce: 1. Plug in USB jog/shuttle 2. Attempt to use device with video editing software (Kdenlive or Kino or other) 3. Open Yast, select Hardware Information, find, under USB, that ShuttleXpress has been mapped as if it were a mouse Actual Results: Other than mouse mapping, plugging this device into the USB does nothing to the system and is unusable Expected Results: I expect to see that it is usable by video editing software. My current preferred program is Kdenlive, which generically supports a jog/shuttle device, but Kino explicitly supports this make and model. I entered this as openSUSE 11.3 x86_64, but it may affect other versions/platforms. Please let me know if you want any config files or to run any tests. I will provide anything I can. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=685653 https://bugzilla.novell.com/show_bug.cgi?id=685653#c1 Jiri Slaby <jslaby@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |jslaby@novell.com InfoProvider| |pagan13@estreet.com --- Comment #1 from Jiri Slaby <jslaby@novell.com> 2011-04-08 07:31:05 UTC --- (In reply to comment #0)
Please let me know if you want any config files or to run any tests. I will provide anything I can.
lsusb -v of that device. And dmesg. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=685653 https://bugzilla.novell.com/show_bug.cgi?id=685653#c2 --- Comment #2 from Joseph Short <pagan13@estreet.com> 2011-04-12 02:24:17 UTC --- Created an attachment (id=424344) --> (http://bugzilla.novell.com/attachment.cgi?id=424344) lsusb -v file -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=685653 https://bugzilla.novell.com/show_bug.cgi?id=685653#c3 --- Comment #3 from Joseph Short <pagan13@estreet.com> 2011-04-12 02:24:55 UTC --- Created an attachment (id=424345) --> (http://bugzilla.novell.com/attachment.cgi?id=424345) dmesg file -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=685653 https://bugzilla.novell.com/show_bug.cgi?id=685653#c4 Joseph Short <pagan13@estreet.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|pagan13@estreet.com | --- Comment #4 from Joseph Short <pagan13@estreet.com> 2011-04-12 02:27:38 UTC --- Jiri, I have attached the two items you asked for. Let me know if there is anything else you could use. Thanks Joe -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=685653 https://bugzilla.novell.com/show_bug.cgi?id=685653#c5 Jiri Slaby <jslaby@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |pagan13@estreet.com --- Comment #5 from Jiri Slaby <jslaby@novell.com> 2011-04-12 15:26:57 UTC --- Ok, it doesn't have a special driver. So attach also contents of /sys/kernel/debug/hid/0003*0B33*/rdesc and /sys/kernel/debug/hid/0003*0B33*/events after you do some activity. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=685653 https://bugzilla.novell.com/show_bug.cgi?id=685653#c6 Joseph Short <pagan13@estreet.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|pagan13@estreet.com | --- Comment #6 from Joseph Short <pagan13@estreet.com> 2011-04-12 23:41:53 UTC --- Both of these show up as zero-length files. I could not get anything from events, but here is the output of rdesc: 05 0c 09 01 a1 01 a1 02 05 01 09 38 15 80 25 7f 66 00 00 75 08 95 01 81 06 09 37 15 00 26 ff 00 66 00 00 75 08 95 01 81 2e 95 01 75 08 81 01 05 09 19 01 29 0d 15 00 25 01 35 00 45 01 75 01 95 0d 81 02 95 01 75 03 81 01 c0 c0 INPUT[INPUT] Field(0) Usage(1) GenericDesktop.Wheel Logical Minimum(-128) Logical Maximum(127) Report Size(8) Report Count(1) Report Offset(0) Flags( Variable Relative ) Field(1) Usage(1) GenericDesktop.Dial Logical Minimum(0) Logical Maximum(255) Report Size(8) Report Count(1) Report Offset(8) Flags( Variable Relative Wrap NoPreferredState ) Field(2) Usage(13) Button.0001 Button.0002 Button.0003 Button.0004 Button.0005 Button.0006 Button.0007 Button.0008 Button.0009 Button.000a Button.000b Button.000c Button.000d Logical Minimum(0) Logical Maximum(1) Physical Minimum(0) Physical Maximum(1) Report Size(1) Report Count(13) Report Offset(24) Flags( Variable Absolute ) GenericDesktop.Wheel ---> Relative.Wheel GenericDesktop.Dial ---> Relative.Dial Button.0001 ---> Key.Btn0 Button.0002 ---> Key.Btn1 Button.0003 ---> Key.Btn2 Button.0004 ---> Key.Btn3 Button.0005 ---> Key.Btn4 Button.0006 ---> Key.Btn5 Button.0007 ---> Key.Btn6 Button.0008 ---> Key.Btn7 Button.0009 ---> Key.Btn8 Button.000a ---> Key.Btn9 Button.000b ---> Key.? Button.000c ---> Key.? Button.000d ---> Key.? I tried a simple (in root) copy, both with gui and cp, to get "events" but all I get is a zero-length file. If I need to do something special to get that, please let me know. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=685653 https://bugzilla.novell.com/show_bug.cgi?id=685653#c7 Jiri Slaby <jslaby@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |pagan13@estreet.com --- Comment #7 from Jiri Slaby <jslaby@novell.com> 2011-04-16 17:25:35 UTC --- (In reply to comment #6)
GenericDesktop.Wheel ---> Relative.Wheel GenericDesktop.Dial ---> Relative.Dial Button.0001 ---> Key.Btn0 Button.0002 ---> Key.Btn1 Button.0003 ---> Key.Btn2 Button.0004 ---> Key.Btn3 Button.0005 ---> Key.Btn4 Button.0006 ---> Key.Btn5 Button.0007 ---> Key.Btn6 Button.0008 ---> Key.Btn7 Button.0009 ---> Key.Btn8 Button.000a ---> Key.Btn9 Button.000b ---> Key.? Button.000c ---> Key.? Button.000d ---> Key.?
OK, so it is mapped to wheel, dial and those buttons. You should be able to see the events with 'xev', right? Every mouse* device should have also its event* device. Could you attach contents of /proc/bus/input/devices?
"events" but all I get is a zero-length file.
You need to do something like 'cat events >log' and work with the device to generate some output. But I don't think we needed that anymore. (You can check what button is mapped to what by omitting the '>log part'.) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=685653 https://bugzilla.novell.com/show_bug.cgi?id=685653#c8 Joseph Short <pagan13@estreet.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|pagan13@estreet.com | --- Comment #8 from Joseph Short <pagan13@estreet.com> 2011-04-16 20:00:46 UTC --- "xev" produces output only for mouse and keyboard. The mouse only generates events for xev when the pointer is on the xev window, and the keyboard only generates events these events when the xev window is in focus. The jog/shuttle produces no xev events under any conditions. I also tried the "cat" command but got no results - just a zero-length file. Btw, there are five buttons on the device, yet it appears that more buttons than that are mapped in rdesc. Joe -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=685653 https://bugzilla.novell.com/show_bug.cgi?id=685653#c Jeff Mahoney <jeffm@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|kernel-maintainers@forge.pr |jslaby@novell.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=685653 https://bugzilla.novell.com/show_bug.cgi?id=685653#c Jiri Slaby <jslaby@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Status|NEW |ASSIGNED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=685653 https://bugzilla.novell.com/show_bug.cgi?id=685653#c9 Jiri Slaby <jslaby@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |pagan13@estreet.com --- Comment #9 from Jiri Slaby <jslaby@novell.com> 2011-04-26 18:57:43 UTC --- (In reply to comment #8)
I also tried the "cat" command but got no results - just a zero-length file.
Ok, let's start from there. If there are any interrupts at all. Could you install the kernel from: http://labs.suse.cz/jslaby/bug-685653/ press some buttons, rotate with wheel and attach dmesg?
Btw, there are five buttons on the device, yet it appears that more buttons than that are mapped in rdesc.
Yeah, that's normal, that devices report more buttons than really on the device (some may be unconnected). Also could you try whether this is fixed in later kernels: http://download.opensuse.org/repositories/Kernel:/HEAD/openSUSE_Factory/ ? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=685653 https://bugzilla.novell.com/show_bug.cgi?id=685653#c10 Joseph Short <pagan13@estreet.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|pagan13@estreet.com | --- Comment #10 from Joseph Short <pagan13@estreet.com> 2011-04-27 01:21:37 UTC --- Okay, I tried that kernel (kernel-desktop-2.6.34.9-0.1.x86_64), tried the device, and am attaching the new dmesg. I also ran xev and got no response with that. Then, I tried the factory (kernel-desktop-2.6.39-rc4.11.1.x86_64) and the only difference was all the fonts are smaller. I hope this helps. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=685653 https://bugzilla.novell.com/show_bug.cgi?id=685653#c11 --- Comment #11 from Joseph Short <pagan13@estreet.com> 2011-04-27 01:22:15 UTC --- Created an attachment (id=426745) --> (http://bugzilla.novell.com/attachment.cgi?id=426745) dmesg for comment 10 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=685653 https://bugzilla.novell.com/show_bug.cgi?id=685653#c12 Jiri Slaby <jslaby@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |pagan13@estreet.com --- Comment #12 from Jiri Slaby <jslaby@novell.com> 2011-04-28 18:45:17 UTC --- (In reply to comment #10)
Okay, I tried that kernel (kernel-desktop-2.6.34.9-0.1.x86_64), tried the device, and am attaching the new dmesg.
Great, so the device doesn't generate interrupts. To confirm that, could you run this: watch -d -n ,2 'grep usb /proc/interrupts' and watch for changes when you turn the dial/press the buttons? (It should also change whenever you move with mouse or keyboard if you have USB ones.) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=685653 https://bugzilla.novell.com/show_bug.cgi?id=685653#c13 --- Comment #13 from Joseph Short <pagan13@estreet.com> 2011-04-28 20:43:26 UTC --- Here is a snapshot of watch (I replaced the "," with "." from that 2 to get it to work): Every 2.0s: grep usb /proc/interrupts Thu Apr 28 14:19:16 2011 16: 3664 14 IO-APIC-fasteoi uhci_hcd:usb3, nvidia 18: 0 0 IO-APIC-fasteoi ehci_hcd:usb1, uhci_hcd:usb8 19: 0 0 IO-APIC-fasteoi uhci_hcd:usb5, uhci_hcd:usb7 21: 0 0 IO-APIC-fasteoi uhci_hcd:usb4 23: 41051 41036 IO-APIC-fasteoi ehci_hcd:usb2, uhci_hcd:usb6 All the numbers above 0 change continuously except for the 14. And they change regardless of whether or not I move the mouse, press a key on the keyboard or do anything on the jog/shuttle. The only difference is they change faster when I move the mouse. There is no apparent difference in the rate of change by clicking mouse buttons or doing anything on the keyboard or the jog/shuttle. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=685653 https://bugzilla.novell.com/show_bug.cgi?id=685653#c Joseph Short <pagan13@estreet.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|pagan13@estreet.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=685653 https://bugzilla.novell.com/show_bug.cgi?id=685653#c14 Jiri Slaby <jslaby@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |pagan13@estreet.com --- Comment #14 from Jiri Slaby <jslaby@novell.com> 2011-05-15 13:40:07 UTC --- (In reply to comment #13)
Here is a snapshot of watch (I replaced the "," with "." from that 2 to get it to work):
Every 2.0s: grep usb /proc/interrupts Thu Apr 28 14:19:16 2011
16: 3664 14 IO-APIC-fasteoi uhci_hcd:usb3, nvidia 18: 0 0 IO-APIC-fasteoi ehci_hcd:usb1, uhci_hcd:usb8 19: 0 0 IO-APIC-fasteoi uhci_hcd:usb5, uhci_hcd:usb7 21: 0 0 IO-APIC-fasteoi uhci_hcd:usb4 23: 41051 41036 IO-APIC-fasteoi ehci_hcd:usb2, uhci_hcd:usb6
All the numbers above 0 change continuously except for the 14.
Hmm, according to dmesg, you have many devices on the usb bus 2 (irq 23). Could you connect the shuttle device to a different slot (until you hit any of the busses where there are zeroes) and retry? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=685653 https://bugzilla.novell.com/show_bug.cgi?id=685653#c15 Jiri Slaby <jslaby@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED InfoProvider|pagan13@estreet.com | Resolution| |NORESPONSE --- Comment #15 from Jiri Slaby <jslaby@novell.com> 2011-06-22 13:23:46 UTC --- Closing due to lack of response. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=685653 https://bugzilla.novell.com/show_bug.cgi?id=685653#c16 --- Comment #16 from Joseph Short <pagan13@estreet.com> 2011-07-14 17:41:18 UTC --- My apologies, I've been ill and unable to get back to this. I found another jog/shuttle device today, plugged it in and found that it works (a Contour Design ShuttlePRO v2). I must conclude that the original device is defective. (I hope they let me return it, it's been a long time.) I apologize for the time and inconvenience, and I thank you for your assistance and hard work. Joe -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com