OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Ts_read: Invalid Argument
band-aid
post Dec 6 2007, 08:25 PM
Post #1





Group: Members
Posts: 37
Joined: 30-July 07
Member No.: 18,631



I'm making progress, X starts with startx and icewm-session starts well. Wireless is going great. The only real problem that I can find is that I can't calibrate my touch screen.

Here's the error:

CODE
xres = 480, yres = 640
ts_read: Invalid argument


I'm running the angstrom 2.6.23 kernel with the default rootfs.

Thanks for your help

band-aid
Go to the top of the page
 
+Quote Post
dlj0
post Dec 6 2007, 09:03 PM
Post #2





Group: Members
Posts: 219
Joined: 3-March 06
Member No.: 9,282



QUOTE(band-aid @ Dec 6 2007, 11:25 PM) *
I'm making progress, X starts with startx and icewm-session starts well. Wireless is going great. The only real problem that I can find is that I can't calibrate my touch screen.

Here's the error:

CODE
xres = 480, yres = 640
ts_read: Invalid argument


I'm running the angstrom 2.6.23 kernel with the default rootfs.

Thanks for your help

band-aid


I suspect that your /etc/ts.conf file has an error. Mine did. Make sure that any module_raw lines are commented out and try again. Also check to see that your TSLIB_TSDEVICE is set correctly. On my machine I have

export TSLIB_TSDEVICE=/dev/input/event1

set in a script that calls the X server. Some machines seem to have /dev/input/ts as the correct setting, but I don't have that device file. IIUC, /dev/input/ts is just a link to /dev/input/event1 anyway.

Go to the top of the page
 
+Quote Post
ZDevil
post Dec 6 2007, 10:30 PM
Post #3





Group: Members
Posts: 2,003
Joined: 16-April 04
From: the Netherlands && /dev/null
Member No.: 2,882



What do you mean by "default rootfs"? Is it the one in January 2007?

If so, then you have to use the Angtrom tslib, which is debianized and packaged in yonggun's page, and is also available in my previous after installation tarball and the configured rootfs tarball.

For Angstrom kernels, you have to do two things to set up touchscreen:
Step 1: Specify the correct device
edit ~/.profile and make sure you have these two lines:
QUOTE
export TSLIB_TSDEVICE="/dev/input/event1"
export TSLIB_CONFFILE="/etc/ts.conf"

Step 2: Edit /etc/ts.conf
Comment out the line "module_raw corgi" (as djl0 says).

Then run ts_calibrate again.

AFAIK, with the yonggun kernels the differences are:
-- the device is /dev/input/ts0
-- the "module_raw corgi" line is NOT commented in /etc/ts.conf

Hope this helps.
Go to the top of the page
 
+Quote Post
band-aid
post Dec 6 2007, 10:37 PM
Post #4





Group: Members
Posts: 37
Joined: 30-July 07
Member No.: 18,631



QUOTE(ZDevil @ Dec 7 2007, 01:30 AM) *
What do you mean by "default rootfs"? Is it the one in January 2007?

If so, then you have to use the Angtrom tslib, which is debianized and packaged in yonggun's page, and is also available in my previous after installation tarball and the configured rootfs tarball.

For Angstrom kernels, you have to do two things to set up touchscreen:
Step 1: Specify the correct device
edit ~/.profile and make sure you have these two lines:
QUOTE
export TSLIB_TSDEVICE="/dev/input/event1"
export TSLIB_CONFFILE="/etc/ts.conf"

Step 2: Edit /etc/ts.conf
Comment out the line "module_raw corgi" (as djl0 says).

Then run ts_calibrate again.

AFAIK, with the yonggun kernels the differences are:
-- the device is /dev/input/ts0
-- the "module_raw corgi" line is NOT commented in /etc/ts.conf

Hope this helps.



I must have gotten myself confused and configured it using yongun instructions at some point. I recommented the corgi line and added those lines to my .profile. Now its working.

Is libgtk2.0-0 working?
Go to the top of the page
 
+Quote Post
ZDevil
post Dec 6 2007, 10:40 PM
Post #5





Group: Members
Posts: 2,003
Joined: 16-April 04
From: the Netherlands && /dev/null
Member No.: 2,882



libgtk2.0-0 works.

There is some apt-get dependency error occasionally when apt-getting. If so one workaround is to install the dependencies first or manually. This is how I got things installed.

And libgtk2 is preinstalled in the configured rootfs.
Go to the top of the page
 
+Quote Post
band-aid
post Dec 7 2007, 09:32 AM
Post #6





Group: Members
Posts: 37
Joined: 30-July 07
Member No.: 18,631



I'm using the rootfs from this page of the wiki http://www.oesf.org/index.php?title=Q17:_I...ternal_drive%3F

I'm having a terrible time getting this to install manually. Or maybe I just can't find the correct packages. I've got

libgtk2.0-common_2.12.3-1_all.deb
libgtk2.0-bin_2.12.3-1_all.deb
libgtk2.0-0_2.12.1-3_armel.deb

libgtk2.0-0 won't install with this version of libgtk2.0-common. libgtk2.0-bin won't install without libgtk2.0-0. I grabbed these packages off the debian package list, is there a better place to look?
Go to the top of the page
 
+Quote Post
Vitel
post Dec 7 2007, 11:21 AM
Post #7





Group: Members
Posts: 47
Joined: 25-April 06
Member No.: 9,703



QUOTE(band-aid @ Dec 7 2007, 09:32 AM) *
I'm using the rootfs from this page of the wiki http://www.oesf.org/index.php?title=Q17:_I...ternal_drive%3F

I'm having a terrible time getting this to install manually. Or maybe I just can't find the correct packages. I've got

libgtk2.0-common_2.12.3-1_all.deb
libgtk2.0-bin_2.12.3-1_all.deb
libgtk2.0-0_2.12.1-3_armel.deb

libgtk2.0-0 won't install with this version of libgtk2.0-common. libgtk2.0-bin won't install without libgtk2.0-0. I grabbed these packages off the debian package list, is there a better place to look?

Try this:
libgtk2.0-common_2.12.1-3_all.deb
libgtk2.0-0_2.12.1-3_armel.deb
Go to the top of the page
 
+Quote Post
band-aid
post Dec 7 2007, 08:00 PM
Post #8





Group: Members
Posts: 37
Joined: 30-July 07
Member No.: 18,631



Ok thats got it. Heres another one since I haven't stumped you yet biggrin.gif

I'm trying to get a picture as a wallpaper in icewm. So I edit .xserverrc to say

CODE
#!/bin/sh
exec /usr/bin/Xfbdev -dpi 100 -nolisten tcp -fp /usr/share/fonts/X11/misc
/usr/bin/icewm-session
xrandr -o right


I also edited the the icewmbg section of .icewm/preferences o

CODE
DesktopBackgroundCenter=1
DesktopBackgroundScaled=1
DesktopBackgroundImage="/home/<username>/.icewm/Ab_blue_matrix.jpg"


Screen still shows up sideways (never have got that straightened out) and now my background is that headache inducing checkerboard pattern. I'm not to familiar with editing these scripts so I don't know whether or not exec needs to be in front of /usr/bin/icewm-session and xrandr -o right.

EDIT: problem just got more perplexing, is my home directory supposed to be /root ? like literally /home is empty. Shouldn't it be /home/root?
I got the background working by pointing it to /root/.icewm/Ab_blue_matrix.jpg but I'm still concerned about my home folder.
Thanks for the help

Band-aid
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 22nd May 2013 - 11:59 PM