Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Jul 2020 11:21:28 +0000
From:      bugzilla-noreply@freebsd.org
To:        usb@FreeBSD.org
Subject:   [Bug 248365] Varmilo VA109M keyboard not working
Message-ID:  <bug-248365-19105@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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: <AONE Varmilo Keyboard> at usbus2
ukbd0: <AONE Varmilo Keyboard, class 0/0, rev 2.00/1.00, addr 2> on usbus2
ukbd1: <AONE Varmilo Keyboard, class 0/0, rev 2.00/1.00, addr 2> on usbus2
uhid0: <AONE Varmilo Keyboard, class 0/0, rev 2.00/1.00, addr 2> 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: <AONE Varmilo Keyboard> at usbus2
ukbd0 on uhub0
ukbd0: <AONE Varmilo Keyboard, class 0/0, rev 2.00/1.00, addr 2> 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: <AONE Varmilo Keyboard, class 0/0, rev 2.00/1.00, addr 2> 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: <AONE Varmilo Keyboard, class 0/0, rev 2.00/1.00, addr 2> on usbus2

# usbconfig dump
usbconfig ugen2.3 dump_curr_config_desc
ugen2.3: <AONE Varmilo Keyboard> 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  <no string>
    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  <HID device>
      bInterfaceSubClass =3D 0x0001
      bInterfaceProtocol =3D 0x0001
      iInterface =3D 0x0000  <no string>

      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  <IN>
        bmAttributes =3D 0x0003  <INTERRUPT>
        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  <HID device>
      bInterfaceSubClass =3D 0x0000
      bInterfaceProtocol =3D 0x0000
      iInterface =3D 0x0000  <no string>

      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  <IN>
        bmAttributes =3D 0x0003  <INTERRUPT>
        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  <HID device>
      bInterfaceSubClass =3D 0x0000
      bInterfaceProtocol =3D 0x0000
      iInterface =3D 0x0000  <no string>

      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  <IN>
        bmAttributes =3D 0x0003  <INTERRUPT>
        wMaxPacketSize =3D 0x0020ugen2.3: <AONE Varmilo Keyboard> at usbus2

        bInterval =3D 0x0004
        bRefresh =3D 0x0000
        bSynchAddress =3D 0x0000

     Endpoint 1
        bLength =3D 0x0007
        bDescriptorType =3D 0x0005
        bEndpointAddress =3D 0x0004  <OUT>
        bmAttributes =3D 0x0003  <INTERRUPT>
        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.=



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