From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FSyuj-0005Rv-Re for qemu-devel@nongnu.org; Mon, 10 Apr 2006 12:06:53 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FSyui-0005Qt-H8 for qemu-devel@nongnu.org; Mon, 10 Apr 2006 12:06:53 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FSyui-0005QU-32 for qemu-devel@nongnu.org; Mon, 10 Apr 2006 12:06:52 -0400 Received: from [203.190.192.17] (helo=wasp.net.au) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FSyzN-0006bS-0k for qemu-devel@nongnu.org; Mon, 10 Apr 2006 12:11:41 -0400 Message-ID: <443A82E8.5050201@wasp.net.au> Date: Mon, 10 Apr 2006 20:08:08 +0400 From: Brad Campbell MIME-Version: 1.0 Subject: Re: [Qemu-devel] USB Tablet Emulation References: <443802FB.9060700@win4lin.com> <44381AE0.1020106@wasp.net.au> <443825D8.3080602@win4lin.com> <443953D7.3060109@wasp.net.au> <44395575.1040303@austin.rr.com> <44395EE9.3040403@wasp.net.au> <44396E20.6010103@wasp.net.au> <4439753C.8080405@us.ibm.com> <44397848.1070707@wasp.net.au> <44397EFA.5070104@us.ibm.com> <44398445.4010602@wasp.net.au> <443985C3.1000206@us.ibm.com> <4439954C.1050609@wasp.net.au> <4439D396.6010006@us.ibm.com> <443A72A4.4090608@win4lin.com> <443A7964.7050704@us.ibm.com> <443A7C2E.9020600@win4lin.com> In-Reply-To: <443A7C2E.9020600@win4lin.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Leonardo E. Reiter wrote: > Sorry about that... Brad, very well done! Ta :) Anthony did a great job doing the stuff I'm knaff at (making clean and mergable code) and the sdl hookups. I just hacked the hid stuff (about 150 win2k reboots in there). It works with Win98 also, but Win98 seems to want a slightly different hid config or wants 0-ffff rather than 0-7fff. I'm playing with that.. The wheel works in SDL although there is currently a bug where it steps by 2 instead of 1.. so it's ok for scrolling, but scrolling through a selection box causes it to skip every second selection. I've not tested the wheel with the vnc patch yet. I'll get to those tonight.. > On another note, I'm looking over the USB HID spec to better understand > the boot-time device constraints. I doubt you can use an absolute > coordinate tablet as a boot-time mouse that actually reports positions > in absolute terms, but maybe it's possible. It's not a big deal, just > cosmetic really - to be able to use the tablet at OS install/early boot > time, before more complex drivers are loaded. I'm not sure how possible > this is, but the USB HID spec seems to imply it. Yes, there are tight boot time constraints.. and no from what I can find the hid required to meet them won't work with abs coordinates. if you absolutely *had* to do that, perhaps there might be a way of switching mice on the fly.. virtual unplug mouse and replug tablet, or enable ps2 for boot and then some way of causing a tablet plug in at the appropriate time.. I'm not sure the bochs bios handles legacy usb though, so I feel its somewhat of a moot point, as you *need* the OS usb drivers loaded to even pick up a legacy usb mouse device. Brad -- "Human beings, who are almost unique in having the ability to learn from the experience of others, are also remarkable for their apparent disinclination to do so." -- Douglas Adams