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.

Topics - jh

Pages: [1]
Zaurus - pdaXrom / Rc11 Sdk + Libiconv
« on: September 21, 2005, 12:48:20 pm »

I've got rc11 running on my C1000 and I'm trying to get some things recompiled that I had working on rc10.  I've got the new SDK but it has a requirement for which I don't have installed and wasn't in the previous SDK.  So, a couple questions:

Is there a reason for the new dependency?

Can I use the previous SDK for rc11?



Zaurus - pdaXrom / Cross-compile Hints / Scratchbox?
« on: August 22, 2005, 07:03:19 pm »

Just looking for any tips/tricks/hints, etc... for cross-compiling.

I've had pretty good luck so far using the latest sdk from the pdaXrom folks... well-behaved configure scripts work fine.  I've compiled and packaged the latest libxml2, libxslt, some python modules, etc...

Every now and then, though, I find a configure script that doesn't behave well... specifically, it tries to compile test applications which, of course, fail because I'm cross-compiling.  What do folks usually do to get around this?  In the past I've edited by hand the configure script, but in the library I'm trying to compile now, that's pretty painful (there are a lot of them).

Also, has anyone looked at using scratchbox for pdaxrom compiling?  I played around with it a little bit trying to setup a gpe compile environment and it seemed pretty slick.  It might be worth pursuing as it lets you compile "natively" inside the environment.  Pretty slick.


Angstrom & OpenZaurus / New Keymap For C1k
« on: June 02, 2005, 06:17:59 pm »

With some help from the #oe folks a little while ago I've been tweaking the keymap for my C1000 running OZ/Opie 3.5.3.  My modifications are:

 * Enable right shift key
 * Remap the two japanese keys near the bottom left of the keyboard: the left one is mapped to tilde and the right one is mapped to / (slash).  I found this to be helpful when typing directories.
 * 'Home' key mapped to F12 so it works in Opie
 * Scroll switch on the side (used in portrait mode) is mapped to up and down and the "Ok" key  is mapped to 'Return' and the "Cancel" key is mapped to Escape

Unfortunately I still haven't gotten the on/off button to work... I tried mapping it to F34 which seems to be the 'Power' key in qte, but that didn't work.  In the meantime I've mapped the 'mail' key in the Buttons applet to the suspend call which works just fine.

I've attached my 'full-keys' output.  In order to install the keymap you need to have the console-utils ipk installed.  In order to install that ipk you'll have to enable force-overwrite since it includes a couple binaries that will replace the busybox version (chvt is one, can't remember the others).  You can always relink those binaries to busybox if you have problems.

And finally, I modified my /etc/init.d/ and added a call to loadkeys which loads up the keymap before opie is started (anytime you change the keymap you must restart opie).  That addition:
Code: [Select]
if test -e /home/root/full-keys    
    /usr/bin/loadkeys /home/root/full-keys

Someday I'll generate a config that can be used as a patch to the kernel, I just haven't quite gotten there yet.

Hope this is helpful for folks...


Angstrom & OpenZaurus / Python 2.4 In Oz 3.5.3
« on: June 02, 2005, 05:48:25 pm »

I'm writing an app for my C1k + OZ 3.5.3 with python and have stumbled across a few things that needed tweaks, and one thing I can't get past:

I'm using urllib which imports cookielib which imports logging which imports calendar which imports datetime (whew!) all of which are missing (other than urllib) from the for the netclient package.

Adding them to the package has been easy (patch is trivial but I can generate it if needed) except for datetime which is a compiled library.  I noticed that none of the .so files that should be in lib-dynload are actually there.  Checking the log reveals:

Code: [Select]
ccache arm-linux-gcc -march=armv5te -mtune=xscale -shared -L/data/openembedded/akita/tmp/staging/arm-linux/lib -Wl,-rpath-link,/data/openembedded\
/akita/tmp/staging/arm-linux/lib -Wl,-O1 -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I/data/openembedded/akita/tmp/work/python-2.4.1-ml1/Pytho\
n-2.4/Include build/temp.linux-i686-2.4/data/openembedded/akita/tmp/work/python-2.4.1-ml1/Python-2.4/Modules/datetimemodule.o build/temp.linux-i6\
86-2.4/data/openembedded/akita/tmp/work/python-2.4.1-ml1/Python-2.4/Modules/timemodule.o -L/data/openembedded/akita/tmp/staging/arm-linux/lib -lm\
 -o build/lib.linux-i686-2.4/                                                                                                          
*** WARNING: renaming "datetime" since importing it failed: build/lib.linux-i686-2.4/ ELF file OS ABI invalid                        

This is an up-to-date (r237) bitbake, latest pull from bk, using openzaurus-3.5.3 as the distro in my local.conf.



Angstrom & OpenZaurus / /etc/terminfo for OZ 3.5.1
« on: September 22, 2004, 06:16:28 pm »
Hi folks,

Not sure what the best way of getting this first into OE and then into OZ is, but...

In order to use the micro-emacs app (and maybe other stuff), you'll need an /etc/terminfo directory with some terminfo files.  I've tar'ed up the directory from my OZ 3.3.6p1 image here:



OpenZaurus/Opie/Qtopia / iTunes Browsing -- arm alignment issues
« on: April 29, 2004, 04:30:56 pm »
Hi folks,

So I thought I\'d see if I could get libopendaap to compile for the Z (it\'s a library that allows you to browse iTunes shares).

Being the OE fan that I am, I hacked up a quick .oe and retrieved the source, ran configure, and started compiling.  However, the clever libopendaap folks have put in a compile-time check for correct struct alignment which fails for arm-linux-gcc (version 3.4).

I\'m not too familiar with the ARM alignment requirements... is it something that can be forced (i.e., don\'t auto-align), or is it something i\'d have to work around in the code?  The structs are for the network packets.  

Anyone have suggestions on what to try?  I\'ll paste the .oe below...


Code: [Select]
DESCRIPTION = "iTunes protocol"                                                                                                                                                                                                        

SECTION = "base"                                                                                                                                                                                                                        

PRIORITY = "optional"                                                                                                                                                                                                                    

MAINTAINER = ""                                                                                                                                                                                                                          

LICENSE = "GPL"                                                                                                                                                                                                                          

RDEPENDS =""                                                                                                                                                                                              

DEPENDS = "virtual/libc"                                                                                                                                                                                                        


SRC_URI = ""                                                                                                                                                              


inherit autotools

Qt/Qtopia / PyQt D-Pad events
« on: March 30, 2004, 11:29:32 am »
Hi Folks,

I\'m working on a PyQt app that I\"m using to control mplayer while I listen to radio programs I\"ve recorded to mp3.  Basically I\'ve got a ListView with my MP3 files, some fast forward buttons, and a big ol\' play/pause button in the middle.

Usually, I guess, the ListView has the focus.  What I\'d like to do, though, is capture any of the events triggered by the directional pad so I can use them to control the playback.  I\'d like to fast forward when it\'s pushed to the right, etc...

Will those events by sucked up by the ListView, or will they be passed up, maybe to my application widget?  Any ideas on how I should capture those events?



Software / QCOP messages (KOrganizer/PI in particular)
« on: February 25, 2004, 02:36:41 pm »
Is there an easy way to find what messages can be sent to an application?  In particular, I\'d like to automate importing a vcalendar file into Ko/Pi (1.6.1a) via the command line.

Is it a matter of going through the code?  Or is there a way to get a list of supported messages from an app?



Software / PyGame Port?
« on: January 30, 2004, 12:54:11 pm »
Has anyone looked into porting the Python PyGame  library?  I\'ve found libSDL for the Zaurus, but it looks like libSDL-ttf would need to be ported, and maybe SMPEG.

Seems like Pathological might be fun.


Angstrom & OpenZaurus / OZ 3.3.5 + Sharp Camera?
« on: January 28, 2004, 11:43:08 am »

Just got my Sharp Camera CF but I can\'t seem to get it recognized by my OZ 3.3.5 install.  I\'ve found Mickey\'s opiecam, but I can\'t seem to find a sharpzdc_cs.o module for the kernel that\'s installed (2.4.18-rmx7-pxa3-embedix).  Am I not looking in the obvious places?  Opiecam runs fine, it just can\'t find the camera (and when I insert the camera, it\'s an unknown CF device).



Angstrom & OpenZaurus / Static while streaming mp3 to mplayer
« on: January 26, 2004, 10:25:53 pm »
Hi folks,

I\'m on a 5500 with a symbol/socket wlan CF and seem to be getting static when I use mplayer (or xmms-e) to listen to an mp3 stream.  Actually, it\'s any wireless network traffic that causes the static -- if I listen to an mp3 file on my SD card and hit a web page with konqueror, i get the static.

Has anyone else noticed this?  How about not noticed it, and if not: which wlan card are you using?  I\'m just wondering if it\'s the 5500 or the wan card.



Angstrom & OpenZaurus / Remount MMC card
« on: January 18, 2004, 06:39:31 pm »
Hi folks,

Just installed OpenZaurus 3.3.5 on a 5500.  It seems like when I suspend the Z, my MMC card (/mnt/card) isn\'t remounted correctly, if at all.  If I umount then re-mount the card, then it seems to be ok.

Is this normal?  It is an MMC (vs. SD) card, I\'m wondering if that has anything to do with it.



Cxx0 General discussions / C860/C760 -- Where to buy?
« on: December 23, 2003, 11:44:36 am »
Alright... coming up on the new year = new toy.  I\'ve seen folks posting about new C860\'s, where have you been buying them?  I\'m a US buyer, I guess I\'d prefer some English localization, but I\'m planning on dropping the X11 ROM on it.

Any first-hand experiences are appreciated!  Ebay\'s always an option, and I guess so is a C760 since they\'re the same hardware (for sure?)



Pages: [1]