Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to get the ethernet medium assigned by user



 Dear all,

     In my 'usb to Ethernet ' driver ( I developed it base on
 AppleUSBCDCSampleDriver source code).

     It works fine but medium change.

     After the driver is installed, you can change the medium by CONTROL UI
 (system preference) and it works correctly
     after the medium change. For example, 100M to 10M medium change.

     The issue is, when I unplug and plug the USB cable from my device or I
 reboot the Mac PC, my
     device will work on "default medium (100M)" but not previous assigned
 medium (10M). But the
     CONTROL UI shows the correct medium setting(10M).

     I found that the system (OS X) does not call the "selectMedium routine"
 in my driver after system
     reboot or driver unload and load.

     How should I do then the OS will call the "selectMedium routine" in my
 driver after system
     reboot or driver unload and load. Or how I get the medium information
in
 CONTROL UI ??

     Any comment is appreciated !


 Regards,
 Mark




 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Usb mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/usb/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.