[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linrad] Re: DSP24VE audio supported in ALSA - how to configure parallel audio cards?
If you are using this guide and new Linrad and svgalib are released, you
can use the "links" text mode WEB browser to surf the Internet and
search for the new file locations.
For example
$ links http://www.google.com
will start the links text mode browser.
Install nasm package from the debian servers:
# apt-get install nasm
Now, there is a little issue that I found. For compiling svgalib_helper
module, we need the kernel headers. So we will install the package
kernel-headers-2.6.8-2-386. I do not understand why there is NOT a
kernel-headers-2.6.8-1-386 file, to mach the kernel-image-2.6.8-1-386
that was installed by Debian. So, I also installed the matching kernel
image.
install the headers:
# apt-get install kernel-headers-2.6.8-2-386
and the kernel image that matches with the headers:
#apt-get install kernel-image-2.6.8-2-386
when it asks you "do you want to stop now?---> SAY "N" and continue.
NOTE: As I do not use any boot loader for my experimental debian setup
(I boot
if from my other Debian machine) , I can not confirm it, but the new
kernel-image install should modify your grub setting to point to the new
kernel version. If it is not the case, modify /boot/grub/menu.1st to
point to the new kernel image and initrd image version.
(I would like that someone could verify this)
Now reboot to use the new kernel:
# reboot
When booted, verify that the command:
$ uname -a
gives the 2.6.8-2 version.
Now it is time to install ALSA stuff:
#apt-get install alsa-utils alsa-oss
Note that alsa-utils will install alsa-base as a dependency. Alsa-base
will prevent from loading the OSS and ALSA drivers at the same
time. (debian uses the "hotplug" and "discover" to do it at boot time).
When installing alsa-base it modifies the "discover" behaviour to
exclude the OSS sound drivers. /etc/discover.d/)
Reboot again just to see everything works.
(This could be really not needed, but it is better to do it to check
that OSS drivers are unloaded. In my case, before installing ALSA, there
were OSS and ALSA drivers for my sound card loaded at the same time.
# reboot
Configure the sound card with the "alsaconf" utility. It is very
intuitive to choose your sound card. It will detect it automagically.:
# alsaconf
We are ready to compile svgalib:
Go to the directory in with you have downloaded the sources.
# tar xfvz svgalib-1.9.20
# cd svgalib-1.9.20
# make install
# make demoprogs
# cd demos
# depmod -a
load the svgalib_helper module manually:
# modprobe svgalib_helper
run the test program to see if svgalib works:
# ./vgatest
if it does not work, you should edit /etc/vga/libvga.config file to match
your hardware, but It should do it automatically.
lets test your mouse setup:
#./mousetest
and move your mouse and click the buttons to see if it works
If it does not work, you have to edit the config file
/etc/vga/libvga.config and choose your mouse type and mouse device. In
my case, I commented "mouse Microsoft" and uncommented "mouse PS2". I
also changed "/dev/ttyS0" for "/dev/psaux" to point my right mouse PS2
device.
Now it is ttime to compile Linrad:
Go to your home directory:
$ cd
uncompress the source:
# tar xfvj lir01-33.tbz
# cd linrad-01.33
# ./configure
# make
Note that svgalib_helper module was loaded before.
if not, you can use
#modprobe svgalib_helper
to load it
Run linrad
# ./linrad
and follow Leif directions.
#rmmod svgalib_helper
will unload that module from memory.
You can write a simple bash script and locate it on your linrad
directory. Call it for example, "runlinrad" and "chmod 755 runlinrad" to
make it executable.
************************
#!/bin/bash
# script to load module, run linrad, and unload module.
modprobe svgalib_helper
./linrad
rmmod svgalib_helper
************************
So you only need to invoque that script to run Linrad:
./runlinrad
That is all.
Please send me any comments, corrections or suggestions. I will also
appreciate that you correct my english ;-)
Leif, if possible, I would like to see this guide published somewhere in
your web page to help Debian hams to setup Linrad.
Thank you very much.
73, Ramiro. EA1ABZ.
#############################################################
This message is sent to you because you are subscribed to
the mailing list <linrad@xxxxxxxxxxxxxxxxxxxxx>.
To unsubscribe, E-mail to: <linrad-off@xxxxxxxxxxxxxxxxxxxxx>
To switch to the DIGEST mode, E-mail to <linrad-digest@xxxxxxxxxxxxxxxxxxxxx>
To switch to the INDEX mode, E-mail to <linrad-index@xxxxxxxxxxxxxxxxxxxxx>
Send administrative queries to <linrad-request@xxxxxxxxxxxxxxxxxxxxx>
LINRADDARNIL