Page 1 of 5 123 ... LastLast
Results 1 to 10 of 50

Thread: How do you use a touch screen as mouse input?

  1. #1
    Join Date
    Sep 2011
    Beans
    57

    How do you use a touch screen as mouse input?

    Hi, I have just ported Ubuntu 9.10 to my ArmV6 tablet pc.

    I have used tslib to get my touch screen working and I have managed to calibrate using ts_calibrate. Ubuntu picks up the touch screen fine in the calibration app but it won't move the mouse or anything, is there anything I must do to "link" them together?

  2. #2
    Join Date
    Sep 2011
    Beans
    57

    Re: How do you use a touch screen as mouse input?

    Is no one able to help? I could really do with getting this working.

  3. #3
    Join Date
    Jan 2011
    Location
    Toe-puke-uh, Kansas, USA
    Beans
    156
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How do you use a touch screen as mouse input?

    Quote Originally Posted by abtekk View Post
    Ubuntu picks up the touch screen fine in the calibration app but it won't move the mouse or anything,

    If you have a touch screen then why do you even need the mouse?

  4. #4
    Join Date
    Sep 2011
    Beans
    57

    Re: How do you use a touch screen as mouse input?

    Quote Originally Posted by PapaGary View Post

    If you have a touch screen then why do you even need the mouse?
    Sorry, I meant it won't do any mouse functions such as left clicking or even moving the cursor.

  5. #5
    Join Date
    Nov 2008
    Beans
    9,635
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How do you use a touch screen as mouse input?

    What does the touch screen call itself in lsusb? What's the output of xinput list?

    I'm thinking with a Jaunty ARM port you need to match the appropriate keyword in a HAL .fdi file to the correct X driver. Maybe evdev, but you'd think evdev would be picking the tablet up by default.

  6. #6
    Join Date
    Sep 2011
    Beans
    57

    Re: How do you use a touch screen as mouse input?

    lsusb doesn't show my touch screen as it is built in (I'm porting Ubuntu to a tablet pc, the Zenithink ZT-180) Sorry for not stating that in the original post.

    Heres the xinput list output:

    Code:
    "Virtual core pointer"	id=0	[XPointer]
    	Num_buttons is 32
    	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
    "Virtual core keyboard"	id=1	[XKeyboard]
    	Num_keys is 248
    	Min_keycode is 8
    	Max_keycode is 255
    "imapx200_keybd"	id=2	[XExtensionKeyboard]
    	Type is KEYBOARD
    	Num_keys is 248
    	Min_keycode is 8
    	Max_keycode is 255
    "gpio-keys"	id=3	[XExtensionKeyboard]
    	Type is KEYBOARD
    	Num_keys is 248
    	Min_keycode is 8
    	Max_keycode is 255
    "PS/2+USB Mouse"	id=4	[XExtensionPointer]
    	Type is MOUSE
    	Num_buttons is 7
    	Num_axes is 2
    	Mode is Relative
    	Motion_buffer is 256
    	Axis 0 :
    		Min_value is -1
    		Max_value is -1
    		Resolution is 1
    	Axis 1 :
    		Min_value is -1
    		Max_value is -1
    		Resolution is 1
    "MOSART Semi. Wireless Keyboard & Mouse"	id=5	[XExtensionKeyboard]
    	Type is KEYBOARD
    	Num_keys is 248
    	Min_keycode is 8
    	Max_keycode is 255
    	Num_buttons is 18
    	Num_axes is 2
    	Mode is Relative
    	Motion_buffer is 256
    	Axis 0 :
    		Min_value is -1
    		Max_value is -1
    		Resolution is 1
    	Axis 1 :
    		Min_value is -1
    		Max_value is -1
    		Resolution is 1
    "MOSART Semi. Wireless Keyboard & Mouse"	id=6	[XExtensionKeyboard]
    	Type is KEYBOARD
    	Num_keys is 248
    	Min_keycode is 8
    	Max_keycode is 255
    I also placed all the correct Kernel modules for my tablets hardware into /lib/modules/2.6.32.9 and edited my modules file to load these at boot.
    Last edited by abtekk; September 2nd, 2011 at 10:53 PM.

  7. #7
    Join Date
    Nov 2008
    Beans
    9,635
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How do you use a touch screen as mouse input?

    Even if built in the touchscreen will have an internal connection. That should either be usb or serial. Do you know which?

    Not showing up in lsusb could indicate that there isn't a driver for it in the kernel or that it is serial.

  8. #8
    Join Date
    Sep 2011
    Beans
    57

    Re: How do you use a touch screen as mouse input?

    It must be serial as someone before me has ported xubuntu to this tablet and he had the touch screen working, he was also using the same Kernel and modules as me. (He won't reply to me emails asking how he did it though).

  9. #9
    Join Date
    Nov 2008
    Beans
    9,635
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How do you use a touch screen as mouse input?

    Alright. Let's see if we can find out which serial port it is on.
    Code:
    dmesg | grep ttyS

  10. #10
    Join Date
    Sep 2011
    Beans
    57

    Re: How do you use a touch screen as mouse input?

    I'll be a second, it's crashing on me. I need to un bloat this install severely...

Page 1 of 5 123 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •