Replies: 4 comments 2 replies
-
can you provide a bit of background info, which board and which firmware you are running, what have you done in the linux host. Is it selective port suspend (a dmesg log may have some hint) etc ... If it is indeed port suspend, there is no point for flushing, since usb bus is not active. |
Beta Was this translation helpful? Give feedback.
-
I am on 0411810, board is custom (ULPY PHY + STM32H730 like in #900), otherwise pretty much dual cdc example with only one CDC enabled. dmesg holds enumeration info only, nothing else appears there...
|
Beta Was this translation helpful? Give feedback.
-
oh... When I remove attribute
|
Beta Was this translation helpful? Give feedback.
-
Ok, synopsys has a little TODO blocker, I guess... in void dcd_remote_wakeup(uint8_t rhport)
{
(void) rhport;
// TODO must manually clear this bit after 1-15 ms
// USB_OTG_DeviceTypeDef * dev = DEVICE_BASE(rhport);
// dev->DCTL |= USB_OTG_DCTL_RWUSIG;
} |
Beta Was this translation helpful? Give feedback.
-
Hi,
I am getting device suspend, even when com port is opened on PC. This basically disables device cdc TX flushing.
Kernel: Linux 5.13.10
I don't think this is tinyusb issue, but I also don't know where to ask for help.
Is there some setting on USB device side, which could tell USB host to relax suspending?
Does anybody have similar issue on Linux?
Beta Was this translation helpful? Give feedback.
All reactions