Re: sc16is7xx: sometimes invalid chars read

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

 



On 1 March 2016 02:10:01 GMT-05:00, "Sean Nyekjær" <sean.nyekjaer@xxxxxxxxx> wrote:
>
>
>On 2016-02-29 17:48, Greg KH wrote:
>> 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
>>
>Ops
>
[...]
>CPU: 0 PID: 287 Comm: minicom Not tainted 4.1.15-00136-g27ad049-dirty

Thats a bit of an old kernel, did you backport recent changes?

--
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