Tiny Core Linux

Off-Topic => Off-Topic - Tiny Core Lounge => Topic started by: vinnie on October 08, 2011, 07:13:41 PM

Title: Touchscreen without driver!!!
Post by: vinnie on October 08, 2011, 07:13:41 PM
Few minutes ago i press my screen for error, and the mouse select and move on the screen!
the only problem is that the mouse is not calibrated and its position not correspond  to position of the pression.

I have a eepc touch with xorg 7.5 and tinycore 4.1, where did this magic, from new kernel? I remember with 3.x without driver only the pressure is detected but not moving.
does anyone know how I could calibrate it?
Title: Re: Touchscreen without driver!!!
Post by: curaga on October 09, 2011, 12:10:20 AM
Please pastebin your dmesg, it'll tell you the magic ;)
Title: Re: Touchscreen without driver!!!
Post by: vinnie on October 09, 2011, 04:04:36 AM
 :D
Title: Re: Touchscreen without driver!!!
Post by: curaga on October 09, 2011, 08:17:17 AM
Quote
input: eGalax Inc. USB TouchController as /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/input/input7
hid-multitouch 0003:0EEF:480D.0001: input,hiddev0: USB HID v1.00 Pointer [eGalax Inc. USB TouchController] on usb-0000:00:1d.1-2/input0

This looks useful:
http://www.freedesktop.org/wiki/Software/xinput_calibrator (http://www.freedesktop.org/wiki/Software/xinput_calibrator)
Title: Re: Touchscreen without driver!!!
Post by: vinnie on October 09, 2011, 02:17:37 PM
thanks curaga, in this day i  try and I tell you how it went  :D
Title: Re: Touchscreen without driver!!!
Post by: vinnie on October 10, 2011, 12:04:48 AM
To build I needed autoconf autogen automake (By the way, there is a metapackage which installs them all?) and xorg dev.
The good news is that it automatically installs in /usr/local/...
The bad news is that it doesn't detect my device:
Code: [Select]
tc@box:/$ xinput_calibrator
Error: No calibratable devices found.
tc@box:/$ xinput_calibrator --list
No calibratable devices found.
tc@box:/$

this is --help
Code: [Select]
tc@box:/$ xinput_calibrator --help
xinput_calibratior, v0.7.5

Usage: xinput_calibrator [-h|--help] [-v|--verbose] [--list] [--device <device name or id>] [--precalib <minx> <maxx> <miny> <maxy>] [--misclick <nr of pixels>] [--output-type <auto|xorg.conf.d|hal|xinput>] [--fake]
-h, --help: print this help message
-v, --verbose: print debug messages during the process
--list: list calibratable input devices and quit
--device <device name or id>: select a specific device to calibrate
--precalib: manually provide the current calibration setting (eg. the values in xorg.conf)
--misclick: set the misclick threshold (0=off, default: 15 pixels)
--output-type <auto|xorg.conf.d|hal|xinput>: type of config to ouput (auto=automatically detect, default: auto)
--fake: emulate a fake device (for testing purposes)
tc@box:/$

any idea?
Title: Re: Touchscreen without driver!!!
Post by: curaga on October 10, 2011, 06:58:30 AM
Perhaps you need to set the touchscreen to evdev in Xorg instead of mouse?
Title: Re: Touchscreen without driver!!!
Post by: vinnie on October 11, 2011, 01:15:36 PM
unfortunately I can not understand what I must do.
I'm doing research but I understand too little, I think I will postpone the solution... for posterity  :o