Re: Identifying a connected iPod in C or Obj-C
Re: Identifying a connected iPod in C or Obj-C
- Subject: Re: Identifying a connected iPod in C or Obj-C
- From: Shawn Erickson <email@hidden>
- Date: Sun, 25 Jul 2004 08:44:42 -0700
On Jul 25, 2004, at 8:30 AM, gnat wrote:
There is apparently a way (based how iPods work with iTunes) to
identify that a connected device is an iPod versus a standard hard
drive. Does anyone know if this is something magical or if it is just
checking for the hidden directories? If it is "magical", would anyone
happen to know how it's done?
Well a few different ways exits. If the iPod gets mounted you can find
its file system via normal means.
However I bet the iPod tools (including the firmware updater) leverage
IOKit/CF services to be notified of addition of hardware.
In the following...
<
http://developer.apple.com/documentation/DeviceDrivers/Conceptual/
AccessingHardware/index.html>
...note this particular section...
<
http://developer.apple.com/documentation/DeviceDrivers/Conceptual/
AccessingHardware/AH_Finding_Devices/chapter_4_section_2.html#//
apple_ref/doc/uid/TP30000379/BABEACCJ>
-Shawn
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.