From mboxrd@z Thu Jan 1 00:00:00 1970 From: oliver.graute@gmail.com (Oliver Graute) Date: Tue, 25 Apr 2017 23:11:38 +0200 Subject: kgdb debug with ttyUSB0 instead of ttyS0 Message-ID: <20170425211138.GA3230@ripley> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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