All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Jim C. Brown" <jma5@umd.edu>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] usb tablet working with linux/xfree86 guest in absolute mode
Date: Fri, 14 Apr 2006 17:23:45 -0400	[thread overview]
Message-ID: <20060414212345.GA19491@jbrown.mylinuxbox.org> (raw)

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.

             reply	other threads:[~2006-04-14 21:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-14 21:23 Jim C. Brown [this message]
2006-04-15  0:28 ` [Qemu-devel] usb tablet working with linux/xfree86 guest in absolute mode Johannes Schindelin
2006-04-15  1:27   ` Anthony Liguori
2006-04-15  1:52     ` Jim C. Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060414212345.GA19491@jbrown.mylinuxbox.org \
    --to=jma5@umd.edu \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.