linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Making a serial multiplexer (new driver)
@ 2005-01-03 13:20 Luís Vitório Cargnini
  2005-01-03 16:17 ` Geert Uytterhoeven
  2005-01-04  8:00 ` (OT?) " David Jander
  0 siblings, 2 replies; 4+ messages in thread
From: Luís Vitório Cargnini @ 2005-01-03 13:20 UTC (permalink / raw)
  To: linuxppc-embedded

[-- Attachment #1: Type: text/plain, Size: 589 bytes --]

Hi i need to write a driver that must multiplex an serial channel my
driver will have  3 interfaces and i must communicate with another
interface  (midleware) like /dev/ttyS2 for example, how could i write a
driver that will communicate with my existing uart ???

i have a component that could be multiplexed in 3 logical channels throw
my single physical channel that are accessed with a normal serial
interface using uart, how could this be possible ?
this is necessary to be transparent to software user level.
-- 
Luís Vitório Cargnini <vitorio@digitel.com.br>
Digitel S/A

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Making a serial multiplexer (new driver)
  2005-01-03 13:20 Making a serial multiplexer (new driver) Luís Vitório Cargnini
@ 2005-01-03 16:17 ` Geert Uytterhoeven
  2005-01-04 11:07   ` Luís Vitório Cargnini
  2005-01-04  8:00 ` (OT?) " David Jander
  1 sibling, 1 reply; 4+ messages in thread
From: Geert Uytterhoeven @ 2005-01-03 16:17 UTC (permalink / raw)
  To: Luís Vitório Cargnini; +Cc: linuxppc-embedded

[-- Attachment #1: Type: TEXT/PLAIN, Size: 930 bytes --]

On Mon, 3 Jan 2005, [ISO-8859-1] Luís Vitório Cargnini wrote:
> Hi i need to write a driver that must multiplex an serial channel my
> driver will have  3 interfaces and i must communicate with another
> interface  (midleware) like /dev/ttyS2 for example, how could i write a
> driver that will communicate with my existing uart ???
> 
> i have a component that could be multiplexed in 3 logical channels throw
> my single physical channel that are accessed with a normal serial
> interface using uart, how could this be possible ?
> this is necessary to be transparent to software user level.

Do it in userspace using fifos?

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: (OT?) Making a serial multiplexer (new driver)
  2005-01-03 13:20 Making a serial multiplexer (new driver) Luís Vitório Cargnini
  2005-01-03 16:17 ` Geert Uytterhoeven
@ 2005-01-04  8:00 ` David Jander
  1 sibling, 0 replies; 4+ messages in thread
From: David Jander @ 2005-01-04  8:00 UTC (permalink / raw)
  To: linuxppc-embedded


Hi,

I am working on something like that (GSM-07.10 mux). Contact me if you are 
interested.

Greetings,

-- 
David Jander
Protonic Holland.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Making a serial multiplexer (new driver)
  2005-01-03 16:17 ` Geert Uytterhoeven
@ 2005-01-04 11:07   ` Luís Vitório Cargnini
  0 siblings, 0 replies; 4+ messages in thread
From: Luís Vitório Cargnini @ 2005-01-04 11:07 UTC (permalink / raw)
  To: Geert Uytterhoeven, linuxppc-embedded

[-- Attachment #1: Type: text/plain, Size: 1448 bytes --]

it can't be done in user space 
why?
Because the multiplexer has an proprietary pŕotocol 8-(
so i'll encapsulate the communication of 3 channels to communicate with
physical device and my user-level applications like pppd don't need to
know the mux protocol, this will be transparent for the user
applications.

On Mon, 2005-01-03 at 17:17 +0100, Geert Uytterhoeven wrote:
> On Mon, 3 Jan 2005, [ISO-8859-1] Luís Vitório Cargnini wrote:
> > Hi i need to write a driver that must multiplex an serial channel my
> > driver will have  3 interfaces and i must communicate with another
> > interface  (midleware) like /dev/ttyS2 for example, how could i write a
> > driver that will communicate with my existing uart ???
> > 
> > i have a component that could be multiplexed in 3 logical channels throw
> > my single physical channel that are accessed with a normal serial
> > interface using uart, how could this be possible ?
> > this is necessary to be transparent to software user level.
> 
> Do it in userspace using fifos?
> 
> Gr{oetje,eeting}s,
> 
> 						Geert
> 
> --
> Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
> 
> In personal conversations with technical people, I call myself a hacker. But
> when I'm talking to journalists I just say "programmer" or something like that.
> 							    -- Linus Torvalds
-- 
Luís Vitório Cargnini <vitorio@digitel.com.br>
Digitel S/A

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-01-04 13:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-03 13:20 Making a serial multiplexer (new driver) Luís Vitório Cargnini
2005-01-03 16:17 ` Geert Uytterhoeven
2005-01-04 11:07   ` Luís Vitório Cargnini
2005-01-04  8:00 ` (OT?) " David Jander

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).