Author Topic: Post-install Steps For Debian Eabi With Installer  (Read 16179 times)

cortez

  • Sr. Member
  • ****
  • Posts: 375
    • View Profile
    • http://www.omegamoon.com
Post-install Steps For Debian Eabi With Installer
« Reply #30 on: November 21, 2007, 04:46:35 am »
Quote from: dlj0
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 . 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  

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

cortez
« Last Edit: November 21, 2007, 07:20:16 am by cortez »
[div align=\"center\"]== == == == == == == == == == == == == ==
www.omegamoon.com
Zaurus SL-C750 - Died in a dreadful coffee experiment, has a second life somewhere in the Czech Republic
Zaurus SL-C1000 - Multiboot Zubuntu, Debian, Fedora, Poky, Android and others
Zaurus SL-C3100 - Development device, currently Zubuntu 2.0
Zaurus SL-6000L - The fridge is running Zubuntu 1.0
Zaurus SL-C860 - Cacko, untouched since kindly donated, waiting for Zubuntu
== == == == == == == == == == == == == ==[/div]

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
Post-install Steps For Debian Eabi With Installer
« Reply #31 on: November 21, 2007, 08:24:02 am »
Quote from: tux
Just tried it! Login screen is rotated!!  

It won't be difficult to fix.   Login works and mouse behaves itself and so does the rotated desktop.    Funnily enough, I didn't include rmmod mousedev in the script (thanks for that suggestion scottlfa  ) but the mouse isn't jumping.  

 Can't say I'm in love with icewm though.  

Cheers.. breakfast calls...

just add this line somewhere in your scripts :

 xrandr -o right

and yes, icewm rocks!

perhaps we should put all config files that works on a web server. i've yet started with some files in matrixmen.free.fr/zaurus/debian
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

dlj0

  • Full Member
  • ***
  • Posts: 218
    • View Profile
Post-install Steps For Debian Eabi With Installer
« Reply #32 on: November 21, 2007, 12:48:33 pm »
Quote from: tux
Quote from: dlj0
That makes two of us!

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.

  Just tried it! Login screen is rotated!!  

It won't be difficult to fix.   Login works and mouse behaves itself and so does the rotated desktop.    Funnily enough, I didn't include rmmod mousedev in the script (thanks for that suggestion scottlfa  ) but the mouse isn't jumping.  

 Can't say I'm in love with icewm though.  

Cheers.. breakfast calls...

Really?  My login screen is not rotated.  Huh.  Be sure to include the rotation part of the screen definition.  I once tried rmmod'ing (or blacklisting) mousedev, and then the mouse did not work at all, nor did the touchscreen.  What I have is stable enough to use (fairly well, anyway) xournal.  There is still some jitter, but not much.  Maybe I will try rmmoding mousedev again...

Icewm works OK.  It's a bit more minimalistic than even xfce4, but has a nicer (IMO) look than xfce4, and is certainly less bloated than gnome.
Zaurus:  SL C3100
ROM:  eabi debian/sid

dlj0

  • Full Member
  • ***
  • Posts: 218
    • View Profile
Post-install Steps For Debian Eabi With Installer
« Reply #33 on: November 21, 2007, 12:56:29 pm »
Quote from: cortez
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.
Zaurus:  SL C3100
ROM:  eabi debian/sid

tux

  • Sr. Member
  • ****
  • Posts: 438
    • View Profile
    • http://
Post-install Steps For Debian Eabi With Installer
« Reply #34 on: November 21, 2007, 01:10:53 pm »
Quote from: dlj0
Quote from: cortez
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.
 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.   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...
« Last Edit: November 21, 2007, 01:19:40 pm by tux »
3200 aka BigZ, swapped in 16GB Sandisk Extreme III CF, Cacko 1.23 full,  new SDHC >2GB module,
SL860 Cacko 1.23 full, new SDHC >2GB module,
6000L SharpRom 1.12 + Tetsu kernel,
5500 TKC home on SD x 2 (with SD>1GB),
Archos PMA30 with OPEN PMA (Giraffe),
Nokia 770 (Hackers Edition)
Nokia 800 (ITOS 2008), 4GB SDHC x 2
Asus eeepc 4G (black), with 1GB ram, dual boot Xandros on SSD with Ubuntu Lucid Lynx on 16 GB SDHC,
Tmobile G1 Android (black), with Cyanogen's  Firerat's MTD script and Amon Ra Recovery 1.7.0
Tmobile HTC Wildfire.. rooted and on Cyanogen's 7.3 nightly Rom
Kopi/Kapi on everything bar the phone and the Nokias, there is a beta for the nokias...

All the above are retired

Samsung Note 8 N5110
Samsung Note N7105
FBreader on the lot!

dlj0

  • Full Member
  • ***
  • Posts: 218
    • View Profile
Post-install Steps For Debian Eabi With Installer
« Reply #35 on: November 22, 2007, 12:10:23 am »
Quote from: tux
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.   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...

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.
Zaurus:  SL C3100
ROM:  eabi debian/sid

tux

  • Sr. Member
  • ****
  • Posts: 438
    • View Profile
    • http://
Post-install Steps For Debian Eabi With Installer
« Reply #36 on: November 24, 2007, 07:49:51 pm »
 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.   I should have paid more attention.   The app was wifi-radar.  

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.   The 2nd-cfg script needs debugging....   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.   This is the biggest issue about working with eabi debian for me. I don't like using root as my working user.  

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.  

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!!!

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.  

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

(sorry about the lack of commas!)
« Last Edit: November 25, 2007, 05:42:12 am by tux »
3200 aka BigZ, swapped in 16GB Sandisk Extreme III CF, Cacko 1.23 full,  new SDHC >2GB module,
SL860 Cacko 1.23 full, new SDHC >2GB module,
6000L SharpRom 1.12 + Tetsu kernel,
5500 TKC home on SD x 2 (with SD>1GB),
Archos PMA30 with OPEN PMA (Giraffe),
Nokia 770 (Hackers Edition)
Nokia 800 (ITOS 2008), 4GB SDHC x 2
Asus eeepc 4G (black), with 1GB ram, dual boot Xandros on SSD with Ubuntu Lucid Lynx on 16 GB SDHC,
Tmobile G1 Android (black), with Cyanogen's  Firerat's MTD script and Amon Ra Recovery 1.7.0
Tmobile HTC Wildfire.. rooted and on Cyanogen's 7.3 nightly Rom
Kopi/Kapi on everything bar the phone and the Nokias, there is a beta for the nokias...

All the above are retired

Samsung Note 8 N5110
Samsung Note N7105
FBreader on the lot!

tux

  • Sr. Member
  • ****
  • Posts: 438
    • View Profile
    • http://
Post-install Steps For Debian Eabi With Installer
« Reply #37 on: November 25, 2007, 10:46:06 am »
Quote from: tux

1. This locales hitch annoys me too.  

2. I'm using dillo as my browser and sylpheed as my mail client.
  (1)The problem with locales  above seems to have been dealt with by updated packages at the gnuab repositories. I have just installed locales and generated the gb utf locale. I'll  find out if it worked, the next time I install an app which tries to use locales.

(2) I managed to install iceweasel. It started to load and almost every time asked me to close it, because an instance was running already. I did close and both instances vanished. I monitored this by running top, in a ssh terminal on the desktop. On the rare occasions I didn't get the close message the app didn't load up as a working one. Still, dillo works.   Epiphany as suggested elsewhere appears to install but doesn't run!

Still no progress to report on sound/video and I still can't use X as a non-root user.
3200 aka BigZ, swapped in 16GB Sandisk Extreme III CF, Cacko 1.23 full,  new SDHC >2GB module,
SL860 Cacko 1.23 full, new SDHC >2GB module,
6000L SharpRom 1.12 + Tetsu kernel,
5500 TKC home on SD x 2 (with SD>1GB),
Archos PMA30 with OPEN PMA (Giraffe),
Nokia 770 (Hackers Edition)
Nokia 800 (ITOS 2008), 4GB SDHC x 2
Asus eeepc 4G (black), with 1GB ram, dual boot Xandros on SSD with Ubuntu Lucid Lynx on 16 GB SDHC,
Tmobile G1 Android (black), with Cyanogen's  Firerat's MTD script and Amon Ra Recovery 1.7.0
Tmobile HTC Wildfire.. rooted and on Cyanogen's 7.3 nightly Rom
Kopi/Kapi on everything bar the phone and the Nokias, there is a beta for the nokias...

All the above are retired

Samsung Note 8 N5110
Samsung Note N7105
FBreader on the lot!

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Post-install Steps For Debian Eabi With Installer
« Reply #38 on: April 12, 2008, 06:37:53 pm »
Been trying to get xdm  to work right with XFCE4...but having problems....

Maybe someone can please advise....

I had XFCE4 working fine and rotated correctly when using 3200 in 'laptop mode'...

Then I decided to try and install Xdm per this thread and wiki....

Now I have following problems..

1) I do see xdm login screen, however, when I click enter key after typing in password, screen goes black for a second or two and then login window comes back, instead of going to XFCE4

2) If do try to start XFCE4 from console, it opens but it's rotated for slate mode, not laptop mode. Also, screen does not respond now to stylus taps at all.

Any suggestions how to fix this mess???

Thanks!
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Post-install Steps For Debian Eabi With Installer
« Reply #39 on: April 13, 2008, 05:09:46 am »
@Archimark:
Try the trick here
« Last Edit: April 13, 2008, 05:10:22 am by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]