kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* kgdb debug with ttyUSB0 instead of ttyS0
@ 2017-04-25 21:11 Oliver Graute
  2017-04-25 22:02 ` Mandeep Sandhu
  2017-04-26  4:37 ` Greg KH
  0 siblings, 2 replies; 7+ messages in thread
From: Oliver Graute @ 2017-04-25 21:11 UTC (permalink / raw)
  To: kernelnewbies

Hello list,

i'am using a null modem cable with two usb to serial converts on both
ends between my develop and my target machine. The connection is fine.
On both machines the serial interface is /dev/ttyUSB0 for this connection.

On the target machine I try to enable kgdboc

echo ttyUSB0 > /sys/module/kgdboc/parameters/kgdboc

but only got:

echo write error: No such device

if I try:

echo ttyS0 > /sys/module/kgdboc/parameters/kgdboc

is not complaining. Some ideas why ttyUSB0 can't be used with kgdb? 

Best regards,

Oliver

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

end of thread, other threads:[~2017-04-29 11:51 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-25 21:11 kgdb debug with ttyUSB0 instead of ttyS0 Oliver Graute
2017-04-25 22:02 ` Mandeep Sandhu
2017-04-26  4:37 ` Greg KH
2017-04-26 11:23   ` Oliver Graute
2017-04-26 12:49     ` Greg KH
2017-04-26 21:11       ` Joe Smith
2017-04-29 11:51       ` Oliver Graute

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).