Currently the Wii Remote is a very hot topic because it works as a HID
Bluetooth device. Unfortunately it does not work completely with the HID
API and the Windows Bluetooth stack. I use my HID test programs
developed for USB devices and with some of them it is possible to BSOD
the XP Bluetooth stack.
This is probably the uppermost HID driver not checking the parameters. I
have seen that problem with an older Logitech mouse driver.
I do not own a Wii Remote yet so i do not know much yet. Where do i get
information about the problems of the Bluetooth stack?

Re: Bluetooth HID by Oliver

Oliver
Fri Dec 22 10:52:32 CST 2006

A good point to start might be the information from the BSODs or even
better the memdumps.

There was even an address you could use to send memdumps to MS.

Oliver

On Dec 22, 7:10 am, Robert Marquardt <robert_marqua...@gmx.de> wrote:
> Currently the Wii Remote is a very hot topic because it works as a HID
> Bluetooth device. Unfortunately it does not work completely with the HID
> API and the Windows Bluetooth stack. I use my HID test programs
> developed for USB devices and with some of them it is possible to BSOD
> the XP Bluetooth stack.
> This is probably the uppermost HID driver not checking the parameters. I
> have seen that problem with an older Logitech mouse driver.
> I do not own a Wii Remote yet so i do not know much yet. Where do i get
> information about the problems of the Bluetooth stack?


Re: Bluetooth HID by Robert

Robert
Fri Dec 22 13:29:16 CST 2006

Oliver wrote:

> A good point to start might be the information from the BSODs or even
> better the memdumps.
>
> There was even an address you could use to send memdumps to MS.

Later, when i have the hardware.

BTW i am rather sure what the problem is. The uppermost HID driver is
the one to check the parameters for the DeviceIoControl calls the HID
API calls really are. The driver then hands the request down to the next
driver which does not test anymore and crashes on invalid parameters.
This is how the older Logitech driver created the BSODs. It replaced
mouhid.sys and passed the calls unchecked to hidusb.sys.
Alternatively it is a problem of not all calls implemented in the lower
driver.

Re: Bluetooth HID by Robert

Robert
Fri Dec 29 03:24:40 CST 2006

Robert Marquardt wrote:

> Currently the Wii Remote is a very hot topic because it works as a HID
> Bluetooth device. Unfortunately it does not work completely with the HID
> API and the Windows Bluetooth stack. I use my HID test programs
> developed for USB devices and with some of them it is possible to BSOD
> the XP Bluetooth stack.

I have now more information.
Writing to the Wii Remote with the Windows Bluetooth stack succeeds when
using HidD_SetOutputReport but fails/crashes(?) when using WriteFile.
This seems a strong indication that the HID Bluetooth stack has a bug in
the WriteFile implementation.