wait ...
i'll post everything from the first step to the last step , following the manual i gave
so you shouldn't be quessing what the problem is, cause all the info is here ...
downloaded :
alsa-driver-1.0.6a.tar.bz2
alsa-lib-1.0.6.tar.bz2
alsa-utils-1.0.6
kernel-source-2.4.27_2.4.27.orig.tar.gz
first i extract the kernel tar to ~/kernel-source-2.4.27-2.4.27
next i cd to that folder and "make" (said 'y' to all choices given)
after that "install make"
i'm sure there is an easier way, like installing a .deb package of the source, but for some reason, that didn't work
as said in manual, created alsa map untarred etc ...
see first 20 lines ...
when you see "ablablabalbalablabalabalbalba" , that means i cut out a huge part of printed messenges that made this post too long .....
Code:
steven@steven:~/kernel-source-2.4.27-2.4.27$ cd /usr/src
steven@steven:/usr/src$ mkdir alsa
mkdir: cannot create directory `alsa': Permission denied
steven@steven:/usr/src$ su
Password:
steven:/usr/src# mkdir alsa
steven:/usr/src# cd alsa
steven:/usr/src/alsa# cp /downloads/alsa-* .
cp: cannot stat `/downloads/alsa-*': No such file or directory
steven:/usr/src/alsa# cp /home/steven/alsa-* .
steven:/usr/src/alsa# bunzip2 alsa-driver*
steven:/usr/src/alsa# tar -xf alsa-driver*
steven:/usr/src/alsa# cd alsa-driver*
steven:/usr/src/alsa/alsa-driver-1.0.6a# ./configure --with-kernel=/home/steven/kernel-source-2.4.27-2.4.27 --with-cards=audigyls --with-sequencer=yes;make;make install
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking whether gcc needs -traditional... no
checking for current directory... /usr/src/alsa/alsa-driver-1.0.6a
checking cross compile...
checking for directory with kernel source... /home/steven/kernel-source-2.4.27-2.4.27
checking for kernel version... 2.4.27
checking for GCC version... Kernel compiler: gcc 3.3.4 (Debian 1:3.3.4-13) Used compiler: gcc (GCC) 3.3.4 (Debian 1:3.3.4-13)
checking for built-in ALSA... "no"
checking for existing ALSA module... "no"
checking for Red Hat kernel... "auto"
checking for Red Hat kernel... "no"
checking for SUSE kernel... "auto"
checking for SUSE kernel... "no"
checking to modify of kernel linux/kmod.h... "no"
checking for kernel linux/compiler.h... "yes"
checking for kernel linux/pm.h... "yes"
checking for kernel linux/spinlock.h... "yes"
checking for kernel linux/irq.h... "yes"
checking for kernel linux/threads.h... "yes"
checking for kernel linux/rwsem.h... "yes"
checking for kernel linux/gameport.h... "yes"
checking for kernel linux/devfs_fs_kernel.h... "yes"
checking for kernel linux/highmem.h... "yes"
checking for kernel linux/workqueue.h... "no"
checking for kernel linux/dma-mapping.h... "no"
checking for kernel asm/hw_irq.h... "yes"
checking for kernel linux/device.h... "no"
checking for kernel linux/jiffies.h... "no"
checking for kernel linux/compat.h... "no"
checking for kernel linux/adb.h... "yes"
checking for kernel linux/cuda.h... "yes"
checking for kernel linux/pmu.h... "yes"
checking for kernel linux/moduleparam.h... "yes"
Removing a dummy linux/moduleparam.h.
checking for kernel linux/syscalls.h... "no"
checking for exported symbol dump_stack... "yes"
checking for kernel module symbol versions... "yes"
checking for PCI support in kernel... "yes"
checking for I2C driver in kernel... yes
checking for SGI/MIPS (HAL2) architecture... "no"
checking for directory to store kernel modules... /lib/modules/2.4.27/misc
checking for verbose printk... on
checking for debug level... none
checking for ISA support in kernel... "yes"
checking for processor type... i686
checking for SMP... "yes"
checking for Video device support in kernel... "yes"
checking for ISA PnP driver in kernel... yes
checking for PnP driver in kernel... no
checking for Kernel ISA-PnP support... "yes"
checking for ISA PnP support... yes
checking for strlcpy... "no"
checking for snprintf... "yes"
checking for scnprintf... "no"
checking for sscanf... "yes"
checking for vmalloc_to_page... "yes"
checking for old kmod... "yes"
checking for PDE... "yes"
checking for pci_set_consistent_dma_mask... "no"
checking for tty->count is the atomic type... "no"
checking for video_get_drvdata... "yes"
checking for new remap_page_range... "no"
checking for kcalloc... "no"
checking for saved_config_space in pci_dev... "no"
checking for driver version... 1.0.6a
checking for sequencer support... yes
checking for OSS/Free emulation... yes
checking for RTC callback support in kernel... "no"
checking for USB support... "yes"
checking for kernel PCMCIA
checking for PCMCIA support... "yes"
checking for PC9800 support in kernel... "no"
checking for which soundcards to compile driver for... audigyls
configure: creating ./config.status
config.status: creating version
config.status: creating Makefile.conf
config.status: creating snddevices
config.status: creating utils/alsa-driver.spec
config.status: creating utils/buildrpm
config.status: creating toplevel.config
config.status: creating utils/alsasound
config.status: creating utils/alsasound.posix
config.status: creating include/config.h
config.status: creating include/config1.h
config.status: creating include/version.h
config.status: include/version.h is unchanged
config.status: creating include/autoconf-extra.h
if [ ! -d include/sound -a ! -L include/sound ]; then \
ln -sf ../alsa-kernel/include include/sound ; \
fi
cp -auvf include/version.h include/sound/version.h
`include/version.h' -> `include/sound/version.h'
make dep
make[2]: Entering directory `/usr/src/alsa/alsa-driver-1.0.6a/pcmcia/vx'
make[2]: Nothing to be done for `modules'.
make[2]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.6a/pcmcia/vx'
make[1]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.6a/pcmcia'
.. -balbalblablablabla-
..... blablablabalbla
blalabalbalbala
.....
ALSA modules were successfully compiled.
rm -f /lib/modules/2.4.27/misc/snd*.*o /lib/modules/2.4.27/misc/persist.o /lib/modules/2.4.27/misc/isapnp.o
make[1]: Entering directory `/usr/src/alsa/alsa-driver-1.0.6a/acore'
mkdir -p /lib/modules/2.4.27/misc
ent.o
depmod: *** Unresolved symbols in /lib/modules/2.4.27/misc/snd-seq-oss.o
depmod: *** Unresolved symbols in /lib/modules/2.4.27/misc/snd-seq.o
depmod: *** Unresolved symbols in /lib/modules/2.4.27/misc/snd-timer.o
depmod: *** Unresolved symbols in /lib/modules/2.4.27/misc/snd.o
if [ -L /usr/include/sound ]; then \
rm -f /usr/include/sound; \
ln -sf /usr/src/alsa/alsa-driver-1.0.6a/include/sound /usr/include/sound; \
else \
rm -rf /usr/include/sound; \
install -d -m 755 -g root -o root /usr/include/sound; \
for f in include/sound/*.h; do \
install -m 644 -g root -o root $f /usr/include/sound; \
done \
fi
cat WARNING
blalbablablabla
.!!blablablabla!!!
!!!!blablablablabla !!!!!!
WARNING!!! The mixer channels for the ALSA driver are muted by default!!!
**************************************************************************
You would use some ALSA or OSS mixer to set the appropriate volume.
steven:/usr/src/alsa/alsa-driver-1.0.6a#
did "chmod a+rw /dev/dsp /dev/mixer /dev/sequencer /dev/midi"
did cd ..
bunzip2 alsa-lib-xxx
tar -xf alsa-lib-xxx
cd alsa-lib-xxx
./configure;make;make install
Code:
steven:/usr/src/alsa/alsa-driver-1.0.6a# chmod a+rw /dev/dsp /dev/mixer /dev/sequencer /dev/midi
steven:/usr/src/alsa/alsa-driver-1.0.6a# cd ..
steven:/usr/src/alsa# tar -xf alsa-lib*
steven:/usr/src/alsa# ./configure;make;make install
bash: ./configure: No such file or directory
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
steven:/usr/src/alsa# cd alsa-lib*
steven:/usr/src/alsa/alsa-lib-1.0.6# ./configure;make;make install
checking build system type... i686-pc-linux
checking host system type... i686-pc-linux
checking target system type... i686-pc-linux
checking for a BSD-compatible install... /usr/bin/install -c
blabalalbalbalabalbalabalabalbalaa
balbakakbaabaablabalbalabalbalabalabal
(cd /usr/lib && rm -f libasound.so.2 && ln -s libasound.so.2.0.0 libasound.so.2)
(cd /usr/lib && rm -f libasound.so && ln -s libasound.so.2.0.0 libasound.so)
/usr/bin/install -c .libs/libasound.lai /usr/lib/libasound.la
PATH="$PATH:/sbin" ldconfig -n /usr/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/usr/src/alsa/alsa-lib-1.0.6/src'
make[2]: Leaving directory `/usr/src/alsa/alsa-lib-1.0.6/src'
make[1]: Leaving directory `/usr/src/alsa/alsa-lib-1.0.6/src'
balabalabalbaalbalba
abalbalababaalababakbakab
make[1]: Entering directory `/usr/src/alsa/alsa-lib-1.0.6'
make[2]: Entering directory `/usr/src/alsa/alsa-lib-1.0.6'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/usr/src/alsa/alsa-lib-1.0.6'
make[1]: Leaving directory `/usr/src/alsa/alsa-lib-1.0.6'
steven:/usr/src/alsa/alsa-lib-1.0.6#
something went wrong with alsa-lib but upgrades these with apt-get ...
now after all these steps : i can't modprobe the modules .. see earlier post : exact same result ... (2nd attempt though)
weird thing is : can't even use alsamixer
Code:
steven:~# alsamixer
alsamixer: function snd_ctl_open failed for default: No such device
...