hathach / tinyusb

An open source cross-platform USB stack for embedded system
https://www.tinyusb.org
MIT License
4.9k stars 1.03k forks source link

rp2040 host won't work with 'tracer CH4' hub #2237

Open Jajcus opened 1 year ago

Jajcus commented 1 year ago

Operating System

Linux

Board

Raspberry Pi Pico

Firmware

examples/host/cdc_msc_hid

What happened ?

When hub is connected device seems stuck in a loop instead of detecting the hub connected. When disconnecting the hub it panics with 'Invalid speed'. The same hub works correctly with Linux PC, a different hub works with the same Pico.

How to reproduce ?

  1. compile the example with: make BOARD=raspberry_pi_pico all LOG=2
  2. flash it to the Rasbperry Pi Pico
  3. connect the tracer CH4 hub/card reader via a OTG atapter to the Pico (it won't work)
  4. disconnect it (the pico will PANIC)

Debug Log as txt file (LOG/CFG_TUSB_DEBUG=2)

debug.txt

Screenshots

No response

I have checked existing issues, dicussion and documentation

hathach commented 1 year ago

won't fix since I don't have device in question. PR is welcome

Jajcus commented 1 year ago

I would need at least some guide how to debug this and what could be the problem. I hoped someone can see what is wrong by looking at the logs – they are completely incomprehensible to me right now.