OLPC Sound modem: Difference between revisions
From HacDC Wiki
Haxwithaxe (talk | contribs) No edit summary |
Haxwithaxe (talk | contribs) No edit summary |
||
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 06:56, 8 April 2011
The Easy Way
- Get DebXO running on a XO with the Terminal Activity
- Update it as per the DebXO wiki
# apt-get install soundmodem ax25-apps ax25-tools
# mkdir /etc/ax25/
- Fake /dev/dsp
# modprobe snd-pcm-oss
# soundmodemconfig
- configure the settings to your requirements then quit soundmodemconfig
- insert earplugs :P
# soundmodem /etc/ax25/soundmodem.conf
The Right Way
WARNING: This is just a brain dump at the moment
- Upgrade to the latest official build
# yum install soundmodem ax25-apps ax25-tools kernel-devel gcc make ncurses-devel rpmdevtools yum-utils
# rpmdev-setuptree
# yumdownloader --source kernel
# yum-builddep kernel-*.src.rpm
# rpm -Uvh kernel-*.src.rpm
# cd ~/rpmbuild/SOURCES
# tar jxvf olpc-2.6.tar.bz2
# cd linux-<version>
# cp ../kernel-xo1-custom.config .config
# make menuconfig
# 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)- ?maybe?
# cd /boot/ && rm vmlinuz && ln -s vmlinuz-<your build version> vmlinuz && rm System.map && ln -s System.map-<your build version> System.map
- reboot
# insmod /lib/modules/<your build version>/kernel/net/ax25/ax25.ko
# insmod /lib/modules/<your build version>/kernel/drivers/net/hamradio/<protocol>.ko
# mkdir /etc/ax25/ && soundmodemconfig
- insert earplugs
# soundmodem /etc/ax25/soundmodem.conf
Todo
- figure out what steps are absolutely required for the modules to load