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: AppleUSBEthernet



Actually, we seem to ship vendor specific drivers, so Rich's suggestions won't work. Additionally, we specify an IOProbeScore of 50,000, which is non-sensical. I will talk to the group responsible for those drivers and see about fixing that issue.

I have an idea on how you will be able to work around it, but I want to test it first. Stay tuned.

- Fernando

On Dec 7, 2007, at 11:44 AM, Rich Kubota wrote:

Peter,

I'm investigating an answer for your first question. However as to the second question, where Apple provides USB class drivers, such as the AppleUSBCDCECM Data/Control driver, the match criteria specifies a minimum match criteria as discussed in Technical QA 1076 "Tips on USB driver matching for Mac OS X"
<http://developer.apple.com/qa/qa2001/qa1076.html>


You can find the driver at
/S/L/E/IOUSBFamily.kext/PlugIns/AppleUSBCDCECMControl.kext and
/S/L/E/IOUSBFamily.kext/PlugIns/AppleUSBCDCECMData.kext

Inside the IOKit personality, you will see that the match criteria are to
bInterfaceClass - 2 (USB Comm Class Device)
bInterfaceSubClass - 6 (Ethernet Control Model)


As you mention that the vendor supplied driver apparently was not matched, then the 2 likely reasons are
1. the driver wasn't present, or it was added manually but the /S/L/ E folder was not touched and so the driver was not found in the Extensions cache file or
2. there was a problem loading the driver under 10.5, so the Apple CDC ECM class driver was matched as the next best driver.


You can perform a diagnosis of the problem by installing the IOUSBFamily Logging version, restarting, then launching USB Prober and perform a level 7 log dump while attaching the device. In the search window enter "match" and you can see a listing of the messages which the log family produces indicating which drivers had a non-zero probe score match.

You can get the USB log release appropriate for your system at
<http://developer.apple.com/hardwaredrivers/download/usbdebug.html>


rich kubota dts

At 12:18 PM -0500 12/7/07, Peter Sichel wrote:
Over the last couple years, I've worked with Daniel Sumorok to develop
and publish drivers for some common USB-to-Ethernet adaptors


<http://www.sustworks.com/site/news_usb_ethernet.html>

Starting in Leopard, it appears these drivers are not always needed.
Specifically, users with USB-to-Ethernet adaptors based on the ASIX
AX88772 chip are finding their device matched by "AppleUSBEthernet"
even when our driver (USBAx8817x.kext) is installed.  This is great
when it works, but several users are reporting their Ethernet adaptor
is failing to acquire a valid DHCP address (using a self assigned
169.254.x.x address instead).

Naturally, since some have installed our driver, they're writing
to me for help and I don't have a good answer.

QUESTIONS:

(1) Is it Apple's intention to support common USB-to-Ethernet adaptors
in Leopard? If so, what adaptors are supported?


   Is there some common criteria by chipset, protocol, or other
   identifier to determine what adaptors can be expected to work?

(2) What is the appropriate mechanism to match a user installed driver
such as our own in preference to AppleUSBEthernet?


In my own testing, AppleUSBEthernet does not appear to match the
LinkSys USB200M v1 (based on the AX8817x) on a MacBook (Nov 2007)
or iMac Core Duo with Leopard 10.5.1 .  The same adaptor works
normally when our driver is installed.

I have two reports based on system.log entries showing
AppleUSBEthernet does match a LinkSys USB200M v2 based on
the AX88772 with Leopard 10.5.1 on a PPC.

I don't see AppleUSBEthernet in /System/Library/Extensions.  Can
anyone confirm where it is located for checking version and
compatibility info.

Thanks for any pointers!

- Peter Sichel
 Sustainable Softworks

_______________________________________________
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

-- Sincerely, Rich Kubota email@hidden (408) 974-6212 _______________________________________________ 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

-- Fernando Urbina USB Technology Team Apple Inc.




_______________________________________________ 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
References: 
 >AppleUSBEthernet (From: Peter Sichel <email@hidden>)
 >Re: AppleUSBEthernet (From: Rich Kubota <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.