Andrew Lambert said:
> This might be a Connectix problem, but can anyone enlighten me as to why
> my USB HID device (a Cypress Licorice clock evaluation board) matches to the
> IOUSBDeviceUserClient in MacOSX (10.1.5), appears in the Virtual PC( VPC
> 5.?) USB list, but appears not to be released to the VirtualPC operating
> system? The VirtualPC HIDEval/USB tools don't see it, and VirtualPC
> configuration seems to deselect it every time I try and plug it in. The
> MacOSX though, is forever matching it.
> Is there something to stop the HID device being shared? If so how do I
> convince the MacOSX not to match to this device? (HIDExplorer brings up the
> HID details in MacOSX alright so I suspect the device is fine.)
I suspect that it is the AppleUSBComposite driver matching to your device
and the IOUSBHIDDriver matching to the interface. VPC sees them but when it
tries to open the interface, it fails -- because the IOUSBHIDDriver is not
playing nice and releasing the interface when asked to do so.
Your solution will be to create 2 vendor specific drivers -- one that
matches to the device and one that matches to the interface. Maybe just the
interface will work -- I'm not 100% sure. See the examples in
/Developer/Examples/Kernel/IOKit/usb/VendorSpecificDriver for guidance on
how to do that. Having those drivers will prevent the composite and hid
drivers to match to that device and VPC will be able to claim them.
Fernando Urbina mailto:email@hidden
USB Technology Team work: 719.534.9387
Apple Computer, Inc. fax: 719.532.0981
usb mailing list | email@hidden
Do not post admin requests to the list. They will be ignored.