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: matching against composite/HID device



On Mar 18, 2005, at 11:09 AM, Shaun Wexler wrote:

On Mar 18, 2005, at 10:13 AM, Rhoads Hollowell wrote:

First of all, it appears to me that you don't really need a driver for the IOUSBDevice, as the AppleUSBComposite driver should handle your needs for you.

It's close to the same thing except I don't need to examine power states, but I provide for firmware updates, and it has to connect to my main DMX controller in-kernel, and it needs to remove itself from control by the HID Manager! I must capture the device and interface for my driver's exclusive use.

Well, the IOUSBHIDDriver does not do anything with the IOUSBDevice object, so that shouldn't be an issue. Also, even though the AppleUSBComposite driver is driving that object, it doesn't leave it open(), and so it isn't a problem either.



As far as the IOUSBInterface driver goes, is there a difference between when the device is plugged in at boot time and when it is plugged in after boot? This may be a problem with the IOUSBHIDDriver being a higher priority at boot time.

It matches IOUSBHIDDriver every time. Maybe my IOProviderClass is wrong?

Well, I don't see any obvious errors in the personality that you sent. Are you sure that your DurandDMX4201USBInterface::start method is not getting called? Perhaps it is getting called and it is returning false?


Are you sure that your kext is actually able to load? The following should verify that:

% sudo kextload -v DurandDMX4201USBInterface.kext

Rhoads Hollowell
USB Software Team
Apple Computer, 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: 
 >matching against composite/HID device (From: Shaun Wexler <email@hidden>)
 >Re: matching against composite/HID device (From: Rhoads Hollowell <email@hidden>)
 >Re: matching against composite/HID device (From: Shaun Wexler <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.