OESF Portables Forum
Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Debian => Topic started by: band-aid on December 06, 2007, 11:25:18 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:
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'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:
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.
-
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:
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.
-
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:
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?
-
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.
-
I'm using the rootfs from this page of the wiki https://www.oesf.org/index.php?title=Q17:_I...ternal_drive%3F (https://www.oesf.org/index.php?title=Q17:_I_am_using_a_C3x00._How_can_I_install_Debian_EABI_on_the_internal_dri%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?
-
I'm using the rootfs from this page of the wiki https://www.oesf.org/index.php?title=Q17:_I...ternal_drive%3F (https://www.oesf.org/index.php?title=Q17:_I_am_using_a_C3x00._How_can_I_install_Debian_EABI_on_the_internal_dri%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 (http://debian.mirror.inra.fr/debian/pool/main/g/gtk+2.0/libgtk2.0-common_2.12.1-3_all.deb)
libgtk2.0-0_2.12.1-3_armel.deb (http://ftp.debian-ports.org/debian-armel/pool-armel/main/g/gtk+2.0/libgtk2.0-0_2.12.1-3_armel.deb)
-
Ok thats got it. Heres another one since I haven't stumped you yet
I'm trying to get a picture as a wallpaper in icewm. So I edit .xserverrc to say
#!/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
DesktopBackgroundCenter=1
DesktopBackgroundScaled=1
DesktopBackgroundImage="/home//.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