Re: Discovering USB devices
Re: Discovering USB devices
- Subject: Re: Discovering USB devices
- From: Pierre Bernard <email@hidden>
- Date: Tue, 10 Jul 2007 18:44:14 +0200
Hi Kevin!
(greetings to your iPhone)
Thanks for your reply to my message.
Scanning would be good, notifications would be way better.
How would I use IOKit to do this?
Pierre
On Jul 10, 2007, at 4:28 PM, Kevin Elliott wrote:
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
- - -
Houdah Software s. à r. l.
http://www.houdah.com
HoudahGeo: One-stop photo geocoding
HoudahSpot: Powerful Spotlight frontend
_______________________________________________
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