Well I REALLY REALLY wanted to run WD on Linux but I don’t want to replace my Suse server to do it.
While the new version of WD-Linux (5.5g) works much better, it will not run 24/7 nor even 24 hours on my Suse10.1 server. At best I can run it for 14 hours or so before memory use goes over 75%.
So after wrangling Wd-Linux for the past two weeks, I remembered a post about running WD(windows) on Linux using WINE. I figured this was my last shot. Well as it turns out, installing WINE and then Wdisplay32.exe was slick and easy. (There are others posts and info on doing this so I won’t repeat it)
While I hope Brian continues to develop and support Wd-Linux, the Windows version under Wine does it all for me. After more than 2 days running its very stable, uses less than 8% memory and no leaking.
Here are some notes, comments on this arrangement:
As I did with WD-Linux, I was able to redirect DISPLAY so that the program could be started in a remote-VNC desktop session and left running when I disconnected.
I start the program from a desktop icon pointing to 'wine “Y:\windows\WeatherD.exe” ', with work path of “/home/username/windows”. (Application was installed in this folder)
While I had problems changing locations for webfiles/clientraw.txt with WD-Linux, this was slick and easy using WD-win/Wine. My webfiles were easily stored (without ftp) in ‘/srv/www/htdocs/wx’ for my web-server and the clientraw.txt for WDL sent to ‘/srv/www/htdocs/wdl’. WD-win/Wine can access all areas of the Linux box not just ‘windows’.
APRS ftp to my jAPRS server was also easy and reliable under this setup.
Even WXNOW.TXT was created properly for use with UI-View although I don’t need that now with the APRS/CWOP running 24/7.
So almost everything I tried to do with WD-win/Wine worked as expected and continues to run reliably.
The only thing not worked out yet is the wdmysql program. Since this is separate I’ll have to spend some time on its configuration but its not part of my main project.
Attached is a screenshot of my WD-win/wine running remotely from a vnc-desktop connection.
Cheers,
Ron
the noaa warning i have used a richedit, which is a windows thing…probably why it does not work?
i should have more time soon to keep on working on the linux version and add the promised things
i have still not heard back from the author of the com port component about the memory leak and a fix…
The old problem of graphs going out of line after Daily reset is still there. Otherwise I am not seeing a memory leak in ubuntu or Kbuntu Or Mandriva. But then am I restarting every 24 hrs to reset the graphs.
Coyote
Having used Weather Dislay on a windows machine for a year or so now I have purchased a 928N for home (other stationis at work). I’m trying to put it directly on my linux server at home and the linux version of weather display is 100% as noted in several other parts of this forum. I saw the suggestion that people are running weather disply under WINE so I tried it. Wine installed nicely on my Fedora core 6, and weather diaply installed fine too. My problem comes with convincing the program to look at the com port. I have tried the line
ln -s /dev/ttyS0 com1
to “redirect” the port to wine and hence onto weather display but no luck. Can someone who has the program working explain in simple english (newbie at Linux, but not windows!!) how to get that part running I would appreciate it.
I’m using fedora core 6
Wine 0.9.32
weather display 10.37d (Trial until I get it working OK )
Andy
Forgot to say. I currently get Weather Display - Ver 10.37d - Trial - WMR968 Comm port error at the top of the screen
Still defeats the purpose of having a linux version of the software(which by the way is pretty rough). looks like a crappy port(sorry) One of these days perhaps a native app could be written for linux using standard tools/inteface; hell i am still holding out for a clean user friendly application for windows. what language was WD written in BTW looks like a circa 1996 borland product. Anyone know where i can get API documentation for the WMR100 USB interface? i am not much of a coder but i might take a crack at it.
In your first two posts you insult the Linux version, criticize the windows interface and don’t like the language the code is written in… then ask for help. :roll: Maybe try the WMR100 USB support forum.
back to the point of the post (and without the insults!) I’ve manged to sort my problem. Needed to do a chmod 777 /dev/ttyS0 and it’s now working like a charm.
I’ll stick with the trial for a couple more weeks and see if there is any progress on the Linux version regarding the already known faults. Still a great program in mu opinion
i have my linux box now upgraded to a much faster PC, so now much easier and quicker for me to work on it
I want to add the detailed climate report to the linux version next, and also use the same setup for the customise internet and file creation as the windows version
but the windows version and support takes up so much of my time…
and honestly what is so wrong with windows?
i dont myself have any problems with windows
Sorry didn’t mean to sound so harsh. Compaired to VWS wd is worlds better. And believe it or not their are newer and better tools to develop applications in for windows like .NET. Working in the industry you come across alot of people that develop one way because thats all they know or are comfortable with. Thats why there are so many bad applications out there. Most of my criticisms were meant to be constructive although after re-reading it did come out appearing a little nasty my apologies. It was not my intent to take away from the efforts of those developing for weather stations. It sucks that the manufacturers don’t offer better computer support for devices of these types. As for linux i am sure there is someone out there that knows C enough to write a library to utilize the WMR100. Not to say that it would be easy.
i doubt it could be done, as the usb.dll file does not show up enough of the low level driver information needed
what is needed is the authors of the usb.dll file to produce a linux version…they are Korean
as for .net, i have checked out a compiler that is compatible with that
but what are the benefits?
you dont list any
yes its easy for people to be critical, thats why people do it
I don’t envy your task of producing a Linux version i empathize. Cleaner interface common API, common control set, more flexible toolset, windows installer are just a few benefits i am sure their are more. Perhaps these are aesthetics but UI presentation and a familiar feel is a huge thing for everyday users. If it looks and behaves similar to exiting Microsoft apps you can get a higher acceptance rate among casual users. for example one of the huge turn off for me with VWS(I guess the best weather software out?) was the cluttered messy interface it doesn’t feel like a windows app at all and is not very intuitive; i personally can figure it out but Joe Six pack would have a hard time with it.
WD does a much better job; perhaps there isn’t a single good way to order the myriad of settings/tweaks for weather stations. I may be just picking nits but i have used a lot of software over the years in my career in the IT industry and i was quite disappointed in the selection of weather station software perhaps there are not enough nerds like my self excited about weather! I am only a hobby developer i write tools(if i can)when there is a need to help with my primary role as a Systems Administrator mainly in VB for windows and shell for Linux/Unix(the free version of vb by the way is very powerful). Again just my a-hole opinion