Re: Detecting if iPod is connected?
Re: Detecting if iPod is connected?
- Subject: Re: Detecting if iPod is connected?
- From: Bob Ippolito <email@hidden>
- Date: Wed, 26 Jan 2005 12:20:25 -0500
On Jan 25, 2005, at 20:34, Colin Cornaby wrote:
I was wondering if anyone here had done iPod connection? It occurred
to me that somehow if you did a sweep of the connected FireWire
devices, you could tell which ones are iPods and tell it to mount.
Looking at IOKit it looks like you can return the FireWire devices,
and pull some information (the most obvious so far looks to be the
vendor being "Apple Computer" as to telling which ones are iPods).
Before I went through all the trouble of trying to code out this
problem, I was wondering if anybody else has done work with IOKit in
regard to FireWire devices, or perhaps even iPods, who could give me a
few pointers.
Here's some hints:
IOServiceMatching("com_apple_driver_iPodNub")
IOServiceMatching("com_apple_driver_iPodSBCNub")
-bob
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden