Author Topic: How To Install Debian On Your Zaurus (obsolete)  (Read 124888 times)

Chero

  • Hero Member
  • *****
  • Posts: 1140
    • View Profile
    • http://users.telenet.be/zaurususer/Chero
How To Install Debian On Your Zaurus (obsolete)
« Reply #60 on: October 28, 2007, 02:51:37 pm »
Quote from: ZDevil
Quote from: Chero
startx :command not found
ts_calibrate : ts_open: no such file or directory

startx: what if ...
-- simply ln -s /usr/bin/icewm-session-experimental /usr/bin/startx?  OR
-- apt-get install xbase-clients (startx is there)?

ts_calibrate:
Can you show mean what is in your ~/.profile?
Mine has this:
Quote
......
TSLIB_TSDEVICE=/dev/input/ts0
TSLIB_CONFFILE=/etc/ts.conf
export TELIB_TSDEVICE TSLIB_TSCONFFILE
and check if these files are present:

/usr/local/lib/libts-1.0.so.0.0.0
/usr/local/lib/libts-1.0.so.0
/etc/ts.conf
/dev/input/ts0

startx installed and working by installing xbase-clients

.profile didn't have those entries -> added

libts-1.0.so.0.0.0 missing -> symlinked

/dev/input/ts0 missing -> what now ?
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.

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
How To Install Debian On Your Zaurus (obsolete)
« Reply #61 on: October 28, 2007, 03:01:33 pm »
Quote from: Chero
Quote from: ZDevil
Quote from: Chero
startx :command not found
ts_calibrate : ts_open: no such file or directory

startx: what if ...
-- simply ln -s /usr/bin/icewm-session-experimental /usr/bin/startx?  OR
-- apt-get install xbase-clients (startx is there)?

ts_calibrate:
Can you show mean what is in your ~/.profile?
Mine has this:
Quote
......
TSLIB_TSDEVICE=/dev/input/ts0
TSLIB_CONFFILE=/etc/ts.conf
export TELIB_TSDEVICE TSLIB_TSCONFFILE
and check if these files are present:

/usr/local/lib/libts-1.0.so.0.0.0
/usr/local/lib/libts-1.0.so.0
/etc/ts.conf
/dev/input/ts0

startx installed and working by installing xbase-clients

.profile didn't have those entries -> added

libts-1.0.so.0.0.0 missing -> symlinked

/dev/input/ts0 missing -> what now ?

So obviously the parts setting up touchscreen does not work as expected .... sorry... but....
But the correct sequence should be: extract the zaurus-hardware-eabi.tarball (to /.) first, and then run the afterinstall.sh script; otherwise some commands in the script will fail to operate because of missing the binary/library.

/dev/input/ts0 ....
Do you have /dev/input/event1 or /dev/input/touchscreen0 ?
If nothing's there, can you:
cd /dev/input
MAKEDEV ts0  (the command is in capitals)



PS I think i have missed the xbase-clients package. Will add it to the guide. Actually I did install xorg (which pulls down xbase-clients) before playing with Xfbdev. Thanks.
« Last Edit: October 28, 2007, 03:04:19 pm 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]

Chero

  • Hero Member
  • *****
  • Posts: 1140
    • View Profile
    • http://users.telenet.be/zaurususer/Chero
How To Install Debian On Your Zaurus (obsolete)
« Reply #62 on: October 28, 2007, 03:10:20 pm »
Quote from: ZDevil
Quote from: Chero
Quote from: ZDevil
Quote from: Chero
startx :command not found
ts_calibrate : ts_open: no such file or directory

startx: what if ...
-- simply ln -s /usr/bin/icewm-session-experimental /usr/bin/startx?  OR
-- apt-get install xbase-clients (startx is there)?

ts_calibrate:
Can you show mean what is in your ~/.profile?
Mine has this:
Quote
......
TSLIB_TSDEVICE=/dev/input/ts0
TSLIB_CONFFILE=/etc/ts.conf
export TELIB_TSDEVICE TSLIB_TSCONFFILE
and check if these files are present:

/usr/local/lib/libts-1.0.so.0.0.0
/usr/local/lib/libts-1.0.so.0
/etc/ts.conf
/dev/input/ts0

startx installed and working by installing xbase-clients

.profile didn't have those entries -> added

libts-1.0.so.0.0.0 missing -> symlinked

/dev/input/ts0 missing -> what now ?

So obviously the parts setting up touchscreen does not work as expected .... sorry... but....
But the correct sequence should be: extract the zaurus-hardware-eabi.tarball (to /.) first, and then run the afterinstall.sh script; otherwise some commands in the script will fail to operate because of missing the binary/library.

/dev/input/ts0 ....
Do you have /dev/input/event1 or /dev/input/touchscreen0 ?
If nothing's there, can you:
cd /dev/input
MAKEDEV ts0  (the command is in capitals)



PS I think i have missed the xbase-clients package. Will add it to the guide. Actually I did install xorg (which pulls down xbase-clients) before playing with Xfbdev. Thanks.

MAKEDEV ts0 : I don't know how to make device ts0
(but I have event0 and event1)

ran the script again -> nothing changed.
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.

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
How To Install Debian On Your Zaurus (obsolete)
« Reply #63 on: October 28, 2007, 03:15:50 pm »
Another shot: what do you have in /etc/ts.conf?  
Here is the relevant section in my afterinstall.sh. Let's see if something goes wild:
Quote
# touchscreen
ln -s /usr/local/lib/libts-1.0.so.0.0.0 /usr/local/lib/libts-1.0.so.0 &&
echo "/usr/local/lib" >> /etc/ld.so.conf &&
ldconfig &&
cat /etc/ts.conf | sed 's/^# module_raw corgi/module_raw corgi/' > /etc/ts.conf &&
echo -ne "TSLIB_TSDEVICE=/dev/input/ts0\nTSLIB_CONFFILE=/etc/ts.conf\nexport TSLIB_TSDEVICE TSLIB_TSCONFFILE\n" >> $HOME/.profile

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]

Chero

  • Hero Member
  • *****
  • Posts: 1140
    • View Profile
    • http://users.telenet.be/zaurususer/Chero
How To Install Debian On Your Zaurus (obsolete)
« Reply #64 on: October 28, 2007, 03:18:10 pm »
Quote from: Chero
MAKEDEV ts0 : I don't know how to make device ts0
(but I have event0 and event1)

ran the script again -> nothing changed.

I changed the above line to TSLIB_TSDEVICE=/dev/input/event1

now I get this when running ts_calibrate :
couldn't load module input
no raw modules loaded
ts_config: Succes

Don't know what the succes is cause I could not calibrate ...
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.

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
How To Install Debian On Your Zaurus (obsolete)
« Reply #65 on: October 28, 2007, 03:27:25 pm »
Ok, now plz check /etc/ts.conf
Look for the line with "module_raw corgi"
Make sure that it is uncommented. The first line too.

One more:
-- depmod && reboot?
-- try event0?

Run ts_calibrate again?
« Last Edit: October 28, 2007, 03:28:38 pm 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]

Chero

  • Hero Member
  • *****
  • Posts: 1140
    • View Profile
    • http://users.telenet.be/zaurususer/Chero
How To Install Debian On Your Zaurus (obsolete)
« Reply #66 on: October 28, 2007, 03:29:40 pm »
Quote from: ZDevil
Another shot: what do you have in /etc/ts.conf?  
Here is the relevant section in my afterinstall.sh. Let's see if something goes wild:
Quote
# touchscreen
ln -s /usr/local/lib/libts-1.0.so.0.0.0 /usr/local/lib/libts-1.0.so.0 &&
echo "/usr/local/lib" >> /etc/ld.so.conf &&
ldconfig &&
cat /etc/ts.conf | sed 's/^# module_raw corgi/module_raw corgi/' > /etc/ts.conf &&
echo -ne "TSLIB_TSDEVICE=/dev/input/ts0\nTSLIB_CONFFILE=/etc/ts.conf\nexport TSLIB_TSDEVICE TSLIB_TSCONFFILE\n" >> $HOME/.profile

ts.conf has "module_raw input grab_events=1"  and "module_raw corgi" uncommented (and some at the end)

about ln -s for libts : it's the other way around.

/etc/ld.conf only has "include /etc/ld.so.conf.d/*.conf" in it

Looks like we are cross-posting : I'll wait untill I see your next post...
« Last Edit: October 28, 2007, 03:30:35 pm by 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.

Chero

  • Hero Member
  • *****
  • Posts: 1140
    • View Profile
    • http://users.telenet.be/zaurususer/Chero
How To Install Debian On Your Zaurus (obsolete)
« Reply #67 on: October 28, 2007, 03:39:32 pm »
sorry, posting anyway :

Where can I find the modules for the touchscreen, I think they are missing ... (I remember I could see them on the titchy install).

the error is :
coudn't load module input
no raw modules loaded (both on event0 an event1)

note the touchscreen does something in X but totally un-callibrated.
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.

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
How To Install Debian On Your Zaurus (obsolete)
« Reply #68 on: October 28, 2007, 03:40:04 pm »
libts: /usr/local/lib/libts-1.0.so.0.0.0 is the real guy, libts-1.0.so.0 is the link, so the command should be correct?

ldconfig: you are right!  It should be /etc/ld.so.conf, NOT /etc/ld.conf.
Should be:
echo "/usr/local/lib" >> /etc/ld.so.conf &&
ldconfig &&
« Last Edit: October 28, 2007, 03:46:05 pm 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]

Chero

  • Hero Member
  • *****
  • Posts: 1140
    • View Profile
    • http://users.telenet.be/zaurususer/Chero
How To Install Debian On Your Zaurus (obsolete)
« Reply #69 on: October 28, 2007, 03:43:37 pm »
Quote from: ZDevil
libts: /usr/local/lib/libts-1.0.so.0.0.0 is the real guy, libts-1.0.so.0 is the link, so the command should be correct?

libts-1.0.so.0.0.0 is not in the tarball -> libts-1.0.so.0 is and its size is only 6544 (6K)
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.

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
How To Install Debian On Your Zaurus (obsolete)
« Reply #70 on: October 28, 2007, 03:47:46 pm »
Chero, THANKS!
I will make a new tarball and script and upload again. Please give me a minute.
Don't stop the fun ...

upload ...... done

finger crossed...
« Last Edit: October 28, 2007, 03:55:42 pm 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]

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
How To Install Debian On Your Zaurus (obsolete)
« Reply #71 on: October 28, 2007, 03:59:47 pm »
Chero, the file is here: https://www.oesf.org/forum/index.php?act=at...ost&id=4994

And you don't have to run the whole script again. Instead do:
Code: [Select]
ln -s /usr/local/lib/libts-1.0.so.0.0.0 /usr/local/lib/libts-1.0.so.0
echo "/usr/local/lib" >> /etc/ld.so.conf   ##if you haven't done this yet...
ldconfig
Please check if:
-- the tslib is now in place (with the right link)
-- ts_calibrate works

Sorry for the confusion. I think I was feeling a bit excited but dim this morning...

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]

Chero

  • Hero Member
  • *****
  • Posts: 1140
    • View Profile
    • http://users.telenet.be/zaurususer/Chero
How To Install Debian On Your Zaurus (obsolete)
« Reply #72 on: October 28, 2007, 04:12:51 pm »
Quote from: ZDevil
Chero, the file is here: https://www.oesf.org/forum/index.php?act=at...ost&id=4994

And you don't have to run the whole script again. Instead do:
Code: [Select]
ln -s /usr/local/lib/libts-1.0.so.0.0.0 /usr/local/lib/libts-1.0.so.0
echo "/usr/local/lib" >> /etc/ld.so.conf   ##if you haven't done this yet...
ldconfig
Please check if:
-- the tslib is now in place (with the right link)
-- ts_calibrate works

Sorry for the confusion. I think I was feeling a bit excited but dim this morning...

libts is in place now

ts_calibrate still doesn't want to :
Couldn't load module input
No raw modules loaded

Where can I find these modules ?
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.

scottlfa

  • Sr. Member
  • ****
  • Posts: 281
    • View Profile
    • http://
How To Install Debian On Your Zaurus (obsolete)
« Reply #73 on: October 28, 2007, 04:27:25 pm »
Also getting a consistent failed to open TSLIB device, tried /dev/input/ts0 etc ...
when I check /dev/input I have the following present ... event0, event1, mice, mouse0 and ts0


X flickers and crashes.
"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

Chero

  • Hero Member
  • *****
  • Posts: 1140
    • View Profile
    • http://users.telenet.be/zaurususer/Chero
How To Install Debian On Your Zaurus (obsolete)
« Reply #74 on: October 28, 2007, 04:29:10 pm »
Quote from: scottlfa
Also getting a consistent failed to open TSLIB device, tried /dev/input/ts0 etc ...
when I check /dev/input I have the following present ... event0, event1, mice, mouse0 and ts0


X flickers and crashes.

What does ts_calibrate give you ?
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.