I have an Oregon Scientific WMR100NA that used to work great on my 
Raspberry Pi (wheezy, with weewx 3.5.0), but it has been out of commission 
for a few months. I fired it back up and ran into all sorts of problems, so 
I reinstalled Raspbian with the latest distro (Jessie), and installed the 
latest weewx (3.7.1), and I am running into similar problems. It seems that 
weewx cannot locate my weather station.

The latest entries of relevance in the /var/log/syslog file are:

Mar 22 22:39:10 raspberrypi weewx[782]: wmr100: Bad USB report received: 
could not detach kernel driver from interface 0: No data available
Mar 22 22:39:30 raspberrypi weewx[782]: wmr100: Bad USB report received: 
could not detach kernel driver from interface 0: No data available
Mar 22 22:39:50 raspberrypi weewx[782]: wmr100: Bad USB report received: 
could not detach kernel driver from interface 0: No data available
Mar 22 22:40:10 raspberrypi weewx[782]: wmr100: Bad USB report received: 
could not detach kernel driver from interface 0: No data available
Mar 22 22:40:10 raspberrypi weewx[782]: wmr100: Max retries exceeded while 
fetching USB reports
Mar 22 22:40:10 raspberrypi weewx[782]: engine: Main loop exiting. Shutting 
engine down.
Mar 22 22:40:10 raspberrypi weewx[782]: restx: Shut down CWOP thread.
Mar 22 22:40:10 raspberrypi weewx[782]: restx: Shut down PWSWeather thread.
Mar 22 22:40:10 raspberrypi weewx[782]: restx: Shut down Wunderground-PWS 
thread.
Mar 22 22:40:10 raspberrypi weewx[782]: engine: Caught WeeWxIOError: Max 
retries exceeded while fetching USB reports
Mar 22 22:40:10 raspberrypi weewx[782]:     ****  Waiting 60 seconds then 
retrying...

I saw some mentions of the driver possibly having issues, so I did try to 
update/downgrade the driver that was posted 
(/usr/share/weewx/weewx/drivers/wmr100.py), but that gave me other errors, 
so I went back to the original driver installed with version 3.7.1. 

When I run wee_config --list-drivers, it reports the driver version as 
3.3.3. Is that the right version I should be using for this weather station?

Here are the relevant station configuration entries in my weewx.conf file:

[Station]
    station_type = WMR100
[WMR100]
    stale_wind = 30
    driver = weewx.drivers.wmr100
    model = WMR100

I tried replacing my power supply with several different power supplies. My 
WMR100 is connected to AC power and working normally as a standalone unit, 
and I have also tried replacing the USB cable to the weather station 
without success.

I recall a command that I used to use to troubleshoot the USB that does not 
appear to exist anymore--/usr/bin/wee_config_fousb weewx.conf --check-usb

How can I check Raspbian to make sure it is seeing the USB device properly?

If I unplug and re-plug the weather station, I see the following entries in 
the syslog, so I know it is connected:

Mar 22 22:28:21 raspberrypi kernel: [30931.014721] usb 1-1.2: USB 
disconnect, device number 8

Mar 22 22:28:34 raspberrypi kernel: [30944.306363] usb 1-1.3: new low-speed 
USB device number 9 using dwc_otg

Mar 22 22:28:34 raspberrypi kernel: [30944.414337] usb 1-1.3: New USB 
device found, idVendor=0fde, idProduct=ca01

Mar 22 22:28:34 raspberrypi kernel: [30944.414376] usb 1-1.3: New USB 
device strings: Mfr=0, Product=1, SerialNumber=0

Mar 22 22:28:34 raspberrypi kernel: [30944.414394] usb 1-1.3: Product: 
Universal Bridge

Mar 22 22:28:34 raspberrypi kernel: [30944.457452] hid-generic 
0003:0FDE:CA01.0007: hiddev0,hidraw0: USB HID v1.10 Device [Universal 
Bridge] on usb-20980000.usb-1.3/input0

Mar 22 22:28:34 raspberrypi mtp-probe: checking bus 1, device 9: 
"/sys/devices/platform/soc/20980000.usb/usb1/1-1/1-1.3"

Mar 22 22:28:34 raspberrypi mtp-probe: bus: 1, device: 9 was not an MTP 
device

Any more suggestions where to go next as far as troubleshooting? 

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to