Actions

OLPC Sound modem: Difference between revisions

From HacDC Wiki

m (Gatohaus moved page OLPCSoundmodem to OLPC Sound modem)
 
(2 intermediate revisions by 2 users not shown)
Line 13: Line 13:
# <pre># yum install soundmodem libax25 libax25-devel ax25-apps ax25-tools</pre>
# <pre># yum install soundmodem libax25 libax25-devel ax25-apps ax25-tools</pre>
# <pre># wget haxwithaxe.net/files/kernel-2.6.31.6-2.rpm</pre><pre># wget haxwithaxe.net/files/initrd-2.6.31.6</pre><pre># mv initrd-2.6.31.6 /boot/</pre><pre># rpm -i kernel-2.6.31.6-2.rpm</pre>At this point you can skip to insmoding the modules we just installed with the kernel as i have yet to figure out how to get the new kernel to be used on boot.
# <pre># wget haxwithaxe.net/files/kernel-2.6.31.6-2.rpm</pre><pre># wget haxwithaxe.net/files/initrd-2.6.31.6</pre><pre># mv initrd-2.6.31.6 /boot/</pre><pre># rpm -i kernel-2.6.31.6-2.rpm</pre>At this point you can skip to insmoding the modules we just installed with the kernel as i have yet to figure out how to get the new kernel to be used on boot.
# <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># cd /boot/</pre><pre># rm vmlinuz</pre><pre># ln -s vmlinuz-2.6.31.6 vmlinuz</pre><pre># ln -s System.map-2.6.31.6 System.map</pre><pre># rm initrd.img</pre><pre># ln -s initrd-2.6.31.6 initrd.img</pre>
# reboot
# reboot
# <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/2.6.31.6/kernel/net/ax25/ax25.ko</pre><pre># insmod /lib/modules/2.6.31.6/kernel/drivers/net/hamradio/<protocol>.ko</pre><pre># modprobe snd-pcm-oss</pre>
# <pre># mkdir /etc/ax25/</pre><pre># soundmodemconfig</pre>
# <pre># mkdir /etc/ax25/</pre><pre># soundmodemconfig</pre>
# insert earplugs
# insert earplugs
# <pre># soundmodem /etc/ax25/soundmodem.conf</pre>
# <pre># soundmodem /etc/ax25/soundmodem.conf</pre>
[[Category:OLPC]]

Latest revision as of 18:28, 16 February 2014

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. # wget haxwithaxe.net/files/kernel-2.6.31.6-2.rpm
    # wget haxwithaxe.net/files/initrd-2.6.31.6
    # mv initrd-2.6.31.6 /boot/
    # rpm -i kernel-2.6.31.6-2.rpm
    At this point you can skip to insmoding the modules we just installed with the kernel as i have yet to figure out how to get the new kernel to be used on boot.
  4. # cd /boot/
    # rm vmlinuz
    # ln -s vmlinuz-2.6.31.6 vmlinuz
    # ln -s System.map-2.6.31.6 System.map
    # rm initrd.img
    # ln -s initrd-2.6.31.6 initrd.img
  5. reboot
  6. # insmod /lib/modules/2.6.31.6/kernel/net/ax25/ax25.ko
    # insmod /lib/modules/2.6.31.6/kernel/drivers/net/hamradio/<protocol>.ko
    # modprobe snd-pcm-oss
  7. # mkdir /etc/ax25/
    # soundmodemconfig
  8. insert earplugs
  9. # soundmodem /etc/ax25/soundmodem.conf