On Wednesday, July 27, 2016 at 9:03:02 AM UTC-4, Dennis slagers wrote:
>
> Lucky I saw that the 018rc8 = 0.18
>
>
> https://github.com/weewx/weewx/commit/2f8c3ec69f3d662b7ddf43d266924f80ed500cda
>
> I have modified the driver a very little due to some raspberry pi issue (I 
> think)
> wrote a blog entry about it and also added previous suggestions
>
>
> https://www.aroundmyroom.com/2016/07/17/weatherstation-and-te923-usb-issues-on-a-raspberry-pi/
>
> after 3 days it crashed due to not having my SD card size deployed 
> totally. I was missing 6GB or so ;-) .. 
> drive full . .(duh) .. 
> fixed that with the piconfig.
>
> It's up 7 days now. Longest uptime was during my holiday 21 days, so we 
> have some days to gooo .. 
>
>
>
dennis,

thank you for documenting your steps in your blog posting.

it is not clear whether the reset is necessary.  it is supposed to provide 
a clean slate for the driver to start communicating with the usb.  however, 
i think its actual efficacy depends on the operating system, libusb, and 
pyusb versions.

the bind command seems to be the important part here:

echo -n $id:1.0 > /sys/bus/usb/drivers/usbhid/unbind


what is $id?  you can find out by doing:

cat /sys/bus/usb/drivers/usbhid/unbind

so far this seems to be specific to rpi, but perhaps not all rpi.  could 
you tell us which os you are running on your pi?

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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to