Mailing Lists: Apple Mailing Lists

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

Custom IOUSBDeviceClass?



Hi,
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. 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?

Any advice is greatly appreciated.

Regards,
Greg

_______________________________________________
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


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.