Multimedia Cards

Aside from when we’re streaming, we use BUG as an MP3 and portable movie player. To save space on the Boot Card, we build special Multimedia Cards that contain the multimedia software as well as media to be played. These are Compact Flash cards.

You only have to actually install the software once. Then, you can build an archive so that making additional media cards consists of just unzipping the archive onto a new card. You can, of course, install the software from scratch with each new card you prepare, but you’ll have to use the –force-reinstall switch

Important Note: We have had problems with applications installed on memory cards. It seems that the mounter/unmounter does not reliably link and unlink the applications on the cards automatically. So, we’ve developed the habit of doing this manually, by issuing the “ipkg-link mount /mnt/cf” and “ipkg-link umount /mnt/cf” commands after mounting and before unmounting the cards. There is also an Opie-SH script, the Linkmounter, to allow you to do this from the GUI.

To prepare card from scratch:

  1. Remove the installation card, dock the Zaurus, and make sure you have internet connectivity.
  2. Insert CF card that will become the Multimedia Card
  3. Execute: umount /mnt/cf
  4. Execute: mke2fs /dev/hda1
  5. Eject/Reinsert card
  6. Execute: ipkg install -d cf mplayer
  7. Execute: ipkg-link add mplayer
  8. Execute: ipkg install -d cf xmms-embedded
  9. Execute: ipkg-link add xmms-embedded
  10. Mount Z nfs to desktop
  11. cd to Z’s /mnt/cf (from NFS mount)
  12. Execute (on dekstop): tar cvpszf Destination/MediaCard.tgz –exclude=lost+found *

To make new card from archive:

  1. Remove the installation card, dock the Zaurus, and make sure you have internet connectivity.
  2. Insert CF card that will become the Mulimedia Card
  3. Execute: umount /mnt/cf
  4. Execute: mke2fs /dev/hda1
  5. Eject/Reinsert card
  6. mount Z nfs to desktop
  7. cd to Z’s /mnt/cf (from NFS mount as root)
  8. Execute (on desktop): tar cvpszf Destination/MediaCard.tgz –exclude=lost+found *

See Also:

MPlayer
XMMS