How to configure baud etc on Linux?

Discussion in 'Perl Misc' started by Juha Laiho, Mar 25, 2005.

  1. Juha Laiho

    Juha Laiho Guest

    "Martin Doyle" <> said:
    >I want to write a perl script to read text data (alarms) recieved on the
    >serial port and write this into a database.
    >
    >Apart from configuring the serial port I know where I'm going with this,
    >do I need to use Net::DeviceSerialport? This seems like overkill, or is
    >there another way?


    In C you'd do this with 'termios' system calls (cfsetospeed); have a look
    whether perl provides a wrapper around this function.
    --
    Wolf a.k.a. Juha Laiho Espoo, Finland
    (GC 3.0) GIT d- s+: a C++ ULSH++++$ P++@ L+++ E- W+$@ N++ !K w !O !M V
    PS(+) PE Y+ PGP(+) t- 5 !X R !tv b+ !DI D G e+ h---- r+++ y++++
    "...cancel my subscription to the resurrection!" (Jim Morrison)
     
    Juha Laiho, Mar 25, 2005
    #1
    1. Advertising

  2. Juha Laiho

    Martin Doyle Guest

    I want to write a perl script to read text data (alarms) recieved on the
    serial port and write this into a database.

    Apart from configuring the serial port I know where I'm going with this,
    do I need to use Net::DeviceSerialport? This seems like overkill, or is
    there another way?

    Thanks

    Martin
     
    Martin Doyle, Mar 26, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. HS1
    Replies:
    0
    Views:
    483
  2. Kevin Walzer

    Re: PIL (etc etc etc) on OS X

    Kevin Walzer, Aug 1, 2008, in forum: Python
    Replies:
    4
    Views:
    457
    Fredrik Lundh
    Aug 13, 2008
  3. John Nagle
    Replies:
    15
    Views:
    1,256
    John Nagle
    Feb 15, 2009
  4. Hendrik van Rooyen

    Fw: Can Python serial support run at 45.45 baud?

    Hendrik van Rooyen, Feb 15, 2009, in forum: Python
    Replies:
    0
    Views:
    253
    Hendrik van Rooyen
    Feb 15, 2009
  5. debayan_p

    BAUD rate problem

    debayan_p, Jun 30, 2009, in forum: VHDL
    Replies:
    0
    Views:
    787
    debayan_p
    Jun 30, 2009
Loading...

Share This Page