OESF Portables Forum
Everything Else => Sharp Zaurus => Model Specific Forums => Distros, Development, and Model Specific Forums => Archived Forums => C1000/3x00 General discussions => Topic started by: Newbix on December 10, 2004, 09:55:39 pm
-
Here (http://www.eleves.ens.fr/home/leurent/zaurus.html) is a quick HOWTO (to be continued) to install a debian on the SL-C3000.
Feel free to ask if you have any question...
-
If I understand this right, all if the original applications and functions of the SL-C3000 remain but you somehow bootstrap a full Debian distro on top of it? Nice.
What is the downside? Does it mess up the Japanese kanji display?
-
Well, the original environement (QTopia) is still present if you need it, but it isn't run at all when you use the debian system (well, the sharp kernel is still used). The debian comes with it's own X server, and you can run any windows manager you like.
If you want to get back to QTopia, you'll have to reboot the zaurus. There is maybe a better way, but I don't need it so I haven't searched in that direction.
So the drawback is that when using debian you don't have acces to QTopia and QTopia apps (but to me it is more an advantage than a drawback).
As foar as kanji are concerned, the debian programms are in english, but you can put some of them in other language if you like. However ther seem to be a bug somewere, and unicode chars are not displayed properly, so you should stay with latin-1.
-
Well, the original environement (QTopia) is still present if you need it, but it isn't run at all when you use the debian system (well, the sharp kernel is still used). The debian comes with it's own X server, and you can run any windows manager you like.
If you want to get back to QTopia, you'll have to reboot the zaurus. There is maybe a better way, but I don't need it so I haven't searched in that direction.
So the drawback is that when using debian you don't have acces to QTopia and QTopia apps (but to me it is more an advantage than a drawback).
As foar as kanji are concerned, the debian programms are in english, but you can put some of them in other language if you like. However ther seem to be a bug somewere, and unicode chars are not displayed properly, so you should stay with latin-1.
It works perfectly! Thank you very much Newbix :-)
-
Thank-you very much Gaëtan for the HowTo.
I am going to try it once I get a chance.
Brendan
-
Dear Newbix ,
You How To for installing debian the Zaurus 3000 has been very helpful.
Below are some notes, I have made where I deviated from your instructions.
Which may help other users.
I have managed to get to the stage where Fbvnc launches successfully.
This gives me Xterm open, but I do not think I have IceWM running, I do
not have the IcWM panel, as per your pretty screen shot:-
http://www.eleves.ens.fr/home/leurent/zaurus.jpg (http://www.eleves.ens.fr/home/leurent/zaurus.jpg)
I am very poor with Window Manager generally, so this will be a good
learning exercise. I wonder if you could give me any tips on launching
IceWM.
Once again thank-you for the detailed HowTo.
Regards,
Brendan M. Sleight
http://www.barwap.com/blog/ (http://www.barwap.com/blog/)
****
I followed Gaëtan instructions with a few minor tweaks.
First once I was root, I did a :-
df -h
To confirm which partition is the biggest spare...
In my case this was hda3 not hdc3. I believe looking at the rc.rofilesys,
this hints at the fact that it could be hda hdb or hdc:-
mount -t $LINUXFMT -o noatime /dev/${IDE1}3 /hdd
Hence refernces to hdc3 were replaced with hda3
When doing the command 'mount -o remount,rw /dev/root' I get an error that
/dev/root is not listed in fstab. I therefore copy the line from mtab to
fstab. (I used an editor but here it is in one line)
cat /etc/mtab | grep /dev/root >> /etc/fstab
To copy the debian-tar ball onto the zaurus I used :-
wget http://pocketworkstation.org/files/zaurus-...n-big-v0.17.tgz (http://pocketworkstation.org/files/zaurus-debian-big-v0.17.tgz)
wget http://pocketworkstation.org/files/gnu-tar.gz (http://pocketworkstation.org/files/gnu-tar.gz)
I then had to make gnu-tar execuatable.
chmod ugo+x ./gnu-tar
./gnu-tar xvzf zaurus-debian-big-*.tg
Should read ./gnu-tar xvzf zaurus-debian-big-*.tgz
I was unable to launch the fbvnc inside the tar ball - screen calibration
error. Had to use the one suggested
http://www.tcp-ip.or.jp/~naorou/linuzau/fb...20041121.tar.gz (http://www.tcp-ip.or.jp/~naorou/linuzau/fbvnc-1.4.1-hack20041121.tar.gz)
Un-able to figure out how to get the IceWM panel. I got a feeling it
something stupid I am missing.
-
Dear Newbix ,
You How To for installing debian the Zaurus 3000 has been very helpful.
Below are some notes, I have made where I deviated from your instructions.
Which may help other users.
I have managed to get to the stage where Fbvnc launches successfully.
This gives me Xterm open, but I do not think I have IceWM running, I do
not have the IcWM panel, as per your pretty screen shot:-
http://www.eleves.ens.fr/home/leurent/zaurus.jpg (http://www.eleves.ens.fr/home/leurent/zaurus.jpg)
I am very poor with Window Manager generally, so this will be a good
learning exercise. I wonder if you could give me any tips on launching
IceWM.
Once again thank-you for the detailed HowTo.
Regards,
Brendan M. Sleight
http://www.barwap.com/blog/ (http://www.barwap.com/blog/)
****
I followed Gaëtan instructions with a few minor tweaks.
First once I was root, I did a :-
df -h
To confirm which partition is the biggest spare...
In my case this was hda3 not hdc3. I believe looking at the rc.rofilesys,
this hints at the fact that it could be hda hdb or hdc:-
mount -t $LINUXFMT -o noatime /dev/${IDE1}3 /hdd
Hence refernces to hdc3 were replaced with hda3
When doing the command 'mount -o remount,rw /dev/root' I get an error that
/dev/root is not listed in fstab. I therefore copy the line from mtab to
fstab. (I used an editor but here it is in one line)
cat /etc/mtab | grep /dev/root >> /etc/fstab
To copy the debian-tar ball onto the zaurus I used :-
wget http://pocketworkstation.org/files/zaurus-...n-big-v0.17.tgz (http://pocketworkstation.org/files/zaurus-debian-big-v0.17.tgz)
wget http://pocketworkstation.org/files/gnu-tar.gz (http://pocketworkstation.org/files/gnu-tar.gz)
I then had to make gnu-tar execuatable.
chmod ugo+x ./gnu-tar
./gnu-tar xvzf zaurus-debian-big-*.tg
Should read ./gnu-tar xvzf zaurus-debian-big-*.tgz
I was unable to launch the fbvnc inside the tar ball - screen calibration
error. Had to use the one suggested
http://www.tcp-ip.or.jp/~naorou/linuzau/fb...20041121.tar.gz (http://www.tcp-ip.or.jp/~naorou/linuzau/fbvnc-1.4.1-hack20041121.tar.gz)
Un-able to figure out how to get the IceWM panel. I got a feeling it
something stupid I am missing.
IceWM: you should create $HOME/.xinitrc according the howto :-)
-
I am very poor with Window Manager generally, so this will be a good
learning exercise. I wonder if you could give me any tips on launching
IceWM.
IceWM is launched by zvncserver (itself launched by Vncserver) in the default config. In my config, I have moved it to ~/.xinitrc
First once I was root, I did a :-
df -h
To confirm which partition is the biggest spare...
In my case this was hda3 not hdc3. I believe looking at the rc.rofilesys,
this hints at the fact that it could be hda hdb or hdc:-
mount -t $LINUXFMT -o noatime /dev/${IDE1}3 /hdd
Hence refernces to hdc3 were replaced with hda3
Yes that's funny, rc.rofilesys detects if the microdrive is on hda or hdc. Maybe there are different SL-C3000 hardware ?
When doing the command 'mount -o remount,rw /dev/root' I get an error that
/dev/root is not listed in fstab. I therefore copy the line from mtab to
fstab. (I used an editor but here it is in one line)
Oh, it is not in mine either. This must be an error in the HOWTO.
I will correct it to 'mount -o remount,rw /dev/root /'.
cat /etc/mtab | grep /dev/root >> /etc/fstab
To copy the debian-tar ball onto the zaurus I used :-
wget http://pocketworkstation.org/files/zaurus-...n-big-v0.17.tgz (http://pocketworkstation.org/files/zaurus-debian-big-v0.17.tgz)
wget http://pocketworkstation.org/files/gnu-tar.gz (http://pocketworkstation.org/files/gnu-tar.gz)
I then had to make gnu-tar execuatable.
chmod ugo+x ./gnu-tar
./gnu-tar xvzf zaurus-debian-big-*.tg
Should read ./gnu-tar xvzf zaurus-debian-big-*.tgz
Yes, you're right.
Anyway, gnu-tar is in fact not needed, the are allready a zcat and a tar on the Zaurus, so you might just do 'zcat zaurus-debian-big-*.tgz | tar x'
I was unable to launch the fbvnc inside the tar ball - screen calibration
error. Had to use the one suggested
http://www.tcp-ip.or.jp/~naorou/linuzau/fb...20041121.tar.gz (http://www.tcp-ip.or.jp/~naorou/linuzau/fbvnc-1.4.1-hack20041121.tar.gz)
I'll add a note in the HOWTO. the included fbvnc worked fine for me (excepted for the keyboard). In fact I remmember I had added '-hw c700' when it was launched. That might be it.
Un-able to figure out how to get the IceWM panel. I got a feeling it
something stupid I am missing.
I think I know what's happening: the default zvncserver launches a 640x640 desktop, so the IcemWM panel is hidden down. You should be able to scroll with Fn+Menu+Drag&Drop.
In my zvncserver I have changed the desktop size to 640x480 which seems more usefull to me. The point of having a 640x640 desktop is that you can rotate the screen and still have no black borders.
-
Guys.. check out smuelas stuff on debian and XQT in the XQT thread in development.
Also, you might try after doing apt-get update while in vnc or xqt mode, dropping out of all gui stuff chrooting to /debroot and doing apt-get install x-window-system. I'm not sure how your keymaps will come out..what extras might be necessary. I did it on my 5600.. not much luck but then I don't have a vga screen. It didn't break anything.. I can still use xqt+debian and still use the original vnc stuff. OPenzaurus has apt and dpkg and x11 too...
-
HI,
Thank you for the feedback. The menu bar was at the bottom of the screen if I scrolled down, *blush*.
So the good new is that I can run chrooted debian. As per :-
[img]http://192.168.1.11/photos/blog_images/thumb/blog_images_040.jpg\" border=\"0\" class=\"linked-image\" /]
[img]http://192.168.1.11/photos/blog_images/thumb/blog_images_039.jpg\" border=\"0\" class=\"linked-image\" /]
I have also backed up Vncserver and zvncserver files and have been trying to run debian as user zaurus as per newbix extra tips.
I copied accross all the /.icewm directory and the file .Xdefaults, resolving a few problems. I have also solved a few issues I had with my system by changing some permissions.
Fatal server error:
Could not create lock file in /tmp/.tX1-lock
Resolved by:-
chmod oga+w %DEBROOT/tmp
The /etc/vncpasswd file could not be read from user zaurus
chmod oga+r $DEBROOT/etc/vncpasswd
But I am stil having problem with X4fvnc when using not using root, but user zaurus:-
_XSERVTransSocketCreateListener: failed to bind listener
_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: failed to create listener for local
13/12/2004 11:54:44 Xvnc version XF4VNC-4.3.0.2
13/12/2004 11:54:44 Copyright © 2001-2003 Alan Hourihane.
Rather than when using root with debain :-
13/12/2004 11:25:37 Xvnc version XF4VNC-4.3.0.2
13/12/2004 11:25:37 Copyright © 2001-2003 Alan Hourihane.
13/12/2004 11:25:37 Copyright © 2000-2003 Constantin Kaplinsky
13/12/2004 11:25:37 Copyright © 1999 AT&T Laboratories Cambridge
Again any pointers would be helpful.
Regards,
Brendan
-
In fact, I don'y run Vncserver and Fbvnc as user zaurus; I run them as user root, but the chroot changes user to zaurus (you can choose any user you like, in fact, and it doesn't even need to exist outside the chroot).
-
Thank-you all for your help. I now have debian, inside the chroot. Running as a normal user (zaurus).
To solve the last couple of problem I had to remove the old directory
rm $DEBROOT/tmp/.X11-unix -R
Also I hade to change some dev permissions:-
chmod a+w $DEBROOT/dev/tty*
chmod a+w $DEBROOT/dev/pt*
chmod a+w $DEBROOT/dev/null
Also an interesting point to note while you hacking away at you zaurus. If the black terminal screen suddenly flares to all white then to nothing. Then your zaurus is not dead. Although your blood pressure may rise. Its just the internal battery running out of charge. (Although it take about 2 minutes of charge before it will come to life again)
-
You may also wish to set su passwd while you are inside debian as root.
-
about the problem of mounted partitions, it seems that the SL-C3000 doesn't mount partitions in the same manner, depending if there is a CF or not.
try rebooting with CF and try without : Very strange, and dangerous IMHO.
-
Thanks Newbix!
I'm gonna deviate a bit from your guide though, mainly because I still want to have a swap, and a fat partition for usb storage. I hope that doesn't take too much hacking
-
As far as I understood (being new to Linux), the main thing that's stopping me from running Debian ARM programs is the X-Window System, X11, Qt (?), or simply X. I've searched on the Internet for the program itself recompiled for Zaurus, but like many of you, found an inaccessable SourceForge site.
After reading the topic, I have one main question:
If I can just install X/Qt in lieu of the entire Debian system, where can I get ahold of X/Qt for the Zaurus? I understand such an implementation to be pdaXrom and OpenZaurus, but considering those aren't available for the C3000, couldn't I just install the necessary executables to provide those critical features?
I mean, the main reason I chose the Linux handheld over everything else is its massive compatibility with desktop software.
-
This debian installation doesn't use X/Qt (X over QT), it uses over Xf4vnc an X server over VNC, and a VNC server, fbvnc. I don't know what X server is in OpenZarus or in PdaXrom.
You can get those programs from the debian-big tarball (see the howto -- you should get the patched fbvnc for the SL-C3000, too), but you can as well install the full system, it's not that big (and you can take debaian-base instead of debian-big).
But the thing is that you can't run this X server over QTopia (the graphic system provided by sharp), you have to exit QTopia (ie to reboot) to run it, and vice-versa.
-
I managed to access the sd card on the Zaurus Sl-C3000 while running Debain.
Before you launch Fbvnc I used used the command:-
mount -o binf /usr/mnt.rom/card /hdd3/debroot/mnt/card
I posting this as it did take me a few attempts to get this, ln is no good for foing this.
BMS
-
I followed the tutorials mainly to use X/Qt in place of Fbvnc. I'm having one particular problem: apt-get fails.
Temporary failure resolving '{an address, sometimes an http://ftp:// (http://ftp://) sort of url}'
I have the unit networked via an Ambicom WiFi, and NetFront works fine. I ran the entire postinst.sh (from inside X/Qt chroot'ed to /hdd2/debian/ - under su) up until the point where it asked me if I want to install the scripts. I've tried the installation without running the postinst.sh script, and I got the same error. Frankly, I can't tell the difference--but that's aside the point.
My only visual clues as to how far I am into getting this to work is IceWM is running, with a horrible background, and I can get Xterm to work, basically nothing else.
- : Yes, so I chose to put it on the program space instead. The tar resides on /hdd/documents/, and I just cd /hdd2/debian/&tar -xpv /hdd/Documents/{atrociously long filename}
Also, thank you for the response Newbix. I guess what I really wanted was no VNC involved, because for me (the Windows user) VNC means an extra drawing layer grabbed from shared pipe or a TCP Localhost socket, meaning slow.
-
Spartan,
What the output of the command (outside debian) :-
cat /etc/mtab
Is proc mounted across correctly ?
For example mine:-
none /hdd3/deroot/proc proc rw 0 0
Yours:-
none /hdd/documents/proc proc rw 0 0
Just a guess,
Brendan
-
Nevermind, thanks for the assistance but it was a typo
Typos aside, make sure that you perform the following commands:
su
cp /etc/resolv.conf $DEBROOT/etc/resolv.conf
...from inside the Zaurus terminal. I don't remember reading it in any of the tutorials, but basically apt-get fails because the installation doesn't have any DNS servers listed, regardless of whether one runs postinst.sh . Maybe it's just my problem.
Meanwhile, after installing Konqueror (and in turn, KDE) I have only 10 MBs of space left on /hdd2/, so I tar'ed the entire debian installation, removed it, and plan on formatting /hdd3/ to ext3. So installing on /hdd2/ is quite possible, just don't plan on having plenty of space left after the basic things are installed.
-
Hi.
I put Japanese translation of HOWTO on my blog, and naorou(the guy who made the hacked fbvnc) told me that to easily test the installation(without formatting with ext3 and stuff), you can just make a loopback device on /dev/hdc3, and mount it at /hdd3/debroot.
just do something like
# dd if=/dev/zero of=/hdd3/lopback bs=1M count=1024 (this makes 1GB file)
# /sbin/mke2fs loopback
# mount -o loop -t ext2 loopback /hdd3/debroot
and install the debian files there.
just his two cents.
naorou himself has Vine installed on his Z
cheers.
-
Before you launch Fbvnc I used used the command:-
mount -o binf /usr/mnt.rom/card /hdd3/debroot/mnt/card
I think tou mean "-o bind" and not "-o binf"
Anyway, you can allso mount it from inside the debian with
mount /dev/hda1 /mnt/card
If you don't have a /dev/hda1 device, you can create it with
mknod /dev/hda1 b 3 1
(You can get those numbers from "cru ls -l /dev/hda1")
-
Thanks for the loopback suggestion: that's exactly what I'm looking for. It's almost as if you read my mind.
I got the following error:
# dd if=/dev/zero of=/hdd3/.Loopback bs=1M count=1024
1024+0 records in
1024+0 records out
# ls -as
4 . 1048576 .Loopback 4 dict1
0 .. 4 Documents 4 dict2
# /sbin/mke2fs .Loopback
mke2fs 1.35 (28-Feb-2004)
.Loopback is not a block special device.
Proceed anyway? (y,n) y
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
131072 inodes, 262144 blocks
13107 blocks (5.00%) reserved for the super user
First data block=0
8 block groups
32768 blocks per group, 32768 fragments per group
16384 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376
Writing inode tables: done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 34 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
# mount -o loop -t ext2 .Loopback /hdd3/debian
mount: Mounting /hdd3/.Loopback on /hdd3/debian failed: No such file or directory
I tried renaming (via mv) the .Loopback file to dozens of things, but it wouldn't change the fact that the mount fails.
-
180 days, whichever comes first. Use tune2fs -c or -i to override.
# mount -o loop -t ext2 .Loopback /hdd3/debian
mount: Mounting /hdd3/.Loopback on /hdd3/debian failed: No such file or directory
Before mounting a file system you need a directory created to act as a mount point.
Therefore you need to mkdir /hdd3/debian before issuing your mount command.
- Andy
-
Thanks, that fixed my problem.
However, where can I put the mount command so that it's executed on startup?
-
So what benefit would I get if I installed Debian on a C3K?
-
Qt is slow. Maybe it's the loop mounting, I don't know.
-
Hello,
everytime i try to install software i get following message
E: Sub-prozess /usr/bin/dpkg exited unexpectedly
How can i manage to install software?
thanks, Denis
-
It worked nicely. But I have a bit of a newbie question. How do I go back to the 3gb fat parition? I've tried to delete the partition with fdisk then create a new one but have some how managed to create a parition that shows up as "Partition 3 does not end on cylinder boundary". It does not allow me to delete this partion or change it's type which is Emtpy. How can I get rid of this misbehaving parition?
/dev/hda3 Start=1 End=1 Blocks=0 id=0 System=Empty
Sorry for the repost
-
/dev/hda3 Start=1 End=1 Blocks=0 id=0 System=Empty
I think this is an artifact from fdisk.
Recreate a /dev/hdc3 partition with fdisk (you shouldn't have removed it), and format it to fat with
mkfs.msdos /dev/hdc3
(You might want to add some options, though)
-
Thanks for the fast reply Newbix!
The problem is that I can't create a parition3 . When I try to delete the "aritifact" is says, "Warning: parition 3 has empty type."
When I try to change the type is says, "Partition 3 does not exist yet!"
When I try to create a new parition with 'n' it automatically goes to parition4
I hope I'm not in anykind of trouble
I tried the mkfs.msdos command just incase but got, mkfs.msdos: Attempting to create a too large file system.
-
Warning!!!
After a couple of glorious days with debian on my C3k, I got an hdd1 error on bootup. I was forced to reset via the service menu. This reinitialized the filesysem on hdd3 to vfat once again. The edited version of rc.rofilesys then continued to try to mount it ext3, and I thence received hdd3 errors. Through my ignorance I spent days tracking down this error. ...and completely erasing the drive.
I will soon post my journey back to sanity in the post "brick comes alive"
-
I've got a Mercury Wireless CF card that works fine on QT. Do you know if this will work on debian. I've tried searching the web but no joy.
If it does then wa-hey i'll follow your great guide to install Debian.
Thanks...
-
I fixed my previous problem by redoing the entire partition table. I just wrote down the amount of sectors in each parition and then deleted all of the paritions, saved changes and recreated the paritions as they were and everything went well afterwards. I'll try to come back later and elaborate more but that was the gist of it.
-
I've got a Mercury Wireless CF card that works fine on QT. Do you know if this will work on debian.
It should work fine, since I didn't change the kernel.
However, you won't be able to go to the configuration menus , so if there is some setup to do you'll have to do it by hand (but I don't know how exactly; I've never used any wireless card).
-
Hi,
Thanks for this great howto - debian runs smoothly now. I have some remaining issues though:
- the on/off button does not work. Pressing it does not suspend the device, but rrunning zsuspend does (and after that, the on/off switch *does* unsuspend!)
- has anyone looked into screenflipping? I'm going to have a look at how pdaxrom does this and see if this can be reused.
Lastly, does anyone have any mplayer tips/tricks for this setup? (I must admit that I haven't even istalled mplayer yet - can I expect problems with the vnc setup? Will mplayer bypass vnc and use the framebuffer directly?)
Cheers
-
What is the benefit of Debian on the C3000? Sorry, I'm not a Linux user, and I don't have the C3000 'yet'...
-
What is the benefit of Debian on the C3000? Sorry, I'm not a Linux user, and I don't have the C3000 'yet'...
Most of the other roms don't work (yet) on the c3000, and the standard qtopia rom is a bit too limited for me. I run debian everywhere and it's great to be able to simply apt-get install software (though the ipkg system offered by most other systems is a very good alternative)
-
the benefit of the debian environment on the c3000 is to have a full X11 environment including lots of packages (softwares), dev tools and an onboard compiler (as you can apt-get install gcc-3.4 ) so it's for the moment, the closest thing to pdaXrom for the c3000 (although it doesn't have any software-fpu enabled kernel nor any optimised X11 server yet)
-
Cool. Does anyone know how the development of other ROMs are going? The ones for the C3000?
-
IMHO we will have to wait for sharp to release an update to the c3000 ROM so developers will be able to hack the updating process as it's slightly different from other models (OS is now installed in the microdrive instead of internal flash memory) ... then we should be able to see some openembedded ROMS or cacko's one ... for a pdaXrom we will have to wait for some driver to be achieved for the new graphic chip but I think it could run in framebuffer too in a first time ^^ Oh and of course we will mainly have to wait for one of the developers of one of these roms to buy himself a c3000
-
IMHO we will have to wait for sharp to release an update to the c3000 ROM so developers will be able to hack the updating process as it's slightly different from other models (OS is now installed in the microdrive instead of internal flash memory) ... then we should be able to see some openembedded ROMS or cacko's one ... for a pdaXrom we will have to wait for some driver to be achieved for the new graphic chip but I think it could run in framebuffer too in a first time ^^ Oh and of course we will mainly have to wait for one of the developers of one of these roms to buy himself a c3000
In fact it it's not so difficult to get pdaxrom running on c3000. I have it on my c3000 after a great time of hacking/tweaking. You have to get C3000's hard drive initialized. It's not like a PC PCI HD, it's connected as a PCMCIA device so you have to get up and running the whole PCMCIA susbsystem prior the booting from the HD. The rest is pretty straightforward, I would say even easier than with cx00 series, because you can forget about different flash rom sizes etc. The only problems I found so far are:
1. screen calibration doesn't work. The pdaxrom calibration utility doesn't work with c3000 frame buffer driver anymore...
2. pdaxrom uses some kind of proprietary SD card manager kernel module. I can't compile this module for c3000 kernel because I have no source and there is a different kernel version (2.4.20 instead of 2.4.18).
So this is the report. based on my experience with pdaxrom team schedule, you can expect to have a pdaxrom distribution running sometimes in Q3/2005 :-)))
Milan
-
I wasn't talking about one running pdaXrom on his 3000 but everyone being able to install it simply and without bricking his Z I mean would you be able to make an image with an updater.sh script out of your setup ? if the answer is yes maybe you should apply to pdaXrom dev team ...
btw the calibration problem was such a thing I was expecting with the new graphic controler but for your SD card manager problem you should try using one of the tweaked 2.4.20 kernels lying around (I've posted a link to them somwhere in this forum ) which include soft float drivers and so may work with pdaXrom (and have SD drivers ) ...
Oh and could you please give some more details on how you did manage to use pdaXrom on your c3000 ?
-
@Milan : what you say is very interesting : I also thought that it should be easier to port roms on c3000 because of the new system on CF.
BTW, do you have some screenshots ?
-
1. screen calibration doesn't work. The pdaxrom calibration utility doesn't work with c3000 frame buffer driver anymore...
I believe the 3000 uses a different video chip, Intel PXA270' instead of the ATI. I think that may add some complexity to porting the pdaxrom to the 3000...
-
1. screen calibration doesn't work. The pdaxrom calibration utility doesn't work with c3000 frame buffer driver anymore...
I believe the 3000 uses a different video chip, Intel PXA270' instead of the ATI. I think that may add some complexity to porting the pdaxrom to the 3000...
It's not about a different video chip. It seems to me there is no dedicated graphics chip (Intel 2700G) in the Zaurus. I just tried to compile the Zaurus C3000 Linux kernel with a patched frame buffer driver but there seems to be a lot of bugs and it's in question if to try to fix them or to wait until LAZE and MASLOVSKI fix them for us :-) That's why I dindn't produced any temporary pdaxrom for c3000 yet. My work will be obsolete when they decide to support the c3000...
Milan
-
I just tried to compile the Zaurus C3000 Linux kernel with a patched frame buffer driver but there seems to be a lot of bugs and it's in question if to try to fix them or to wait until LAZE and MASLOVSKI fix them for us :-) That's why I dindn't produced any temporary pdaxrom for c3000 yet. My work will be obsolete when they decide to support the c3000...
why don't you try helping them to fix it/support the c3000 then ? I think any work wich could help creating new roms for the c3000 won't get "obsolete" as it's opensource and anything you've done may help them to make an even better ROM
-
great idea, ThC!
Yes, why don't you contact laze about your work on pdaXrom and C3000!
Couldn't hurt!....
Mark
C3000
-
Hi,
- the on/off button does not work. Pressing it does not suspend the device, but rrunning zsuspend does (and after that, the on/off switch *does* unsuspend!)
Fbvnc needs to be run as root to be able to run zsuspend. (Welll, there is maybe another solution, but this is easier). If it is allready, see if there are any messages in the console when you exit Fbvnc with Fn+Shift+Q.
Lastly, does anyone have any mplayer tips/tricks for this setup? (I must admit that I haven't even istalled mplayer yet - can I expect problems with the vnc setup? Will mplayer bypass vnc and use the framebuffer directly?)
I have compiled a mplayer with framebuffer support and it works rather fine. However, I still don't manage to change resolution to 320x240 with should avoid some software scaling.
I'm also trying to compile an X server directly for the framebuffer.
-
I put Debian on my 3000. The only major issue I have with it is that the area of the touch screen it reads while in fbvnc is a small corner of the full screen. Did no one else have that problem? It's unusabe like that.
TronDD.
EDIT: I stumbled upon the solution. If anyone else has the problem, remove /home/etc/fbvnc-calibration.conf and start fbvnc. It'll have you calibrate the touch screen.
-
how do I install bluetooth and wifi cf cards on the 3000 running debian? I am totally new to linux.
-
In fact it it's not so difficult to get pdaxrom running on c3000. I have it on my c3000 after a great time of hacking/tweaking. You have to get C3000's hard drive initialized. It's not like a PC PCI HD, it's connected as a PCMCIA device so you have to get up and running the whole PCMCIA susbsystem prior the booting from the HD. The rest is pretty straightforward, I would say even easier than with cx00 series, because you can forget about different flash rom sizes etc.
Could you provide more details what you had to do to get pdaxrom to work? How did you get the pcmcia subsystem started?
I'm considering doing some hacking myself, but any headstart you can give me would be nice
What will happen if I just install pdaxrom on my c3000? Restoring shouldn't be a problem, right?
-
In fact it it's not so difficult to get pdaxrom running on c3000.
(..)
The only problems I found so far are:
1. screen calibration doesn't work. The pdaxrom calibration utility doesn't work with c3000 frame buffer driver anymore...
Milan
You could work around this using the fbvncserver setup (server+client) used by pocketworkstation. At least it will give you a working X setup
-
Why are you guys using fbvnc?
m
-
Why are you guys using fbvnc?
m
Because, as epxlained, calibration does not work with the standard X server
-
So, if you didn't use it, then you wouldn't be able to tap items on the screen?
And you're connecting to fbvnc as local loopback?
Sorry, I'm very new to this.
-
So, if you didn't use it, then you wouldn't be able to tap items on the screen?
And you're connecting to fbvnc as local loopback?
Correct, You'd have no mouse, basically (which tends to be usefull with X apps
-
Gotcha. Thanks.
I don't recall FBVNC being part of the HOWTO. Did I miss something?
-
I can't understand why fbvnc can work well with the c3000 and not X11 ... ok the x11 version hacked by pdaXrom's team is too much ATI W100 accelerated but can't we have an "older" version wich would'nt be that much optimised and would run just fine ? I think having a framebuffer enabled X11 instead of having to run a vnc server and then a vnc client would run better even if not really optimised ... Just my 2 cent
-
hello, could someone please tell me how is the performance of firefox on Debian on C3000 ? on this thread : https://www.oesf.org/forums/index.php?showtopic=10257&hl= (https://www.oesf.org/forums/index.php?showtopic=10257&hl=) they say that firefox takes 1'20" to load on a C750 ... Thanks ! Pierre
-
hey everyone,
i'm still very new to my c3000 and linux especially. (a friend of mine installed linux for me on my desktop computer and i can figure a few things out myself but i'm not an expert)
i'm wondering how easy would it be to take debian off of my c3000 or how easy it would be to clean my system and refresh it back to defaults after i've installed debian?
is their a guide out there that shows how to?
thanks
-
i run a zImage from a freind from stayla.com to enable the GPRS card i had. this is very important to me. however i am at a roadblock in creating a miniworkstation i crave so much. will this interfer with this newkernal? or is the same suppport embidioedin the steyoa kernal available with this full debian!
thanks for qreat work!
John
-
Nice work on the HOWTO, etc. I got Debian running on my 3000 without any problems.
Only one problem that I've seen - how do I simulate right-mouse clicks? From what I've seen on some fbvnc pages, I should be able to press the ADDRESS key while clicking, to simulate one. But that doesn't work. Nor does FN-OK toggle the backlight.
I presume that this is a keymap issue - but I'm lost. Any suggestions?
Thanks!
-
FN+Ok works if you've installed the 'backlight' script referenced on this page (http://www.eleves.ens.fr/home/leurent/zaurus.html). There's a couple other useful scripts there too.
I have no idea how to get right or center clicks working.
Can't get wireless set up either. Still trying to figure out which scripts I need to edit and which drivers I need to copy over. Especially difficult as the keymapping wrt vi doesn't seem to work properly.
Also, if anyone has any idea how to get a larger font in aterm (I've found out how to change every font but that one) I would really appreciate it. My eyes are almost 40 years old and the default font is just too darn tiny.
-
Also, if anyone has any idea how to get a larger font in aterm (I've found out how to change every font but that one) I would really appreciate it. My eyes are almost 40 years old and the default font is just too darn tiny.[div align=\"right\"][a href=\"index.php?act=findpost&pid=72236\"][{POST_SNAPBACK}][/a][/div]
Edit ~/.Xdefaults and add a line like this:
aterm*font: -*-clean-medium-r-*--14-*-*-*-*-60-*-*
You can use a program like xfontsel to generate X11 font lines in a more user friendly way.
-
Nice work on the HOWTO, etc. I got Debian running on my 3000 without any problems.
Only one problem that I've seen - how do I simulate right-mouse clicks? From what I've seen on some fbvnc pages, I should be able to press the ADDRESS key while clicking, to simulate one. But that doesn't work. Nor does FN-OK toggle the backlight.
I presume that this is a keymap issue - but I'm lost. Any suggestions?
Thanks!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=72206\"][{POST_SNAPBACK}][/a][/div]
Middle and right clicks aren't very clean. You have to jump through some minor hoops. Fbvnc has the following special key combos on the C3000:
Fn + Calandar -> zoom out
Fn + Address -> zoom in
Fn + Mail -> cycles 3 mouse types
Fn + Home -> rotate display
Fn + Menu -> toggle OSD
The mouse indicator on the OSD shows which mouse type you have selected with 0 dots, 1 dot, or 3 dots. They function as follows:
0 = Calandar -> left click | Address -> middle click | Mail -> right click
In this mode, the keymap is a bit messed up which is really inconvenient.
1 = Tapping the screen -> left click (This is the default mode, I believe)
3 = Tapping -> left click | tapping + Address -> middle click
-
Thanks everyone for all the great information. I managed to get debian up and running pretty quick on my unit and am starting to figure it all out.
One thing I realized is that you can start Vncserver from inside a terminal window in QTopia. Once I did that I was able to connect to it over the USB from my laptop and ended up with the QTopia display on the C3000 and the debian display on the laptop. Then I tried also running Fbvnc from inside the terminal window and it said ...
"You appear to be running Qtopia. Unless the Qtopia VT switching bug has been fixed on your system, fbvnc won't be able to activate. If you get an error on starting, terminate Qtopia and try again from the console:"
Then it gave the instructions for starting it the way we've been doing and ends up at the password prompt. Entering the password doesn't show any problems. This is interesting, but I don't know what to do to be able to switch the display between fbvnc and QTopia. Anyone have a clue? Could it actually do this?
Also managed to trash the WiFi stuff (separately from installing debian). Now have it to where it loads the prism2_cs module, but wavelan-ng is still having problems. Needed something else to do anyway.
Chuck
-
Well, the original environement (QTopia) is still present if you need it, but it isn't run at all when you use the debian system (well, the sharp kernel is still used). The debian comes with it's own X server, and you can run any windows manager you like.
If you want to get back to QTopia, you'll have to reboot the zaurus. There is maybe a better way, but I don't need it so I haven't searched in that direction.
Hi Again Newbix,
After forgetting the root password and not knowing the emergency linux login. (Remove battery, hold down d+b ). Then managing to brick my zaurus, then debrick it, I back with debian,
Anyway in my travels I found out how to go from QTopia->Debian->QTopia->Debian etc without reboot, uptime is important! [Reboot sounds like another OS I dont use.]
[Exit QTopia - as root]
__________
#!/bin/bash
echo a >/home/sharp/etc/launch.default
killall qpe
killall qpeserver
killall qtsamba
/home/root/usr/bin/chvt 2
/home/root/usr/bin/chvt 1
exit 0
__________
This will give you a linux promot to login and launch debian, with Vncserver, Fbvnc. [Found this on a google cache of an old forum. ]
[Exit Debian - as root]
__________
#!/bin/bash
echo a >/home/sharp/etc/launch.default
killall Xvnc
exit
__________
Will launch Qtopia.
Now to find a battery applet in IceWm.....
My Escape (cancel key) does no appear to be mapped the same way to give escape while in debian - but I sure this is trival,
Regards,
Brendan
-
i've tried both Debian and Debian w/X-QT and for now i find that Debian-X/QT is simply great and easy to use, as you can swap from original Sharp Rom and Debian-X in a single tap, and use the sharp rom facilities (network, cards, ...)
did someone succeed in making single Debian as easy to use ?
-
Thank Newbix for your quick HOWTO, I have a debian on SD card which turns correctly on my SL-C1000.
For the keyboards C1000/C3000, use fbvnc-hack with the option -hw c3000 and not -hw c700.
-
Hi group, good day!
Anybody knows if you install Debian, Is it possible change the screen orientation automatically when you rotate the screen??
I mean change from 640x480 to 480x640 when you rotate the screen.
Could it be possible??
Best Regards,
-
- the on/off button does not work. Pressing it does not suspend the device, but rrunning zsuspend does (and after that, the on/off switch *does* unsuspend!)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=60048\"][{POST_SNAPBACK}][/a][/div]
Link zsuspend to /usr/local/bin/. It's called by fbvnc from outside the chroot when it detects the on/off button being pressed, and since by default it is in /hdd3/debian/usr/local/bin (which isn't in your PATH) it doesn't find it.
-
Is the source available for the "hacked" fbvnc? i'd like to take a look at the keymappings and such.
Working real nice on my C1000!
Thanks!
jason
-
By the way... opie-keypebble (available in OZ 3.5.3) is working nicely as a vncviewer... only strange thing I've found so far is that the enter key sends ctrl-a instead of enter. You can juse ctrl-j as a workaround, though, but I'm hoping to take a look at why that is.
jason
-
Nice -- three posts in a row. Sorry about that. (yes I know edit post exists)
Source & info page for 'hacked' fbvnc with c3000 keys:
http://www.tcp-ip.or.jp/~naorou/linuzau/fbvnc.html (http://www.tcp-ip.or.jp/~naorou/linuzau/fbvnc.html)
jason
-
got it
-
Can someone post a screenshot of how debian with fbvnc looks like? (it should look the same right?)
I am using it with X/Qt and sometimes via keypebble, but was just wondering what I could gain by using it with fbvnc
-
Can someone post a screenshot of how debian with fbvnc looks like? (it should look the same right?)
I am using it with X/Qt and sometimes via keypebble, but was just wondering what I could gain by using it with fbvnc[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=79968\")
Screenshot: [a href=\"http://sphinxos.mikeasoft.com/sos3000.jpg]http://sphinxos.mikeasoft.com/sos3000.jpg[/url]
Bad webcam image: http://sphinxos.mikeasoft.com/c3000.jpeg (http://sphinxos.mikeasoft.com/c3000.jpeg)
-
Can someone post a screenshot of how debian with fbvnc looks like? (it should look the same right?)
I am using it with X/Qt and sometimes via keypebble, but was just wondering what I could gain by using it with fbvnc[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=79968\")
Screenshot: [a href=\"http://sphinxos.mikeasoft.com/sos3000.jpg]http://sphinxos.mikeasoft.com/sos3000.jpg[/url]
Bad webcam image: http://sphinxos.mikeasoft.com/c3000.jpeg (http://sphinxos.mikeasoft.com/c3000.jpeg)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=80018\"][{POST_SNAPBACK}][/a][/div]
wow, that looks nice. what window manager is that?
-
wow, that looks nice. what window manager is that?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=80022\"][{POST_SNAPBACK}][/a][/div]
IceWM, it comes as the default on the pocket workstation debian image, the theme I'm using is kliin. IceWM makes a lot of sense for the Zaurus, since it's lightweight and doesn't require any right/middle clicking.
-
Juste Question..
I have install Debian in Chroot in my SL-C3000
In this Chroot i launch Xvnc
From my PC i can connect to Debian in Xvnc but ..
I have install a Vnc Client in my Zaurus ( Sharp Rom ) but it can't connect to the Xvnc Server.
Oncle-dave
-
Just a Add'ons of my Question ...
I launch debian in chroot with Xvnc : Ok
When I launch /usr/local/bin/fbvnc
It ask my the Passwd : Ok
And then The Error ..
Can't open /dev/ts: No such file or directory
???
Oncle-dave
-
The Next of my Story..
I create /dev/ts in chroot
And /dev/fb0 and /dev/tty3
But when i launch fbvnc no windows open ????
Oncle-dave
-
The Next of my Story..
I create /dev/ts in chroot
And /dev/fb0 and /dev/tty3
But when i launch fbvnc no windows open ????
Oncle-dave
[div align=\"right\"][a href=\"index.php?act=findpost&pid=83497\"][{POST_SNAPBACK}][/a][/div]
try using keypebble instead. i had no problems at all with it.
-
Thank You It work.
Oncle-dave
-
I have installed the Debian system on my C-3000 following the instructions by Newbix -- thanks for them!
But I have the following problem: the On/Off button does not work at all, even running as root the zsuspend script as in the Newbix page. Running the script gives the errors below and blanks the screen.
Using the On/Off button does not anything, but if the external charger is either connected or disconnected the screen comes up again. As it is, I have no way of shutting down the device, and I cannot unsuspend it without having the charger, what is not very convenient when travelling...
Error messages from the zsuspend script:
Cannot access the Hardware Clock via any known method.
Use the --debug option to see the details ...
cat: /proc/sys/suspend: Invalid argument
Cannot access the Hardware Clock via any known method.
Use the --debug option to see the details ...
Running
hwclock --debug --systohc
gives
hwclock from util-linux-2.12
hwclock: Open of /dev/rtc failed, errno=2: No such file or directory.
No usable clock interface found.
Cannot access the Hardware Clock ...
I used zaurus-debian-big-v0.18.tgz (not v0.17).
Any hint on what to do?
-
> Any hint on what to do?
Newbix does mention later on that fbvnc should be run as root.
Anyhow, I've followed the directions before without any problems occuring, so make sure that you followed everything correctly.
-
> Any hint on what to do?
Newbix does mention later on that fbvnc should be run as root.
Anyhow, I've followed the directions before without any problems occuring, so make sure that you followed everything correctly.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=88019\"][{POST_SNAPBACK}][/a][/div]
Thanks, but I was root when ran both fbvnc and the zsuspend script...