public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Break doesn't work on a CP2105
@ 2023-04-26 20:04 Corey Minyard
  2023-04-26 23:42 ` [PATCH] USB: serial: cp210x: work around silicon bug setting break minyard
  2023-05-22 11:59 ` Break doesn't work on a CP2105 Johan Hovold
  0 siblings, 2 replies; 10+ messages in thread
From: Corey Minyard @ 2023-04-26 20:04 UTC (permalink / raw)
  To: Craig Shelley, Johan Hovold; +Cc: Linux Kernel, linux-usb

I have a development board with a CP2105 on it, and I was trying to send
a break to it to do a sysrq.  And it wasn't working.

I have verified that the target driver works by setting a really slow
baud rate and sending something with a lot of zero bits.  It got breaks
just fine.

If I use TCSBRK, it seems to just send a short time with zeros, not
even a full character's worth.  It receives a valid character with the
top few bits set.  If I use TCSBRKP with a longer time, like 2.5
seconds, it waits the whole time, then at the very end it gets the
character as with the shorter break.

I can't find a programming manual for the chip, and I'm not sure what's
going on.

-corey

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2023-06-05 12:25 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-26 20:04 Break doesn't work on a CP2105 Corey Minyard
2023-04-26 23:42 ` [PATCH] USB: serial: cp210x: work around silicon bug setting break minyard
2023-05-22 11:59 ` Break doesn't work on a CP2105 Johan Hovold
2023-05-22 12:52   ` Corey Minyard
2023-06-02 12:53     ` Johan Hovold
2023-06-02 16:46       ` Corey Minyard
2023-06-04 12:17         ` Johan Hovold
2023-06-04 20:11           ` Corey Minyard
2023-06-05  7:15             ` Johan Hovold
2023-06-05 12:25               ` Corey Minyard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox