ruby-termios

Discussion in 'Ruby' started by Robin Stephens, Jan 24, 2007.

  1. Hello all,

    Trying to muck around with serial ports under Linux using ruby-termios.

    There is some test scripts that came with ruby-termios,
    modem_check0.rb is one example.

    When I use the above script (modem connected and DEVICE pointing to
    the appropriate device file of course), I get the
    following error:

    modem_check0.rb:51:in `setattr': integer 2147483824 too big to convert
    to `int' (RangeError)
    from modem_check0.rb:51

    Running Ubuntu Dapper Drake AMD64
    ruby 1.8.4 (2005-12-24) [x86_64-linux]
    termios-ruby 0.9.4'

    --
    Robin
    Robin Stephens, Jan 24, 2007
    #1
    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. Jonathan Hodges

    termios POSIX implementation

    Jonathan Hodges, Jan 26, 2004, in forum: Python
    Replies:
    0
    Views:
    366
    Jonathan Hodges
    Jan 26, 2004
  2. henry xie

    TERMIOS.py

    henry xie, Jun 30, 2004, in forum: Python
    Replies:
    3
    Views:
    3,651
  3. Petr Jakes
    Replies:
    3
    Views:
    727
  4. Lloyd Zusman
    Replies:
    2
    Views:
    166
    Tanaka Akira
    May 27, 2005
  5. Jonathan Wallace

    Difficulty installing ruby gem termios

    Jonathan Wallace, Oct 24, 2006, in forum: Ruby
    Replies:
    2
    Views:
    220
    Ken Bloom
    Oct 24, 2006
Loading...

Share This Page