adafruit / Adafruit_TinyUSB_Arduino

Arduino library for TinyUSB
MIT License
486 stars 129 forks source link

Boot keyboard is not able to enter BIOS #208

Closed tomaszduda23 closed 11 months ago

tomaszduda23 commented 2 years ago

Operating System

Linux

IDE version

5.2.0

Board

lolin_s2_mini

ArduinoCore version

2.0.5

TinyUSB Library version

1.14.4

Sketch (attached txt file)

main.txt

What happened ?

Unable to enter BIOS without reseting board during boot-up. It can be fixed by doing detach and attach or HW reset.

  TinyUSBDevice.detach();
  delay(100);
  TinyUSBDevice.attach();  

How to reproduce ?

  1. Power on boot keyboard
  2. Try to enter BIOS

Debug Log

boot_usb_kbd.txt

USBD Xfer Complete on EP 80 with 0 bytes
  Queue EP 83 with 8 bytes ...                          <- should there be complete for this EP?

USBD Setup Received 80 06 00 01 00 00 12 00 
  Get Descriptor Device
  Queue EP 80 with 18 bytes ...
USBD Xfer Complete on EP 80 with 18 bytes

Screenshots

No response

hathach commented 1 year ago

try to remove Serial connetion and leave only keyboard interface alone to see if that works.

hathach commented 11 months ago

closed due to lack of user response