Re: Locating a USB device
Re: Locating a USB device
- Subject: Re: Locating a USB device
- From: Tomas Zahradnicky <email@hidden>
- Date: Mon, 20 Jan 2003 01:41:51 +0100
Yes. Use IOKit to locate all USB devices, then look at their type
until you find the proper one. Then grab that device's BSD path
which will be cu.usbmodem*, where * is the number you'll looking
for.
Not sure I understand your answer. I think that that is what I am
doing. It works fine on the machines I can test it on. Sounds like
it may be a "Technique". Thanks. -Chuck-
No that is not. If I remember correcly, you are trying to figure out
which number is after the cu.usbmodem. This is how to determine it.
Look into
<
http://developer.apple.com/samplecode/Sample_Code/Devices_and_Hardware/Serial/SerialPortSample.htm>
on how to find modems and use them.
-Tomas
--
# Tomas Zahradnicky, Jr
# The Czech Technical University
# Dept of Computer Science, FEE-CTU Prague
_______________________________________________
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.