Trixology

General Category => General Computing/Macintosh => Topic started by: Val33 on April 15, 2014, 08:51:25 AM

Title: Weathercat finding two 'cu.SLAB_USBtoUART' after Mavericks fresh install.
Post by: Val33 on April 15, 2014, 08:51:25 AM
Hi All

Just wondering if anyone has come across this before and found a solution?

I upgraded my hard drives on my iMac and did a fresh install of Mavericks. Everything went well with no issues. However, every time I restart the system (programmed every day) Weathercat fails to find my Davis Vantage Vue console as it is finding two instances of the USB to Serial link port '/dev/cu.SLAB_USBtoUART' and 'cu.SLAB_USBtoUART1'. I have to manually select the second for Weathercat to function.

I have reinstalled the latest Silicon Labs drivers.

Any ideas how I can correct this?

Thanks

Val
Title: Gulp! (Re: Finding two 'cu.SLAB_USBtoUART')
Post by: elagache on April 15, 2014, 10:32:15 PM
Hi Val and WeatherCat Davis users,

Just wondering if anyone has come across this before and found a solution?

I upgraded my hard drives on my iMac and did a fresh install of Mavericks. Everything went well with no issues. However, every time I restart the system (programmed every day) Weathercat fails to find my Davis Vantage Vue console as it is finding two instances of the USB to Serial link port '/dev/cu.SLAB_USBtoUART' and 'cu.SLAB_USBtoUART1'. I have to manually select the second for Weathercat to function.

I have reinstalled the latest Silicon Labs drivers.

Any ideas how I can correct this?

Hmm, that dredged up an old memory about where those drivers are stored.  When I went to that location I had a surprise of my own!  :o

There is a file associated with the drivers and you'll find it at this location on your hard drive:

/System/Library/Extensions/

That's using UNIX filesystem conventions.

When I check out this location I also find two files - eek!

/System/Library/Extensions/SiLabsUSBDriver.kext
/System/Library/Extensions/SiLabsUSBDriver64.kext


The file SiLabsUSBDriver.kext has a much older modification date and I'm guessing that's an unused 32 bit version of the driver, but it is surprising to still find it on my system nonetheless. 

For your predicament, the most user-friendly solution would have been an uninstaller.   Alias, I just checked, Silicon Labs doesn't provide an uninstaller.  So if you find yourself with two files you'll need to remove one manually. 

I'm not entirely sure, but my best guess would be to reboot your Mac in "safe mode" (hold down the shift key.)  Then go to the folder noted above and drag the offending file to the trash.  You might not be able to delete the file until you reboot, but in safe mode it shouldn't have loaded the extension.

Just to be safe, I would suggest that you trash anything that looks like SiLabsUSBDriver.kext and then install a fresh copy of the driver using the latest installer from the Silicon Labs website.  That way you avoid any contamination from the previous files and the Silicon labs installer would have a clean slate to work with.

Given the oddity of this situation, definitely have a backup of your system before doing - ANYTHING!

Hope this gets you unstuck.

Cheers, Edouard
Title: Re: Weathercat finding two 'cu.SLAB_USBtoUART' after Mavericks fresh install.
Post by: Val33 on April 15, 2014, 11:14:29 PM
Edouard, many thanks for coming back to me with such a comprehensive reply, sadly, I've done as you suggest and its made no difference :(

Does this suggest that perhaps the issue lies within weather cat?

Thanks

Val
Title: Re: Weathercat finding two 'cu.SLAB_USBtoUART' after Mavericks fresh install.
Post by: Blicj11 on April 15, 2014, 11:56:56 PM
I've done as you suggest and its made no difference :(

Val, Have you searched your entire drive for anything with USBtoUART in the file name to ensure you only have one such driver?
Title: Re: Weathercat finding two 'cu.SLAB_USBtoUART' after Mavericks fresh install.
Post by: Val33 on April 16, 2014, 12:08:25 AM
I'm no Mac expert, and when I try to search it does not even find the two that I know are there and that I can navigate to following Edouard's instructions. Not sure what I'm doing wrong. I have set finder to show hidden files (and it is).

ideas?

Val
Title: Re: Weathercat finding two 'cu.SLAB_USBtoUART' after Mavericks fresh install.
Post by: Val33 on April 16, 2014, 12:22:53 AM
OK, so a quick google and I know how to search system files :)

It finds the same two listed by Edouard, nothing else. I've removed the 32bit one. Stays removed but no change.

Val
Title: Re: Weathercat finding two 'cu.SLAB_USBtoUART' after Mavericks fresh install.
Post by: Blicj11 on April 16, 2014, 04:48:36 AM
It finds the same two listed by Edouard, nothing else. I've removed the 32bit one. Stays removed but no change.

Are you saying you have now deleted that one file twice?

My advice is to delete them both, empty the trash, reboot the machine, search one more time and make sure you have neither file on your machine and then download the latest version of the driver from the web.
Title: Re: Weathercat finding two 'cu.SLAB_USBtoUART' after Mavericks fresh install.
Post by: Val33 on April 16, 2014, 09:11:26 AM
Hi

That is exactly what I have done. When I re-install, it creates the two files, so I have then removed the un-used one also.
Title: Exactly the same symptoms? (Re: Weathercat finding two 'cu.SLAB_USBtoUART')
Post by: elagache on April 16, 2014, 09:32:58 PM
Hi Val, Blick, and Weather Davis owners,

That is exactly what I have done. When I re-install, it creates the two files, so I have then removed the un-used one also.

Okay, it might be possible that Silicon Labs always installs the 32-bit driver and the 64-bit driver.  Why? - I fear I really don't want to know the answer because I would learn that there was an obvious right way to do something and an obvious wrong way to do something and they picked . . .  [banghead]

However, the number of files really wasn't the issue, your initial complaint was:

I upgraded my hard drives on my iMac and did a fresh install of Mavericks. Everything went well with no issues. However, every time I restart the system (programmed every day) Weathercat fails to find my Davis Vantage Vue console as it is finding two instances of the USB to Serial link port '/dev/cu.SLAB_USBtoUART' and 'cu.SLAB_USBtoUART1'. I have to manually select the second for Weathercat to function.

Is this still going on or not?

Cheers, Edouard
Title: Re: Weathercat finding two 'cu.SLAB_USBtoUART' after Mavericks fresh install.
Post by: Randall75 on April 16, 2014, 09:51:14 PM
Hi Val, Edouard and Blicj
 Silicon Labs installs both drivers I have the same 2 here on my iMac 2011 21"
It sounds like to me that Val's Perference file got corrupted during all this he needs to trash his com.trixology.weathercat.plist and start all over with his preferences in WeatherCat


It is in your Library/Perferences/com.trixology.weathercat.plist


Quit WeatherCat trash your preference file restart your computer and redo all your information in WeatherCat


cheers


 [cheers1]



Title: Re: Weathercat finding two 'cu.SLAB_USBtoUART' after Mavericks fresh install.
Post by: Val33 on April 16, 2014, 11:34:57 PM
Hi Randall

Mmmm, just tried that. No dice, it immediately picks up two instances of the port again!

Tried several times. closed weathercat, moved and renamed .plist, re-boot, start weathercat.

Val
Title: Re: Weathercat finding two 'cu.SLAB_USBtoUART' after Mavericks fresh install.
Post by: Randall75 on April 17, 2014, 01:54:17 AM
Hi Val
 I just reread your first post and I think you need to select the first '/dev/cu.SLAB_USBtoUART' in stead of the second
Have you tried that
cheers

 [cheers1]
Title: Re: Weathercat finding two 'cu.SLAB_USBtoUART' after Mavericks fresh install.
Post by: Val33 on April 17, 2014, 08:30:54 AM
Hi Randall

Yes, the first one does not work, that is the problem. So after a restart weather cat just stalls with 'weather station not found' (or something like that!).

Having said all that, it has started correctly this morning, so maybe something has worked. I'll monitor it for a few days and see.

Thanks

Val

Title: Re: Weathercat finding two 'cu.SLAB_USBtoUART' after Mavericks fresh install.
Post by: Blicj11 on April 17, 2014, 02:42:08 PM
Having said all that, it has started correctly this morning, so maybe something has worked.

Thank goodness for magic!  :)

Glad you got it working Val.
Title: Re: Weathercat finding two 'cu.SLAB_USBtoUART' after Mavericks fresh install.
Post by: Val33 on April 20, 2014, 09:28:50 AM
So the issue is not fixed :(

Still exactly as described in my first post, except to  add that about 1 in 5 re-starts weathercat selects the working port  (or the port that weathercat selects is working!).

Any fresh ideas for me to try?

Thanks

Val
Title: Re: Weathercat finding two 'cu.SLAB_USBtoUART' after Mavericks fresh install.
Post by: Randall75 on April 20, 2014, 12:22:05 PM
Hi Val
 Send Stu a personal message and see why he has to say about it


Also if you haven't upgraded to 10.9.2 please do it has a lot of fixes in it that makes WC run even smoother


cheers


 [cheers1]
Title: Re: Weathercat finding two 'cu.SLAB_USBtoUART' after Mavericks fresh install.
Post by: WCDev on April 20, 2014, 06:20:26 PM
Hi Val,
I'd suggest removing the Silicon Labs driver from your computer, then rebooting. Now launch WeatherCat - if it's still showing /dev/cu.SLAB_USBtoUART then there's still a copy somewhere - it might be in a cache, so try one of the many third party cache cleaners. Once you have no /dev/cu.SLAB_USBtoUART showing in WeatherCat, then install the latest one and try again.

If it's still showing two comms ports, it might be worth a mail to SiliconLabs - they may have seen the issue before.