My goals for h2200 running Opie are to make (04 mar 2007): 
  • the keys and joystick working (keys work - the joystick works but with small issue)
  • Hibernation/Suspend DONE
  • Battery indicator show correct values DONE
  • irda supported (works - needs some love with starting)
  • Full multimedia support - ie playing movies with mplayer DONE
  • Get rid of screen inaccuracy in Opie (to be done)

How to get these things working:

The idea is to upgrade the kernel to version >= 2.6.16-hh8. (Since then the keys support was modified so that keys are correctly supported in familiar on h2200. Upgrading to kernel version to > 2.6.17-hh1 will result with irda support.) Upgrades are also necessary on Opie's side to correctly recognise the keys.

The practical part: what is needed - current image of familiar with Opie installed on h2200 and properly configured internet connection. Then:

1. Update your ipkg index. This is needed and kernel upgrade requires modutils  

ipkg update ; ipkg upgrade 

2.Install necessary modules to mount a fat partition :

ipkg install kernel-module-nls-cp437-2.6 kernel-module-nls-iso8859-1-2.6

Execute

depmod 

to finish the installation of the modules.

3. Mount the fat partition :

This command mounts first partition of SD card. If Your fat partition is on CF card or on different partition you need to modify it....

mount /dev/mmcblk0p1 /media/card/

(if it gives you trouble try looking at logread output...)

4. Install new feed containing necessary modules.

wget http://delta-9-thc.czuby.net/~yans/hh/michals-feed.conf -O /etc/ipkg/michals-feed.conf

Note that this should be all in one line - the same goes for the rest of commands below.

5. Upgrade the system:

ipkg update ; ipkg upgrade

Don't worry about errors like :

update-alternatives: Error: cannot register alternative lsmod to /bin/lsmod since it is already registered to /sbin/lsmod
 System startup links for /etc/init.d/modutils.sh already exist.

6. Update the kernel image that is called by haret:


cp /boot/zImage /media/card/zImage

If it all went clear you are ready to reboot and at next start the keys, joystick and power button should work... 

Before restarting make sure that everything is written to the card (ie. "sync" command). 

NOTES: 

The status is for january 2007. I have tested the procedure of kernel upgrade both for GPE and Opie images of fresh familiar install. The rest has been tested with Opie.

Currently known issues:

  • joystick is a kind of "rotated"
  • irda works, but opie can sometimes hand when ie. sending a contact via irda (needs some investigation)
  • wlan cards may not work :( (Thank's Thomas Eitzenberger for pointing it out). (Actually the automatic IP adress obtainging is the porblematic part - works with manual IP settings)

As soon as I find how to get rid of these I will update this recipe. 

 

If you have questions/solutions/interesting observations or would like to leave some  feedback pls don't be afraid to mail me at: mpanczyk@microsoft.com but substitute the domain with gmail :)