[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#857835: src:linux: hid-chicony on Asus W2000 k+m set: keyboard works, mouse don't



Hello Maintainers,

I enabled hid debug=2 in /etc/modprobe.d/hid.conf and then dmesg looks like (pasted below inline) :

On Wed, 15 Mar 2017 13:45:38 +0000 el_es <el.es.cr@gmail.com> wrote:
> Package: linux-source-3.16
> Severity: normal
> Tags: upstream
> 
> Dear Maintainer,
> 
> My system is
> 
> > uname -a
> Linux george 3.16.0-0.bpo.4-686-pae #1 SMP Debian 3.16.39-1+deb8u1~bpo70+1
> (2017-02-24) i686 GNU/Linux
> (using wheezy-backports)
> 
> I have this set of Keyboard and Mouse wireless devices:
> https://www.asus.com/us/Keyboards-Mice/ASUS-W2000-Chiclet-Wireless-Keyboard-
> and-Mouse-Set/
> with single USB receiver for both.
> 
> It is reported by dmesg like this, when the sets' receiver is plugged into a
> USB port:
> 
> [17303.968026] usb 3-2: new full-speed USB device number 10 using uhci_hcd
> [17304.155093] usb 3-2: New USB device found, idVendor=04f2, idProduct=1123
> [17304.155101] usb 3-2: New USB device strings: Mfr=1, Product=2,
> SerialNumber=0
> [17304.155107] usb 3-2: Product: Wireless Device
> [17304.155111] usb 3-2: Manufacturer: Chicony
> [17304.162117] input: Chicony Wireless Device as
> /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/0003:04F2:1123.0012/input/input21
> [17304.162409] chicony 0003:04F2:1123.0012: input,hidraw2: USB HID v1.11
> Keyboard [Chicony Wireless Device] on usb-0000:00:1d.1-2/input0
> [17304.168052] chicony 0003:04F2:1123.0013: usage index exceeded
> [17304.168062] chicony 0003:04F2:1123.0013: item 0 2 2 2 parsing failed
> [17304.168100] chicony: probe of 0003:04F2:1123.0013 failed with error -22
> [17304.171949] chicony 0003:04F2:1123.0014: hiddev0,hidraw3: USB HID v1.11
> Device [Chicony Wireless Device] on usb-0000:00:1d.1-2/input2
> 
> Hopefully this helps.
> 
After setting hid debug=2 (or =3), on wireless receiver insert:

[19746.836055] usb 5-1: new full-speed USB device number 3 using uhci_hcd
[19747.027055] usb 5-1: New USB device found, idVendor=04f2, idProduct=1123
[19747.027062] usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[19747.027067] usb 5-1: Product: Wireless Device
[19747.027072] usb 5-1: Manufacturer: Chicony
[19747.030186] /build/linux-VJL009/linux-3.16.39/drivers/hid/usbhid/hid-core.c: HID probe called for ifnum 0
[19747.033918] /build/linux-VJL009/linux-3.16.39/drivers/hid/usbhid/hid-core.c: submitting ctrl urb: Set_Report wValue=0x0200 wIndex=0x0000 wLength=1
[19747.034147] input: Chicony Wireless Device as /devices/pci0000:00/0000:00:1d.3/usb5/5-1/5-1:1.0/0003:04F2:1123.0009/input/input54
[19747.034602] chicony 0003:04F2:1123.0009: input,hidraw1: USB HID v1.11 Keyboard [Chicony Wireless Device] on usb-0000:00:1d.3-1/input0
[19747.034750] /build/linux-VJL009/linux-3.16.39/drivers/hid/usbhid/hid-core.c: HID probe called for ifnum 1
[19747.040590] chicony 0003:04F2:1123.000A: usage index exceeded
[19747.040598] /build/linux-VJL009/linux-3.16.39/drivers/hid/hid-core.c: hid_add_usage failed
[19747.040605] chicony 0003:04F2:1123.000A: item 0 2 2 2 parsing failed
[19747.040639] chicony: probe of 0003:04F2:1123.000A failed with error -22
[19747.040803] /build/linux-VJL009/linux-3.16.39/drivers/hid/usbhid/hid-core.c: HID probe called for ifnum 2
[19747.042474] /build/linux-VJL009/linux-3.16.39/drivers/hid/usbhid/hid-core.c: submitting ctrl urb: Get_Report wValue=0x0304 wIndex=0x0002 wLength=32
[19747.044455] chicony 0003:04F2:1123.000B: hiddev0,hidraw2: USB HID v1.11 Device [Chicony Wireless Device] on usb-0000:00:1d.3-1/input2
[19747.093142] /build/linux-VJL009/linux-3.16.39/drivers/hid/usbhid/hid-core.c: submitting ctrl urb: Set_Report wValue=0x0200 wIndex=0x0000 wLength=1

(same happens when inserted  into other USB ports of this machine)

There are FN buttons on this keyboard which don't work as intended either (but it's not the biggest problem,
because keyboard is otherwise usable;

- i saw some advice on how to fix those, e.g. https://bugzilla.redhat.com/attachment.cgi?id=1053623&action=diff,

haven't tried that however;

others like https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1064490 seem to suggest to increase 

  In /usr/src/linux/include/linux/hid.h

  #define HID_MAX_USAGES 12288 
    to something rather more large like 32k or more; 

Haven't tried that either.

also the 'parsing failed' message shows for the keyboard (which would be in line with the special keys not working)
but the mouse is only detected as a 'Wireless Device' and not assigned to input (hiddev0,hidraw2) ?

I could try recompiling the modules required (not really willing to recompile the entire kernel as this is my daily work machine)
with any patches suggested;

Thanks in advance,

Kind Regards
Lukasz Sokol

> 
> 
> -- System Information:
> Debian Release: 7.11
>   APT prefers oldstable
>   APT policy: (500, 'oldstable')
> Architecture: i386 (i686)
> 
> Kernel: Linux 3.16.0-0.bpo.4-686-pae (SMP w/2 CPU cores)
> Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> 
> 


Reply to: