aliguori 181a29c5b2 fix usb-hid SET_IDLE behaviour (Stefano Stabellini)
the usb-hid spec states that the SET_IDLE request has a 16bit value,
where the upper byte specifies the idle rate (currently unimplemented,
we handle only the 0 case, meaning infinite duration) and the lower
byte specifies the report id (0 means all reports).
In our code we do idle = value, while it should be idle = "upper byte",
especially if the guest issues a GET_IDLE, we should return only the
idle rate while we are returning only the report id.
In practice it doesn't make much difference because I have only seen
SET_VALUE with both bytes set to 0 so far, but still it is wrong.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>



git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6211 c046a42c-6fe2-441c-8c8c-71466251a162
2009-01-07 16:41:47 +00:00
2009-01-05 18:11:53 +00:00
2009-01-05 18:11:53 +00:00
2008-12-21 01:37:01 +00:00
2008-12-17 22:29:37 +00:00
2008-12-13 09:32:43 +00:00
2008-10-12 21:19:57 +00:00
2009-01-05 18:11:53 +00:00
2008-12-05 17:56:40 +00:00
2008-12-11 19:20:41 +00:00
2009-01-06 18:57:51 +00:00
2008-10-12 17:54:42 +00:00
2008-12-11 19:37:54 +00:00
2008-10-27 19:49:12 +00:00
2009-01-07 10:22:28 +00:00
2008-11-12 17:18:41 +00:00
2008-12-18 22:42:51 +00:00
2008-12-14 08:50:18 +00:00
2008-11-30 16:25:37 +00:00
2009-01-05 18:11:53 +00:00
2008-12-11 19:39:56 +00:00
2008-11-30 16:25:05 +00:00
2008-12-11 19:37:54 +00:00
2008-12-14 08:50:18 +00:00
2008-12-13 09:32:43 +00:00
2008-10-26 19:13:20 +00:00
2008-12-14 08:53:17 +00:00
2008-12-04 11:29:42 +00:00
2008-11-25 16:49:33 +00:00

Read the documentation in qemu-doc.html.

Fabrice Bellard.
Description
No description provided
Readme 404 MiB
Languages
C 82.6%
C++ 6.5%
Python 3.4%
Dylan 2.9%
Shell 1.6%
Other 2.8%