From owner-freebsd-usb@freebsd.org Thu Jul 30 11:21:29 2020 Return-Path: Delivered-To: freebsd-usb@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 06ED63A1A71 for ; Thu, 30 Jul 2020 11:21:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4BHSfJ6SZ8z4CmS for ; Thu, 30 Jul 2020 11:21:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id DDC9C3A2181; Thu, 30 Jul 2020 11:21:28 +0000 (UTC) Delivered-To: usb@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DD8FE3A214F for ; Thu, 30 Jul 2020 11:21:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BHSfJ5ZxZz4CmR for ; Thu, 30 Jul 2020 11:21:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A3247FF7E for ; Thu, 30 Jul 2020 11:21:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 06UBLSZL052826 for ; Thu, 30 Jul 2020 11:21:28 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 06UBLSsX052824 for usb@FreeBSD.org; Thu, 30 Jul 2020 11:21:28 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: usb@FreeBSD.org Subject: [Bug 248365] Varmilo VA109M keyboard not working Date: Thu, 30 Jul 2020 11:21:28 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 12.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: cvelbar@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: usb@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jul 2020 11:21:29 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D248365 Bug ID: 248365 Summary: Varmilo VA109M keyboard not working Product: Base System Version: 12.1-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: usb Assignee: usb@FreeBSD.org Reporter: cvelbar@gmail.com I'm trying to use a Varmilo VA109M keyboard with FreeBSD. It seems to be correctly recognised ugen2.3: at usbus2 ukbd0: on usbus2 ukbd1: on usbus2 uhid0: on usbus2 When I try to type nothing shows as if a meta or function key is stuck - af= ter pocking on the keyboard sometimes the computer goes to sleep or resets. I tried it also on my laptop with the same FreeBSD 12.1-RELEASE and the behaviour is identic. It works under Linux and Windows on the same machines. The issues arise also when the keyboard is plugged in after boot. Possibly related to https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D181= 425 # Relevant part of dmesg with hw.usb.ukbd.debug=3D1 ugen2.3: at usbus2 ukbd0 on uhub0 ukbd0: on usbus2 ukbd_attach: Parsing HID descriptor of 59 bytes ukbd_parse_hid: Found left control ukbd_parse_hid: Found right control ukbd_parse_hid: Found left shift ukbd_parse_hid: Found right shift ukbd_parse_hid: Found left alt ukbd_parse_hid: Found right alt ukbd_parse_hid: Found left GUI ukbd_parse_hid: Found right GUI ukbd_parse_hid: Found keyboard event array ukbd_parse_hid: Found keyboard numlock ukbd_parse_hid: Found keyboard capslock ukbd_parse_hid: Found keyboard scrolllock ukbd_attach: Forcing boot protocol ukbd_parse_hid: Found left control ukbd_parse_hid: Found right control ukbd_parse_hid: Found left shift ukbd_parse_hid: Found right shift ukbd_parse_hid: Found left alt ukbd_parse_hid: Found right alt ukbd_parse_hid: Found left GUI ukbd_parse_hid: Found right GUI ukbd_parse_hid: Found keyboard event array ukbd_parse_hid: Found keyboard numlock ukbd_parse_hid: Found keyboard capslock ukbd_parse_hid: Found keyboard scrolllock ukbd_set_leds: leds=3D0x00 ukbd_set_leds: leds=3D0x00 kbd2 at ukbd0 ukbd_set_leds_callback: len=3D1, id=3D0 ukbd_intr_callback: actlen=3D8 bytes ukbd_intr_callback: modifiers =3D 0x0000 ukbd_intr_callback: actlen=3D8 bytes ukbd_intr_callback: modifiers =3D 0x0000 ukbd1 on uhub0 ukbd1: on usbus2 ukbd_attach: Parsing HID descriptor of 85 bytes ukbd_parse_hid: Found left control ukbd_parse_hid: Found right control ukbd_parse_hid: Found left shift ukbd_parse_hid: Found right shift ukbd_parse_hid: Found left alt ukbd_parse_hid: Found right alt ukbd_parse_hid: Found left GUI ukbd_parse_hid: Found right GUI ukbd_parse_hid: Ignoring keyboard event control ukbd_attach: Forcing boot protocol ukbd_attach: Set protocol error=3DUSB_ERR_STALLED (ignored) ukbd_parse_hid: Found left control ukbd_parse_hid: Found right control ukbd_parse_hid: Found left shift ukbd_parse_hid: Found right shift ukbd_parse_hid: Found left alt ukbd_parse_hid: Found right alt ukbd_parse_hid: Found left GUI ukbd_parse_hid: Found right GUI ukbd_parse_hid: Found keyboard event array ukbd_parse_hid: Found keyboard numlock ukbd_parse_hid: Found keyboard capslock ukbd_parse_hid: Found keyboard scrolllock ukbd_set_leds: leds=3D0x00 ukbd_set_leds: leds=3D0x00 kbd3 at ukbd1 ukbd_set_leds_callback: len=3D1, id=3D0 ukbd_intr_callback: actlen=3D16 bytes ukbd_intr_callback: modifiers =3D 0x0005 ukbd_put_key: 0xe0 (224) pressed ukbd_put_key: 0xe2 (226) pressed uhid0 on uhub0 uhid0: on usbus2 # usbconfig dump usbconfig ugen2.3 dump_curr_config_desc ugen2.3: at usbus2, cfg=3D0 md=3DHOST spd=3DFULL (1= 2Mbps) pwr=3DON (350mA) Configuration index 0 bLength =3D 0x0009 bDescriptorType =3D 0x0002 wTotalLength =3D 0x005b bNumInterfaces =3D 0x0003 bConfigurationValue =3D 0x0001 iConfiguration =3D 0x0000 bmAttributes =3D 0x00a0 bMaxPower =3D 0x00af Interface 0 bLength =3D 0x0009 bDescriptorType =3D 0x0004 bInterfaceNumber =3D 0x0000 bAlternateSetting =3D 0x0000 bNumEndpoints =3D 0x0001 bInterfaceClass =3D 0x0003 bInterfaceSubClass =3D 0x0001 bInterfaceProtocol =3D 0x0001 iInterface =3D 0x0000 Additional Descriptor bLength =3D 0x09 bDescriptorType =3D 0x21 bDescriptorSubType =3D 0x10 RAW dump: 0x00 | 0x09, 0x21, 0x10, 0x01, 0x00, 0x01, 0x22, 0x3b, 0x08 | 0x00 Endpoint 0 bLength =3D 0x0007 bDescriptorType =3D 0x0005 bEndpointAddress =3D 0x0081 bmAttributes =3D 0x0003 wMaxPacketSize =3D 0x0008 bInterval =3D 0x0001 bRefresh =3D 0x0000 bSynchAddress =3D 0x0000 Interface 1 bLength =3D 0x0009 bDescriptorType =3D 0x0004 bInterfaceNumber =3D 0x0001 bAlternateSetting =3D 0x0000 bNumEndpoints =3D 0x0001 bInterfaceClass =3D 0x0003 bInterfaceSubClass =3D 0x0000 bInterfaceProtocol =3D 0x0000 iInterface =3D 0x0000 Additional Descriptor bLength =3D 0x09 bDescriptorType =3D 0x21 bDescriptorSubType =3D 0x10 RAW dump: 0x00 | 0x09, 0x21, 0x10, 0x01, 0x00, 0x01, 0x22, 0x55, 0x08 | 0x00 Endpoint 0 bLength =3D 0x0007 bDescriptorType =3D 0x0005 bEndpointAddress =3D 0x0082 bmAttributes =3D 0x0003 wMaxPacketSize =3D 0x0010 bInterval =3D 0x0001 bRefresh =3D 0x0000 bSynchAddress =3D 0x0000 Interface 2 bLength =3D 0x0009 bDescriptorType =3D 0x0004 bInterfaceNumber =3D 0x0002 bAlternateSetting =3D 0x0000 bNumEndpoints =3D 0x0002 bInterfaceClass =3D 0x0003 bInterfaceSubClass =3D 0x0000 bInterfaceProtocol =3D 0x0000 iInterface =3D 0x0000 Additional Descriptor bLength =3D 0x09 bDescriptorType =3D 0x21 bDescriptorSubType =3D 0x10 RAW dump: 0x00 | 0x09, 0x21, 0x10, 0x01, 0x00, 0x01, 0x22, 0x21, 0x08 | 0x00 Endpoint 0 bLength =3D 0x0007 bDescriptorType =3D 0x0005 bEndpointAddress =3D 0x0083 bmAttributes =3D 0x0003 wMaxPacketSize =3D 0x0020ugen2.3: at usbus2 bInterval =3D 0x0004 bRefresh =3D 0x0000 bSynchAddress =3D 0x0000 Endpoint 1 bLength =3D 0x0007 bDescriptorType =3D 0x0005 bEndpointAddress =3D 0x0004 bmAttributes =3D 0x0003 wMaxPacketSize =3D 0x0020 bInterval =3D 0x0004 bRefresh =3D 0x0000 bSynchAddress =3D 0x0000 --=20 You are receiving this mail because: You are the assignee for the bug.=