USB Human Interface Device support

Maarten Lankhorst m.b.lankhorst at gmail.com
Wed Mar 26 01:22:21 CDT 2008


Hello Christopher,

2008/3/25, Christopher <raccoonone at procyongames.com>:
> Maarten Lankhorst wrote:
>  > Hello Luang,
>  >
>  > 2008/3/25, Juan Lang <juan.lang at gmail.com>:
>  >
>  >>  >  There isn't an entry in
>  >>  >  HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DeviceClasses for
>  >>  >  HID interfaces, in fact that whole set of registry keys seems to be
>  >>  >  missing. Is anyone working on patches to make this work, or can someone
>  >>  >  point me to the function(s) that need to be implemented for HIDs to be
>  >>  >  setup in the registry correctly? I'm not sure when/how those keys are
>  >>  >  suppose to be created.
>  >>
>  >>
>  >> Those should be created by explorer; see hal.c.  No one's working on
>  >>  this that I know of.
>  >>
>  > I have been working on hal, but it's mostly moving everything to
>  > mountmgr so I can get ipods (except iphone/ipod touch) working, if you
>  > populate control\deviceclasses and control\enum a hid device is
>  > 'added'. Just copy those keys from a windows installation.
>  >
>  > Cheers,
>  > Maarten.
>  >
>  >
>
> Thanks! SetupDiGetClassDevs and GetDeviceInterfaceData seem to work now,
>  but GetDeviceInterfaceDetaiData causes several errors. I'll look into
>  it now that I have somewhere concrete to start.
It probably asks for the specific keys in
\ENUM\category\devicename\idname so if you copy these over it will
probably work. WINEDEBUG=+setupapi is your friend.

Cheers,
Maarten.



More information about the wine-devel mailing list