Archives

All posts for the month January, 2009

For many of you who have emailed me to have SerialChannel support the Sky boxes, SerialChannelSky is complete and can be found on www.cooldvr.com soon. SerialChannelSky uses a usb dusky-control box to control the Sky box.  SerialChannelSky is snow leopard compatible. I would like to thank the developer of dusky-control (dusky-control.com) for his support in making this software possible.  It is his hardware that SerialChannelSky relies on to make the magic happen.  If you have any questions feel free to email me at tomhoh@mac.com

LibUSB on Mac OS X 10.5.x

Lately I have been working on two projects to integrate USB hardware with my SerialChannel software. Both of these pieces of hardware have drivers written against libusb. Libusb was born into Linux and provides a portable usb api accross multiple platforms including Windows. On OS X however, it has been a moving target over the years with no central project to keep it going. This has been true until I recently discovered that the folks that maintain the SANE port for various platforms including OS X have also maintained a libusb port as part of their software. The best part is they provide it in a nice and neat SDK package for the various versions of OS X to include Leopard. It takes very little effort to get it going and working in an OS X project.  If you are developing software for a usb device that is recognized by the system as an HID device it will be necessary to create a dummy kext file to prevent OS X HID driver from capturing the device.  When creating the info.plist file do not use IOProbeScore in USB …. EVER or you will get error 2c7. The libusb download link is here. Remember to set environment variable

prompt$ export DYLD_LIBRARY_PATH=”usr/include/lib:$DYLD_LIBRARY_PATH”