LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Touchscreen as a mouse (https://www.linuxquestions.org/questions/linux-hardware-18/touchscreen-as-a-mouse-786701/)

PFerreira 02-03-2010 10:24 AM

Touchscreen as a mouse
 
Hi,

I've posted some threads lately regarding irtouchscreen on voyage and ubuntu 9.10 distros. The problems weren't solved so I jumped to and older ubuntu (9.04) and I managed to make the touchscreen work. The problem is the touchscreen is acting like a mouse. The cursor doesn't go to where I touch, it just moves around just like a normal mouse.

Is this a common problem, and if it is, how can i solve it ?
This Xorg.0.log shows this about the TouchScreen

Code:

(II) XINPUT: Adding extended input device "USB Touchscreen 595a:0001" (type: TOUCHPAD)
(**) USB Touchscreen 595a:0001: (accel) keeping acceleration scheme 1
(**) USB Touchscreen 595a:0001: (accel) filter chain progression: 2.00
(**) USB Touchscreen 595a:0001: (accel) filter stage 0: 20.00 ms
(**) USB Touchscreen 595a:0001: (accel) set acceleration profile 0
(--) USB Touchscreen 595a:0001: (accel) no supported touchpad found

The touch driver is loaded by Xorg. Is it possible that although the driver is loaded , it isn't being used ?

the lsmod output tells me that the usbtouchscreen isnt being used by anything.

I really need some hints about this.


Thanks,
Pedro Ferreira

Mr-Bisquit 02-03-2010 02:07 PM

How are you entering xinput?
As such:
Code:

xinput list
xinput create-master New
xinput reattach value-of-touch-screen value-of-new-mouse-pointer


PFerreira 02-04-2010 10:35 AM

My xinput version (1.4.0) doesnt have the create master command or reaatach.

The xinput list output show :

Code:

"USB Touchscreen 595a:0001"        id=8        [XExtensionPointer]
        Num_buttons is 12
        Num_axes is 2
        Mode is Relative
        Motion_buffer is 256
        Axis 0 :
                Min_value is -1
                Max_value is -1
                Resolution is 0
        Axis 1 :
                Min_value is -1
                Max_value is -1
                Resolution is 0

Is here anything I can change to achieve my goal ?

Thanks,
Pedro Ferreira

PFerreira 02-04-2010 12:42 PM

Another thing i've noticed

In the Xorg.0.log the touchscreen is loaded twice:

The first one:

Code:

**) Option "SendCoreEvents"
(**) TOUCHSCREEN: always reports core events
(**) Option "MaxX" "4094"
(**) Option "MinX" "0"
(**) Option "MaxY" "4094"
(**) Option "MinY" "0"
(**) Option "SwapXY" "0"
(**) irtouch device will work in Landscape mode
(II) XINPUT: Adding extended input device "TOUCHSCREEN" (type: irtouch USB TouchScreen)

And the second is like I posted last time. So it is initially recognised as a touchscreen but then it is added like a touchpad which is exactly what I don't want to :\

Sugentions please.

Pedro Ferreira

Mr-Bisquit 02-04-2010 02:21 PM

You'll need to upgrade Xorg to 7.5 and be sure that you have the xproto also installed. You can follow what I posted earlier.


All times are GMT -5. The time now is 05:30 PM.