maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Alternatives (https://talk.maemo.org/forumdisplay.php?f=36)
-   -   [Debian sid] ts_calibrate (https://talk.maemo.org/showthread.php?t=58705)

aligatro 2010-07-18 22:19

[Debian sid] ts_calibrate
 
Ok so I was able to install debian sid and now it boots into gnome desktop, but touchscreen is not working. In the manual, that I was partially following, it says that I need to run TSLIB_TSDEVICE=/dev/input/event3 TSLIB_CONFFILE=/etc/ts.conf ts_calibrate
but it shows me error ts_open: No such file or directory

manual: https://elektranox.org/website/debian_on_n900.html#nodm
(That manual is a bit confusing.)
Any ideas why it shows me this error? Thanks in advance.

MohammadAG 2010-07-18 22:21

Re: [Debian sid] ts_calibrate
 
Try TSLIB_TSDEVICE=/dev/event3 TSLIB_CONFFILE=/etc/ts.conf ts_calibrate

Make sure you have modules in /lib/modules, specifically the tsc2005.ko one (the rest should also be there) so cp -r /lib/modules/* to /media/mmc1/lib/modules/ in maemo.

aligatro 2010-07-18 22:22

Re: [Debian sid] ts_calibrate
 
Thanks I will try this in a second.

aligatro 2010-07-18 22:52

Re: [Debian sid] ts_calibrate
 
Nope, I get the same error. And I checked for "tsc2005.ko" it's inside both folders "2.6.28-omap1" and "current"

giannoug 2010-07-18 22:54

Re: [Debian sid] ts_calibrate
 
Quote:

Originally Posted by aligatro (Post 756189)
Nope, I get the same error. And I checked for "tsc2005.ko" it's inside both folders "2.6.28-omap1" and "current"

What is the output of uname -r?

aligatro 2010-07-18 23:00

Re: [Debian sid] ts_calibrate
 
2.6.28.NIT.03 sorry it took me so long to reply. The blue arrow doesn't work inside console -_- and so I have to create a script for a command.

giannoug 2010-07-18 23:03

Re: [Debian sid] ts_calibrate
 
Quote:

Originally Posted by aligatro (Post 756195)
2.6.28.NIT.03 sorry it took me so long to reply. The blue arrow doesn't work inside console -_- and so I have to create a script for a command.

You'll have to copy everything for the same folder as your kernel ;) In your case 2.6.28.NIT.03. Or press the number that corresponds to Maemo 5 2.6.28omap... in the bootmenu in order to flash that kernel.

aligatro 2010-07-18 23:12

Re: [Debian sid] ts_calibrate
 
coping to 2.6.28.NIT.03 didn't solve the problem. Gonna try to reflash the kernel to omap. [Added] With omap kernel it just hangs on the "booting - please wait". [added] LOL ok I was just stupid and copied omap kernel folder into 2.6.28.NIT.03 instead of running that command that MohammadAG wrote. xD So, calibration tool works now. Gonna restore xorg.conf and see if it works. Thanks for your help.

aligatro 2010-07-19 00:21

Re: [Debian sid] ts_calibrate
 
wow what a headache :( Now the gnome decided to crash and throws me back to gdm.

MohammadAG 2010-07-19 00:52

Re: [Debian sid] ts_calibrate
 
afaik gdm restarts after closing ts_calibrate.

aligatro 2010-07-19 01:21

Re: [Debian sid] ts_calibrate
 
Quote:

Originally Posted by MohammadAG (Post 756253)
afaik gdm restarts after closing ts_calibrate.

Ahh so thats why. I tried to log into unprivileged user. However, same happens to sudo users, but only on first login. [Added] Also, I noticed a very strange problem with Xorg. It loads cpu to 90%.

akashbhavsar 2010-09-22 00:20

Re: [Debian sid] ts_calibrate
 
Sorry for bumping an old thread, but I tried what MohammadAG specified and I'm kind of having the same problem as aligatro since a couple of days. Searched all over the internet but no help. :(

I am trying a native debian install from https://elektranox.org/n900/installa...iguration.html and I have nodm enabled. Enlightenment starts up on booting into Debian but I cannot move my pointer properly. (It does move a bit when I touch at the edge of my screen)
ts_calibrate from a terminal (inside enlightenment on Debian) gives "ts_open: No such file or directory"

I have copied 4 folders from /lib/modules in my /mnt/debian/lib/modules (one for each kernel - default, power, NITdroid, current).
Is this setup correct?

aligatro, could you please tell me what resolved your problem?

Thanks in advance!
Akash.

aligatro 2010-09-22 01:29

Re: [Debian sid] ts_calibrate
 
sorry, I don't remember what I did. However, I do remember that it caused the gnome to crash back into gdm.

lugu 2011-01-21 14:33

Re: [Debian sid] ts_calibrate
 
in my case, env get wipe by sudo, prefer something like:

sudo TSLIB_TSDEVICE=/dev/input/event3 TSLIB_FBDEVICE=/dev/fb0 ts_calibration


All times are GMT. The time now is 01:11.

vBulletin® Version 3.8.8