Hi
I have trouble after upgradin my pi2 and weewx.
It seems to be that the usb port is not stable. When I run weewxd it 
download a chunk of historical data from my TE923, until it stops for some 
trouble with the usbport. I changed the timeout to 4s in the driver, it 
seem to be little better. 

I also upgraded my power supply

When using wee_device --infoI almost imeadiatly get the error below

@fenixwx /home/weewx/bin $ python wee_device --info
Using configuration file /home/weewx/weewx.conf
Using TE923 driver version 0.17 (weewx.drivers.te923)
Traceback (most recent call last):
  File "wee_device", line 54, in <module>
    main()
  File "wee_device", line 51, in main
    device.configure(config_dict)
  File "/home/weewx/bin/weewx/drivers/__init__.py", line 69, in configure
    self.do_options(options, parser, config_dict, prompt)
  File "/home/weewx/bin/weewx/drivers/te923.py", line 766, in do_options
    with TE923Station() as station:
  File "/home/weewx/bin/weewx/drivers/te923.py", line 1516, in __enter__
    self.open()
  File "/home/weewx/bin/weewx/drivers/te923.py", line 1531, in open
    self.devh.reset()
  File "/usr/local/lib/python2.7/dist-packages/usb/legacy.py", line 237, in 
reset
    self.dev.reset()
  File "/usr/local/lib/python2.7/dist-packages/usb/core.py", line 845, in 
reset
    self._ctx.backend.reset_device(self._ctx.handle)
  File "/usr/local/lib/python2.7/dist-packages/usb/backend/libusb0.py", 
line 537, in reset_device
    _check(_lib.usb_reset(dev_handle))
  File "/usr/local/lib/python2.7/dist-packages/usb/backend/libusb0.py", 
line 380, in _check
    raise USBError(errmsg, ret)
usb.core.USBError: [Errno None] could not reset: Operation not permitted



Is there a way to set permissions on the uSB port could it be as simple as 
that?

Ulrik

-- 
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