iokit

creating a block device programmatically in mac os x using iokit framework

Hey all, As i am a total noob to mac os x programming i am having some problems understanding this.I want to create a block device in mac os x leopard which would act as a normal drive in mac os x and after that i want to define the geometry of that device or drive according to a drive which i created during installation. As i a...

iPod/iPhone USB Product IDs

Is there a list somewhere of all iProduct USB prodcut ids? I use the IOKit to get notifications for attached/detached USB devices and would like to identify the device. Currently i get the device name and search for "iPod" and "iPhone" but i guess that's not really safe since it could also be an accessory (or could it?). Regards, Erik ...

virtual disk in mac os x

Hey all, I am trying to create a virtual disk driver which will create an exact replica of an existing disk partition using IOkit framework in mac os x leopard. Can anyone tell me how it can be done and if possible which api`s to use? P.S: the coding is in c++. Ironhide. ...

creating a IOBlockStorageDriver in mac os x Leopard

How can one create a simple IOBlockStorageDriver in mac os x leopard. Any help would be appreciated. ...

Mapping IOKit IOReturn error code to String

When I get error 0x10, I want to be able to make sense of that error code. Looking up IOReturn.h and mach/error.h is not particularly convenient. I was lost when I got 0x22 error code. This is really silly question but is there a function like error2String which can map IOReturn error code to String that describes the error ? ...

MacOSX usb vendor device handling KEXT

I am working with a closed source SDK ( i dont have access to the source ) that talks to a USB device using the regular facilities in client land. What i'm writting is a launch daemon that holds onto a connection with that SDK for the whole time the OS is running. By doing this, it disables any other apps to connect to the device using t...