Category Archives: Mac OS X

FTDI chip and OS X 10.10

Hi All,
Yesterday I got a FTDI (UART to USB) board from unknown manufacturer. I plugged in to the iMac and without a surprise, it was not working. I have tried all the possible combinations, but no luck. Then after some digging in Apple documentation and Google about kext, FTDI and related, I finally made it. Here are the steps:

1. In order to disable the AppleUSBFTDI.kext extension (From Mac OS X 10.8 there is Apple driver implementation for the FTDI chip).

cd /System/Library/Extensions/IOUSBFamily.kext/Contents/PlugIns
sudo mv AppleUSBFTDI.kext AppleUSBFTDI.disabled

2. Downloading and installing FTDI VCP Driver. I used the Mac OS X, 64 bit version.

3. Install the driver. Optional you can check if it is there and loaded.

ls -ld `/System/Library/Extensions/FTDIUSBSerialDriver.kext`
kextstat | grep FTDI

4. Run system_profiler -detailLevel full in order to find device details with a plugged in FTDI board.More info about the fields and how matching is done.
“idVendor” = 0x403
“idProduct” = 0x0
“bcdDevice” = 0x600

system_profiler FTDI Info

My FTDI chip info via system_profiler

5. Open the /System/Library/Extensions/FTDIUSBSerialDriver.kext/Contents/Info.plist and add new or change existing key/dictionary under IOKitPersonalities and make sure above 3 values(idVendor, idProduct, bcdDevice) are there and correct. All values must be decimals.

IOKitPersonalities / FT232R USB UART

My changes in Info.plist/IOKitPersonalities / FT232R USB UART

6. Now with the changes, signature of the driver is not correct so you need to turn on kext dev mode in the OS.
sudo nvram boot-args=”kext-dev-mode=1″

Reboot…

7. Unload/Load the driver. You can skip this step if you just rebooted. It can be use when you do changes in the info file.

sudo kextunload /System/Library/Extensions/FTDIUSBSerialDriver.kext/
sudo kextload /System/Library/Extensions/FTDIUSBSerialDriver.kext/

8. Plug in the FTDI to USD board and if you are lucky, you will see something likes this:

ls /dev |grep usbserial

cu.usbserial-A9GBBDLL

tty.usbserial-A9GBBDLL

Hope it helps.

Namaste!

HomeKit

We are part of the Apple MFi Program

I am proud to announce that we are now part of the Apple MFi Program. It will definitely help us to make better home automation accessories.

If you’re interested in creating a HomeKit-enabled hardware accessory, you need to be an MFi licensee to access the resources for manufacturing hardware that integrates HomeKit technology.

Namaste!

BlueWeather Station Header

BlueWeather Station, Just got 24h graph

So exited, after 24h of waiting( 24h ago run fresh BlueWeather Station programmed with latest firmware from us) finally I got full weather history chart and here it is:

BlueWeather Station iPhone App

BlueWeather Station iPhone App

Looking at it, it is possible to see what are the trends and try to predict what you can expect in the next hour. Pressure started to increase (“bull market”), so may be good weather is coming?

Namaste!

BlueWeather Station Header

BlueWeather Station, Our First Smart Home Application

We are proud to announce our first home automation product, which is the first one from our line of products BlueSmartHome. Weather station measure current temperature, humidity and pressure, also provide 24h history information. This combination of information gives you the basics for current weather conditions and forecast.

BlueWeather Station

F1. BlueWeather Station

BlueWeather Station iPhone App

BlueWeather Station iPhone App

Dedicated page with more information and more to come is here.

Namaste!

Bluetooth SensorTag(CC2541) Mac OS X sample application (Bluetooth Low Energy)

Just uploaded sample application, which can connect to the Bluetooth SensorTag (CC2541) and display ambient and IR temperature. In order to run it is good to have Apple machine with Bluetooth 4.0 (Bluetooth Low Energy support).

Connected SensorTag

Connected SensorTag

Disconnected SensorTag

Disconnected SensorTag


It supports connection to multiple Bluetooth SensorTags (CC2541) but is not tested. Sorry I have just one!

Namaste!