* Brian Magnuson <[EMAIL PROTECTED]> [2007-06-03 11:37]:
> * Jan Kratochvil <[EMAIL PROTECTED]> [2007-06-03 11:18]:
> > Hi,
> >   this one is tricky because I can't test it.
> > Brian, there is something I don't understand in your previous patch 
> > concerning this issue. What is reported data length for wireless receiver 
> > when it is sending its status report? I thought you are trying to ignore 
> > packets about headset connection. But it is not working the same way for 
> > wired device. In data[1] is actual length of packet (20).
> > Please test this patch (and the previous 2).
> > Thanks
> 
> I can tell you without even testing that it's not going to work.  The data
> length returned by the wireless controller is alway 29 bytes, but as far
> as I can tell there is no field that indicates that length.

Ok, looks like I was a bit hasty.  Looking at the data again there does
appear to be a length field in the returned data however.

1) It's 19 bytes rather than 20.  This is a internel data format length
though.  The USB data returned is still 29 bytes long.
2) You still need to apply to four byte shift for it to be in the "right"
place.

-Brian

Reply via email to