From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FUVle-0007jJ-US for qemu-devel@nongnu.org; Fri, 14 Apr 2006 17:23:51 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FUVlc-0007j6-MV for qemu-devel@nongnu.org; Fri, 14 Apr 2006 17:23:49 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FUVlc-0007j3-FK for qemu-devel@nongnu.org; Fri, 14 Apr 2006 17:23:48 -0400 Received: from [128.8.10.163] (helo=po1.wam.umd.edu) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FUVlg-0002IR-2E for qemu-devel@nongnu.org; Fri, 14 Apr 2006 17:23:52 -0400 Received: from jbrown.mylinuxbox.org (jma-box.student.umd.edu [129.2.253.219]) by po1.wam.umd.edu (8.12.11.20060308/8.12.10) with ESMTP id k3ELNlZQ009826 for ; Fri, 14 Apr 2006 17:23:47 -0400 (EDT) Date: Fri, 14 Apr 2006 17:23:45 -0400 From: "Jim C. Brown" Message-ID: <20060414212345.GA19491@jbrown.mylinuxbox.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: [Qemu-devel] usb tablet working with linux/xfree86 guest in absolute mode 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 The tablet works with the evtouch driver. To get this to work in a guest: make sure you have support for usb hid and evdev in the kernel (or as modules). make sure you have the devices /dev/input/event0 /dev/input/event1 ... they might be called /dev/input/evdev0 etc download the evtouch driver, and install the evtouch_drv.o to /usr/X11R6/lib/modules/input You can download the driver from http://www.stz-softwaretechnik.de/~ke/touchscreen/evtouch.html Change the default mouse in XF86Config/xorgconfig: Section "InputDevice" Identifier "Mouse1" Driver "evtouch" Option "Protocol" "usb" Option "Device" "/dev/input/event0" Option "DeviceName" "touchscreen" Option "SendCoreEvents" Option "CorePointer" Option "MinX" "0" Option "MinY" "0" Option "MaxX" "32767" Option "MaxY" "32767" Option "ReportingMode" "Raw" EndSection Sample working config is at http://jma-box.student.umd.edu:8080/XF86Config-4 Now restart the X server, and it should work. Scrolling and the middle button don't seem to be supported by the driver. -- Infinite complexity begets infinite beauty. Infinite precision begets infinite perfection.