From mboxrd@z Thu Jan 1 00:00:00 1970 From: greg@kroah.com (Greg KH) Date: Thu, 25 Jan 2018 08:34:52 +0100 Subject: Testing low level UART driver In-Reply-To: References: <20180124132203.GA1639@kroah.com> <20180124152341.GA24485@kroah.com> Message-ID: <20180125073452.GA4089@kroah.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org On Thu, Jan 25, 2018 at 12:46:01PM +0530, Muni Sekhar wrote: > On Wed, Jan 24, 2018 at 8:53 PM, Greg KH wrote: > > On Wed, Jan 24, 2018 at 08:43:56PM +0530, Muni Sekhar wrote: > >> On Wed, Jan 24, 2018 at 6:52 PM, Greg KH wrote: > >> > On Wed, Jan 24, 2018 at 06:46:06PM +0530, Muni Sekhar wrote: > >> >> Hi All, > >> >> > >> >> Does Linux kernel tree has any standard utilities to test any low > >> >> level UART driver? > >> > > >> > What do you mean by "low level UART driver"? > >> bcm63xx_uart.c > >> > >> > > >> > Have you tried one of the many different userspace serial port tools? > >> I tried only minicom. Could you let me know the best userspace serial > >> port tools. > > > > What doesn't work with minicom? That's a really good tester given that > > it exercises the tty layer a lot. > > I?m trying to record throughput achieved with different baud rates in > loopback mode. Does minicom support this? Not that I know of, but it would be pretty simple to write a program to do that. good luck! greg k-h