qmk/qmk_firmware

[Bug] Infinity60/Whitefox slow startup time in Linux

Open

#8 733 ouverte le 8 avr. 2020

Voir sur GitHub
 (2 commentaires) (0 réactions) (0 assignés)C (43 867 forks)batch import
bughelp wanted

Métriques du dépôt

Stars
 (20 368 stars)
Métriques de merge PR
 (Merge moyen 20j 9h) (27 PRs mergées en 30 j)

Description

I just updated qmk firmare on both my Infinity60 and Whitefox and I noticed that when I plug in the keyboard it takes 10/20 seconds to the keyboard to send key events to the OS.

Before updating I had a very old qmk version and I did not have this problem. I have another Planck keyboard and it works fine, so maybe it's something related to chibios??

I tried on macos and it's much faster, it takes 2/3 seconds to become reponsive.

System Information

  • Keyboard:

    • Infinity 60
    • Whitefox
  • Operating system: Fedora with Linux kernel: 4.9.13-101.fc24.x86_64

  • AVR GCC version: avr-gcc (Fedora 6.2.0-1.fc24) 6.2.0

  • ARM GCC version: arm-none-eabi-gcc (Fedora 6.2.0-2.fc24) 6.2.0

  • QMK Firmware version: 0.8.103

Additional Context

This is the output from dmesg:

[  715.055001] usb 1-2: new full-speed USB device number 12 using xhci_hcd
[  715.224977] usb 1-2: New USB device found, idVendor=1c11, idProduct=b04d
[  715.224980] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  715.224982] usb 1-2: Product: Infinity_60%_LED/QMK
[  715.224984] usb 1-2: Manufacturer: Input Club
[  715.224986] usb 1-2: SerialNumber: 0
[  715.227899] input: Input Club Infinity_60%_LED/QMK as /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0/0003:1C11:B04D.0017/input/input33
[  715.281050] hid-generic 0003:1C11:B04D.0017: input,hidraw1: USB HID v1.11 Keyboard [Input Club Infinity_60%_LED/QMK] on usb-0000:00:14.0-2/input0
[  725.728390] hid-generic 0003:1C11:B04D.0018: usb_submit_urb(ctrl) failed: -1
[  725.728422] hid-generic 0003:1C11:B04D.0018: timeout initializing reports
[  725.728789] input: Input Club Infinity_60%_LED/QMK as /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/0003:1C11:B04D.0018/input/input34
[  725.781476] hid-generic 0003:1C11:B04D.0018: input,hidraw2: USB HID v1.11 Mouse [Input Club Infinity_60%_LED/QMK] on usb-0000:00:14.0-2/input1
[  735.968269] hid-generic 0003:1C11:B04D.0019: timeout initializing reports
[  735.969182] hid-generic 0003:1C11:B04D.0019: hiddev0,hidraw3: USB HID v1.11 Device [Input Club Infinity_60%_LED/QMK] on usb-0000:00:14.0-2/input2

It seems that the keyboard become responsive after the last line in dmesg.

Guide contributeur