Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When I plug the wired Logitech G903 into the USB host of RP2040, it crashes #471

Open
FBMNBAWA opened this issue Nov 9, 2024 · 4 comments
Labels
Bug Something isn't working

Comments

@FBMNBAWA
Copy link

FBMNBAWA commented Nov 9, 2024

Operating System

Windows 10

Arduino IDE version

2.33

Board

Raspberry pico

ArduinoCore version

4.11

TinyUSB Library version

3.40

Sketch as ATTACHED TXT

examples/DualRole/HID
/hid_device_report

Compiled Log as ATTACHED TXT

Pico and mouse are both stuck, and can only be restored by restarting Pico. After a while, they are stuck again

What happened ?

Pico and mouse are both stuck, and can only be restored by restarting Pico. After a while, they are stuck again. But if you use a receiver connection, there won't be any problem

How to reproduce ?

Connect a wired connection to Logitech G903 on the USB host of RP2040

Debug Log

No response

Screenshots

No response

@FBMNBAWA FBMNBAWA added the Bug Something isn't working label Nov 9, 2024
@hathach
Copy link
Member

hathach commented Nov 20, 2024

can you try to change CFG_TUSB_DEBUG = 2, then get the LOG via Serial1 (hw uart) and post it here.

@FBMNBAWA
Copy link
Author

on EP 81 with 0 bytes: FAILED
HID xfer callback
Get Report callback (1, 0)
[1] Claimed EP 0x81
Queue EP 81 with 8 bytes ...
OK

@FBMNBAWA
Copy link
Author

Thank you for answering my question. It has been bothering me for a long time

@FBMNBAWA
Copy link
Author

on EP 00 with 0 bytes: OK

[1] Claimed EP 0x81
Queue EP 81 with 8 bytes ...
OK
HID set config: itf = 1
HID Set Idle
[1:1] Class Request: 21 0A 00 00 01 00 00 00
on EP 81 with 0 bytes: FAILED
HID xfer callback
Get Report callback (1, 0)
[1] Claimed EP 0x81
Queue EP 81 with 8 bytes ...
OK
on EP 00 with 8 bytes: FAILED
[1:1] Control FAILED, xferred_bytes = 8
21 0A 00 00 01 00 00 00

HID Get Report Descriptor
[1:1] Get Descriptor: 81 06 00 22 01 00 97 00
on EP 81 with 0 bytes: FAILED
HID xfer callback
Get Report callback (1, 0)
[1] Claimed EP 0x81
Queue EP 81 with 8 bytes ...
OK
on EP 00 with 8 bytes: FAILED
[1:1] Control FAILED, xferred_bytes = 8
81 06 00 22 01 00 97 00

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants