Files
xemu/hw
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
..
2008-12-30 19:01:19 +00:00
2008-12-03 22:48:44 +00:00
2008-12-13 09:32:43 +00:00
…
2008-12-13 09:32:43 +00:00
2008-06-13 10:48:22 +00:00
2008-12-11 22:42:58 +00:00
2008-04-08 06:01:02 +00:00
2008-12-13 09:32:43 +00:00
2009-01-05 17:37:06 +00:00
2008-12-02 17:47:02 +00:00
2008-12-03 22:48:44 +00:00
2008-12-30 19:01:19 +00:00
2008-11-05 20:24:35 +00:00
2008-04-11 04:55:07 +00:00
…
2008-12-03 22:48:44 +00:00
2008-12-02 17:47:02 +00:00
2008-03-21 18:05:23 +00:00
…
2008-10-28 10:59:59 +00:00
2008-12-11 00:14:28 +00:00
…
2008-12-30 19:01:19 +00:00
…
…
2008-10-31 17:25:56 +00:00
2008-12-28 18:27:10 +00:00
…
2008-10-28 10:59:59 +00:00
2008-12-13 09:32:43 +00:00
…
…
2008-10-28 10:59:59 +00:00
2008-10-28 10:59:59 +00:00
2008-12-07 23:26:09 +00:00
2008-12-17 23:28:44 +00:00
2008-12-18 22:42:34 +00:00
2008-12-10 15:02:07 +00:00
2008-12-13 09:32:43 +00:00
2008-12-02 17:47:02 +00:00
2008-12-03 22:48:44 +00:00
2008-12-13 09:32:43 +00:00
2008-12-13 09:32:43 +00:00
2008-12-04 21:34:52 +00:00
2008-12-13 09:32:43 +00:00
2008-12-13 09:32:43 +00:00
2008-12-13 09:32:43 +00:00
2008-12-07 23:00:00 +00:00
2008-10-28 10:59:59 +00:00
2008-12-24 20:23:51 +00:00
2008-12-24 20:30:01 +00:00
2008-12-13 09:32:43 +00:00
2008-12-13 09:32:43 +00:00
2008-12-07 22:46:42 +00:00
2008-10-28 10:59:59 +00:00
2008-12-13 09:32:43 +00:00
2008-12-02 17:47:02 +00:00
2008-06-02 00:55:08 +00:00
2008-04-14 21:05:22 +00:00
2008-12-13 09:32:43 +00:00
2008-12-13 09:32:43 +00:00
2008-12-07 22:46:49 +00:00
2008-10-31 17:25:56 +00:00
2008-12-02 17:47:02 +00:00
2008-12-02 17:47:02 +00:00
…
2008-12-13 09:32:43 +00:00
2008-12-15 20:24:25 +00:00
2008-12-13 09:32:43 +00:00
2008-11-02 10:51:05 +00:00
2008-12-23 08:47:26 +00:00
2008-12-02 17:47:02 +00:00
…
2009-01-05 17:37:06 +00:00
2009-01-05 17:37:06 +00:00
2008-12-04 20:33:06 +00:00
2008-12-17 19:45:40 +00:00
2008-12-17 19:13:11 +00:00
2008-12-11 19:37:54 +00:00
2008-12-13 09:32:43 +00:00
2008-12-03 22:48:44 +00:00