Re: sc16is7xx: sometimes invalid chars read

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Feb 29, 2016 at 01:47:36PM +0100, Sean Nyekjær wrote:
> Hi
> 
> I'm still having some problems with this driver :-(
> 
> I'm using the sc16is750 on an imx6d platform i have tested it with a vanilla
> kernel and RT patches applied.
> 
> I have our hardware hooked up to a PC using an ttl ftdi chip, both the
> sc16is750 and the ftdi is setup:
> $ stty -F /dev/tty[dev] 115200 raw -echo
> 
> From the PC I cat a large file:
> $ cat /var/log/pacman.log > /dev/ttyUSB3
> 
> And on the imx I open and closes cat:
> $ cat /dev/ttySC0
> [2014-09-17 08:08] [ALPM-SCRIPTLET] gpg: next trustdb check due at
> 2015-03-31
> [2014-09-17 08:08] [PACMAN] upgraded archlinux-keyring (20140220-1 ->
> 20140908-1)
> [2014-09-17 08:08] [PACMAN] upgraded linux-api-headers (3.14.1-1 ->
> 3.16.2-1)
> [2014-09-17 08:08] [ALPM] warning: /etc/locale.gen installed as
> /etc/locale.gen.pacnew
> [2014-09-17 08:08] [ALPM-SCRIPTLET] Generating locales...
> [2014-09-17 08:08] [ALPM-SCRIPTLET]   en_DK.UTF-8... done
> ...
> 
> Waiting for data to flow and closes og repeates again, most of the time data
> is flowing perfectly but sometimes the whole datastream is containing
> invalid chars:
> 
> $ cat /dev/ttySC0

'cat' is never a good thing to use for serial ports, try using something
like minicom or another program that knows it is talking to a serial
device.

thanks,

greg k-h

--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux