LDT - Linux Driver Template
Constantine Shulyupin
const at makelinux.com
Wed Sep 26 11:05:55 EDT 2012
Yes, it is because you have no serial port. In this case LDT emulates loopback.
On Wed, Sep 26, 2012 at 4:48 PM, Mulyadi Santosa
<mulyadi.santosa at gmail.com> wrote:
> On Wed, Sep 26, 2012 at 6:03 PM, Constantine Shulyupin
> <const at makelinux.com> wrote:
>> Readme and sources: https://github.com/makelinux/ldt/blob/master/README.md
>>
>> To run driver with test script just run:
>> git clone git://github.com/makelinux/ldt.git && cd ldt && ./ldt-test
>>
>> You feedback, suggestions, discussions, recommendations patched will
>> be greatly appreciated!
>>
>
> Hi,
>
> I am the same person you probably see in LinkedIn :)
>
> Anyway, I use kernel 3.2.0-31-generic (Linux Mint 13) and when I run
> 'sudo ldt-test', I got:
> stty: /dev/ttyS0: Input/output error
> dio.c:138 io_start FAIL errno = 5 "Input/output error" -1 = ret =
> output(dev, inbuf, data_in_len)
> No loopback on /dev/ttyS0 detected, running ldt driver with UART in
> loopback mode
> dio.c:138 io_start FAIL errno = 5 "Input/output error" -1 = ret =
> output(dev, inbuf, data_in_len)
>
> is it due to I have no serial port?
>
> --
> regards,
>
> Mulyadi Santosa
> Freelance Linux trainer and consultant
>
> blog: the-hydra.blogspot.com
> training: mulyaditraining.blogspot.com
--
Constantine Shulyupin
http://www.MakeLinux.com/
Embedded Linux Systems,
Device Drivers, TI DaVinci
More information about the Kernelnewbies
mailing list