All of lore.kernel.org
 help / color / mirror / Atom feed
* ttyACM: disabled by hub (EMI?), re-enabling... Causes garbage chars & disconnect
@ 2020-05-25 14:46 Joakim Tjernlund
  2020-05-25 15:02 ` Oliver Neukum
  0 siblings, 1 reply; 22+ messages in thread
From: Joakim Tjernlund @ 2020-05-25 14:46 UTC (permalink / raw)
  To: linux-usb

Every now and then I see in dmesg:

[Wed May 20 14:03:16 2020] cdc_ether 1-6.2:1.0 usb0: unregister 'cdc_ether' usb-0000:00:14.0-6.2, CDC Ethernet Device
[Wed May 20 14:03:25 2020] usb usb1-port6: disabled by hub (EMI?), re-enabling...
[Wed May 20 14:03:25 2020] usb 1-6: USB disconnect, device number 85
[Wed May 20 14:03:25 2020] cdc_acm 1-6.3:1.1: acm_ctrl_irq - usb_submit_urb failed: -19
[Wed May 20 14:03:25 2020] usb 1-6-port2: attempt power cycle
[Wed May 20 14:03:26 2020] usb 1-6.3: USB disconnect, device number 86
[Wed May 20 14:03:26 2020] cdc_acm 1-6.3:1.1: failed to set dtr/rts
[Wed May 20 14:03:26 2020] usb 1-6: new high-speed USB device number 94 using xhci_hcd
[Wed May 20 14:03:27 2020] hub 1-6:1.0: USB hub found
[Wed May 20 14:03:27 2020] hub 1-6:1.0: 3 ports detected
[Wed May 20 14:03:27 2020] usb 1-6.2: new high-speed USB device number 95 using xhci_hcd
[Wed May 20 14:03:27 2020] cdc_ether 1-6.2:1.0 usb0: register 'cdc_ether' at usb-0000:00:14.0-6.2, CDC Ethernet Device, 7e:1d:06:c0:3f:3c
[Wed May 20 14:03:27 2020] usb 1-6.3: new high-speed USB device number 96 using xhci_hcd
[Wed May 20 14:03:27 2020] cdc_acm 1-6.3:1.1: ttyACM0: USB ACM device

This (EMI?) disconnect causes 2 things.
1) I loose the TTY temporarily and have to reconnect.
2) After reconnect there are garbage chars on the gadget side, such as:
     h�^@^@� ^@^@� ^@
   or
     X���)H��4Ğ^���
   which causes confusion on for the tty/bash on the gadget.

The disconnect is mostly just annoying but the garbage chars are a major pain, one cannot trust
that cmds are understod. Is there a bug in ttyACM driver causing these?

 Jocke

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

end of thread, other threads:[~2020-06-15 11:01 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-25 14:46 ttyACM: disabled by hub (EMI?), re-enabling... Causes garbage chars & disconnect Joakim Tjernlund
2020-05-25 15:02 ` Oliver Neukum
2020-05-25 15:15   ` Joakim Tjernlund
2020-05-25 16:49     ` Joakim Tjernlund
2020-05-26  8:47       ` Oliver Neukum
2020-05-26  8:59         ` Joakim Tjernlund
2020-05-26 10:14           ` Oliver Neukum
2020-05-26 16:46             ` Joakim Tjernlund
2020-05-26 17:19               ` Joakim Tjernlund
2020-05-27  8:38                 ` Oliver Neukum
2020-05-27  9:40                   ` Joakim Tjernlund
2020-05-27 10:12                     ` Greg KH
2020-05-27 10:41                     ` Oliver Neukum
2020-05-27 13:16                       ` Joakim Tjernlund
2020-05-27 15:41                         ` Joakim Tjernlund
2020-06-05 10:09                           ` Joakim Tjernlund
2020-06-08  9:13                             ` Oliver Neukum
2020-06-08 11:39                               ` Joakim Tjernlund
2020-06-08 15:40                                 ` Oliver Neukum
2020-06-08 16:00                                   ` Joakim Tjernlund
2020-06-08 19:21                                     ` Oliver Neukum
2020-06-15 11:01           ` Joakim Tjernlund

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.