No subject


Tue Sep 2 11:01:37 CDT 2008


and run in the background, but in the end I risked my GPS for the greater
good):
sudo gpsd /dev/ttyUSB0  

I then created a symbolic link and created a com port5:
sudo ln -sb /dev/ttyUSB0 /dev/ttyS4                   

I then did some checking to ensure the links are correct, the permissions are
OK and the gpsd daemon is running:
~$ ls -l /dev/ttyS4

lrwxrwxrwx 1 root root 12 2008-12-30 14:34 /dev/ttyS4 -> /dev/ttyUSB0
~$ ls -l /dev/ttyUSB0

crw-rw-rw- 1 root dialout 188, 0 2008-12-30 15:42 /dev/ttyUSB0
~$ ps -ef|grep gpsd
nobody   17117     1  1 14:50 ?        00:00:36 gpsd -n /dev/ttyUSB0

Now when I use the application SOB_ports.exe and test it on COM port 5 I see it
finds the GPS sentence JUST ONCE ONLY, and not again. I then can see it does
not display it on the SOBvMAX NMEA data panel at all. 

I then checked the gpsd daemon using a utility called xgps that comes with the
gpsd daemon. I wanted to know if its a tty setting or failure of the GPS
device:
~$ /usr/bin/xgps localhost::/dev/ttyS4

The xgps software which shows all is working OK. It works not only from COM
port5 but also from /dev/ttyUSB0.

I did a further test using a facility called gpspipe to test the ports again.
It proves the GPS and ports are working correctly.
~$ gpspipe -r -s /dev/ttyS4
GPSD,R=1
$GPGGA,044631,3346.6348,S,15115.6338,E,2,09,0.80,14.00,M,20.191,M,,*63
$GPRMC,044631,A,3346.6348,S,15115.6338,E,0.0000,0.000,301208,,*38
$GPGSA,A,3,23,19,06,13,07,08,28,25,03,,,,0.0,0.8,1.2*35
$PGRME,0.00,M,0.00,M,0.00,M*1E
$GPGGA,044632,3346.6349,S,15115.6344,E,2,09,0.80,13.60,M,20.191,M,,*6B
$GPRMC,044632,A,3346.6349,S,15115.6344,E,0.3342,80.789,301208,,*09
$GPGSA,A,3,23,19,06,13,07,08,28,25,03,,,,0.0,0.8,1.2*35
$PGRME,0.00,M,0.00,M,0.00,M*1E
^C
I then did another test using the ~/.vine/dosdevices/ttyS4 thinking that the
problem may still be in the Wine/Linux boundary.

I also played around with the Hardware Control off/on from within SOBvMAX, but
no good. 

Of interest to me was that from within SOB I could switch on its logging
function and it logged NMEA sentences fine...., but the SOB_PORTS.exe program
which assigned the com port to SOB (mentioned by an earlier tester) only shows
1 NMEA sentence and then no more, while it continues to log.

Baffled...
Mike




-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list