On Monday, October 24, 2016 at 3:01:47 PM UTC-4, Roland Ehle wrote: > > Hi all, > > I have now attached my WMR300 to an Intel NUC running Ubuntu 16.04 LTS. > Unfortunately weewx 3.6.1 is unable to read data from the station. > Apparantly the reason is, that the USB device is reset by the Kernel, > according to the log: > > Oct 24 20:57:01 lin01 weewx[932]: engine: Loading station type WMR300 > (weewx.drivers.wmr300) > Oct 24 20:57:01 lin01 weewx[932]: wmr300: driver version is 0.13 > Oct 24 20:57:01 lin01 weewx[932]: wmr300: Found station at bus= device= > Oct 24 20:57:02 lin01 kernel: [ 2514.640999] usb 1-4: reset full-speed USB > device number 5 using xhci_hcd > > and Later: > > Oct 24 20:55:46 lin01 weewx[932]: engine: Starting up weewx version 3.6.1 > Oct 24 20:55:46 lin01 weewx[932]: engine: Station does not support reading > the time > Oct 24 20:55:46 lin01 weewx[932]: wmr300: reading records since ******* > N/A ******* ( N/A ) > Oct 24 20:55:46 lin01 weewx[932]: wmr300: read: failed attempt 1 of 5: > [Errno 110] Operation timed out > Oct 24 20:55:49 lin01 weewx[932]: wmr300: read: failed attempt 2 of 5: > [Errno 110] Operation timed out > Oct 24 20:55:52 lin01 weewx[932]: wmr300: read: failed attempt 3 of 5: > [Errno 110] Operation timed out > Oct 24 20:55:55 lin01 weewx[932]: wmr300: read: failed attempt 4 of 5: > [Errno 110] Operation timed out > Oct 24 20:55:58 lin01 weewx[932]: wmr300: read: failed attempt 5 of 5: > [Errno 110] Operation timed out > > I am about to give up and use a Raspberry Pi, but am hoping, that someone > has a hint. >
roland, i think the timeouts are due to a usb initialization problem, which is in turn due to differences between how 'reset' works in different versions of libusb. from the "Found station at bus= device=" i would guess that you are running libusb 1.0, but could you post the exact versions of pyusb and libusb on your ubuntu system? i have been testing the wmr300 driver on ubuntu 14.04.1 with kernel 3.19.0-32-generic on x86_64 with these usb versions: python-usb 0.4.3-1 libusb-1.0-0 1.0.17-1 libusb-0.1-4 0.1.12-23.3 m -- 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 weewx-user+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.