• 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: Firewire / USB load notifications
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Firewire / USB load notifications


  • Subject: Re: Firewire / USB load notifications
  • From: Florent Pillet <email@hidden>
  • Date: Thu, 29 Apr 2004 16:44:06 +0200

As other mentioned it, you need the IOKit for this. Apple provides some decent examples for doing just that with USB, look at the code samples. If you don't find them there, you can download the IOUSBFamily sources from the Darwin sources, the examples are there too.

Now I don't know how to do this with Firewire but I suspect it works about the same way.

Florent

On 28 avr. 04, at 19:40, Matt Jaffa wrote:

Hmmm I don't think this got to the list so I am posting it again:


Is there some way to use CoreFoundation, or Cocoa to be notified when a
Firewire HD Device or USB HD Device was plugged in?

And what disk it is (f.e. /dev/rdisk2 or /dev/rdisk3)

Thanks,

Matt


Begin forwarded message:

From: Matt Jaffa <email@hidden>
Date: April 28, 2004 11:04:40 AM MDT
To: Cocoa Dev <email@hidden>
Subject: Firewire / USB load notifications

Hi,

Is there some way to use CoreFoundation, or cocoa to be notified when
a Firewire HD device or USB HD device was plugged in?

Thanks,
Matt
_______________________________________________
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.


--
Florent Pillet, Code Segment email@hidden
Developer tools and end-user products for Palm OS & Mac OS X
ICQ: 117292463 http://perso.wanadoo.fr/fpillet
_______________________________________________
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: 
 >Fwd: Firewire / USB load notifications (From: Matt Jaffa <email@hidden>)

  • Prev by Date: Re: Auto saving Window position broken?
  • Next by Date: Non-Specific Linker Errors
  • Previous by thread: Re: Firewire / USB load notifications
  • Next by thread: Firewire / USB load notifications
  • Index(es):
    • Date
    • Thread