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

Re: RS485

At 6:23 PM -0800 4/3/02, Ujwal S. Sathyam wrote:
>On Thu, 2002-03-28 at 05:05, fredrik@xxxxxxx.com wrote:
>>  I am trying to read from the RS485 port(ttyS3) on a Etrax 100lx 
>>chip, is this port
>>  enabled by default or do I need to do enable it?
>I think you may have to enable it in the kernel config. I am not sure.
>>  And how do i read and write to it? Is there any examples on how to do this?
>Just open /dev/ttyS3 and do the read() and write() on the socket. In
>2-wire mode, I remember having to toggle RTS between the write() and

Sorry, I meant to say file descriptor...