Re: Serial under IRIX 6.5.5
Ulrich Hertlein (u.hertlein++at++q-bus.de)
Thu, 07 Oct 1999 16:51:22 +0200
vossg++at++igd.fhg.de wrote:
> > 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.
I'm actually using cfsetispeed(3t) and cfsetospeed(3t), which as I
understand handle these things properly. I assume that the XVS-Link
library does this similar.
-Ulrich
--
Ulrich Hertlein | "The trouble with having an
q~bus Mediatektur GmbH | open mind is that people come
mailto:u.hertlein++at++q-bus.de | along and put things in it."
This archive was generated by hypermail 2.0b2
on Thu Oct 07 1999 - 07:58:51 PDT