Actions

OLPC Sound modem: Difference between revisions

From HacDC Wiki

No edit summary
Line 10: Line 10:
# <pre># soundmodem /etc/ax25/soundmodem.conf</pre>
# <pre># soundmodem /etc/ax25/soundmodem.conf</pre>
==The Right Way==
==The Right Way==
'''WARNING: This is just a brain dump at the moment'''
# [[OLPCUpdate|Upgrade]] to the latest official build
# [[OLPCUpdate|Upgrade]] to the latest official build
# <pre># yum install soundmodem ax25-apps ax25-tools kernel-devel gcc make ncurses-devel rpmdevtools yum-utils</pre>
# <pre># yum install soundmodem libax25 libax25-devel ax25-apps ax25-tools</pre>
# <pre># rpmdev-setuptree</pre>
# <pre># cd /boot/</pre><pre># rm vmlinuz</pre><pre># ln -s vmlinuz-<your build version> vmlinuz</pre><pre># ln -s System.map-<your build version> System.map</pre><pre># rm initrd.img</pre><pre># ln -s initrd-<your build version> initrd.img</pre>
# <pre># yumdownloader --source kernel</pre>
# <pre># yum-builddep kernel-*.src.rpm</pre>
# <pre># rpm -Uvh kernel-*.src.rpm</pre>
# <pre># cd ~/rpmbuild/SOURCES</pre>
# <pre># tar jxvf olpc-2.6.tar.bz2</pre>
# <pre># cd linux-<version></pre>
# <pre># cp ../kernel-xo1-custom.config .config</pre>
# <pre># make menuconfig</pre>
# <pre># make modules && make modules_install</pre>(this might not be required if the rpm works)<pre># make binrpm-pkg && rpm -i ~/rpmbuild/RPMS/i386/kernel-*-i386.rpm</pre>(this might be what is needed)
# ?maybe? <pre># cd /boot/ && rm vmlinuz && ln -s vmlinuz-<your build version> vmlinuz && rm System.map && ln -s System.map-<your build version> System.map</pre>
# reboot
# reboot
# <pre># insmod /lib/modules/<your build version>/kernel/net/ax25/ax25.ko</pre>
# <pre># insmod /lib/modules/<your build version>/kernel/net/ax25/ax25.ko</pre><pre># insmod /lib/modules/<your build version>/kernel/drivers/net/hamradio/<protocol>.ko</pre><pre># modprobe snd-pcm-oss</pre>
# <pre># insmod /lib/modules/<your build version>/kernel/drivers/net/hamradio/<protocol>.ko</pre>
# <pre># mkdir /etc/ax25/</pre><pre># soundmodemconfig</pre>
# <pre># mkdir /etc/ax25/ && soundmodemconfig</pre>
# insert earplugs
# insert earplugs
# <pre># soundmodem /etc/ax25/soundmodem.conf</pre>
# <pre># soundmodem /etc/ax25/soundmodem.conf</pre>
===Todo===
*figure out what steps are absolutely required for the modules to load

Revision as of 04:41, 9 April 2011

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

  1. Upgrade to the latest official build
  2. # yum install soundmodem libax25 libax25-devel ax25-apps ax25-tools
  3. # cd /boot/
    # rm vmlinuz
    # ln -s vmlinuz-<your build version> vmlinuz
    # ln -s System.map-<your build version> System.map
    # rm initrd.img
    # ln -s initrd-<your build version> initrd.img
  4. reboot
  5. # insmod /lib/modules/<your build version>/kernel/net/ax25/ax25.ko
    # insmod /lib/modules/<your build version>/kernel/drivers/net/hamradio/<protocol>.ko
    # modprobe snd-pcm-oss
  6. # mkdir /etc/ax25/
    # soundmodemconfig
  7. insert earplugs
  8. # soundmodem /etc/ax25/soundmodem.conf