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

IPB

Welcome Guest ( Log In | Register )

> Post-install Steps For Debian Eabi With Installer, What to do after installing debian the cortez way!
tux
post Nov 3 2007, 03:26 PM
Post #1





Group: Members
Posts: 449
Joined: 12-August 03
From: Leeds, UK
Member No.: 346



What needs doing after a successful installation of cortez-debian. I'm talking about the version of debian and the installer provided by cortez in this thread Debian Eabi With Installer. cool.gif

Please re-read the first post in that thread because it has been updated. Follow the steps carefully to ensure fewer problems during and post-install.

It is worth remembering that the kernel and modules used in this method, 2.6.23 at the moment, have been produced by cortez using the build system and source tree used by the Poky linux developers. I believe this is based on bitbake and the angstrom work. I think it is worth considering that there may be incompatabilities between this system and the angstrom kernel, modules and packages. unsure.gif

I have successfully installed this system. However I did make an error in allowing the partitioner to format the new / partition. This meant that I had to copy the modules for the kernel across to the microdrive by using the method shown on the TitchyLinux site. I mean I had to mount the SD card and use this command: dpkg-deb -x (pathtofileon SDcard)zaurus_specific.deb . while being in the / directory of the microdrive. smile.gif


Does it matter if I use keymap.map as in ZDevil's Monster thread or the spitz.gz file from the TitchyLinux files in order to set up the keyboard? Would it be automatically set upif I hadn't let the partitioner format /?

What about the gui/X system? Where do I start looking? cortez says get kdrive from PokyLinux and install it. Then install the window maager of your choice.

One definite plus for this install, the hardware clock is sorted out without needing any clever tricks.

The wifi only had the post-install problem of blacklisting the hostap modules. I have to do this post-install with all methods and varieties of debian, because all my wifi cards work with orinoco and fail with hostap loaded.

The dhcp in the installer works well!

It is much easier to work from the console if you install the openssh-server and login from a terminal on your desktop or use putty. It is vital to work this way when trying to get X to work. It is possible to have a Zaurus which loads X, but a non-working variety, and the only way to mend things is from a remote console.

Hope this thread is of use, especially to me laugh.gif , to people who are testing this convenient way of installing an EABI + EABI debian system on their Z. biggrin.gif

This post has been edited by tux: Nov 4 2007, 12:47 AM
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
tux
post Nov 20 2007, 02:00 PM
Post #2





Group: Members
Posts: 449
Joined: 12-August 03
From: Leeds, UK
Member No.: 346



cool.gif Finally I have cortez-debian with X! But the Wiki pages and the linked threads are so fragmented!!! Thanks anyway guys.. I finally blundered my way through. biggrin.gif

Particular thanks to cortez for his install files being smooth working. Thanks for the thousands of words from ZDevil..

I would never have got there if it hadn't been for the fact that I used ssh to cut and paste the steps from ZDevil's afterinstall scripts, one after the other, into the terminal on BigZ!

The X system gave me the biggest struggle and jpmatrix's page of tips at the Wiki got me through. But I didn't have the luck to be able to use his preferred steps. I had to take the alternatives he suggested.

Points to note:
1. I used cortez's files to install. This means I used his kernel and modules.
2. When it came to X it had no touchscreen calibration nor use of mouse.
3 So I left the first module_raw uncommented.
4. I could not get calibration to work with the use of a script, I had to use this command at the terminal :export TSLIB_TSDEVICE=/dev/input/event1
5. finally ts_calibrate worked....
6. I used rmmod mousedev to get the pointer to behave itself after X started. ph34r.gif

I think I'm going to have to suspend BigZ to keep X working or I'll have to manually do export TSLIB_TSDEVICE=/dev/input/event1 and rmmod mousedev after each boot. I will eventually get this automated but the tips don't seem to work as advertised so far... blink.gif

One other thing jpmatrix, so far I've not managed to get your tips about running X as a non-root user working. sad.gif But tomorrow is another day. biggrin.gif
Go to the top of the page
 
+Quote Post
dlj0
post Nov 20 2007, 05:45 PM
Post #3





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



QUOTE(tux @ Nov 20 2007, 05:00 PM) *
cool.gif Finally I have cortez-debian with X! But the Wiki pages and the linked threads are so fragmented!!! Thanks anyway guys.. I finally blundered my way through. biggrin.gif

That makes two of us.
QUOTE
I would never have got there if it hadn't been for the fact that I used ssh to cut and paste the steps from ZDevil's afterinstall scripts, one after the other, into the terminal on BigZ!

That makes two of us!
QUOTE
The X system gave me the biggest struggle and jpmatrix's page of tips at the Wiki got me through. But I didn't have the luck to be able to use his preferred steps. I had to take the alternatives he suggested.

Points to note:
1. I used cortez's files to install. This means I used his kernel and modules.
2. When it came to X it had no touchscreen calibration nor use of mouse.
3 So I left the first module_raw uncommented.
4. I could not get calibration to work with the use of a script, I had to use this command at the terminal :export TSLIB_TSDEVICE=/dev/input/event1
5. finally ts_calibrate worked....
6. I used rmmod mousedev to get the pointer to behave itself after X started. ph34r.gif

I think I'm going to have to suspend BigZ to keep X working or I'll have to manually do export TSLIB_TSDEVICE=/dev/input/event1 and rmmod mousedev after each boot. I will eventually get this automated but the tips don't seem to work as advertised so far... blink.gif


For the fouchscreen, to calibrate I had to comment out the line in /etc/ts.conf that installed a config file for a corgi or some such. Then it worked.

For the user-X, and to consistently get the TSLIB device set up, replace /usr/bin/X with the following script:

#!/bin/sh
export TSLIB_TSDEVICE=/dev/input/event1
exec /usr/bin/Xfbdev -screen 480x640@270 "$@"

chmod 4755 this file and it will work.

I think cortez himself has gone back to the drawing board on this, so you and I may be the only ones using it. But I have gotten to the point that this thing is better than it ever was. The only major hassle now is the browser issue, and I have workarounds for that, along with minor hassles.
Go to the top of the page
 
+Quote Post
cortez
post Nov 21 2007, 01:46 AM
Post #4





Group: Members
Posts: 376
Joined: 18-March 04
From: The Netherlands
Member No.: 2,380



QUOTE(dlj0 @ Nov 21 2007, 02:45 AM) *
I think cortez himself has gone back to the drawing board on this, so you and I may be the only ones using it. But I have gotten to the point that this thing is better than it ever was. The only major hassle now is the browser issue, and I have workarounds for that, along with minor hassles.


Yep, although I haven't updated this thread for some time, I'm still working on it wink.gif. I created a root filesystem from scratch with all basic stuff installed. Some of the installed packages are apt, hal, NetworkManager, Midnight Commander, X11, iceWM. Everything is working fine until now, and best of all is that I didn't need any of the "pre install" and "post install" steps described in all the threads and wiki. All seems to work out of the box until now.

But... It takes so much time to set things up correctly, much more than I expected. Anyhow, I hope that I will succeed in building a fresh root filesystem so each of you will be able to install Debian hassle-free without the need of a rocket scientist tongue.gif

Currently I'm having trouble setting up IceWM. Somehow the desktop is in portrait mode all the time. Any ideas are welcome!

cortez
Go to the top of the page
 
+Quote Post
dlj0
post Nov 21 2007, 09:56 AM
Post #5





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



QUOTE(cortez @ Nov 21 2007, 04:46 AM) *
Currently I'm having trouble setting up IceWM. Somehow the desktop is in portrait mode all the time. Any ideas are welcome!

cortez


Try my X script instead of the small executable that the debian packages install. I posted it earlier on this thread. For me both the login screen and the desktop show up in landscape mode.

I would like to know more about the mousedev module. Why do those who remove it have to remove it? How do you do that, since it is being used while X is running? I got bad results when I just blacklisted it.
Go to the top of the page
 
+Quote Post
tux
post Nov 21 2007, 10:10 AM
Post #6





Group: Members
Posts: 449
Joined: 12-August 03
From: Leeds, UK
Member No.: 346



QUOTE(dlj0 @ Nov 21 2007, 05:56 PM) *
QUOTE(cortez @ Nov 21 2007, 04:46 AM) *
Currently I'm having trouble setting up IceWM. Somehow the desktop is in portrait mode all the time. Any ideas are welcome!

cortez


Try my X script instead of the small executable that the debian packages install. I posted it earlier on this thread. For me both the login screen and the desktop show up in landscape mode.

I would like to know more about the mousedev module. Why do those who remove it have to remove it? How do you do that, since it is being used while X is running? I got bad results when I just blacklisted it.

cool.gif Hi dlj0,

I am using your script now.

I have also installed xfce and much prefer it to icewm. As regards rmmod mousedev: YMMV, I found that the mouse pointer went shooting off away from the stylus position and this made using the 'mouse' difficult. When I did rmmod mousedev the pointer started to behave itself. As regards doing the rmmod: before I used your script xdm ran and could be stopped to allow me to rmmod mousedev. With your script, xdm doesn't appear to be running. unsure.gif So I'm going to put rmmod mousedev in your script and see what happens!!

jpmatrix's tip about xrandr was used before I used your script and I commented it out to cure the rotated screen. All is ok now apart from some jittering with the mouse. I'm going to investigate the state of my scripts and just what tips are being used now.

By the way, my wifi only works with hostap blacklisted and with the interface called wlan0. I had a real battle to get it working... biggrin.gif

This post has been edited by tux: Nov 21 2007, 10:19 AM
Go to the top of the page
 
+Quote Post
dlj0
post Nov 21 2007, 09:10 PM
Post #7





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



QUOTE(tux @ Nov 21 2007, 01:10 PM) *
I am using your script now.

I have also installed xfce and much prefer it to icewm. As regards rmmod mousedev: YMMV, I found that the mouse pointer went shooting off away from the stylus position and this made using the 'mouse' difficult. When I did rmmod mousedev the pointer started to behave itself. As regards doing the rmmod: before I used your script xdm ran and could be stopped to allow me to rmmod mousedev. With your script, xdm doesn't appear to be running. unsure.gif So I'm going to put rmmod mousedev in your script and see what happens!!

jpmatrix's tip about xrandr was used before I used your script and I commented it out to cure the rotated screen. All is ok now apart from some jittering with the mouse. I'm going to investigate the state of my scripts and just what tips are being used now.

By the way, my wifi only works with hostap blacklisted and with the interface called wlan0. I had a real battle to get it working... biggrin.gif


Check your /etc/ts.conf file for an uncommented machine definition. I found one, and the mouse started to behave once I commented that line out.

You probably had/have both the xrandr command and the rotation from my script, so it may be 180-degrees rotated.

As-far as the wifi goes, I am doing exactly the same. But, up to now I haven't even configured the wifi, dhclient just seems to find it.
Go to the top of the page
 
+Quote Post
tux
post Nov 24 2007, 04:49 PM
Post #8





Group: Members
Posts: 449
Joined: 12-August 03
From: Leeds, UK
Member No.: 346



cool.gif I've just spent two nights reinstalling! I installed an application and just accepted the options. Unfortunately the install removed some components that allowed X to work. mad.gif I should have paid more attention. sad.gif The app was wifi-radar. blink.gif

I found the reinstall very tedious. The really annoying thing is running the scripts and then going through the steps manually to check which bits worked and which bits need to be done manually. rolleyes.gif The 2nd-cfg script needs debugging.... sad.gif But I suppose if cortez's new scheme for a tarball of a working system with X works out this isn't likely to be needed.

Again setting up the wifi seemed very problematical. I know now to use wlan0 and set it up as per the interfaces file from my install of Titchy. (By the way, Titchy is still the easiest to set up and have a working X system. The only drawback is the lack of multimedia!)

Again X was a pain to get going. dlj0's script works well and I add rmmod mousedev to it. jpmatrix's page at the wiki is also useful, though his tips for getting X to work for the normal user don't work for me. sad.gif This is the biggest issue about working with eabi debian for me. I don't like using root as my working user. sad.gif

I noticed, this time, that using this install, you should partition the drive using fdisk before install and say no to cortez's installer, when it offers to format the drive for you. You end up with one partition and no swap partition, if you just accept everything. This means that you need to set up a swapfile after the install.

I installed xfce because I don't like having to make my own menu entries for installed apps, as you seem to have to in icewm.

I still haven't got very far with multimedia. I did get mplayer to play some flv files. Rather slow motion though. I still haven't got any sound out, but that is just a matter of playing with mixer settings I believe. An avi file that used to play under cacko showed no signs of life.

This locales hitch annoys me too. rolleyes.gif

Under Titchy I was able to use my usb lan dongle with very little trouble. I've not managed to get it going under EABI yet. Probably forgotten how I set it up!!! laugh.gif

I'm using dillo as my browser and sylpheed as my mail client. I've installed abiword and I think I've installed gnumeric as compiled by ZDevil. smile.gif

Lots of playing about to do yet. cool.gif Roll on cortex's tarball. biggrin.gif

(sorry about the lack of commas!) cool.gif

This post has been edited by tux: Nov 25 2007, 02:42 AM
Go to the top of the page
 
+Quote Post

Posts in this topic
tux   Post-install Steps For Debian Eabi With Installer   Nov 3 2007, 03:26 PM
cortez   Make sure to check the original thread for any upd...   Nov 3 2007, 03:46 PM
tux   Fixing the keyboard. I got keymap.map from ZDev...   Nov 4 2007, 12:43 AM
tux   QUOTE(tux @ Nov 4 2007, 08:43 AM) Fixing ...   Nov 4 2007, 01:38 PM
dlj0   QUOTE(tux @ Nov 4 2007, 04:43 AM) Fixing ...   Nov 4 2007, 10:05 PM
tux   I have re-installed: but BigZ insists on my choosi...   Nov 5 2007, 12:49 AM
dlj0   QUOTE(tux @ Nov 5 2007, 04:49 AM) I have...   Nov 5 2007, 06:54 AM
tux   Replying to dlj0's post above. That sounds ...   Nov 5 2007, 02:33 PM
dlj0   QUOTE(tux @ Nov 5 2007, 06:33 PM) Replyin...   Nov 5 2007, 05:35 PM
tux   QUOTE(dlj0 @ Nov 6 2007, 01:35 AM) .... ...   Nov 6 2007, 12:57 AM
jpmatrix   QUOTE(tux @ Nov 5 2007, 11:33 PM) eth0 ...   Nov 5 2007, 10:05 PM
tux   [quote name='jpmatrix' date='Nov 6 200...   Nov 6 2007, 12:51 AM
dlj0   Adieu for now folks. I need to have my system w...   Nov 6 2007, 08:54 PM
tux   QUOTE(dlj0 @ Nov 7 2007, 04:54 AM) Adieu ...   Nov 7 2007, 01:50 AM
dlj0   QUOTE(tux @ Nov 7 2007, 04:50 AM) QUOTE(d...   Nov 7 2007, 10:30 AM
jpmatrix   QUOTE(dlj0 @ Nov 7 2007, 05:54 AM) Adieu ...   Nov 7 2007, 04:31 AM
dlj0   QUOTE(jpmatrix @ Nov 7 2007, 07:31 AM) QU...   Nov 7 2007, 10:33 AM
jpmatrix   QUOTE(dlj0 @ Nov 7 2007, 07:33 PM) QUOTE(...   Nov 7 2007, 11:42 AM
dlj0   Looking for ts_open I am trying to work with cort...   Nov 8 2007, 07:51 PM
Chero   QUOTE(dlj0 @ Nov 9 2007, 04:51 AM) Lookin...   Nov 8 2007, 11:18 PM
jpmatrix   QUOTE(dlj0 @ Nov 9 2007, 04:51 AM) Lookin...   Nov 9 2007, 12:51 AM
dlj0   QUOTE(jpmatrix @ Nov 9 2007, 03:51 AM) it...   Nov 9 2007, 12:39 PM
dlj0   QUOTE(dlj0 @ Nov 9 2007, 03:39 PM) QUOTE(...   Nov 9 2007, 01:33 PM
jpmatrix   QUOTE(dlj0 @ Nov 9 2007, 10:33 PM) QUOTE(...   Nov 10 2007, 02:01 AM
dlj0   I finally got X running under eabi/cortez!...   Nov 11 2007, 06:03 PM
jpmatrix   QUOTE(dlj0 @ Nov 12 2007, 03:03 AM) I fin...   Nov 12 2007, 02:18 AM
tux   Finally I have cortez-debian with X! But the W...   Nov 20 2007, 02:00 PM
dlj0   QUOTE(tux @ Nov 20 2007, 05:00 PM) Final...   Nov 20 2007, 05:45 PM
tux   QUOTE(dlj0 @ Nov 21 2007, 01:45 AM) That ...   Nov 21 2007, 01:21 AM
jpmatrix   QUOTE(tux @ Nov 21 2007, 10:21 AM) Just ...   Nov 21 2007, 05:24 AM
dlj0   QUOTE(tux @ Nov 21 2007, 04:21 AM) QUOTE(...   Nov 21 2007, 09:48 AM
cortez   QUOTE(dlj0 @ Nov 21 2007, 02:45 AM) I thi...   Nov 21 2007, 01:46 AM
dlj0   QUOTE(cortez @ Nov 21 2007, 04:46 AM) Cur...   Nov 21 2007, 09:56 AM
tux   QUOTE(dlj0 @ Nov 21 2007, 05:56 PM) QUOTE...   Nov 21 2007, 10:10 AM
dlj0   QUOTE(tux @ Nov 21 2007, 01:10 PM) I am u...   Nov 21 2007, 09:10 PM
tux   I've just spent two nights reinstalling! I...   Nov 24 2007, 04:49 PM
tux   QUOTE(tux @ Nov 25 2007, 12:49 AM) 1. T...   Nov 25 2007, 07:46 AM
scottlfa   You could make it part of your .profile so it load...   Nov 20 2007, 05:42 PM
ArchiMark   Been trying to get xdm to work right with XFCE4.....   Apr 12 2008, 02:37 PM
ZDevil   @Archimark: Try the trick here   Apr 13 2008, 01:09 AM


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: 19th May 2013 - 07:18 AM