Re: Cypress CDC ACM serial port not working correctly with autosuspend

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Am Dienstag, dem 14.03.2023 um 14:16 +0100 schrieb Oliver Neukum:
> 
> I haven't forgotten you. Sorry for the delay.
> Yet for soem reason I cannot get Wireshark to read your logs.
> Would it be too much to ask you to recapture with Wireshark
> and save in the native format? 103K is too large to look through.

No problem. I repeated that second experiment: The device behind the
USB2UART just sends a "Hello World" message every three seconds. I also
figured out what the other device on that bus is and was able to mostly
silence it.

You find the binary Wireshark trace attached to this mail. It includes
the initial connection of the device.

What I could make out in the log is the following:

* Frame  41ff. (10.8s): Device connected on Port 2
* Around second 13: Running "screen /dev/ttyACM0 115200" on the host.
* Frame 131ff. (14.3s): The first "Hello World"
* Frame 174ff. (16.6s): Port suspend
  --> no more communication
* Around second 52 I did:
    echo "on" > /sys/bus/usb/devices/5-2/power/control
* Frame 179ff. (52.8s): Port resume
* Frame 221ff. (53.3s): "Hello World"
* More "Hello World"s every three seconds as expected
* Around second 73 I did:
    echo "auto" > /sys/bus/usb/devices/5-2/power/control
* Frame 418ff. (73.7s): Port suspend
  --> no more communication
* Around second 100: Disconnected device

Best regards,
Michael

Attachment: uart-wireshark.pcapng
Description: application/pcapng


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux