serial port magic?

What’s the magic trick to getting the vantage pro to talk to a linux serial port?

I understand parameters are 19200, 8n1, no handshaking?

I am trying out the Weather Display for Linux, and even tho it says “Vantage Pro Comm Port OK” in the titlebar, the readings displayed are either bogus or blank.

The users I run under are in the tty group
tty group on both /var/lock and /dev/ttyS*
both /var/lock and /dev/ttyS* have 775 permissions.

I have tried the loopback and plug with minicom on /dev/ttyS0, and I get echoed characters back.

I’ve tried sending the TEST string to the VP from minicom after hitting a few times to wake it up. No response, cursor doesn’t even move.

I tried using stty to set the port parameters

$ stty -F/dev/ttyS0
speed 19200 baud; line = 0;
intr = ; quit = ; erase = ; kill = ; eof = ; start = ;
stop = ; susp = ; rprnt = ; werase = ; lnext = ;
flush = ; min = 0; time = 10;
ignbrk -brkint -icrnl -imaxbel
-opost -onlcr
-isig -icanon -iexten -echo -echoe -echok -echoctl -echoke

I’ve tried joe jaworski’s vpweather cli

vproweather-0.1 $ ./vproweather -m --baud-rate=19200 /dev/ttyS0
vproweather Can’t wake up weather station- no response.
vproweather-0.1 $

I’ve gone all the way down to 2400 baud (including setting the baud on the VP console), same [lack of] results.

I even borrowed a friend’s win98 laptop, and installed the Davis software, and it seemed to be able to communicate just fine.

What am I missing here?

Any other thoughts?

what version of WD linux and what distro?

Hi, thanks for answering.

WD is ver 3.6, unzipped over the untar of 3.4.

Distros are gentoo 1.4, current as of Friday, and Mandrake 10, also current as of Friday.

does it actually say version 3.6 on the title bar?.. i know the new version has the actual WeatherD is in like a /home/windy/wdisplayprogram/delphi5/ folder when you extract it… i also had to change the permissions on the ttyS0 to 777… it would not work for me under 775

a /home/windy/wdisplayprogram/delphi5/ folder when you extract it....

oh, thats becuase i zipped it on the linux system, and FTP’d it from there…
so, is that a problem though?
i.e you can just though set the location?

a /home/windy/wdisplayprogram/delphi5/ folder when you extract it....

oh, thats becuase i zipped it on the linux system, and FTP’d it from there…
so, is that a problem though?
i.e you can just though set the location?


no, when you actually open the zip, that is what is inside of the zip. it is not a big deal, it could be if he forgot just extract the weatherD and not that entire directory