WD on Wine, Remote & 24/7

you’re quite right. I ended up logging in as the root and changing the permissions on the com port manually. Seems to have taken it and is now working fine on every boot up. Still working on how to get Weather Display to start up in wine automatically when the server reboots. Any clues appreciated :slight_smile:

Andy

Can be done a number of different ways. Because it requires the X environment to be running, I would make sure that your machine
is automatically starting an X session with whatever user you use, and then see if it has the ability to start programs once the session
has started. Without knowing specific details of your setup, I can’t give more details than that.

Cheers

Aight…

Have linux. WD for linux dies every few days for no apparent reason. So I tried Wine. Based on this post it seemed perfectly reasonable. But half if not more of the dialog boxes are missing the fonts. I have tried for 2 days to install the needed fonts with no luck. This isn’t supposed to be this fricken hard. :onfire:

So any idea which fricken fonts I am missing so I can get the WD dialog boxes working?

va7nic. The computer does start an X session when it starts. I am using Fedora Core 6 at present. Wine is starting automatically but I can see nowhere within wine to start a program on boot. The tick in the box on WD to start on boot doesn’t work either.

I hopethat’s a bit more of a clue. Any more details on setup let me know and I’ll try and answer :slight_smile:

Andy

some good news, forum member Yves is working on a replacement comport component that I can use (i.e so no more memory leak)

Ok, I am assuming KDE is the desktop, and not GNOME, so I did find this link online for creating auto start processes.

http://l10n.kde.org/docs/admin/autostart-and-runonce.html

I am looking into it now, but I am guessing that GNOME will have the same sort of thing.

Hope this helps

Since I am having 0 luck with the linux version I am trying to get WD running on Wine. I have 9.41 up and running but when I launch WD I get no fonts. Any suggestions? I have fonts in my wine config and wine file just fine.

Thanks!

have you tried the new version of wd with the fix for the memory leak

Yes. I did try the new build. Now I get nothing at all from my weather station. I d-loaded new full version 5.5o and then grabbed the 5.5p and the libcom and applied. Nothing, nada, zilch. It won’t poll the data from my VP data logger. I get no data coming from the station. The header just reads Com 1 OK.

it worked ok for me with my davis VP when I tested
does the data received light flash?

new version to try,5.5t
fingers crossed:
http://www.weather-display.com/linux/WeatherD.dat
(remove the .dat once downloaded)
and also download this new com port library file to the deploy folder:
http://www.weather-display.com/linux/libcom.so

WD blinks data every 2 seconds like it should on a Davis VP2. But no data shows in the application.

Read Size 44 fd 12: bd ad 28 c8 6e 18 23 18 9 ff ff ff ff ef ff ff ff ff ff ff f f8 ff 8 ff 8 8 2e 8 8 8 ff ff ff f 8 8 0 20 ec 8 49 f9 f8

That shows up in the terminal windows where I run the ./GoWeather.sh

So it looks like the data is coming through. But WD is not seeing it or parsing it for display?

ok, it must be a syncing of the data problem
I will test again with my console, but I do not have a revb console

is the read size always 44 ?
also do you have the correct baud rate set in the weather station type?

ok, this update should work (does for me, just tested with my VP):
http://www.weather-display.com/linux/WeatherD.dat
download to where you have wd installed (and rename, by removing the .dat on the end)

I HAVE DATA!! Here are some sample chunks. How to supress the the output of com? I realize it is in some sort of debug mode. This is great news. I have really missed my WD Live data.

Read Size 199 fd 12: 4c 4f 4f ec 0 56 9 30 73 51 3 21 22 3 9 5 b4 0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 2b ff ff ff ff ff ff ff 0 0 ff ff 7f 0 0 ff ff 0 0 0 0 73 4 0 0 0 0 0 0 ff ff ff ff ff ff ff 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ca 1 3 c0 d4 2 a8 6 a d 52 36 6 4c 4f 4f ec 0 56 9 30 73 51 3 21 22 3 9 5 b4 0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 2b ff ff ff ff ff ff ff 0 0 ff ff 7f 0 0 ff ff 0 0 0 0 73 4 0 0 0 0 0 0 ff ff ff ff ff ff ff 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ca 1 3 c0 d4 2 a8 6 a d 52 36
Read Size 0 fd 12
Read Size 0 fd 12
Read Size 0 fd 12
Read Size 99 fd 12: 4c 4f 4f ec 0 56 9 30 73 51 3 21 22 3 b 5 bc 0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 2b ff ff ff ff ff ff ff 0 0 ff ff 7f 0 0 ff ff 0 0 0 0 73 4 0 0 0 0 0 0 ff ff ff ff ff ff ff 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ca 1 3 c0 d4 2 a8 6 a d 3f b9
Write
Write size 2, fd 12
20
Write 5
Write size 2, fd 12
35
Write 5
Write size 2, fd 12
35
Write

Write size 2, fd 12
0a
Read Size 100 fd 12: 6 4c 4f 4f ec 0 56 9 30 73 51 3 21 22 3 b 5 bc 0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 2b ff ff ff ff ff ff ff 0 0 ff ff 7f 0 0 ff ff 0 0 0 0 73 4 0 0 0 0 0 0 ff ff ff ff ff ff ff 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ca 1 3 c0 d4 2 a8 6 a d 3f b9
Read Size 0 fd 12
Read Size 0 fd 12

thats good news
that live data is while I am debugging for working with owners of WMR968 type station
once we get that working OK, I will turn that off in that version

Is that eventually going to crash the client with all the scrolling? Or can I just let it run this way?

it should be OK for now
i have had data like that scrolling in a shell window overnight ok

looks like i can turn it off soon, making progress with the wmr968 station

Would like you to point me to the posts on using WD.exe and Wine. Went back a few pages, but did not find anything.
Jim

have you seen that the memory leak with the wd linux version is fixed and that the latest wd for linux version is working good now?