Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Terrence

Pages: [1]
1
C1000/3x00 General discussions / Open Bsd On C3000
« on: May 10, 2005, 04:05:14 pm »
How do you get the rotated screen to work on OpenBSD? I assumed that
merely rotating the screen during xwindows would do it, but nope.
Also how does one get a usb connection to a desktop working?
and how do you mount:
sd card
cf card
usb mass storage
Note that your normal linux and vfat partitions can be mounted from within
the BSD partition as /dev/wd0i /dev/wd0j or /dev/wd0k or whatever letter
they happen to be.

2
C1000/3x00 General discussions / Where To Get English Fonts
« on: May 10, 2005, 12:20:49 pm »
Quote
The .qm files on the Z are for translating software from English to Japanese. To translate software (aka Un-Translate) you *remove* the .qm files. The only files I have in the en directories on either of my Cacko installations are the .qmid files used to translate the originally Japanese media player software from Sharp.

To put it another way, your destop messages are originally in English. When you set your locale to JA it notices the .qm files and translates everything. When you copied all the .qm files from JA to EN, you're telling the English locale to translate to Japanese. Try removing your .qm files from your EN directory.

EDIT: After making the change, you may have to reboot, or restart Qtopia. Changing locales from EN to JP and back may also work.
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

I managed to get the english fonts back in a strange way. First I screwed everything up
by trying to install OpenBSD. Then I used [a href=\"http://www.xlfag.com/zaurus/]http://www.xlfag.com/zaurus/[/url] to reinstall my
zaurus from scratch which worked beautifully and gave me not only my english fonts back
but even some extra software that I didn't have before (of course I lost the various things
that I had installed such as c++ complier. Then I used fdisk to reduce the vfat partition
to about 1 gig. Then set up an A6 openbsd partition with the left over space after re-sizing
the vfat partition. Finally I used http://www.openbsd.org/zaurus.html to install OpenBSD on
the new hda4 partition. Everything works great!
One note though. When you start to install BSD on the new partition any reboot will not
immediately boot hda1 or hda4, you will get a boot> prompt.
pressing enter boots hda4 (which is set to active)
typing reboot boots hda1 (which is the normal Qtopia thing)
actually you could just type `r' instead of `reboot' since it don't
give you much time...

3
C1000/3x00 General discussions / Where To Get English Fonts
« on: May 09, 2005, 12:05:01 pm »
Quote
Quote
Quote
There is nothing in my /hdd2/QtPalmtop/il8n/en directory except poqetp.qm which is not really required unless you have openoffice presentation viewer installed.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=76909\"][{POST_SNAPBACK}][/a][/div]


Damn. How can I get my english fonts back? Now all the applications and pulldown
menus just have little boxes instead of letters. I can't do anything! I don't remember
what is on the pull down menus since I have only had the C3000 for a month or so.

Does anyone know how to get the english qm or qmid files to replace the Japanese
ones that come on the rom?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=77865\"][{POST_SNAPBACK}][/a][/div]

I don't think it's a font problem. Your locale is probably set wrong.

Edit /home/zaurus/Settings/locale.conf and make sure lang = en and then reboot
[div align=\"right\"][a href=\"index.php?act=findpost&pid=77892\"][{POST_SNAPBACK}][/a][/div]

No. My locale is not set wrong. I deleted the .qm files that translate the
desktop messages into english. If you don't believe me simply go to your
/hdd2/QtPalmtop/il8n/ directory and type cp ja/* en/
This is essentially what I did. You will see that you have no more english
fonts for your desktop apps regardless of your locale.
The reason that I stupidly did this was that I thought it would be interactive
and I could choose not to overwrite any of them but would add the japanese
version of the missing ones. This was because I was getting some errors
with some of the apps saying that they couldn't find the fonts. I thought I
could get rid of the errors by just putting in the japanese fonts. It worked.
I got rid of the errors. Unfortunately I got more than I bargained for and
replaced all of the english .qm files with the corresponding japanese ones
and now I can't read any of the pulldowns or popups on any of the apps.

What I need is simply to get the original english .qm files from
the /hdd2/QtPalmtop/il8n/en directory from someone.

4
C1000/3x00 General discussions / Where To Get English Fonts
« on: May 02, 2005, 09:23:53 am »
Quote
There is nothing in my /hdd2/QtPalmtop/il8n/en directory except poqetp.qm which is not really required unless you have openoffice presentation viewer installed.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=76909\"][{POST_SNAPBACK}][/a][/div]


Damn. How can I get my english fonts back? Now all the applications and pulldown
menus just have little boxes instead of letters. I can't do anything! I don't remember
what is on the pull down menus since I have only had the C3000 for a month or so.

Does anyone know how to get the english qm or qmid files to replace the Japanese
ones that come on the rom?

5
C1000/3x00 General discussions / Where To Get English Fonts
« on: April 25, 2005, 11:52:02 am »
I have lost all of the english fonts in from my C3000. I stupidly deleted them
(relying on an rm -i interactive which didn't exist). Anyway, I want to find out
how to get them back. Could someone tgz their /hdd2/QtPalmtop/il8n/en/
directory and email it to me, or else let me know where I can download all
of the qmid files?

6
Linux Issues / Compiling Programs On The Sl-c3000
« on: April 07, 2005, 12:04:28 pm »
Quote
Nice info. Thanks. I am about to get started to compile stuff too so this info is useful.

For your problem, you could just remount the root filesystem as rw, copy gawk to /bin and remount it back to ro
[div align=\"right\"][a href=\"index.php?act=findpost&pid=73954\"][{POST_SNAPBACK}][/a][/div]

Well that doesn't work since the root filesystem can't be unmounted. It will
say that it is busy. However, perhaps one could restart in single user mode
and do it that way.  I have found a software method of solving the problem
by going into the Makefile and setting AWK=/usr/local/bin/gawk and it seems
to work. I had to change several of the makefiles down the directory tree
though.

All said, I am really starting to love this little zaurus. It really is just like a
full sized laptop. I have a couple more questions that someone may be
able to help with though:

1) How do I create an ipk package file when I have successfully compiled
something so that I can let other people use that rather than spend the
hours it has taken me to modify the source code and makefiles.

2) What is the equivalent of x11 on this machine so that I can tell the
software to use the gui.

USB Storage:
One more hint: If you are connecting your zaurus to your other linux
box via a usb cable you will need the following info:
First you connect the usb cable. The zaurus will give you two messages
it will first say `AlertUSBStorage'. Just click `Yes' here. Then it will say
`AlertUSBStorageConnection', here you have to unplug the usb from the
zaurus, then click `ok' and then plug the usb back into the zaurus. Then
you will get a screen indicating that it is communicating with your pc.
It is crazy that it needs this kludge, it is like the old TV that
you had to bang your fist on the side to get a clear picture - but whatever
works I guess.
On the pc you will need to type `dmesg' to find out what device has been
assigned to the zaurus. It will be a usb mass storage device. If you have
ever used flash cards or usb digital cameras on your pc then you will
have all of the necessary kernel modules already running on your pc
and should have no problem (otherwise you will need to `modprobe usbstorage').
So once you have the correct device assignment you can mount the
zaurus by (for example with /dev/sda):
mount -t vfat /dev/sda /mnt/zaurus
if you wanted to mount it on /mnt/zaurus (which you should create first).
Then, and this is IMPORTANT, you should always transfer files to the
zaurus by copying them to the Documents directory. In other words
if I wanted to copy a file `foo' to the zaurus I would type
cp foo /mnt/zaurus/Documents/
The reason is that if you copy it straight to /mnt/zaurus you may run
into a problem that I ran into when I first naively tried it. Also make
sure that you unmount BEFORE disconnecting the usb cable and
wait until the umount completes (which may take some time if it has
to finish copying the files). The reason for these things is that hdd3 on
the zaurus is a vfat system (which you may want to reformat to an ext2
by mkfs.ext2, but then you won't be able to mount on a windows pc).
So I didn't do the above and ended up corrupting the FAT table on hdd3.
So I had to reboot into single user mode (the manual tells how to do this
by taking out the battery and performing some acrobatic gymnastics with
the keyboard and the battery) then I formatted /dev/hda3 by
mkdosfs /dev/hda3
followed by a reboot and reinstalling all my stuff. argh. So the moral is,
be carefull when transferring files and don't rush things.

There are many other things I could say, but it is hard to remember exactly
what kludges you used over the course of about 20 hours. If I have to use them
more than once I will mention them. (for example the coreutils preinstalled
doesn't contain many of the programs that compiling with make sometimes
requires, like cmp and comm and ed. So I had to find them or else change the
source code to use something else, like sed).

7
Linux Issues / Compiling Programs On The Sl-c3000
« on: April 06, 2005, 03:08:01 pm »
I have been installing all of my favorite software on my SL-C3000 and
I have run into a snag. When running make to install LaTeX it complained
that my version of gawk was broken and that I should install a newer
one. This I did. The problem is that hdd1, which contains /bin is a read
only filesystem and my new version of gawk is in /usr/local/bin
I changed my .bashrc file so that /usr/local/bin appears before /bin in
the PATH and so `which gawk' returns:
/usr/local/bin/gawk
This is fine, but I don't think that `make' is seeing the new one since
I am still getting the same error. Is there any way that I can tell `make'
to use the newer one?

Something unrelated to my problem but that may be helpful to those of
you who are compiling  things for your Zaurus SL-C3000 is that some of the
librarires in /lib  don't have all of the necessary simbolic links. For example,
libdl.so.2 exists, but there is no libdl.so linking to it. So that when I
try to compile certain programs it doesn't find the library. I fixed this
by simply:
ln -s /lib/libdl.so.2 /usr/lib/libdl.so
and then ldconfig -v
So if you find errors saying that the compiler can't find certain functions
and you know that the correct libraries are there, it may be that there
isn't the proper simbolic links set up. The read only nature of the root
filesystem makes correcting these problems a little annoying.

And one last thing: The /tmp directory is, by default, way too small for
compiling large projects. It is only 1 mb and you will get errors saying
that the disk is full in the middle of compiling stuff. The fix that I use is
to bind an additional tmpfs to it with:

mount tmpfs /tmp -t tmpfs -o size=8m

to add an extra 8mb to the space.

Pages: [1]