Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Mac > OOP Powerplant for Mac > Find device fil...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 393 of 484
Post > Topic >>

Find device filename thru Mach-0 project

by "Neel" <nilesh.khemkar@[EMAIL PROTECTED] > Jun 20, 2005 at 06:07 AM

Hi,
           I  am wondering that how to find out the available/attached
device file start with some specific name. example :
"/dev/tty.usbmodemXXXXXX1" .

            I want to find out all the device file name programatically
and filled up in Application's listbox. I tried with IOKit with passing
product ID and verdor ID but it did not work at all and even though it
will return me the only one device file name with matched product ID .
I want to do it at run time where user do not have to pass any
parameter like vendor id or product id , the application itself  find
out the attached device file name in StartUp callback  and filled up
respective listbox.

           Is there any other way to find out using simple "Pure
C-code" .  I just want to fill up listbox with available device file
with some specific starting character ( in my case its *.usb )

           Does anyone have any code snippet for the same or any tips
how should i solve this problem?

Thanks in advance.
 




 2 Posts in Topic:
Find device filename thru Mach-0 project
"Neel" <nile  2005-06-20 06:07:51 
Re: Find device filename thru Mach-0 project
Ben Artin <macdev@[EMA  2005-06-20 10:36:08 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Oct 12 12:08:28 CDT 2008.