Re: Serial under IRIX 6.5.5

New Message Reply Date view Thread view Subject view Author view

vossg++at++igd.fhg.de
Thu, 7 Oct 1999 15:58:52 +0200 (MDT)


Hi,

>
> Hi all,
>
> are there any known problems with IRIX 6.5.5 and the serial ports?
>
> I'm attempting to access a Logitech SpaceMouse and wrote a couple of
> test apps to access the port directly and through XVS-Link. They work
> fine on an Indigo2 running IRIX 6.3 and Linux but don't work at all
> under IRIX 6.5.5.

Yep, if I recall it right the baud rate is set different.

Up to 6.3 the following was used :

port_setup.c_cflag |= B9600;

Starting with 6.4 there are a seperate entry for the io speeds :

port_setup.c_ospeed = B9600;
port_setup.c_ispeed = B9600;

You should also check the baud defines, I think they changed them too.

mfg,
    Gerrit

-- 
+-----------------------------------------------------------------------------+
| Disclaimer : unless explicitly otherwise stated, my                         |
|              statements represent my personal viewpoints only.              |
+-----------------------------------------------------------------------------+
|                     Linux is like an indian tent:                           |
|                 no gates, no windows, and Apache inside!!                   |
|                                                                             |
|                                                                             |
| Gerrit Voss                                                                 |
|              Email : vossg++at++igd.fhg.de                                       |
|              Tel   : +49 6151 155 277                                       |
|              WWW   : http://www.igd.fhg.de/www/igd-a4/persons/vossg.html    |
|                                                                             |
|              Fraunhofer Institute for Computer Graphics                     |
|                                                                             |
|                                                                             |
|            NT makes the easy stuff easy, and the rest impossible.           |
|            Unix makes everything possible, but nothing too easy.            |
+-----------------------------------------------------------------------------+

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Thu Oct 07 1999 - 07:00:24 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.