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
Followup to: <[email protected]>
By author: Henrique Gobbi <[email protected]>
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
--
<[email protected]> at work, <[email protected]> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt <[email protected]>
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
http://www.de-franek.de
rs485.de-franek.de
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: [email protected]
WWW: http://www-ict.its.tudelft.nl/~erik/