| OS X - Development and Darwin Discussion and questions about development for Mac OS X. |
| Post Reply | New Thread | Subscribe |
|
|
Thread Tools |
![]() Member Since: Jan 19, 2009
Posts: 2
![]() |
Hi there,
I am just beginning to do some development on an iMac for the first time. Up until now I have been primarily a Linux guy. I am writing a small application that talks to a proprietary USB device. This is a very simple application with no user-interface. I am porting this application from Linux. What I need to know is how to detect when the device is connected, and then take a specific action (.e.g run a script that will load the firmware into the device) Under Linux there is a capability called 'udev'. When a device is connected to the system, USB, or otherwise, a rule which you have previously placed in a device specific rules file is executed and that rule enables you to perform a specified action. In my case this action is to write a script which loads the firmware into my device. Can someone tell me how to achieve the same thing under Darwin/MaxOs 10.4 ? Thank You much Jeff |
| QUOTE Thanks | |
| Post Reply | New Thread | Subscribe |
| Thread Tools | |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
|
|||||||
Thread |
Thread Starter |
Forum |
Replies |
Last Post |
| HELP! G4 and Ethernet to USB Conversion | ventura67 | Apple Desktops | 2 | 11-07-2008 09:04 PM |
| G4 Sawtooth AGP - USB problem at startup / firmware | kay_mac | Apple Desktops | 8 | 04-21-2007 06:02 PM |
| USB Audio device probs | mig.gentry | Apple Notebooks | 6 | 11-08-2004 09:05 PM |
| Belkin USB 2.0 card and Mac osX | thefisherman | Apple Desktops | 1 | 10-28-2004 03:47 AM |
| newbie usb for G3 question | pathogen | Apple Desktops | 2 | 11-19-2003 05:21 PM |
All times are GMT -4. The time now is 09:36 AM.
Powered by vBulletin