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: Custom IOUSBDeviceClass?




On Feb 23, 2005, at 8:11 PM, Greg wrote:

I am having a problem with a USB device and it occurs at the same location as this thread experienced.

http://lists.apple.com/archives/usb/2004/Nov/msg00068.html

The changes were apparently going to appear in a release after 10.3.6, but it seems that this is still not the case.

Are you sure? The fix went out in 10.3.8. You can download the logging version of the IOUSBFamily and capture a level 6 log. Then go to http://bugreporter.apple.com and file a bug. Then let us know the bug # so we can take a look.


I have nailed down to where the problem in the IOKit is occuring, in IOUSBDeviceClass and want to override that method to handle the case for my device. I can't for the life of me figure out how to do this. Is it possible for an IOUSBDevice to return a custom IOUSBDeviceClass? The IOKit fundamentals doesn't seem to make a mention of what a device class is exactly and how it interacts with the device. It would be easy if an IOUSBDevice could return the device class as I could just return the patched up method in a subclass.

Does anyone have any advice on how to go about this? Is it possible to patch that method in IOUSBDeviceClass without having to make a subclass?

This is something that is not recommended. I don't even know if it's possible or not.


--
Fernando Urbina
USB Technology 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: 
 >Custom IOUSBDeviceClass? (From: Greg <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.