Author Topic: USB to serial  (Read 7545 times)

Chet

  • Gentle Breeze
  • **
  • Posts: 55
    • EW1987
    • IBADENWU20
  • Station Details: Davis Vue, iMac OS X, Catalina
USB to serial
« on: June 15, 2019, 11:47:14 AM »
I am reinstalling on iMac after a hard disk failure. I must use the serial to usb adaptor for my Vantage Vue. I reinstalled the driver for Mojave but WeatherCat says it cannot see the data logger. I don?t know how to troubleshoot this. Please help.
Chet
Castle Rock Colorado

Dave13

  • Gentle Breeze
  • **
  • Posts: 63
    • CW7890
    • KTNPARSO2
    • ParsonsWeather.com
  • Station Details: Davis VP2
Re: USB to serial
« Reply #1 on: June 15, 2019, 09:34:52 PM »
A few things to try:

Click on  menu, choose "About this Mac". Click the "System Report..." button. In the hardware section, click on USB and see if your serial to USB adapter is showing in the list of devices. If not try unplugging it and plug it back in, also try another USB port on the Mac.

Check the USB ports and the USB plug on the adapter, make sure there is nothing in there, such as dust, to obstruct the connection.

If the adapter is in the hardware list, uninstall and reinstall the latest Silicon Labs drivers:
https://wiki.trixology.com/index.php?title=Obtaining_the_latest_drivers_for_use_with_Davis_data_loggers

If none of that helps, you might try replacing your serial to USB adapter with one that uses a Prolific chipset, which is more "Mac friendly":
https://www.amazon.com/Plugable-Adapter-Prolific-PL2303HX-Chipset/dp/B00425S1H8/ref=sr_1_2?keywords=usb+to+serial+mac&qid=1560630328&s=gateway&sr=8-2


I had a serial port data logger with a serial to USB adapter on my station. When I made the switch to WeatherCat I never could get MacOS to work with it. I replaced it with a USB data logger:
https://www.scaledinstruments.com/shop/davis-instruments/hardware-data-loggers-software/hardware-software-bundles/davis-6520-weatherlink-for-mac-os-x-for-vantage-stations/

elagache

  • Global Moderator
  • Storm
  • *****
  • Posts: 6494
    • DW3835
    • KCAORIND10
    • Canebas Weather
  • Station Details: Davis Vantage Pro-2, Mac mini (2018), macOS 10.14.3, WeatherCat 3
Serial data logger connected to a Vantage Vue? (Re: USB to serial)
« Reply #2 on: June 15, 2019, 10:33:51 PM »
Dear Chet, Dave, and WeatherCat troubleshooters,

Thanks Dave once more for providing a very thorough list of suggestions.  I can only add a question.

I am reinstalling on iMac after a hard disk failure. I must use the serial to usb adaptor for my Vantage Vue.

Why must you use a serial data logger in your Vantage Vue?  Davis switched to USB data loggers many years ago and the Vue is even more recent than that switch.  I didn't think there were any serial data loggers that would work with the Vantage Vue.

Please do let us know how you are progressing and when you get your Mac successfully communicating with your weather station once more.

Cheers, Edouard  [cheers1]

Dave13

  • Gentle Breeze
  • **
  • Posts: 63
    • CW7890
    • KTNPARSO2
    • ParsonsWeather.com
  • Station Details: Davis VP2
Serial data logger does work with Vantage Vue (Re: USB to serial)
« Reply #3 on: June 16, 2019, 03:26:59 AM »
Hi Edouard,

I looked at the manual for the serial data logger on the Davis website, it does support the Vantage Vue:
https://www.davisinstruments.com/product_documents/weather/manuals/07395-210_GSG_06510_6555.pdf

From reading Chet's post, it sounds like he had his station working in WeatherCat with a serial data logger until the hard drive failed. If none of the options work that I suggested in my last post, then he would be better off to get a USB data logger.

Cheers, Dave [cheers1]

lakedog

  • Gentle Breeze
  • **
  • Posts: 36
    • DW4001, DW4184, D9315
    • KGAGAINE13, KGASAUTE2, KGAGAINE24
  • Station Details: Davis Vantage Pro(Phasing out, failing wind speed), Davis Vantage Pro2
Re: USB to serial
« Reply #4 on: July 14, 2019, 03:27:13 AM »
Ok, I have a similar story. I am replacing a quite old MacBook Pro with a 2016 MBP, which I reformatted and installed Mojave on, and then installed WeatherCat 3.0. I have a Vantage Pro2 with a USB data logger. WeatherCat does not seem to see the logger. The comms ports shown are /dev/cu.SOC, /dev/cu.mals, and /dev/cu.Bluetooth-incoming-Port. Though it is a USB logger, I installed the latest SL driver, which made no difference.

Googling /dev/cu.SOC and Mojave, I found a dev forum in which a poster explained that he solved a problem like this, communicating serial-usb with a dev board with a computer with Mojave, using the Apple USB/USB-C adapter. He solved the problem by using a direct USB-c to mini-USB cable. I bought one of these, but it made no difference.

Has anyone made this work with Mojave? I could reformat and install High Sierra. Is that working for anyone with a MBP with USB-C? Or is this a USB-C compatibility issue?

Any suggestions appreciated.

elagache

  • Global Moderator
  • Storm
  • *****
  • Posts: 6494
    • DW3835
    • KCAORIND10
    • Canebas Weather
  • Station Details: Davis Vantage Pro-2, Mac mini (2018), macOS 10.14.3, WeatherCat 3
Did you authorize Silicon Labs driver? (Re: USB to serial)
« Reply #5 on: July 14, 2019, 11:37:03 PM »
Dear lakedog and WeatherCat troubleshooters,

Ok, I have a similar story. I am replacing a quite old MacBook Pro with a 2016 MBP, which I reformatted and installed Mojave on, and then installed WeatherCat 3.0. I have a Vantage Pro2 with a USB data logger. WeatherCat does not seem to see the logger. The comms ports shown are /dev/cu.SOC, /dev/cu.mals, and /dev/cu.Bluetooth-incoming-Port. Though it is a USB logger, I installed the latest SL driver, which made no difference.

I ran into a very similar problem when I was forced to move from a 2011 MacBook Pro to a 2018 Mac Mini running Mojave.  There is an extra step needed to make it possible to use the Silicon Labs driver.  The trick is described in this posting:

http://athena.trixology.com/index.php?topic=2933.msg28473#msg28473

Apple, not making these sorts of things very easy, gives you an hour after you install a kernel extension to go to the Security pane of preferences to authorize the installation.  To get things working for me, I first uninstalled the driver using the tool supplied by Silicon Labs, I then installed as usual and immediately went to the security pane.  There was a message over there asking if I wanted to authorize the driver and after doing so, WeatherCat was able to connect to the Davis station without any issues.

Let us know if this solves your problem.

Cheers, Edouard  [cheers1]


lakedog

  • Gentle Breeze
  • **
  • Posts: 36
    • DW4001, DW4184, D9315
    • KGAGAINE13, KGASAUTE2, KGAGAINE24
  • Station Details: Davis Vantage Pro(Phasing out, failing wind speed), Davis Vantage Pro2
Re: USB to serial
« Reply #6 on: July 15, 2019, 08:50:59 PM »
Edouard, Thanks! I will try this when I get home tonight.

I love the Apple ecosystem, and the Mac still seems easier to manage than Windows, but Apple seems to be more and more often adding layers, perhaps for security, that are not adequately revealed to users. If all you do is email and browsing, I guess this is safer; and I guess the real geeks dig deep right off the bat; but for the user with non-mainstream applications and hardware and middle level sophistication, there are becoming more and more traps to fall into. It doesn't "just work" anymore. I would have never discovered this on my own. Hope it does the trick.

lakedog

  • Gentle Breeze
  • **
  • Posts: 36
    • DW4001, DW4184, D9315
    • KGAGAINE13, KGASAUTE2, KGAGAINE24
  • Station Details: Davis Vantage Pro(Phasing out, failing wind speed), Davis Vantage Pro2
Re: USB to serial
« Reply #7 on: July 15, 2019, 09:15:30 PM »
Edouard, BTW, if it can be edited, may I suggest adding the security preference step to the "Obtaining the latest drivers for use with Davis...."

http://wiki.trixology.com/index.php?title=Obtaining_the_latest_drivers_for_use_with_Davis_data_loggers

I had read this in looking for the drivers link, knowing that it had traditionally been important, but did not know the new step. Adding it to this article may save some people some headaches as more move to Mojave.

Thanks again!

elagache

  • Global Moderator
  • Storm
  • *****
  • Posts: 6494
    • DW3835
    • KCAORIND10
    • Canebas Weather
  • Station Details: Davis Vantage Pro-2, Mac mini (2018), macOS 10.14.3, WeatherCat 3
Good idea! Mojave instructions added. (Re: USB to serial)
« Reply #8 on: July 15, 2019, 10:33:30 PM »
Dear lakedog and WeatherCat Davis users,

Edouard, BTW, if it can be edited, may I suggest adding the security preference step to the "Obtaining the latest drivers for use with Davis...."
. . . . . .

You are only the second person to run into this problem, but definitely an update to the WeatherCat Wiki was in order.  I just completed it.  Thanks for the suggestion!

Cheers, Edouard  [cheers1]

lakedog

  • Gentle Breeze
  • **
  • Posts: 36
    • DW4001, DW4184, D9315
    • KGAGAINE13, KGASAUTE2, KGAGAINE24
  • Station Details: Davis Vantage Pro(Phasing out, failing wind speed), Davis Vantage Pro2
Re: USB to serial
« Reply #9 on: July 18, 2019, 05:58:21 AM »
Thanks, but my problem has moved to the next level. I re-installed and authorized the drivers. Now the program finds the communications and runs a check for Davis products communication. However, now the log shows that it is waiting for data to be ready and then that it could not fetch data from the weather station:

 Fetching data from weather station...
12:52:07 AM 18-Jul-2019: ***WARNING*** WeatherCat was not able to fetch all the weather data from the hardware after repeated tries.
12:52:07 AM 18-Jul-2019: Error: Didn't get pressure, dewpoint, temperature, windspeed or direction.
12:52:07 AM 18-Jul-2019: Couldn't fetch data from hardware. Data not valid.
12:54:30 AM 18-Jul-2019: Fetching data from weather station...
12:54:30 AM 18-Jul-2019: Temperature not ready...
12:54:30 AM 18-Jul-2019: Dewpoint not ready...
12:54:30 AM 18-Jul-2019: Pressure not ready...
12:54:30 AM 18-Jul-2019: Precipitation rate not ready...
12:54:30 AM 18-Jul-2019: Rain count not ready...
12:54:30 AM 18-Jul-2019: Wind speed not ready...
12:54:30 AM 18-Jul-2019: External rh not ready...
12:54:30 AM 18-Jul-2019: Weather data not ready - retrying in 30 seconds.
12:55:00 AM 18-Jul-2019: Fetching data from weather station...
12:55:00 AM 18-Jul-2019: Temperature not ready...
12:55:00 AM 18-Jul-2019: Dewpoint not ready...
12:55:00 AM 18-Jul-2019: Pressure not ready...
12:55:00 AM 18-Jul-2019: Precipitation rate not ready...
12:55:00 AM 18-Jul-2019: Rain count not ready...
12:55:00 AM 18-Jul-2019: Wind speed not ready...
12:55:00 AM 18-Jul-2019: External rh not ready...
12:55:00 AM 18-Jul-2019: Weather data not ready - retrying in 30 seconds.
12:55:33 AM 18-Jul-2019: Fetching data from weather station...
12:55:33 AM 18-Jul-2019: Temperature not ready...
12:55:33 AM 18-Jul-2019: Dewpoint not ready...
12:55:33 AM 18-Jul-2019: Pressure not ready...
12:55:33 AM 18-Jul-2019: Precipitation rate not ready...
12:55:33 AM 18-Jul-2019: Rain count not ready...
12:55:33 AM 18-Jul-2019: Wind speed not ready...
12:55:33 AM 18-Jul-2019: External rh not ready...
12:55:33 AM 18-Jul-2019: Weather data not ready - retrying in 30 seconds.

Thoughts? Console displays outside and inside data.

xairbusdriver

  • Storm
  • *****
  • Posts: 3126
    • EW7115 (E7115)
    • KTNGERMA20
    • Mid-South Weather
  • Station Details: Davis VP2 wireless + remote Anemometer/2014 Mac min - 10.15.7/WC 3.0.5
Re: USB to serial
« Reply #10 on: July 18, 2019, 03:37:51 PM »
Do the easy, simple steps first:
1. Check all connections
2. Re-boot the Davis Console
3. Try another cable
4. Quit WC, shutdown the computer, wait a few seconds, restart things
5. Remove/rename any old versions of the affected software
6. Run Apple Hardware Test
7. See if the dealer will swap the adaptor

That's about all I can think of. Hope something/someone helps.
THERE ARE TWO TYPES OF COUNTRIES
Those that use metric = #1 Measurement system
And the United States = The Banana system


elagache

  • Global Moderator
  • Storm
  • *****
  • Posts: 6494
    • DW3835
    • KCAORIND10
    • Canebas Weather
  • Station Details: Davis Vantage Pro-2, Mac mini (2018), macOS 10.14.3, WeatherCat 3
Try authorizing again. (Re: USB to serial)
« Reply #11 on: July 18, 2019, 11:22:57 PM »
Dear lakedog, X-Air, and WeatherCat troubleshooters,

Thanks, but my problem has moved to the next level. I re-installed and authorized the drivers. Now the program finds the communications and runs a check for Davis products communication. However, now the log shows that it is waiting for data to be ready and then that it could not fetch data from the weather station:

Actually this is the same problem.  You haven't successfully authorized the driver.  If you look at the start of the thread you'll see that I was getting exactly the same problem.  You'll find my own log postings here:

http://athena.trixology.com/index.php?topic=2933.msg28460#msg28460

You might have more than one copy of the Silicon Labs driver on your machine.  Try to make sure that you have removed everything, then install a fresh copy of the driver, authorize it, and you should be back in business.

To go back to one of your earlier postings - *Sigh*, Apple isn't doing a very good job of maintaining ease of use while tightening security.  :(

Oh well,
. . . . . Edouard

lakedog

  • Gentle Breeze
  • **
  • Posts: 36
    • DW4001, DW4184, D9315
    • KGAGAINE13, KGASAUTE2, KGAGAINE24
  • Station Details: Davis Vantage Pro(Phasing out, failing wind speed), Davis Vantage Pro2
Re: USB to serial
« Reply #12 on: July 19, 2019, 04:32:34 AM »
Well, I'm good at going down cul de sacs here. I tried to use the uninstaller that came in the SL package, but it tells me I don't have permission to run it. "Get info" shows me (I am administrator) as read/write. Re-installing the driver again says that it is removing old version, but still did not clear up the issue. BTW, on the second install it did not send me to Security preferences, and going there I found no option to allow the new driver.

?????????????!!!

xairbusdriver

  • Storm
  • *****
  • Posts: 3126
    • EW7115 (E7115)
    • KTNGERMA20
    • Mid-South Weather
  • Station Details: Davis VP2 wireless + remote Anemometer/2014 Mac min - 10.15.7/WC 3.0.5
Re: USB to serial
« Reply #13 on: July 19, 2019, 03:25:37 PM »
Quote
the second install it did not send me to Security preferences
The Security System "saw" the same thing when it reviewed the second install. You had previously approved/allowed the first install so it "knew" this was the same item. "Computer Intelligence" is really not very smart and it will not replace the human capacity to 'trick' it. [lol] Nor does it use 'human logic'. Just remember to not speak too badly about your computer, you do realize there is a microphone on those machines, right?! [computer] :o  [coffee]
THERE ARE TWO TYPES OF COUNTRIES
Those that use metric = #1 Measurement system
And the United States = The Banana system


elagache

  • Global Moderator
  • Storm
  • *****
  • Posts: 6494
    • DW3835
    • KCAORIND10
    • Canebas Weather
  • Station Details: Davis Vantage Pro-2, Mac mini (2018), macOS 10.14.3, WeatherCat 3
Try removing the files "manually." (Re: USB to serial)
« Reply #14 on: July 19, 2019, 11:44:51 PM »
Dear lakedog, X-Air, and WeatherCat troubleshooters,

Well, I'm good at going down cul de sacs here. I tried to use the uninstaller that came in the SL package, but it tells me I don't have permission to run it. "Get info" shows me (I am administrator) as read/write. Re-installing the driver again says that it is removing old version, but still did not clear up the issue. BTW, on the second install it did not send me to Security preferences, and going there I found no option to allow the new driver.
. . . . . .


Try running System Information (Utilities folder or About this Mac).  Bring up the Extensions and scroll over to the Silicon Lab driver(s).  Here is what you should see based on what is on my computer:



It includes the path to the extension file (near the bottom.)  Try simply removing the file directly and emptying the trash.  If that doesn't work try this UNIX command in the terminal:

sudo rm /Library/Extensions/SiLabsUSBDriver.kext

The sudo command will give you administration permissions after you type in your password.  Once you have removed all existing copies of the Silicon Labs driver, you should be able to install a fresh copy and have an hour to authorize it.

Let us know if this gets you finally unstuck.

Cheers, Edouard