Mailing Lists: Apple Mailing Lists

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

Re: CDC ethernet driver



Les,
Answers below...

Russ
---------------------
On Tuesday, October 7, 2003, at 01:16 PM, Les wrote:

I have a CDC class-compliant ADSL modem.

0. The shipping AppleUSBCDCDriver is an initial matching candiate
for the ADSL device, based on the bDeviceClass and bDeviceSubClass
in the plist personality.  However, the start() function does
further checking of other descriptor values and finally does not
match the device.  It appears the AppleUSBCDCDriver is only for
serial-port type devices, such as POTS modems.  Is this true?

1. It appears the AppleUSBCDCSampleDriver also is only for
serial-port type devices, such as POTS modems.  Is this correct?

This is correct.


2. It appears there is no shipping Apple driver for USB CDC ethernet devices. Is this true?

We have never seen a true CDC Ethernet compliant device yet.


3. Are there any plans for an Apple-supplied driver for CDC-compliant ethernet devices? We'd like to know if we really need to write a driver for our device.

If there are compliant devices we will ship a driver.


4. I see there are two CDC sample drivers, AppleUSBCDCSampleDriver and USBCDCEthernet. Is the USBCDCEthernet sample the correct sample to use as a basis for a driver for this ADSL modem (rather than AppleUSBCDCSampleDriver)?

The USBCDCEthernetSample is the correct sample to use for this device.


5. The USBCDCEthernet sample plist personality doesn't have matching criteria for bDeviceClass, but rather for PID and VID. Is there any reason why I shouldn't make my driver match on the device class instead of the PID/VID?

It was deliberately done this way but you can change the criteria easily enough.



6. Why is AppleUSBCDCDriver.kext inside of IOUSBFamily.kext/Contents/Plugins instead of directly under /System/Library/Extensions ?

It works fine in either place but the AppleUSBCDCDriver is considered part of the family.


_______________________________________________
usb mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/usb
Do not post admin requests to the list. They will be ignored.
_______________________________________________
usb mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/usb
Do not post admin requests to the list. They will be ignored.

References: 
 >CDC ethernet driver (From: Les <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.