Re: Single UART handling multiple devices.

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

 



Hi,

Thanks for the response. I have explored the option of FIFOs, but the issue
is I need Full duplex support from the devices. In that case I will have to
use two FIFOs for each device. So, it would be good to know if there is any
better option.

Also, I was thinking of multiple virtual device nodes with single UART. But,
I want to know how do I have these layers communicate? multiple virtual ttys
with single UART work? 
Please suggest.

Thanks & Regards,
-- Srinivas R


matthias-44 wrote:
> 
> Hi,
> 
> Why you don't put everything in user space. So you just need the
> driver to communicate with your UART port.
> Use pipes for communication between your applications and the
> UART-controller-application in user space.
> 
> regards,
> Matthias
> 
> 2009/7/19 srinivas ramana <srinivas.ramana@xxxxxxxxx>:
>> Hi All,
>>
>> I have a UART port on my device. A micro controller which drives multiple
>> other devices is connected to this UART port.
>> I need all those devices, connected to micro controller, to be visible to
>> Linux applications as separate UART devices/ports.
>>
>> What is the best way to do this? What all driver layers i need to
>> add/modify. Please help.
>> Thanks in advance.
>>
>> Note: assume there is a protocol between micro controller & Linux to
>> understand which device is requesting service.
>>
>> Thanks & Regards,
>> -- Srinivas R
>>
> 
> 
> 
> -- 
> motzblog.wordpress.com
> 
> --
> To unsubscribe from this list: send an email with
> "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
> Please read the FAQ at http://kernelnewbies.org/FAQ
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Single-UART-handling-multiple-devices.-tp24554623p24591401.html
Sent from the kernelnewbies mailing list archive at Nabble.com.


--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux