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

* Re: [Qemu-devel] usb tablet working with linux/xfree86 guest in absolute mode
  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
  0 siblings, 1 reply; 4+ messages in thread
From: Johannes Schindelin @ 2006-04-15  0:28 UTC (permalink / raw)
  To: qemu-devel

Hi,

On Fri, 14 Apr 2006, Jim C. Brown wrote:

> The tablet works with the evtouch driver.

Great work!

> Scrolling and the middle button don't seem to be supported by the 
> driver.

How about using the old ps2 for that (not disabling it completely, after 
all)?

Ciao,
Dscho

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

* Re: [Qemu-devel] usb tablet working with linux/xfree86 guest in absolute mode
  2006-04-15  0:28 ` Johannes Schindelin
@ 2006-04-15  1:27   ` Anthony Liguori
  2006-04-15  1:52     ` Jim C. Brown
  0 siblings, 1 reply; 4+ messages in thread
From: Anthony Liguori @ 2006-04-15  1:27 UTC (permalink / raw)
  To: qemu-devel

Johannes Schindelin wrote:
> Hi,
>
> On Fri, 14 Apr 2006, Jim C. Brown wrote:
>
>   
>> The tablet works with the evtouch driver.
>>     
>
> Great work!
>
>   
>> Scrolling and the middle button don't seem to be supported by the 
>> driver.
>>     
>
> How about using the old ps2 for that (not disabling it completely, after 
> all)?
>   

The following patch (to the evtouch driver) enables both the middle 
button and scroll wheel:

http://www.cs.utexas.edu/users/aliguori/evtouch-middle-scroll.diff

I'll send it to the maintainer of evtouch and see if he'll include it 
for future versions.

Regards,

Anthony Liguori

> Ciao,
> Dscho
>
>
>
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
>   

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

* Re: [Qemu-devel] usb tablet working with linux/xfree86 guest in absolute mode
  2006-04-15  1:27   ` Anthony Liguori
@ 2006-04-15  1:52     ` Jim C. Brown
  0 siblings, 0 replies; 4+ messages in thread
From: Jim C. Brown @ 2006-04-15  1:52 UTC (permalink / raw)
  To: qemu-devel

On Fri, Apr 14, 2006 at 08:27:59PM -0500, Anthony Liguori wrote:
> The following patch (to the evtouch driver) enables both the middle 
> button and scroll wheel:
> 
> http://www.cs.utexas.edu/users/aliguori/evtouch-middle-scroll.diff
> 
> I'll send it to the maintainer of evtouch and see if he'll include it 
> for future versions.
> 
> Regards,
> 
> Anthony Liguori

Binary driver and sample config available at:

http://jma-box.student.umd.edu:8080/evtouch_drv.o
http://jma-box.student.umd.edu:8080/XF86Config-4

Note that you must have the Option "Emulate3Buttons" "off". Otherwise the
middle button will not work.

Binary driver was compiled with X.org 6.8.2 but it works with XFree86 4.2.1

-- 
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).