• 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: Locating a USB device
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Locating a USB device
      • From: Chuck Rice <email@hidden>
References: 
 >Locating a USB device (From: Chuck Rice <email@hidden>)
 >Re: Locating a USB device (From: Tomas Zahradnicky <email@hidden>)
 >Re: Locating a USB device (From: Chuck Rice <email@hidden>)

  • Prev by Date: Re: Non-activating panel not working
  • Next by Date: Re: Examples of applications developed with Cocoa?
  • Previous by thread: Re: Locating a USB device
  • Next by thread: Re: Locating a USB device
  • Index(es):
    • Date
    • Thread