Forum: Ruby ruby-termios

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
E443ad12e4b1e1ff16734e74ba6167b5?d=identicon&s=25 Robin Stephens (Guest)
on 2007-01-24 09:31
(Received via mailing list)
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'
This topic is locked and can not be replied to.