Re: RS-485 automatic RTS toggle in Linux (on Winbond W83627UHG)

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

 



Then i definitely have a different datasheet (v1.41). No 485 matches were found.
Indeed, if it has support then there is no need for software toggle
(although i still think it is done this way in the Etrax driver coming
with the kernel).


On Tue, Nov 29, 2011 at 5:20 PM, Wolfram Sang <w.sang@xxxxxxxxxxxxxx> wrote:
>
>> Unless i have overlooked something, i do not see how to toggle the
>> automatic RTS mode from W83627UHG's datasheet. Have you found it?
>
> Yes, searching for '485' gives you all the info you need (if we got the same
> datasheet).
>
>> Regarding 2.6.38+ drivers, Atmel supports RS485 on the hardware level
>> and Etrax is handling the RTS toggling directly from the driver. I
>
> Hardware level is the only official supported way in Linux. Software toggling
> can easily fail due to preemption.
>
>> guess this is what i will finally have to do, i.e. to toggle RTS from
>> the driver myself.
>
> Why? If the hardware has support?
>
>> I am surprised that the RTS toggling issue for RS485 in Linux is
>> around for quite a while.
>
> It has come a long way, but all you need is there now (except for software
> based direction control, see above).
>
> Regards,
>
>   Wolfram
>
> --
> Pengutronix e.K.                           | Wolfram Sang                |
> Industrial Linux Solutions                 | http://www.pengutronix.de/  |
>
--
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