WMR200: Difference between revisions

From WeatherWiki
(For those who have WMR200 (Oregon) and Weather Diplay)
 
m (Added categories)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Who want to make a Wiki about WMR200 from Oregon and bugs with Weather Diplay ?
== I've got a custom kernel compile. What do I need to compile into the kernel to make wdconsole work? ==
In the 2.6 kernel, you need to have /dev/hidraw (CONFIG_HIDRAW) support. Most generic kernels include this for extra work. Note that you still need to make sure user permissions are set correctly, and the easiest way to do this is by making a udev rule
== Which USB device is my WMR100/WMR200? ==
In lsusb, the WMR100/WMR200 will show up something like:
<tt>
Bus 002 Device 007: ID 0fde:ca01
</tt>
The bus and device numbers will vary based on a number of things, but the ID will remain constant.
== I keep seeing 'broken pipe' or 'access denied' messages on startup. How do I fix this? ==
Choose an appropriate group (or make one) and then add this line to /etc/udev/rules.d/10-local.rules:
 
<tt>SUBSYSTEM=="usb", ATTR{idProduct}=="ca01", MODE="0666", NAME="oswmr100", GROUP="station", SYMLINK+="wmr100"</tt>
 
This will make a friendlier symlink "/dev/wmr100" and also correctly set permissions. Ensure that the user running wdconsole is in whatever group the udev rule requires.
== The forecast is right on the first update after I start the program, but then it's always rain. ==
?
[[Category:Weather Stations]]

Latest revision as of 10:35, 8 May 2022

I've got a custom kernel compile. What do I need to compile into the kernel to make wdconsole work?

In the 2.6 kernel, you need to have /dev/hidraw (CONFIG_HIDRAW) support. Most generic kernels include this for extra work. Note that you still need to make sure user permissions are set correctly, and the easiest way to do this is by making a udev rule

Which USB device is my WMR100/WMR200?

In lsusb, the WMR100/WMR200 will show up something like: Bus 002 Device 007: ID 0fde:ca01 The bus and device numbers will vary based on a number of things, but the ID will remain constant.

I keep seeing 'broken pipe' or 'access denied' messages on startup. How do I fix this?

Choose an appropriate group (or make one) and then add this line to /etc/udev/rules.d/10-local.rules:

SUBSYSTEM=="usb", ATTR{idProduct}=="ca01", MODE="0666", NAME="oswmr100", GROUP="station", SYMLINK+="wmr100"

This will make a friendlier symlink "/dev/wmr100" and also correctly set permissions. Ensure that the user running wdconsole is in whatever group the udev rule requires.

The forecast is right on the first update after I start the program, but then it's always rain.

?