Author Topic: Comms reset not working with 10.10.1  (Read 2848 times)

jcbeckman

  • Gentle Breeze
  • **
  • Posts: 11
    • EW2807
    • KMISTERL11
  • Station Details: Davis Vantage Vue, WASHINGTON, MI
Comms reset not working with 10.10.1
« on: November 23, 2014, 01:55:08 AM »
I have a Davis Vantage Vue station connected to a Mac Pro running 10.10.1. Once every day or two, the comms craps out on the USB connection. Before 10.10.1, Weather Cat (2.01) would do a reset and it was always successful. Since installing 10.10.1, the resets don't work anymore, and I must physically disconnect the connection and then restart WeatherCat. It's then fine until the next hang. I'm sure Apple probably changed something that broke the reset I have attached a diagnostic log from when the latest fail occurred.

WCDev

  • WeatherCat Developer
  • Administrator
  • Storm
  • *****
  • Posts: 2934
    • CW9739
    • ISCOTLAN25
    • Trixology
  • Station Details: Main Station: Vantage Pro-2, 24hr fars, solar, soil/leaf station, extra temp stations, no U.V. WeatherLink IP.
Re: Comms reset not working with 10.10.1
« Reply #1 on: November 23, 2014, 11:31:41 AM »
Yes, it is entirely OS dependent. If it stops responding, we ask the OS to unload the driver and wait. If it does unload, we then try to re-instantiate it, if that's OK, we then try to open it and if that's Ok carry on. Otherwise, all we can do is alert you.

See http://wiki.trixology.com/index.php/Electronic_Interference_Effects_on_Station_Hardware/Data_Logger/USB_Cable for general hints and tips to avoid this problem.

 

jcbeckman

  • Gentle Breeze
  • **
  • Posts: 11
    • EW2807
    • KMISTERL11
  • Station Details: Davis Vantage Vue, WASHINGTON, MI
Re: Comms reset not working with 10.10.1
« Reply #2 on: November 23, 2014, 03:45:59 PM »
I guess I was hoping you would be able to see some difference in how you do the reset between 10.10 and 10.10.1, since the comms reset worked every time then. I already have the updated power supply, plugged into a UPS, with the supplied USB cable with ferrite traps on it plugged directly into my Mac, so I really can't mitigate it any more.

WCDev

  • WeatherCat Developer
  • Administrator
  • Storm
  • *****
  • Posts: 2934
    • CW9739
    • ISCOTLAN25
    • Trixology
  • Station Details: Main Station: Vantage Pro-2, 24hr fars, solar, soil/leaf station, extra temp stations, no U.V. WeatherLink IP.
Re: Comms reset not working with 10.10.1
« Reply #3 on: November 23, 2014, 11:18:56 PM »
Unfortunately there isn't anything that can be done for this in WeatherCat - either the OS will release the driver or it won't - if it doesn't it's because it either thinks there's some other software also using the driver or an OS bug or the driver has crashed in such a state it cannot be unloaded. Over the years, various OS versions have broken this functionality, only to be restored in a subsequent OS release and/or Silicon Labs driver updates.

Something you could try, is going to the Tools menu in WeatherCat and select 'Configure Station Comms' - this will cause WeatherCat to forget the current connection information and quit. When you launch it again, you'll have to reconfigure the communications, picking up new connection information. I wouldn't be too hopeful this will affect it, but it might be worth a try.

jcbeckman

  • Gentle Breeze
  • **
  • Posts: 11
    • EW2807
    • KMISTERL11
  • Station Details: Davis Vantage Vue, WASHINGTON, MI
Re: Comms reset not working with 10.10.1
« Reply #4 on: November 24, 2014, 12:01:31 AM »
Thanks. I tried this already as well. Can you give out the the command used? I see I can run a use program on failure, perhaps trying again using sudo will get the driver to unload/reload.

jcbeckman

  • Gentle Breeze
  • **
  • Posts: 11
    • EW2807
    • KMISTERL11
  • Station Details: Davis Vantage Vue, WASHINGTON, MI
Re: Comms reset not working with 10.10.1
« Reply #5 on: November 24, 2014, 10:14:21 PM »
Ha - of course, just to poke me in the eye, today the comms reset worked. Go figure. I haven't done anything that I know of to change things.

Blicj11

  • Storm
  • *****
  • Posts: 4001
    • EW3808
    • KUTHEBER6
    • Timber Lakes Weather
  • Station Details: Davis Vantage Pro2 Plus | WeatherLinkIP Data Logger | iMac (2019), 3.6 GHz Intel Core i9, 40 GB RAM, macOS Ventura 13.7 | Sharx SCNC2900 Webcam | WeatherCat 3.3 | Supportive Wife
Re: Comms reset not working with 10.10.1
« Reply #6 on: November 25, 2014, 12:31:25 AM »
Ha - of course, just to poke me in the eye, today the comms reset worked.

Steve Jobs helping out from the other side?
Blick