New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

USB Hot Plug under MacOS 10.4 ?


Post Reply New Thread Subscribe

 
Thread Tools
jmp559

 
Member Since: Jan 19, 2009
Posts: 2
jmp559 is on a distinguished road

jmp559 is offline
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


« Change window NSRect is drawn in? | Burning & Installing Darwin »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
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 05:17 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?