Rob-
I tried sending the output of ioreg but it was big enough that it's being
held for moderation approval.
I'll recap the other info in that message in case it doesn't make it through:
The device is a Griffin Powermate. We need to seize it so that only our
app can see it and then read and respond to the raw data that it
generates. When the drivers provided by Griffin are installed, it
doesn't work with the HID Explorer or anything else I've tried. It's
like their driver won't let go. I thought that the
kIOHIDOptionsTypeSeizeDevice was supposed to be able to grab control from
everyone else...?
With their driver not installed it seems to work ok but we can't tell our
users to uninstall the driver. Is there some way to override their
driver in our app?
Thanks for your help.
-Ben
>Hi Ben,
>
>Do you have a little more information? What kind of pointing device
>are you attempting to open? Can you send me the terminal output of
>"ioreg -c IOHIDDevice -w 0"?
>
>Thanks,
>- Rob
>
>On Aug 15, 2005, at 2:00 PM, Ben Hanks wrote:
>
>> By the way, I'm using 10.4. I'm using the sample code from HID
>> Explorer to test this:
>> http://developer.apple.com/samplecode/HID_Explorer/HID_Explorer.html
>>
>> The pointing device in question doesn't respond in the explorer.
>> Other USB devices do.
>>
>> Thanks.
>>
>>
>>
>> On Aug 15, 2005, at 2:55 PM, Ben Hanks wrote:
>>
>>
>>> Hi,
>>>
>>> I'm trying to capture a pointing device using the
>>> HIDCreateOpenDeviceInterface call from the HID Utils which I have
>>> altered to use the kIOHIDOptionsTypeSeizeDevice flag. Here's the
>>> line I changed:
>>>
>>> result = (*(IOHIDDeviceInterface**)pDevice->interface)->open
>>> (pDevice->interface, kIOHIDOptionsTypeSeizeDevice);
>>>
>>> This seems to work with most devices but the particular one I need
>>> to capture in my app doesn't seem to let me seize it. The call
>>> doesn't fail (result == 0 right after) but the system continues to
>>> interact with the device and the app can't get data from it. Has
>>> anyone seen something like this before?
>>>
>>> Thanks.
>>>
>>>
>>
>> _______________________________________________
>> 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
>>
>
>
_______________________________________________
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