Re: [Gpsbabel-misc] Problems with GPS II
GPSBabel converts and transfers data like waypoints, tracks & routes.
Brought to you by:
robertl
|
From: Robert L. <rob...@us...> - 2007-05-31 21:17:55
|
What you're describing doesn't look like a Garmin problem nearly as much as a bad serial driver. Is this some USB/Serial adapter or multiport board or such? The problem with O_NDELAY is that it lets writes return when they're only partially satisfied and exactly none of our code is prepared to handle that - that's why it was removed. write(X, buf, 1024) could write the first 32 bytes and return 32 - we never try to send the remainder. > I tracked the problem to a hang in the Serial Open function, and found a > comment there about the O_NOCTTY and O_NDELAY flags having been removed > from the open call. I put them back in, recompiled and things worked > again! > > Hope this helps someone else... > > John > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gpsbabel-misc mailing list http://www.gpsbabel.org > Gps...@li... > To unsubscribe, change list options, or see archives, visit: > https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc |