You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given @todbot's example of creating a vendor-defined raw HID to communicate over USB — gist found here and further discussion in GitHub issues found here, I observe communication from my computer to Circuitpython broken as of 9.1.0-beta.3. Note: it works fine in 9.1.0-beta.2.
Additional information
Using 9.1.0-beta.2 is a workaround for now, but hope to help prevent this regression in 9.1.x. Thanks!
The text was updated successfully, but these errors were encountered:
I believe this is due to hathach/tinyusb#2253. I'm checking to see how the arguments to tud_hid_set_report_cb() have changed. This affects any use of get_last_received_report(), such as keyboard LED indicators.
CircuitPython version
Code/REPL
Behavior
No output observed, whereas in 9.1.0-beta.2 the above example works perfectly.
On 9.1.0-beta.3 with code above tested with no output (see the
[...] read 0 bytes [...]
line)dave@tomato:~$ hidapitester --usagePage 0xff00 --usage 1 --open -l 64 --send-output 2,3,4,5 --timeout 1000 --read-input 1 Opening device, vid/pid:0x0000/0x0000, usagePage/usage: FF00/1 Device opened Writing output report of 64-bytes...wrote 64 bytes: 02 03 04 05 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Reading 64-byte input report 0, 1000 msec timeout...read 0 bytes: Closing device
On 9.1.0-beta.2 with code above, output as expected,
dave@tomato:~$ hidapitester --usagePage 0xff00 --usage 1 --open -l 64 --send-output 2,3,4,5 --timeout 1000 --read-input 1 Opening device, vid/pid:0x0000/0x0000, usagePage/usage: FF00/1 Device opened Writing output report of 64-bytes...wrote 64 bytes: 02 03 04 05 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Reading 64-byte input report 0, 1000 msec timeout...read 64 bytes: 01 03 04 05 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Closing device
Description
Given @todbot's example of creating a vendor-defined raw HID to communicate over USB — gist found here and further discussion in GitHub issues found here, I observe communication from my computer to Circuitpython broken as of 9.1.0-beta.3. Note: it works fine in 9.1.0-beta.2.
Additional information
Using 9.1.0-beta.2 is a workaround for now, but hope to help prevent this regression in 9.1.x. Thanks!
The text was updated successfully, but these errors were encountered: