Martin Nike
|
Detecting new "enX" device
|
Martin Nike
07/14/2010 10:16 AM
post59412
|
Detecting new "enX" device
Hi,
I am porting a Linux app across to QNX that used UDEV to determine when an ethernet device had been created. (In this
case, when plugging in a USB ethernet device.)
QNX doesn't have an equivalent (At least I can't find one), so what is the best way to achieve this?
Something similar to "mcd" that can detect en* would be useful, but I don't think mcd can do this.
My other thoughts are that I could have the driver send a message to another process to tell it that a device had been
added.
Or is there a way to have a thread poll and somehow detect that an enX device has been created by polling? (Polling what
?)
I'm totally new to QNX, so be gentle...
|
|
|