GPS GPL driver.
Koen Kooi
koen at dominion.kabel.utwente.nl
Tue May 1 22:05:03 CEST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Andreas Kostyrka schreef:
> * Koen Kooi <koen at dominion.kabel.utwente.nl> [070501 21:14]:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Joe Pfeiffer schreef:
>>>> I got that far, but I'm at a loss how to send that sequence to the serial port...
>>> If I'm following the discussion, creating a file with the content and
>>> 'cat'ing would do it...
>> Ok, I made the following files:
>>
>> http://openembedded.org/~koen/hammerhead.txt
>> http://openembedded.org/~koen/hammerhead2.txt
>>
>> but the uart stays mute after catting them :(
>
> I did not follow this thread, so no idea what you are trying to
> connect to, but UARTs are not simple files. Depending what you really
> have, you might need to set it up. E.g. termios.h would be your ticket
> in C, bash users can use stty.
I did
stty -F /dev/ttySAC1 raw speed 115200 -crtscts cs8 -parenb -cstopb
before cat'ing the files.
regards,
Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFGN51vMkyGM64RGpERAiFyAKCD1bgQ4SVta8fShF2HWi1WSS+biQCdGoZO
p/nC1pjPuVIv7XimHz7/h7I=
=qqmY
-----END PGP SIGNATURE-----
More information about the openmoko-devel
mailing list