Although a little harder, could you poke the values into the PXA registers
to set up the baud rate for MIDI? This would at least prove it out.
Yes, I think Craig's right. The kernel header has standard baud rate
settings in a termios header. You'd probably have to stich in all
the new settings and rebuild setserial and kernel code (ioctls) for this
to work.
-Vic
-----Original Message-----
From: Craig Hughes [mailto:craig@...]
Sent: Monday, January 31, 2005 10:21 PM
To: gumstix-users@...
Subject: Re: [Gumstix-users] non-standard baud rates
On Jan 31, 2005, at 6:58 PM, Darren Gibbs wrote:
> Thanks for this info!
>
> Thinking this would be a slam dunk I tried typing "setserial
> /dev/ttyS0", oops no setserial in gumstix distribution. I read up on
> setserial and downloaded the source for setserial 2.17. When I run it
> on the gumstix, I get semi-reasonable looking output:
Yeah, so I just noticed setserial's not there :) stty is though, and
it too has trouble changing some parameters -- probably some limitation
of the pxa serial port ioctl implementation. In particular, it seem to
allow me to set certain "standard" serial port baud rates, but not
funky ones like 30720 or 31779. I'll look at the kernel code in the
morning to try and figure out why.
C
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users
|