• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Notifications when iPods are mounted...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Notifications when iPods are mounted...


  • Subject: Re: Notifications when iPods are mounted...
  • From: Uli Kusterer <email@hidden>
  • Date: Fri, 13 Jan 2006 16:35:13 +0100

Am 13.01.2006 um 05:47 schrieb Eamon Ford:
(Oops, forgot to send it to the whole list.)

You can detect if an iPod is mounted by calling -[NSWorkspace mountedRemovableMedia], and then check for an iPod_Control directory in each volume.

I've had a similar problem, so I was wondering: Did anyone ever find out how to get from that info to the actual driver or device name (i.e. when you plug in a camera, the name that System Profiler shows for a device in its list)? Checking for that directory may work for an iPod and yield few false positives, but is there a way to detect the actual device info the system seems to know? Based on the BSD pathname maybe?


I tried a couple of things a year or so ago, but never really managed to make the connection between the info I got from Cocoa and IOKit. Since I'll soon have to get back to the project I used that on, I'd be really interested in any clues you may have.

Cheers,
-- M. Uli Kusterer
http://www.zathras.de


_______________________________________________ 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
  • Follow-Ups:
    • Re: Notifications when iPods are mounted...
      • From: Pascal Pochet <email@hidden>
    • Re: Notifications when iPods are mounted...
      • From: Steve Checkoway <email@hidden>
    • Re: Notifications when iPods are mounted...
      • From: Eamon Ford <email@hidden>
References: 
 >Notifications when iPods are mounted... (From: <email@hidden>)
 >Re: Notifications when iPods are mounted... (From: Eamon Ford <email@hidden>)

  • Prev by Date: Fwd: Cocoa Custom NSCell Binding Issue
  • Next by Date: Re: Detecting a user click while in a lengthy task (mainthread)
  • Previous by thread: Re: Notifications when iPods are mounted...
  • Next by thread: Re: Notifications when iPods are mounted...
  • Index(es):
    • Date
    • Thread