Linux Weather Display Manual

From WeatherWiki
Jump to: navigation, search

Weather Display Linux Installation & Setup Guide

How to get Weather Display Linux :

How to install Weather Display Linux:

How to configure Weather Display Linux for the first run (see the end of the page for platform specific information):

   ls -l /dev/ttyS0
   su
   chmod 777 /dev/ttyS0 
   cd /home/user/wdisplay
   ls -l  WeatherD
   su
   chmod 777 WeatherD

For Ubuntu - edit with su rights /etc/udev/rules.d/40-permissions.rules

Add this line: KERNEL=="ttyS[0-9]", GROUP="dialout", MODE="0777"

Then restart udev: sudo /etc/init.d/udev restart

How to start and use Weather Display Linux for the first time:

   ./GoWeather.sh

Congratulations!! You are now ready to run normally. Just as in the windows version there are many options, and they operate in the same way. For more help visit the Weather Display Manual

System Requirements

The following are known requirements and a variety of Linux distributions that Weather Display Linux is known to run on. However, this doesn't mean that it won't work on any untested systems(OpenBSD, FreeBSD, NetBSD, Solaris, etc...)


Platform Specific Information


Debian Lenny

Running as user rather than root in Debian Lenny:

Debian Lenny uses UDEV for USB devices. You need to modify two files in /etc/udev/rules.d in order to run as a user rather than root.

/etc/udev/rules.d/50-udev.rules

Change:

# usbfs-like devices
 SUBSYSTEM=="usb_device", ACTION=="add|change", \
 	PROGRAM="/bin/sh -c 'K=%k; K=$${K#usbdev}; printf bus/usb/%%03i/%%03i $${K%%%%.*} $${K#*.}'", ACTION=="add|change", \
 				NAME="$result"
 SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device",	NAME="bus/usb/$env{BUSNUM}/$env{DEVNUM}"

To:

 # usbfs-like devices
  SUBSYSTEM=="usb_device", ACTION=="add|change", \
  	PROGRAM="/bin/sh -c 'K=%k; K=$${K#usbdev}; printf bus/usb/%%03i/%%03i $${K%%%%.*} $${K#*.}'", ACTION=="add|change", \
  				NAME="$result", MODE="0666"
  SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device",	NAME="bus/usb/$env{BUSNUM}/$env{DEVNUM}", MODE="0666"

/etc/udev/rules.d/91-permissions.rules

Change:

# usbfs-like devices
 SUBSYSTEM=="usb_device",	MODE="0664"
 SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", \
 				MODE="0664"

To:

# usbfs-like devices
 SUBSYSTEM=="usb_device",	MODE="0666"
 SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", \
 				MODE="0666"

Device Specific Information

Using the OS WMR200 with WD Linux

Personal tools
Namespaces
Variants
Actions
Navigation
Create a book
Toolbox