WMR200: Difference between revisions

From WeatherWiki
m (Added categories)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
== I've got a custom kernel compile. What do I need to compile into the kernel to make wdconsole work? ==
== 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
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? ==
== Which USB device is my WMR100/WMR200? ==
In lsusb, the WMR100/WMR200 will show up something like:
In lsusb, the WMR100/WMR200 will show up something like:
Line 8: Line 7:
</tt>
</tt>
The bus and device numbers will vary based on a number of things, but the ID will remain constant.
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? ==
== 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:
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>
<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.
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. ==
== 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.

?