PDA

View Full Version : What should I change IOUSBHIDDriver to match my device?




MayPeng
Apr 25, 2011, 03:51 AM
How should I use IOUSBHIDDriver.cpp and IOUSBHIDDriver.h to match my device? Create a kext project adding IOUSBHIDDriver.cpp and IOUSBHIDDriver.h , then??? What should I do?



chown33
Apr 25, 2011, 12:44 PM
What have you read?

What have you tried?


Have you read the USB Device Interface Guide?
http://developer.apple.com/library/mac/#documentation/DeviceDrivers/Conceptual/USBBook/USBIntro/USBIntro.html

Have you looked at the other references on the first page of that guide?

Have you looked at the sample code referenced on the first page of that guide?

Have you joined Apple's USB mailing list and asked there?
http://lists.apple.com/mailman/listinfo/usb

MayPeng
Jul 26, 2011, 04:04 AM
What have you read?

What have you tried?


Have you read the USB Device Interface Guide?
http://developer.apple.com/library/mac/#documentation/DeviceDrivers/Conceptual/USBBook/USBIntro/USBIntro.html

Have you looked at the other references on the first page of that guide?

Have you looked at the sample code referenced on the first page of that guide?

Have you joined Apple's USB mailing list and asked there?
http://lists.apple.com/mailman/listinfo/usb

The link below is IOUSBHIDDriver source code.
http://src.gnu-darwin.org/DarwinSourceArchive/expanded/IOUSBFamily/IOUSBFamily-228.4.0/IOUSBHIDDriver/Classes/IOUSBHIDDriver.cpp

Is it support in 32bit kernel only or both in 32bit and 64bit kernel?
If it can noly support in 32bit kernel , Where can i get it supporting in 64bit kernel ?