Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Dec 2019 21:47:38 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 242531] Red Dragon K552RGB-1 keyboard sending junk characters when first attached
Message-ID:  <bug-242531-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242531

            Bug ID: 242531
           Summary: Red Dragon K552RGB-1 keyboard sending junk characters
                    when first attached
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: emaste@freebsd.org

After plugging in the keyboard a steady stream of ^A characters are receive=
d.=20

Modifier key state is confused: pressing caps lock stops all strange behavi=
our
and turns caps lock on; pressing caps lock again turns it off. If caps lock=
 is
not pressed after plugging in then pressing ctrl once turns the ^As into As;
pressing shift once turns the As into as.

Turning on debugging (hw.usb.ukbd.debug) shows:

Dec  9 08:50:23 nuc kernel: ugen0.5: <SONiX USB DEVICE> at usbus0=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20
Dec  9 08:50:23 nuc kernel: ukbd2 on uhub0=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20
Dec  9 08:50:23 nuc kernel: ukbd2: <SONiX USB DEVICE, class 0/0, rev 2.00/1=
.08,
addr 9> on usbus0
Dec  9 08:50:23 nuc kernel: ukbd_attach: Parsing HID descriptor of 79 bytes=
=20=20=20=20
Dec  9 08:50:23 nuc kernel: ukbd_parse_hid: Found left control=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20
Dec  9 08:50:23 nuc kernel: ukbd_parse_hid: Found right control=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20
Dec  9 08:50:23 nuc kernel: ukbd_parse_hid: Found left shift=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20
Dec  9 08:50:23 nuc kernel: ukbd_parse_hid: Found right shift=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20
Dec  9 08:50:23 nuc kernel: ukbd_parse_hid: Found left alt=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
Dec  9 08:50:23 nuc kernel: ukbd_parse_hid: Found right alt=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
Dec  9 08:50:23 nuc kernel: ukbd_parse_hid: Found left GUI=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
Dec  9 08:50:23 nuc kernel: ukbd_parse_hid: Found right GUI=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
Dec  9 08:50:23 nuc kernel: ukbd_parse_hid: Found keyboard event array=20=
=20=20=20=20=20=20=20=20
Dec  9 08:50:23 nuc kernel: ukbd_parse_hid: Found keyboard numlock=20=20=20=
=20=20=20=20=20=20=20=20=20=20
Dec  9 08:50:23 nuc kernel: ukbd_parse_hid: Found keyboard capslock=20=20=
=20=20=20=20=20=20=20=20=20=20
Dec  9 08:50:23 nuc kernel: ukbd_parse_hid: Found keyboard scrolllock=20=20=
=20=20=20=20=20=20=20=20
Dec  9 08:50:23 nuc kernel: ukbd_set_leds: leds=3D0x00=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
Dec  9 08:50:23 nuc syslogd: last message repeated 1 times=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
Dec  9 08:50:23 nuc kernel: kbd4 at ukbd2=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20
Dec  9 08:50:23 nuc kernel: ukbd_set_leds_callback: len=3D1, id=3D0=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20
Dec  9 08:50:23 nuc kernel: ukbd3 on uhub0=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20
Dec  9 08:50:23 nuc kernel: ukbd3: <SONiX USB DEVICE, class 0/0, rev 2.00/1=
.08,
addr 9> on usbus0
Dec  9 08:50:23 nuc kernel: ukbd_attach: Parsing HID descriptor of 113 byte=
s=20=20=20
Dec  9 08:50:23 nuc kernel: ukbd_attach: Forcing boot protocol=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20
Dec  9 08:50:23 nuc kernel: ukbd_parse_hid: Found left control=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20
Dec  9 08:50:23 nuc kernel: ukbd_parse_hid: Found right control=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20
Dec  9 08:50:23 nuc kernel: ukbd_parse_hid: Found left shift=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20
Dec  9 08:50:23 nuc kernel: ukbd_parse_hid: Found right shift=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20
Dec  9 08:50:23 nuc kernel: ukbd_parse_hid: Found left alt=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
Dec  9 08:50:23 nuc kernel: ukbd_parse_hid: Found right alt=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
Dec  9 08:50:23 nuc kernel: ukbd_parse_hid: Found left GUI=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
Dec  9 08:50:23 nuc kernel: ukbd_parse_hid: Found right GUI=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
Dec  9 08:50:23 nuc kernel: ukbd_parse_hid: Found keyboard event array=20=
=20=20=20=20=20=20=20=20
Dec  9 08:50:23 nuc kernel: ukbd_parse_hid: Found keyboard numlock=20=20=20=
=20=20=20=20=20=20=20=20=20=20
Dec  9 08:50:23 nuc kernel: ukbd_parse_hid: Found keyboard capslock=20=20=
=20=20=20=20=20=20=20=20=20=20
Dec  9 08:50:23 nuc kernel: ukbd_parse_hid: Found keyboard scrolllock=20=20=
=20=20=20=20=20=20=20=20
Dec  9 08:50:23 nuc kernel: ukbd_set_leds: leds=3D0x00=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
Dec  9 08:50:23 nuc syslogd: last message repeated 1 times=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
Dec  9 08:50:23 nuc kernel: kbd5 at ukbd3=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20
Dec  9 08:50:23 nuc kernel: ukbd_set_leds_callback: len=3D1, id=3D0=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20
Dec  9 08:50:23 nuc kernel: ukbd_intr_callback: actlen=3D64 bytes=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20
Dec  9 08:50:23 nuc kernel: ukbd_intr_callback: modifiers =3D 0x0000=20=20=
=20=20=20=20=20=20=20=20=20=20=20
Dec  9 08:50:23 nuc kernel: ukbd_intr_callback: [1] =3D 0x02=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
Dec  9 08:50:23 nuc kernel: ukbd_intr_callback: [2] =3D 0x01=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
Dec  9 08:50:23 nuc kernel: ukbd_intr_callback: [4] =3D 0x01=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
Dec  9 08:50:23 nuc kernel: ukbd_put_key: 0x02 (2) pressed=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
Dec  9 08:50:23 nuc kernel: ukbd_put_key: 0x01 (1) pressed=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
Dec  9 08:50:23 nuc syslogd: last message repeated 1 times=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
Dec  9 08:50:26 nuc kernel: ukbd_intr_callback: actlen=3D3 bytes=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20
Dec  9 08:50:26 nuc kernel: ukbd_intr_callback: modifiers =3D 0x0003=20=20=
=20=20=20=20=20=20=20=20=20=20=20
Dec  9 08:50:26 nuc kernel: ukbd_intr_callback: [0] =3D 0x04=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
Dec  9 08:50:26 nuc kernel: ukbd_put_key: 0xe0 (224) pressed=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20
Dec  9 08:50:26 nuc kernel: ukbd_put_key: 0xe1 (225) pressed=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20
Dec  9 08:50:26 nuc kernel: ukbd_put_key: 0x402 (1026) released=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20
Dec  9 08:50:26 nuc kernel: ukbd_put_key: 0x401 (1025) released=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20
Dec  9 08:50:26 nuc syslogd: last message repeated 1 times=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
Dec  9 08:50:26 nuc kernel: ukbd_put_key: 0x04 (4) pressed=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
Dec  9 08:50:26 nuc syslogd: last message repeated 2 times=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
Dec  9 08:50:26 nuc kernel: ukbd_intr_callback: actlen=3D8 bytes=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20
Dec  9 08:50:26 nuc kernel: ukbd_intr_callback: modifiers =3D 0x0000=20=20=
=20=20=20=20=20=20=20=20=20=20=20
Dec  9 08:50:26 nuc kernel: ukbd_intr_callback: [0] =3D 0x14=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
Dec  9 08:50:26 nuc kernel: ukbd_put_key: 0x14 (20) pressed=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
Dec  9 08:50:26 nuc kernel: ukbd_put_key: 0x04 (4) pressed=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
Dec  9 08:50:27 nuc kernel: ukbd_intr_callback: actlen=3D8 bytes=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20
Dec  9 08:50:27 nuc kernel: ukbd_intr_callback: modifiers =3D 0x0000
Dec  9 08:50:27 nuc kernel: ukbd_put_key: 0x414 (1044) released
Dec  9 08:50:27 nuc kernel: ukbd_put_key: 0x04 (4) pressed
Dec  9 08:50:35 nuc syslogd: last message repeated 83 times
Dec  9 08:50:35 nuc kernel: ukbd_intr_callback: actlen=3D8 bytes
Dec  9 08:50:35 nuc kernel: ukbd_intr_callback: modifiers =3D 0x0000
Dec  9 08:50:35 nuc kernel: ukbd_intr_callback: [0] =3D 0x39
Dec  9 08:50:35 nuc kernel: ukbd_put_key: 0x39 (57) pressed
Dec  9 08:50:35 nuc kernel: ukbd_set_leds: leds=3D0x01
Dec  9 08:50:35 nuc syslogd: last message repeated 3 times
Dec  9 08:50:35 nuc kernel: ukbd_put_key: 0x04 (4) pressed
Dec  9 08:50:35 nuc kernel: ukbd_set_leds_callback: len=3D1, id=3D0
Dec  9 08:50:35 nuc syslogd: last message repeated 3 times
Dec  9 08:50:35 nuc kernel: ukbd_intr_callback: actlen=3D8 bytes
Dec  9 08:50:35 nuc kernel: ukbd_intr_callback: modifiers =3D 0x0000
Dec  9 08:50:35 nuc kernel: ukbd_put_key: 0x439 (1081) released
Dec  9 08:50:35 nuc kernel: ukbd_put_key: 0x04 (4) pressed
Dec  9 08:50:35 nuc kernel: ukbd_intr_callback: actlen=3D64 bytes

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-242531-227>