Re: notification when device change in /dev
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