On Sun, Aug 19, 2018 at 01:32:47PM +0200, Harald Dunkel wrote:
> Hi folks,
> 
> since 4.18 my composite mouse/keyboard doesn't work correctly anymore.
> Usually the device can switch between keyboard and (gyroscopic) mouse
> mode, but with the new kernel the mouse movements seem to generate
> cursor up/down events in parallel, regardless of the mode the mouse
> is in.
> 
> vendor/product id is 2389/00a8.
> 
> 
> If I plugin the USB receiver, then 4.17.17 writes this into kern.log:
> 
> Aug 19 13:12:24 porky kernel: [   58.780112] usb 1-8: USB disconnect, device 
> number 5
> Aug 19 13:12:24 porky kernel: [   59.051691] usb 1-8: new full-speed USB 
> device number 6 using xhci_hcd
> Aug 19 13:12:24 porky kernel: [   59.180180] usb 1-8: New USB device found, 
> idVendor=062a, idProduct=1a9e, bcdDevice= 1.00
> Aug 19 13:12:24 porky kernel: [   59.180183] usb 1-8: New USB device strings: 
> Mfr=1, Product=2, SerialNumber=0
> Aug 19 13:12:24 porky kernel: [   59.180184] usb 1-8: Product: RF USB 
> Controller
> Aug 19 13:12:24 porky kernel: [   59.180186] usb 1-8: Manufacturer: U-COMM
> Aug 19 13:12:24 porky kernel: [   59.182692] input: U-COMM RF USB Controller 
> as 
> /devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/0003:062A:1A9E.0004/input/input16
> Aug 19 13:12:24 porky kernel: [   59.234586] hid-generic 0003:062A:1A9E.0004: 
> input,hidraw0: USB HID v1.10 Mouse [U-COMM RF USB Controller] on 
> usb-0000:00:14.0-8/input0
> Aug 19 13:12:24 porky kernel: [   59.236704] input: U-COMM RF USB Controller 
> as 
> /devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.1/0003:062A:1A9E.0005/input/input17
> Aug 19 13:12:24 porky kernel: [   59.288632] hid-generic 0003:062A:1A9E.0005: 
> input,hidraw1: USB HID v1.10 Keyboard [U-COMM RF USB Controller] on 
> usb-0000:00:14.0-8/input1
> Aug 19 13:12:24 porky kernel: [   59.290936] input: U-COMM RF USB Controller 
> as 
> /devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.2/0003:062A:1A9E.0006/input/input18
> Aug 19 13:12:24 porky kernel: [   59.291081] hid-generic 0003:062A:1A9E.0006: 
> input,hidraw2: USB HID v1.10 Gamepad [U-COMM RF USB Controller] on 
> usb-0000:00:14.0-8/input2
> Aug 19 13:12:25 porky kernel: [   59.512028] usb 1-7: new full-speed USB 
> device number 7 using xhci_hcd
> Aug 19 13:12:25 porky kernel: [   59.640429] usb 1-7: New USB device found, 
> idVendor=2389, idProduct=00a8, bcdDevice= 2.00
> Aug 19 13:12:25 porky kernel: [   59.640432] usb 1-7: New USB device strings: 
> Mfr=1, Product=2, SerialNumber=0
> Aug 19 13:12:25 porky kernel: [   59.640433] usb 1-7: Product: Usb Composite 
> Device
> Aug 19 13:12:25 porky kernel: [   59.640435] usb 1-7: Manufacturer: Usb 
> Composite Device
> Aug 19 13:12:25 porky kernel: [   59.643291] input: Usb Composite Device Usb 
> Composite Device as 
> /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/0003:2389:00A8.0007/input/input19
> Aug 19 13:12:25 porky kernel: [   59.694974] hid-generic 0003:2389:00A8.0007: 
> input,hidraw3: USB HID v2.00 Mouse [Usb Composite Device Usb Composite 
> Device] on usb-0000:00:14.0-7/input0
> Aug 19 13:12:25 porky kernel: [   59.696099] input: Usb Composite Device Usb 
> Composite Device as 
> /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.1/0003:2389:00A8.0008/input/input20
> Aug 19 13:12:25 porky kernel: [   59.747997] hid-generic 0003:2389:00A8.0008: 
> input,hidraw4: USB HID v2.00 Keyboard [Usb Composite Device Usb Composite 
> Device] on usb-0000:00:14.0-7/input1
> 
> 
> For 4.18.3 the logfile contains
> 
> Aug 19 13:07:07 porky kernel: [ 7215.393644] usb 2-8: USB disconnect, device 
> number 6
> Aug 19 13:07:07 porky kernel: [ 7215.682577] usb 2-8: new full-speed USB 
> device number 8 using xhci_hcd
> Aug 19 13:07:07 porky kernel: [ 7215.811318] usb 2-8: New USB device found, 
> idVendor=062a, idProduct=1a9e, bcdDevice= 1.00
> Aug 19 13:07:07 porky kernel: [ 7215.811322] usb 2-8: New USB device strings: 
> Mfr=1, Product=2, SerialNumber=0
> Aug 19 13:07:07 porky kernel: [ 7215.811324] usb 2-8: Product: RF USB 
> Controller
> Aug 19 13:07:07 porky kernel: [ 7215.811326] usb 2-8: Manufacturer: U-COMM
> Aug 19 13:07:07 porky kernel: [ 7215.814160] input: U-COMM RF USB Controller 
> as 
> /devices/pci0000:00/0000:00:14.0/usb2/2-8/2-8:1.0/0003:062A:1A9E.0009/input/input29
> Aug 19 13:07:07 porky kernel: [ 7215.865796] hid-generic 0003:062A:1A9E.0009: 
> input,hidraw0: USB HID v1.10 Mouse [U-COMM RF USB Controller] on 
> usb-0000:00:14.0-8/input0
> Aug 19 13:07:07 porky kernel: [ 7215.867996] input: U-COMM RF USB Controller 
> Keyboard as 
> /devices/pci0000:00/0000:00:14.0/usb2/2-8/2-8:1.1/0003:062A:1A9E.000A/input/input30
> Aug 19 13:07:07 porky kernel: [ 7215.919743] input: U-COMM RF USB Controller 
> System Control as 
> /devices/pci0000:00/0000:00:14.0/usb2/2-8/2-8:1.1/0003:062A:1A9E.000A/input/input31
> Aug 19 13:07:07 porky kernel: [ 7215.919861] input: U-COMM RF USB Controller 
> Consumer Control as 
> /devices/pci0000:00/0000:00:14.0/usb2/2-8/2-8:1.1/0003:062A:1A9E.000A/input/input32
> Aug 19 13:07:07 porky kernel: [ 7215.919942] input: U-COMM RF USB Controller 
> Keyboard as 
> /devices/pci0000:00/0000:00:14.0/usb2/2-8/2-8:1.1/0003:062A:1A9E.000A/input/input33
> Aug 19 13:07:07 porky kernel: [ 7215.920158] hid-generic 0003:062A:1A9E.000A: 
> input,hidraw1: USB HID v1.10 Keyboard [U-COMM RF USB Controller] on 
> usb-0000:00:14.0-8/input1
> Aug 19 13:07:07 porky kernel: [ 7215.922493] input: U-COMM RF USB Controller 
> as 
> /devices/pci0000:00/0000:00:14.0/usb2/2-8/2-8:1.2/0003:062A:1A9E.000B/input/input34
> Aug 19 13:07:07 porky kernel: [ 7215.922867] hid-generic 0003:062A:1A9E.000B: 
> input,hidraw2: USB HID v1.10 Gamepad [U-COMM RF USB Controller] on 
> usb-0000:00:14.0-8/input2
> Aug 19 13:07:08 porky kernel: [ 7216.144629] usb 2-7: new full-speed USB 
> device number 9 using xhci_hcd
> Aug 19 13:07:08 porky kernel: [ 7216.273321] usb 2-7: New USB device found, 
> idVendor=2389, idProduct=00a8, bcdDevice= 2.00
> Aug 19 13:07:08 porky kernel: [ 7216.273324] usb 2-7: New USB device strings: 
> Mfr=1, Product=2, SerialNumber=0
> Aug 19 13:07:08 porky kernel: [ 7216.273326] usb 2-7: Product: Usb Composite 
> Device
> Aug 19 13:07:08 porky kernel: [ 7216.273328] usb 2-7: Manufacturer: Usb 
> Composite Device
> Aug 19 13:07:08 porky kernel: [ 7216.276603] input: Usb Composite Device Usb 
> Composite Device Mouse as 
> /devices/pci0000:00/0000:00:14.0/usb2/2-7/2-7:1.0/0003:2389:00A8.000C/input/input35
> Aug 19 13:07:08 porky kernel: [ 7216.328826] input: Usb Composite Device Usb 
> Composite Device Consumer Control as 
> /devices/pci0000:00/0000:00:14.0/usb2/2-7/2-7:1.0/0003:2389:00A8.000C/input/input36
> Aug 19 13:07:08 porky kernel: [ 7216.328916] input: Usb Composite Device Usb 
> Composite Device System Control as 
> /devices/pci0000:00/0000:00:14.0/usb2/2-7/2-7:1.0/0003:2389:00A8.000C/input/input37
> Aug 19 13:07:08 porky kernel: [ 7216.329006] hid-generic 0003:2389:00A8.000C: 
> input,hidraw3: USB HID v2.00 Mouse [Usb Composite Device Usb Composite 
> Device] on usb-0000:00:14.0-7/input0
> Aug 19 13:07:08 porky kernel: [ 7216.330794] input: Usb Composite Device Usb 
> Composite Device as 
> /devices/pci0000:00/0000:00:14.0/usb2/2-7/2-7:1.1/0003:2389:00A8.000D/input/input38
> Aug 19 13:07:08 porky kernel: [ 7216.382988] hid-generic 0003:2389:00A8.000D: 
> input,hidraw4: USB HID v2.00 Keyboard [Usb Composite Device Usb Composite 
> Device] on usb-0000:00:14.0-7/input1
> 
> 
> I tried another gyroscopic mouse (Rii mini i7, vendor/product is 062a/1a9e).
> It works very well with 4.18 in keyboard and mouse mode, so I would guess
> this is some driver issue.
> 
> Every helpful comment is highly appreciated. Of course I would be glad
> to help tracking this down.

This sounds like an input layer problem, care to send this all to
linux-in...@vger.kernel.org?

thanks,

greg k-h

Reply via email to