A HID device with Multiple interfaces

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: bvm (bvm_at_donotreplayto.com)
Date: 11/15/04


Date: Mon, 15 Nov 2004 16:56:11 -0600

Ok, so I have a keyboard here and when I look at what happens when it gets
connected to the system, I see that there are two interfaces. The first
interface has only 1 associated device with it, a keyboard hid device.
The second interface, has 3. The first, a system control hid
(sleep/wakeup keys), a consumer hid( ff, rw play keys) and a vendor
defined hid (don't care). I've been told to write 1 HID driver that will
handle all event 4 hid events (actually only 2, keyboard and consumer).

After some digging this seems possible in windows 2000/XP/2003 by having a
key with a only a vendor ID, product ID and rev versus a Vendor ID,
Product ID, rev and Interface ID. Is the same thing possible under CE?
Can I have 1 driver load that will handle all the HIDs across both
interfaces?

I know that the device ID keys are different under Windows CE. I know
they are something like :
[HKEY_LOCAL_MACHINE\Drivers\HID\LoadClients\VID_PID_REV\Interface_Collection\UsagePage_Usage\Keyboard].

So, any suggestions? Or should I just quit and open a flower shop?

-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/


Relevant Pages

  • Re: quick keyboard question
    ... what confuses me, among many things, is i didn't manually remove the dell wireless k/b, so that is why i thought i may have to disable, or remove the hid listed under k/bs in device manager. ... i can also add, that it's just the 1-5 hot keys across the top, not the email, home, messenger; tho the wmp takes a while to open using the wmp icon key. ... Any keyboard you connect should work, even if it's not specifically installed and as long as it's not a "special" of some sort. ...
    (microsoft.public.windowsxp.basics)
  • Re: charter
    ... That hid for MONTHS...... ... I've just found out that the Euro on my Grandson's ... flfgrzngvp vairfgvtngvba of all the keys, to see whether or not any others ... I would unmolish the keyboard and pyrna it. ...
    (uk.rec.sheds)
  • Re: Input driver for Twinhan USB 6253:0100 remote control
    ... which is probably the only callback from HID core you'd need. ... This Twinhan remote control sends single-byte codes for most ... To disable the dummy ctrl/alt/meta keys the remote sends all the time ...
    (Linux-Kernel)
  • [PATCH] Input quirk for the Fn key on Powerbooks with an USB keyboard
    ... keyboard has been replaced with an USB one conforming to the HID spec. ... The 'Fn' modifier key on this keyboard is a soft key reported using an ...
    (Linux-Kernel)
  • Re: Injecting keyboard scan codes at driver level
    ... as a hid miniport you cannot create a control device object. ... use the WDK 6001 osrfx2hid sample which is really a full blown KMDF driver using a HID miniport that is purely pass through. ... You will need to create a control object to communictate (you cant open the keyboard directly) ... scan codes to the keyboard data stream based on data received from the user ...
    (microsoft.public.development.device.drivers)