Actions

OLPC Sound modem

From HacDC Wiki

Revision as of 06:56, 8 April 2011 by Haxwithaxe (talk | contribs)

The Easy Way

  1. Get DebXO running on a XO with the Terminal Activity
  2. Update it as per the DebXO wiki
  3. # apt-get install soundmodem ax25-apps ax25-tools
  4. # mkdir /etc/ax25/
  5. Fake /dev/dsp
    # modprobe snd-pcm-oss
  6. # soundmodemconfig
  7. configure the settings to your requirements then quit soundmodemconfig
  8. insert earplugs :P
  9. # soundmodem /etc/ax25/soundmodem.conf

The Right Way

WARNING: This is just a brain dump at the moment

  1. Upgrade to the latest official build
  2. # yum install soundmodem ax25-apps ax25-tools kernel-devel gcc make ncurses-devel rpmdevtools yum-utils
  3. # rpmdev-setuptree
  4. # yumdownloader --source kernel
  5. # yum-builddep kernel-*.src.rpm
  6. # rpm -Uvh kernel-*.src.rpm
  7. # cd ~/rpmbuild/SOURCES
  8. # tar jxvf olpc-2.6.tar.bz2
  9. # cd linux-<version>
  10. # cp ../kernel-xo1-custom.config .config
  11. # make menuconfig
  12. # make modules && make modules_install
    (this might not be required if the rpm works)
    # make binrpm-pkg && rpm -i ~/rpmbuild/RPMS/i386/kernel-*-i386.rpm
    (this might be what is needed)
  13. ?maybe?
    # cd /boot/ && rm vmlinuz && ln -s vmlinuz-<your build version> vmlinuz && rm System.map && ln -s System.map-<your build version> System.map
  14. reboot
  15. # insmod /lib/modules/<your build version>/kernel/net/ax25/ax25.ko
  16. # insmod /lib/modules/<your build version>/kernel/drivers/net/hamradio/<protocol>.ko
  17. # mkdir /etc/ax25/ && soundmodemconfig
  18. insert earplugs
  19. # soundmodem /etc/ax25/soundmodem.conf

Todo

  • figure out what steps are absolutely required for the modules to load