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

dlj0

  • Full Member
  • ***
  • Posts: 218
    • View Profile
Post-install Steps For Debian Eabi With Installer
« Reply #15 on: November 07, 2007, 01:30:15 pm »
Quote from: tux
Quote from: dlj0
Adieu for now folks.  

I need to have my system working.  Unfortunately, that is not going to happen with debian/eabi, at least not for me, not now.  I am going to re-install my oabi titchy from my backups, and get back to work.  

SNIPPED ..

I just hope this re-install works....  I will leave in cortez' kernel and modules.  That will probably get my sparklan card working.  Wish me luck!!

I will check back with this in a bit, since I do believe that eabi is really the way to go.

  I'm going to persist with this. As you can see from my sig, I'm in the happy position of not needing to use BigZ for my working Z. In fact the 6000L is my workaday machine. As regards Debian on the Z, you are absolutely correct. The TitchyLinux system is the most complete: you can have a stable working system with X in a fairly short time and with the minimum of command line tinkering. The only thing that does not 'just work' is multimedia, in particular the sound. If BigZ was my only Z, then TitchyLinux would be my Debian choice until someone sorted out the setting up of the EABI system and some packages, important to me, got built.

I know that some people are working hard to make EABI Debian on the Z  much easier to install and make into the stable, working system we all want.  

Hope to see you back soon in this neighbourhood.

Sooner than I thought.  It wouldn't boot after the restore.  It complains about not being able to open an initial console, something someone else had trouble with, IIRC.  So, when I have time, I will try again the cortez way (I like the fact that his kernel does not need to be run in uboot, and has libertas).  I need a way to do that that gets me X running, though.  

Clearly eabi is the way to go, if I can do it.
Zaurus:  SL C3100
ROM:  eabi debian/sid

dlj0

  • Full Member
  • ***
  • Posts: 218
    • View Profile
Post-install Steps For Debian Eabi With Installer
« Reply #16 on: November 07, 2007, 01:33:29 pm »
Quote from: jpmatrix
Quote from: dlj0
Adieu for now folks.

you should say "au revoir", not "adieu"
adieu means you'll never come back

1- flux just gave a trick which enables to run X as $USER and it works perfect

2- with gnuab sources.list, people have reported iceweasel is working. however i didn't succeed but i think that's because i mixed applieddata and gnuab libraries..i'd to remove & try again.

What trick?  what window manager?  What about touchsceen?

I reported iceweasel working, once, on a remote display.  Once I got the x server up I could not repeat that success.  What sometimes happens, though, is that remote instances of iceweasel are not really run on the remote machine, if the local machine is running it.  I thought it was not, but may have been.
Zaurus:  SL C3100
ROM:  eabi debian/sid

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
Post-install Steps For Debian Eabi With Installer
« Reply #17 on: November 07, 2007, 02:42:29 pm »
Quote from: dlj0
Quote from: jpmatrix
Quote from: dlj0
Adieu for now folks.

you should say "au revoir", not "adieu"
adieu means you'll never come back

1- flux just gave a trick which enables to run X as $USER and it works perfect

2- with gnuab sources.list, people have reported iceweasel is working. however i didn't succeed but i think that's because i mixed applieddata and gnuab libraries..i'd to remove & try again.

What trick?  what window manager?  What about touchsceen?

I reported iceweasel working, once, on a remote display.  Once I got the x server up I could not repeat that success.  What sometimes happens, though, is that remote instances of iceweasel are not really run on the remote machine, if the local machine is running it.  I thought it was not, but may have been.

look this thread :
https://www.oesf.org/forum/index.php?showto...st&p=170700

a working firefox-like browser : epiphany
« Last Edit: November 07, 2007, 02:43:32 pm by jpmatrix »
**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 #18 on: November 08, 2007, 10:51:09 pm »
Looking for ts_open

I am trying to work with cortez to get a new installation package.  The first version, based on Zdevil's but working with his kernel, has a few (well, quite a few) broken packages.  One of them seems to be the ts stuff.  ts_calibrate won't start, and (I'm guessing because of that) xdm won't start.  I can run X, at least as root, but only with the mouse.  I want to use the touchscreen, and I want to get xdm running.  

So, where the fsck is ts_open, and what is it? I installed tslib-calibrate_1.0-r17_armel.deb tslib-conf_1.0-r17_armel.deb libts-1.0-0_1.0-r17_armel.deb and most of the packages in cortez's collection.  What am I/is he missing?  I couldn't find it on my titchy installation, currently backed up onto my desktop.
Zaurus:  SL C3100
ROM:  eabi debian/sid

Chero

  • Hero Member
  • *****
  • Posts: 1140
    • View Profile
    • http://users.telenet.be/zaurususer/Chero
Post-install Steps For Debian Eabi With Installer
« Reply #19 on: November 09, 2007, 02:18:56 am »
Quote from: dlj0
Looking for ts_open

I am trying to work with cortez to get a new installation package.  The first version, based on Zdevil's but working with his kernel, has a few (well, quite a few) broken packages.  One of them seems to be the ts stuff.  ts_calibrate won't start, and (I'm guessing because of that) xdm won't start.  I can run X, at least as root, but only with the mouse.  I want to use the touchscreen, and I want to get xdm running.  

So, where the fsck is ts_open, and what is it? I installed tslib-calibrate_1.0-r17_armel.deb tslib-conf_1.0-r17_armel.deb libts-1.0-0_1.0-r17_armel.deb and most of the packages in cortez's collection.  What am I/is he missing?  I couldn't find it on my titchy installation, currently backed up onto my desktop.

I don't know what ts_open is, but for me the error message disappeared after changing the kernel to the yonggun one.
check this thread from here on : https://www.oesf.org/forum/index.php?s=&...st&p=170131

Chero
HP-95LX -> HP Jornada 680 -> SL-C860 -> SL-C3100 -> Fuji u810 -> SL-C1000 -> HTC uni -> SL-C860 -> SL-C760.
March 12 2009 : Back because the Zaurus is one of a kind.
SL-C760 : pdaXrom
Pandora pre-ordered -> received and tested : great device but not my cup of tea -> sold.

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
Post-install Steps For Debian Eabi With Installer
« Reply #20 on: November 09, 2007, 03:51:12 am »
Quote from: dlj0
Looking for ts_open

I am trying to work with cortez to get a new installation package.  The first version, based on Zdevil's but working with his kernel, has a few (well, quite a few) broken packages.  One of them seems to be the ts stuff.  ts_calibrate won't start, and (I'm guessing because of that) xdm won't start.  I can run X, at least as root, but only with the mouse.  I want to use the touchscreen, and I want to get xdm running.  

So, where the fsck is ts_open, and what is it? I installed tslib-calibrate_1.0-r17_armel.deb tslib-conf_1.0-r17_armel.deb libts-1.0-0_1.0-r17_armel.deb and most of the packages in cortez's collection.  What am I/is he missing?  I couldn't find it on my titchy installation, currently backed up onto my desktop.

it is not that ts_open is missing but ts_calibrate wants to open a device that does not exist.
ensure that your TSLIB_DEVICE is set

then to log as $USER, try this fluck's tip listed here : https://www.oesf.org/forum/index.php?showto...mp;#entry170700


apt-get install xdm
cd /usr/bin
mv X X.OLD
ln -s Xfbdev X
chmod 2755 Xfbdev

then, you can launch xdm, and log into X as $USER  :  /etc/init.d/xdm start


that worked for flux and me!

look here too:
https://www.oesf.org/forum/index.php?showto...st&p=170918

i had to set TSLIB to /dev/input/touchscreen0 for stylus to work under X


perhaps we should put all these post-install tips in the wiki, i'll try to do this this weekend
**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 #21 on: November 09, 2007, 03:39:22 pm »
Quote from: jpmatrix
it is not that ts_open is missing but ts_calibrate wants to open a device that does not exist.
ensure that your TSLIB_DEVICE is set

then to log as $USER, try this fluck's tip listed here : https://www.oesf.org/forum/index.php?showto...mp;#entry170700


apt-get install xdm
cd /usr/bin
mv X X.OLD
ln -s Xfbdev X
chmod 2755 Xfbdev

then, you can launch xdm, and log into X as $USER  :  /etc/init.d/xdm start


that worked for flux and me!

look here too:
https://www.oesf.org/forum/index.php?showto...st&p=170918

i had to set TSLIB to /dev/input/touchscreen0 for stylus to work under X


perhaps we should put all these post-install tips in the wiki, i'll try to do this this weekend

OK:  

With Cortez' kernel, there is no such thing as either /dev/input/touchscreen0  or the one in the .profile assignment, /dev/input/ts0

Changing the X to be a link to Xfbdev worked, sort of, in that xdm ran, but the screen is rotated.  Still no useful stylus action, though.  I put in my old ts.conf from titchy in hopes that it would have useful information, but it still does not work.

So, can I make these devices?  Since udev such a question becomes more important, since the devices are harder to deal with than in the old days.
Zaurus:  SL C3100
ROM:  eabi debian/sid

dlj0

  • Full Member
  • ***
  • Posts: 218
    • View Profile
Post-install Steps For Debian Eabi With Installer
« Reply #22 on: November 09, 2007, 04:33:04 pm »
Quote from: dlj0
Quote from: jpmatrix
it is not that ts_open is missing but ts_calibrate wants to open a device that does not exist.
ensure that your TSLIB_DEVICE is set

I think that once I can figure out which device TSLIB_DEVICE needs to be set to, this might work.  In fact, I got somewhere by setting TSLIB_TSDEVICE="/dev/input/mice"  and others.  I have:  

Zaurus:/afterinstall# ls -la /dev/input
total 0
drwxr-xr-x  4 root root     220 Nov  9 15:44 .
drwxr-xr-x 13 root root    2980 Nov  9 16:07 ..
drwxr-xr-x  2 root root      80 Nov  9 15:44 by-id
drwxr-xr-x  2 root root     140 Nov  9 15:44 by-path
crw-rw----  1 root root 13,  64 Nov  9 15:37 event0
crw-rw----  1 root root 13,  65 Nov  9 15:37 event1
crw-rw----  1 root root 13,  66 Nov  9 15:44 event2
crw-rw----  1 root root 13,  63 Nov  9 15:37 mice
crw-rw----  1 root root 13,  32 Nov  9 15:37 mouse0
crw-rw----  1 root root 13,  33 Nov  9 15:44 mouse1
crw-rw----  1 root root 10, 223 Nov  9 15:38 uinput


and, with some of them, I get a touchscreen calibration screen.  But, it always says that the calibration failed.
Zaurus:  SL C3100
ROM:  eabi debian/sid

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
Post-install Steps For Debian Eabi With Installer
« Reply #23 on: November 10, 2007, 05:01:51 am »
Quote from: dlj0
Quote from: dlj0
Quote from: jpmatrix
it is not that ts_open is missing but ts_calibrate wants to open a device that does not exist.
ensure that your TSLIB_DEVICE is set

I think that once I can figure out which device TSLIB_DEVICE needs to be set to, this might work.  In fact, I got somewhere by setting TSLIB_TSDEVICE="/dev/input/mice"  and others.  I have:  

Zaurus:/afterinstall# ls -la /dev/input
total 0
drwxr-xr-x  4 root root     220 Nov  9 15:44 .
drwxr-xr-x 13 root root    2980 Nov  9 16:07 ..
drwxr-xr-x  2 root root      80 Nov  9 15:44 by-id
drwxr-xr-x  2 root root     140 Nov  9 15:44 by-path
crw-rw----  1 root root 13,  64 Nov  9 15:37 event0
crw-rw----  1 root root 13,  65 Nov  9 15:37 event1
crw-rw----  1 root root 13,  66 Nov  9 15:44 event2
crw-rw----  1 root root 13,  63 Nov  9 15:37 mice
crw-rw----  1 root root 13,  32 Nov  9 15:37 mouse0
crw-rw----  1 root root 13,  33 Nov  9 15:44 mouse1
crw-rw----  1 root root 10, 223 Nov  9 15:38 uinput


and, with some of them, I get a touchscreen calibration screen.  But, it always says that the calibration failed.

it should be /dev/input/event1
in fact my /dev/input/touchscreen0 is a link to /dev/input/event1

for your rotated screen, try to type :
xrandr -o right


try to use this /etc/pointercal too :
-49 -9011 34395792 12146 19 -1999532 65536
« Last Edit: November 10, 2007, 05:02:23 am by jpmatrix »
**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 #24 on: November 11, 2007, 09:03:20 pm »
I finally got X running under eabi/cortez!!!

My steps were different from most.  In order to not have the server rotated, I used titchy's script, modified, instead of just linking X to Xfbdev.  I also had ts problems.  

Very importantly, I had to edit /etc/ts.conf .  As installed, it had

module_raw corgi

Then, I needed to arrange the device for the ts.  I could manually set TSLIB_TSDEVICE=/dev/input/event1 and that would work (thanks jpmatrix!!), but re-starting would overwrite that to TSLIB_TSDEVICE=/dev/input/ts0, which does not exist on my machine.  I could make a link, but this being udev, that link dissolves on each boot.  

So, I replaced /usr/bin/X  with

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

and wolla!  (That is, voil\`{a}, but I donno how to do accents on this).

Now I have to try to get the gnomish stuff working, which it is not at present.  Difficulty there is that libgtk-2.0.0 won't install, because the available version of the libgtk-common is a bit too old.  

But, I am up and running.
Zaurus:  SL C3100
ROM:  eabi debian/sid

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
Post-install Steps For Debian Eabi With Installer
« Reply #25 on: November 12, 2007, 05:18:30 am »
Quote from: dlj0
I finally got X running under eabi/cortez!!!

My steps were different from most.  In order to not have the server rotated, I used titchy's script, modified, instead of just linking X to Xfbdev.  I also had ts problems.  

Very importantly, I had to edit /etc/ts.conf .  As installed, it had

module_raw corgi

Then, I needed to arrange the device for the ts.  I could manually set TSLIB_TSDEVICE=/dev/input/event1 and that would work (thanks jpmatrix!!), but re-starting would overwrite that to TSLIB_TSDEVICE=/dev/input/ts0, which does not exist on my machine.  I could make a link, but this being udev, that link dissolves on each boot.  

So, I replaced /usr/bin/X  with

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

and wolla!  (That is, voil\`{a}, but I donno how to do accents on this).

Now I have to try to get the gnomish stuff working, which it is not at present.  Difficulty there is that libgtk-2.0.0 won't install, because the available version of the libgtk-common is a bit too old.  

But, I am up and running.

oh yeah i forgot that ts.conf stuff   i put it into the wiki post install page right now !
i had the same reboot problem so i put my TSLIB line into my /etc/X11/xdm/Xsession ...
et voila !!
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

tux

  • Sr. Member
  • ****
  • Posts: 438
    • View Profile
    • http://
Post-install Steps For Debian Eabi With Installer
« Reply #26 on: November 20, 2007, 05:00:39 pm »
 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.  

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.  

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

One other thing jpmatrix, so far I've not managed to get your tips about running X as a non-root user working.   But tomorrow is another day.
« Last Edit: November 20, 2007, 05:08:28 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!

scottlfa

  • Sr. Member
  • ****
  • Posts: 281
    • View Profile
    • http://
Post-install Steps For Debian Eabi With Installer
« Reply #27 on: November 20, 2007, 08:42:24 pm »
You could make it part of your .profile so it loads every time you login.

Code: [Select]
# ~/.profile: executed by Bourne-compatible login shells.

export TSLIB_TSDEVICE="/dev/input/event1"
rmmod mousedev

if [ -f ~/.bashrc ]; then
  . ~/.bashrc
fi

mesg n
« Last Edit: November 20, 2007, 08:43:09 pm by scottlfa »
"So there I was, spitting on my goldfish trying to keep it alive ..."
---------------------------------------------------------------< O >-------------------------------------------------------
Viliv N5 [Debian]
Acer One Running OSX 10.5.7 [Dell 3190 & Ram Upgraded]
SL-C1000 [ZUbuntu], JasJar [WM 6.5], Nokia N900, and Samsung Galaxy S 4G.
Sony Ux280P [Kbuntu 10.4 Lucid], PsP Go and DSi

dlj0

  • Full Member
  • ***
  • Posts: 218
    • View Profile
Post-install Steps For Debian Eabi With Installer
« Reply #28 on: November 20, 2007, 08:45:46 pm »
Quote from: tux
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.
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.  

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

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

tux

  • Sr. Member
  • ****
  • Posts: 438
    • View Profile
    • http://
Post-install Steps For Debian Eabi With Installer
« Reply #29 on: November 21, 2007, 04:21:02 am »
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...
« Last Edit: November 21, 2007, 04:29:17 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!