All of lore.kernel.org
 help / color / mirror / Atom feed
* user-space <-> kernel-space
@ 2002-02-14 13:33 Henrique Gobbi
  2002-02-15  2:14 ` H. Peter Anvin
  0 siblings, 1 reply; 4+ messages in thread
From: Henrique Gobbi @ 2002-02-14 13:33 UTC (permalink / raw)
  To: linux-kernel

Hello !!!

I am trying to develop a line analyzer to my multi-serial card but I am not 
seeing a good solution to send data from the driver to the application in the 
user-space.

Inittialy, I thought in use a char device, but all my minors are beeing used 
and I don't wanna to use another major. 

I'd like to know two things:
1 - Is there any way to use more than 256 minors under a major
2 - Is there a simple way to send data from the kernel-space to the 
user-space?

Any help is very welcome
thanks in advance 
-- 
Henrique Gobbi 
Linux User: 237230
Cyclades Brasil

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

* Re: user-space <-> kernel-space
  2002-02-14 13:33 user-space <-> kernel-space Henrique Gobbi
@ 2002-02-15  2:14 ` H. Peter Anvin
  2002-02-15  9:27   ` Joachim Franek
  0 siblings, 1 reply; 4+ messages in thread
From: H. Peter Anvin @ 2002-02-15  2:14 UTC (permalink / raw)
  To: linux-kernel

Followup to:  <02021411333501.00959@henrique.cyclades.com.br>
By author:    Henrique Gobbi <henrique@cyclades.com>
In newsgroup: linux.dev.kernel
>
> Hello !!!
> 
> I am trying to develop a line analyzer to my multi-serial card but I am not 
> seeing a good solution to send data from the driver to the application in the 
> user-space.
> 
> Inittialy, I thought in use a char device, but all my minors are beeing used 
> and I don't wanna to use another major. 
> 
> I'd like to know two things:
> 1 - Is there any way to use more than 256 minors under a major

Not until we get a larger dev_t.

> 2 - Is there a simple way to send data from the kernel-space to the 
> user-space?

A character device node.

Use a minor from the miscdevice series.

	-hpa
-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt	<amsp@zytor.com>

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

* Re: user-space <-> kernel-space
  2002-02-15  2:14 ` H. Peter Anvin
@ 2002-02-15  9:27   ` Joachim Franek
  2002-02-15 19:32     ` Erik Mouw
  0 siblings, 1 reply; 4+ messages in thread
From: Joachim Franek @ 2002-02-15  9:27 UTC (permalink / raw)
  To: linux-kernel

Hello.

Am Freitag, 15. Februar 2002 03:14 schrieb H. Peter Anvin:

> > 2 - Is there a simple way to send data from the kernel-space to the
> > user-space?
>
> A character device node.
Because I am new to this things, please point me to places
to find more information / documentation / examples.

Thanks,

Joachim Franek
Ernst-Reuter-Str. 8, D-63486 Bruchkoebel
www.de-franek.de
rs485.de-franek.de

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

* Re: user-space <-> kernel-space
  2002-02-15  9:27   ` Joachim Franek
@ 2002-02-15 19:32     ` Erik Mouw
  0 siblings, 0 replies; 4+ messages in thread
From: Erik Mouw @ 2002-02-15 19:32 UTC (permalink / raw)
  To: Joachim Franek; +Cc: linux-kernel

On Fri, Feb 15, 2002 at 10:27:52AM +0100, Joachim Franek wrote:
> Am Freitag, 15. Februar 2002 03:14 schrieb H. Peter Anvin:
> > A character device node.
> Because I am new to this things, please point me to places
> to find more information / documentation / examples.

http://www.kernelnewbies.org/ , the kernelnewbies mailing list, and the
#kernelnewbies IRC channel are good starting points.


Erik

-- 
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Faculty
of Information Technology and Systems, Delft University of Technology,
PO BOX 5031, 2600 GA Delft, The Netherlands  Phone: +31-15-2783635
Fax: +31-15-2781843  Email: J.A.K.Mouw@its.tudelft.nl
WWW: http://www-ict.its.tudelft.nl/~erik/

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

end of thread, other threads:[~2002-02-15 19:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-14 13:33 user-space <-> kernel-space Henrique Gobbi
2002-02-15  2:14 ` H. Peter Anvin
2002-02-15  9:27   ` Joachim Franek
2002-02-15 19:32     ` Erik Mouw

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.