qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] usb tablet working with linux/xfree86 guest in absolute mode
@ 2006-04-14 21:23 Jim C. Brown
  2006-04-15  0:28 ` Johannes Schindelin
  0 siblings, 1 reply; 4+ messages in thread
From: Jim C. Brown @ 2006-04-14 21:23 UTC (permalink / raw)
  To: qemu-devel

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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-04-15  1:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-14 21:23 [Qemu-devel] usb tablet working with linux/xfree86 guest in absolute mode Jim C. Brown
2006-04-15  0:28 ` Johannes Schindelin
2006-04-15  1:27   ` Anthony Liguori
2006-04-15  1:52     ` Jim C. Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).