Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 115 by
Priit.He...@gmail.com: wmr200.py driver error on ARM
device (raspberry pi)
http://code.google.com/p/wfrog/issues/detail?id=115
What steps will reproduce the problem?
1.Install latest .deb package
2.Run wfrog with sudo wfrog
What version of the product are you using? On what operating system?
Raspbian, optimised version of Debian "Weezy"
Please provide any additional information below.
Here is the wfrog.log:
2012-08-02 10:59:41,551 INFO [config] Starting wfrog 0.8.2
2012-08-02 10:59:41,555 INFO [config] Loaded settings file
/etc/wfrog/settings.yaml
2012-08-02 10:59:48,577 INFO [config] Starting wfrog 0.8.2
2012-08-02 10:59:48,591 INFO [config] Loaded settings file
/etc/wfrog/settings.yaml
2012-08-02 10:59:48,619 INFO [station.wmr200] Thread started
2012-08-02 10:59:48,630 INFO [station.wmr200] USB initialization
2012-08-02 10:59:48,644 INFO [station.wmr200] Oregon Scientific weather
station found
2012-08-02 10:59:48,647 INFO [station.wmr200] Manufacturer: 0
2012-08-02 10:59:48,656 INFO [station.wmr200] Product: 1
2012-08-02 10:59:48,669 INFO [station.wmr200] Device version: 03.02
2012-08-02 10:59:48,672 INFO [station.wmr200] USB version: 01.10
2012-08-02 10:59:48,695 INFO [station.wmr200] Unloaded other driver from
interface 0
2012-08-02 10:59:49,586 INFO [config] Starting wfrog 0.8.2
2012-08-02 10:59:49,590 INFO [config] Loaded settings file
/etc/wfrog/settings.yaml
2012-08-02 10:59:49,611 INFO [renderer.http] Started server on port 7680
2012-08-02 10:59:49,803 ERROR [station.wmr200] WMR200 connect failed: error
sending control message: Device or resource busy
Traceback (most recent call last):
File "/usr/lib/wfrog/wfdriver/station/wmr200.py", line 259, in
connectDevice
0xA, [], 0, 0, int(usbTimeout * 1000))
USBError: error sending control message: Device or resource busy
2012-08-02 10:59:49,814 ERROR [station.wmr200] Can't write request record:
error sending control message: Device or resource busy
Traceback (most recent call last):
File "/usr/lib/wfrog/wfdriver/station/wmr200.py", line 198, in sendPacket
timeout = int(usbTimeout * 1000))
USBError: error sending control message: Device or resource busy
2012-08-02 10:59:49,821 ERROR [station.wmr200] WMR200 disconnect failed:
could not release intf 0: Invalid argument
Traceback (most recent call last):
File "/usr/lib/wfrog/wfdriver/station/wmr200.py", line 319, in
disconnectDevice
self.devh.releaseInterface()
USBError: could not release intf 0: Invalid argument
It seems like it founds the station (2012-08-02 10:59:48,644 INFO
[station.wmr200] Oregon Scientific weather station found
) but when tryng to send commands to it t fails.
Using python 2.6 (because wfrog wont work with 2.7).