Re: Discovering USB devices
Re: Discovering USB devices
- Subject: Re: Discovering USB devices
- From: Kevin Elliott <email@hidden>
- Date: Tue, 10 Jul 2007 07:28:24 -0700
Short answer is IOKit.
Long answer depends on what exactly you need to do. Do you need
notification of devices appearing, or are you just trying to scan the
state of the bus at a particular instant?
Sent from my iPhone
On Jul 10, 2007, at 12:03 AM, Pierre Bernard <email@hidden> wrote:
Hi!
Is there an easy way to discover connected USB devices and get their
UNIX name (e.g. /dev/cu.USA19QI181P1.1) ?
I tried reading the docs, but was overwhelmed. This is overkill. All
I need is the name of the device so I can hand it to a command line
tool.
Best,
Pierre
---
Pierre Bernard
http://www.bernard-web.com/pierre
http://www.houdah.com
_______________________________________________
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
_______________________________________________
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