Actions

OLPC Sound modem: Difference between revisions

From HacDC Wiki

(Created page with "'''This is a work in progress''' # Get DebXO running on a XO with the Terminal Activity # Update it as per the [http://wiki.laptop.org/go/DebXO#Updating DebXO wiki]...")
 
m (Gatohaus moved page OLPCSoundmodem to OLPC Sound modem)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''This is a work in progress'''
==The Easy Way==
# Get [[OLPCDebXO|DebXO]] running on a XO with the Terminal Activity
# Get [[OLPCDebXO|DebXO]] running on a XO with the Terminal Activity
# Update it as per the [http://wiki.laptop.org/go/DebXO#Updating DebXO wiki]
# Update it as per the [http://wiki.laptop.org/go/DebXO#Updating DebXO wiki]
# Sacrafice a goat to the OLPC spirits (not really but i haven't gotten farther than this)
# <pre># apt-get install soundmodem ax25-apps ax25-tools</pre>
# <pre># apt-get install soundmodem ax25-apps ax25-tools</pre>
# <pre># mkdir /etc/ax25/</pre>
# <pre># mkdir /etc/ax25/</pre>
# Fake /dev/dsp <pre># modprobe snd-pcm-oss</pre>
# <pre># soundmodemconfig</pre>
# <pre># soundmodemconfig</pre>
# configure the settings to your requirements then quit soundmodemconfig
# configure the settings to your requirements then quit soundmodemconfig
# insert earplugs :P
# insert earplugs :P
# <pre># soundmodem /etc/ax25/soundmodem.conf</pre>
# <pre># soundmodem /etc/ax25/soundmodem.conf</pre>
==The Right Way==
# [[OLPCUpdate|Upgrade]] to the latest official build
# <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># 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
# <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>
# insert earplugs
# <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