• 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: notification when device change in /dev
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: notification when device change in /dev


  • Subject: Re: notification when device change in /dev
  • From: Scott Ribe <email@hidden>
  • Date: Wed, 26 Feb 2014 23:11:20 -0700

On Feb 26, 2014, at 6:47 PM, Roland King <email@hidden> wrote:

> Kyle, the IOUSB stuff works too, I have that but find there's a delay before the /dev gets created, a random one, and I haven't yet figured out how to work out what device it gets mapped to...

Well, somewhere in the attributes there's a BSD device path for those things that have one. I don't remember exactly where, because I actually have never needed it and just recall seeing it in passing. But yeah, there is an attributes dictionary you can get for a device, and there is an attribute for the dev name.


--
Scott Ribe
email@hidden
http://www.elevated-dev.com/
(303) 722-0567 voice





_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >notification when device change in /dev (From: Roland King <email@hidden>)
 >Re: notification when device change in /dev (From: Graham Cox <email@hidden>)
 >Re: notification when device change in /dev (From: Roland King <email@hidden>)

  • Prev by Date: Re: How to avoid exceptions when decoding incomprehensible archives
  • Next by Date: dataWithPDFInsideRect doesn't clip images within NSView
  • Previous by thread: Re: notification when device change in /dev
  • Next by thread: Debugging insight needed for NSKeyedUnarchiver
  • Index(es):
    • Date
    • Thread