Actions

Difference between revisions of "OLPC Sound modem"

From HacDC Wiki

Line 1: Line 1:
==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]
Line 8: Line 9:
# insert earplugs :P
# insert earplugs :P
# <pre># soundmodem /etc/ax25/soundmodem.conf</pre>
# <pre># soundmodem /etc/ax25/soundmodem.conf</pre>
==The Right Way==
'''WARNING: This is just a brain dump at the moment'''
# [[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># rpmdev-setuptree</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
# <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># mkdir /etc/ax25/ && soundmodemconfig</pre>
# insert earplugs
# <pre># soundmodem /etc/ax25/soundmodem.conf</pre>
===Todo===
*figure out what steps are absolutely required for the modules to load

Revision as of 22:56, 7 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

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