Thursday, November 7, 2013

Getting the Sitecom CN-104v2 VID_6189&PID_2068 USB to Serial at work on OSX 10.9 Mavericks

Thursday, November 07, 2013 Posted by Andre Broers , , , , , , , , 11 comments
Since I have a brand new MacBook Air it's time to pick my old hardware up that didn't work with Windows anymore.

One of these things was the Sitecom CN-104v2 VID_6189&PID_2068 USB to Serial cable.

Maybe it will work under OSX 10.9 Mavericks. It did!

But not without a hassle.

Let me show you the steps I did.

I downloaded the original driver from the Prolific website:

http://www.prolific.com.tw/US/ShowProduct.aspx?p_id=229&pcid=41

Install this driver and reboot.

Now the part the get the driver working for the Vendor and Product id's of the Sitecom adapter.

First check the id in the Mac System Information.

With the cable plugged in it should read :

USB-Serial Controller D:

  Product ID: 0x2068
  Vendor ID: 0x6189
  Version: 3.00
  Serial Number: 000009C7
  Speed: Up to 12 Mb/sec
  Manufacturer: Prolific Technology Inc. 
  Location ID: 0x14200000 / 6
  Current Available (mA): 500

  Current Required (mA): 100

Now start a terminal session and follow the following steps:

sudo vi /System/Library/Extensions/ProlificUsbSerial.kext/Contents/Info.plist


Enter the admin password and add the following lines to the file:

                <key>6189_2068</key>
                <dict>
                        <key>CFBundleIdentifier</key>
                        <string>com.prolific.driver.PL2303</string>
                        <key>IOClass</key>
                        <string>com_prolific_driver_PL2303</string>
                        <key>IOProviderClass</key>
                        <string>IOUSBInterface</string>
                        <key>bConfigurationValue</key>
                        <integer>1</integer>
                        <key>bInterfaceNumber</key>
                        <integer>0</integer>
                        <key>idProduct</key>
                        <integer>8296</integer>
                        <key>idVendor</key>
                        <integer>24969</integer>

                </dict>

There are two other entries in the file that look the same. Add this after these two. The only change are the key and the Product and Vendor ids. This are the vendor ids of the Sitecom adapter.

Save and exit the editor.

Now reboot the machine or do a:

sudo kextload ProlificUsbSerial.kext


and my adapter works.


11 comments:

  1. Great manual, just needed it.
    Thanks

    ReplyDelete
  2. Thanks a lot! It worked for me, too.
    Just slightly different on my OSX 10.6.8: I have to cd to /System/Library/Extensions/ and then
    sudo kextload ProlificUsbSerial.kext
    Moreover, the extension isn't load at boot time but I'll try to fix it by myself ;)

    ReplyDelete
  3. Thanks! osX 10.11 is causing errors with this though. The problem seems to be that as soon as you edit the Info.plist the kext that you get from prolific is no longer signed. Unsigned kexts will no longer load on el capitan by default. There are two ways around this I think.

    1) Someone with a Apple developer account can make the changes and sign the kext
    2) disable all kext signing for capitan:

    Reboot your machine in recovery mode : hold cmd+r

    Then launch the terminal and deactivate the System Integrity Protection status by entering the following command line :

    $ csrutil disable
    This is an unsupported configuration, likely to break in the future and leave your machine in an unknown state.

    But your unsigned kext will load

    ReplyDelete