Forum: Ruby ruby-termios

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Robin Stephens (Guest)
on 2007-01-24 10: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.