[ILUG-Cochin.org] Fwd: serial port driver

shibin k reeny shibinkreeny at gmail.com
Wed Dec 16 11:31:08 IST 2009


actually i want to write a kernel module for the RS232 so i started with
Linux device driver book where it say to write a tty driver for RS232(serial
port).but this is not easy at all.can anyone explain about tty driver.

On Wed, Dec 16, 2009 at 11:24 AM, Deepak Narayan <deepakvr at gmail.com> wrote:

> Can you explain the entire setup. I believe it is a PC Linux
> application which checks the serial port, takes data and inserts in
> the DB
>
> You might want to read about the asynchronous (Non blocking) IO stuff.
> The select() system call etc
>
> http://www.easysw.com/~mike/serial/serial.html#5_2<http://www.easysw.com/%7Emike/serial/serial.html#5_2>
> http://en.wikipedia.org/wiki/Asynchronous_I/O
>
> -Deepak
>
> .
>
> On Wed, Dec 16, 2009 at 11:16 AM, shibin k reeny <shibinkreeny at gmail.com>
> wrote:
> >
> >
> > ---------- Forwarded message ----------
> > From: shibin k reeny <shibinkreeny at gmail.com>
> > Date: Wed, Dec 16, 2009 at 10:52 AM
> > Subject: Re: serial port driver
> > To: "Pramode C.E." <pramode_ce at yahoo.co.in>
> >
> >
> > my project consist of a MySQL database which will be updated by the data
> > coming from the RS232
> > RS232 port has to receive the data which consist of roomid and personal
> > id,so the RS232 kernel module must consist of an interrupt which let it
> know
> > that the data has come and this interrupt has to let the read module to
> read
> > the data and send it to the userspace and the database should be
> updated.any
> > help plz...
> >
> >
> > On Wed, Dec 16, 2009 at 10:26 AM, Pramode C.E. <pramode_ce at yahoo.co.in>
> > wrote:
> >>
> >> sir,
> >> > please send me the detail about howto write the driver for
> >> > the RS232 port.
> >> > its important sir.
> >> >
> >> >
> >>
> >> Please join the fsugtsr mailing list by visiting:
> >>
> >> http://lists.fsugtsr.org/mailman/listinfo/discuss
> >>
> >> You should then post a more detailed mail to this list - please explain
> >> what you have already done and what you are trying to achieve in more
> detail
> >> - simply stating that you wish to write an RS232 driver may not help
> much.
> >>
> >> Regards,
> >> Pramode
> >> ------------
> >>
> >>
> >>
> >>      The INTERNET now has a personality. YOURS! See your Yahoo!
> Homepage.
> >> http://in.yahoo.com/
> >
> >
> >
> > _______________________________________________
> > Indian Libre User Group Cochin Mailing List
> > http://www.ilug-cochin.org/mailing-list/
> > http://mail.ilug-cochin.org/mailman/listinfo/mailinglist_ilug-cochin.org
> > #ilugkochi at irc.freenode.net
> >
>
>
>
> --
>
> http://blog.deepak.dk/
>
> _______________________________________________
> Indian Libre User Group Cochin Mailing List
> http://www.ilug-cochin.org/mailing-list/
> http://mail.ilug-cochin.org/mailman/listinfo/mailinglist_ilug-cochin.org
> #ilugkochi at irc.freenode.net
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ilug-cochin.org/pipermail/mailinglist_ilug-cochin.org/attachments/20091216/d63440b3/attachment.html>


More information about the Mailinglist mailing list