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: USB Interface driver matching



Drivers match per interface, not per pipe. So, you will need to look at both interface drivers and what they do and then synthesize a new one that deals with both kinds of pipes.


-- Fernando Urbina USB Technology Team Apple Computer, Inc.

On Oct 10, 2005, at 10:11 AM, Alec Carlson wrote:

I am modifying the AppleUSBCDCDriver-302.2.1 driver in order to support some
custom USB serial devices. I am actually only using the AppleUSBCDC and
AppleUSBCDCACM drivers and have deleted the AppleUSBCDCECM and
AppleUSBCDCWMC support. My modified drivers work fine for USB devices which
have valid interfaces - namely an interface for Comm-Control and another
interface for Comm-Data. However, some USB devices I have only have 1
interface and that interface contains both the kUSBInterrupt endpoint (for
control) and the Bulk-Input and Bulk-output endpoints (for data). For these
devices I have a problem. How can I get both drivers loaded since I have
separate interface drivers where Comm-Control is in one driver and Comm-Data
is in the other driver but my USB device only has a single Data interface ?
Interface matching doesn't work since only one of the drivers will get
loaded and I need both of them loaded in order for the serial stream to
work. Suggestions ?



_______________________________________________ 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: 
 >USB Interface driver matching (From: Alec Carlson <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.