Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Identifying a connected iPod in C or Obj-C
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Identifying a connected iPod in C or Obj-C



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.


References: 
 >Identifying a connected iPod in C or Obj-C (From: gnat <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.