Click to See Complete Forum and Search --> : SB Audigy under Debian


Hayl
08-20-2002, 06:16 PM
I just switched to debian from Redhat this morning and everything is ok so far EXCEPT for my sound card (SB Audigy). I have tried the debian support channel on IRC with no luck.

insmod emu10k1 gives me the following errors:



homelinux01:/usr/src/modules/alsa-driver# insmod emu10k1
Using /lib/modules/2.4.18-686/kernel/drivers/sound/emu10k1/emu10k1.o
/lib/modules/2.4.18-686/kernel/drivers/sound/emu10k1/emu10k1.o: unresolved symbol ac97_read_proc_Rbae4da72
/lib/modules/2.4.18-686/kernel/drivers/sound/emu10k1/emu10k1.o: unresolved symbol midi_synth_send_sysex_Rfddcbfb3
/lib/modules/2.4.18-686/kernel/drivers/sound/emu10k1/emu10k1.o: unresolved symbol midi_synth_set_instr_Rd85be938
/lib/modules/2.4.18-686/kernel/drivers/sound/emu10k1/emu10k1.o: unresolved symbol ac97_probe_codec_R84601c2b
/lib/modules/2.4.18-686/kernel/drivers/sound/emu10k1/emu10k1.o: unresolved symbol midi_synth_ioctl_Rb66d1f67
/lib/modules/2.4.18-686/kernel/drivers/sound/emu10k1/emu10k1.o: unresolved symbol midi_synth_reset_R56504ca2
/lib/modules/2.4.18-686/kernel/drivers/sound/emu10k1/emu10k1.o: unresolved symbol sound_unload_mididev_Ra6bb414c
/lib/modules/2.4.18-686/kernel/drivers/sound/emu10k1/emu10k1.o: unresolved symbol midi_synth_open_Rf6b3a2fb
/lib/modules/2.4.18-686/kernel/drivers/sound/emu10k1/emu10k1.o: unresolved symbol midi_synth_hw_control_Rb14b22cd
/lib/modules/2.4.18-686/kernel/drivers/sound/emu10k1/emu10k1.o: unresolved symbol midi_synth_kill_note_R2aa31695
/lib/modules/2.4.18-686/kernel/drivers/sound/emu10k1/emu10k1.o: unresolved symbol midi_synth_start_note_R9bdaf24d
/lib/modules/2.4.18-686/kernel/drivers/sound/emu10k1/emu10k1.o: unresolved symbol midi_synth_aftertouch_Rf1ea8a20
/lib/modules/2.4.18-686/kernel/drivers/sound/emu10k1/emu10k1.o: unresolved symbol midi_synth_setup_voice_R4ff47e9d
/lib/modules/2.4.18-686/kernel/drivers/sound/emu10k1/emu10k1.o: unresolved symbol midi_synth_bender_Rba7dd041
/lib/modules/2.4.18-686/kernel/drivers/sound/emu10k1/emu10k1.o: unresolved symbol midi_synth_load_patch_Rf7426da3
/lib/modules/2.4.18-686/kernel/drivers/sound/emu10k1/emu10k1.o: unresolved symbol midi_synth_controller_R892093e0
/lib/modules/2.4.18-686/kernel/drivers/sound/emu10k1/emu10k1.o: unresolved symbol midi_devs_Rb3ae63d0
/lib/modules/2.4.18-686/kernel/drivers/sound/emu10k1/emu10k1.o: unresolved symbol sequencer_init_Rf78f6363
/lib/modules/2.4.18-686/kernel/drivers/sound/emu10k1/emu10k1.o: unresolved symbol midi_synth_panning_Rdb400afa
/lib/modules/2.4.18-686/kernel/drivers/sound/emu10k1/emu10k1.o: unresolved symbol midi_synth_close_Rad45df73
/lib/modules/2.4.18-686/kernel/drivers/sound/emu10k1/emu10k1.o: unresolved symbol sound_alloc_mididev_Rba413f87



I think I need to compile the driver because I upgraded to a different kernel?? (2.4.18.686)

I did apt-get kernel-headers-2.4.18.686

Next, I went to the alsa dirver folder (/usr/src/modules/alsa-driver)

./configure --with-kernel=/usr/src/kernel-headers-2.4.18-686

make

make install (gave me the following errors:)


make[1]: Leaving directory `/usr/src/modules/alsa-driver/pci'
/sbin/depmod -a -F /usr/src/kernel-headers-2.4.18-686/System.map 2.4.18-686
depmod: Can't read /usr/src/kernel-headers-2.4.18-686/System.map
make: *** [install-modules] Error 1


Hopefully someone who knows debian can help :)) My sound card worked fine under Redhat.

Dun'kalis
08-20-2002, 06:33 PM
Do it the Debian way!

apt-get install kernel-package kernel-source-2.4.18
cd /usr/src/kernel-source-2.4.18
make menuconfig
make-kpkg --revision=hostname.1.0 kernel_image
make-kpkg --revision=hostname.1.0 modules_image
cd ..
dpkg -i kernel-image-2.4.18
dpkg -i alsa-modules-2.4.18
shutdown -r now

Do that as root. The packages I gave you aren't the complete names, either. They usually can be completed with tab. Make sure you have the alsa-source installed.

Hayl
08-20-2002, 07:00 PM
homelinux01:/usr/src/kernel-source-2.4.18# make menuconfig
rm -f include/asm
( cd include ; ln -sf asm-i386 asm)
make -C scripts/lxdialog all
make[1]: Entering directory `/usr/src/kernel-source-2.4.18/scripts/lxdialog'
/usr/bin/ld: cannot find -lncurses
collect2: ld returned 1 exit status

>> Unable to find the Ncurses libraries.
>>
>> You must have Ncurses installed in order
>> to use 'make menuconfig'

make[1]: *** [ncurses] Error 1
make[1]: Leaving directory `/usr/src/kernel-source-2.4.18/scripts/lxdialog'
make: *** [menuconfig] Error 2

Hayl
08-20-2002, 07:12 PM
fixed the Ncurses problem.

doing make-kpkg commands now

Dun'kalis
08-20-2002, 07:13 PM
apt-get install libncurses5-dev

Make sure you chose all the drivers you need...

Hayl
08-20-2002, 07:41 PM
homelinux01:/usr/src# dpkg -i alsa-modules-2.4.18_0.9+0beta12+3+p0+homelinux01.1.0_i386.deb
Selecting previously deselected package alsa-modules-2.4.18.
(Reading database ... 64872 files and directories currently installed.)
Unpacking alsa-modules-2.4.18 (from alsa-modules-2.4.18_0.9+0beta12+3+p0+homelinux01.1.0_i386.deb) ...
dpkg: dependency problems prevent configuration of alsa-modules-2.4.18:
alsa-modules-2.4.18 depends on alsa-base (>= 0.9+0beta1-1); however:
Package alsa-base is not installed.
dpkg: error processing alsa-modules-2.4.18 (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
alsa-modules-2.4.18
homelinux01:/usr/src# apt-get install alsa-base
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
alsa-base
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
1 packages not fully installed or removed.
Need to get 32.7kB of archives. After unpacking 225kB will be used.
Get:1 http://archive.progeny.com woody/main alsa-base 0.9+0beta12-3 [32.7kB]
Fetched 32.7kB in 0s (49.9kB/s)
Selecting previously deselected package alsa-base.
(Reading database ... 64975 files and directories currently installed.)
Unpacking alsa-base (from .../alsa-base_0.9+0beta12-3_all.deb) ...
Setting up alsa-base (0.9+0beta12-3) ...
Starting ALSA sound driver (version 0.9.0beta12): no sound cards defined.

Setting up alsa-modules-2.4.18 (0.9+0beta12+3+p0+homelinux01.1.0) ...

No configuration file found for ALSA 0.9..
Create /etc/alsa/modutils/0.9 manually

homelinux01:/usr/src# dpkg -i alsa-modules-2.4.18_0.9+0beta12+3+p0+homelinux01.1.0_i386.deb
(Reading database ... 65001 files and directories currently installed.)
Preparing to replace alsa-modules-2.4.18 0.9+0beta12+3+p0+homelinux01.1.0 (using alsa-modules-2.4.18_0.9+0beta12+3+p0+homelinux01.1.0_i386.deb) ...
Unpacking replacement alsa-modules-2.4.18 ...
Setting up alsa-modules-2.4.18 (0.9+0beta12+3+p0+homelinux01.1.0) ...
alsa-modules-2.4.18

No configuration file found for ALSA 0.9..
Create /etc/alsa/modutils/0.9 manually

Hayl
08-20-2002, 09:57 PM
I can't believe how dumb this is. I can compile the audigy drivers fine under redhat.

I am about to give up on debian and I really don't want to.

(reinstalling debian right now - made a mess of it with above instructions)

Isn't there a way to install the audigy driver without recompiling the kernel?

Dun'kalis
08-20-2002, 10:37 PM
Do you have all the correct alsa packages installed? You need alsa-base, alsa-source, and alsa-utils. Make sure you have all of those, and you may want alsaconf. Try recompiling it now that you have alsa-base.

Its always worked for me. I've done it a few times. Just make sure all your kernel options are configured properly, compile sound in to the kernel, and it always works for me.

Hayl
08-21-2002, 09:17 AM
when i did it that way it gave me a bunch of errors while booting modules.

i'll try it one more time :)

Hayl
08-21-2002, 11:34 AM
this STILL isn't working.

when I got to step: make-kpkg --revision=hostname.1.0 modules_image

it didn't look like anything happened

when I tried to do the : dpkg -i alsa-modules-2.4.18

there was no .deb file for alsa

I also get a whole bunch of module errors when my system is booting.

( I did install the alsa packages alsa-source, etc)

alsaconf gives me the following:

Loading driver:
No ALSA driver installed
Starting ALSA sound driver (version none):modprobe: Can't locate module snd
failed.
Setting the PCM volume to 100% and the Master output volume to 50%
No ALSA driver installed
Could not initialize the mixer, the card was probably
not detected correctly.

Hayl
08-21-2002, 12:54 PM
I followed your steps - no errors - but I have no sound.

I logged in as root and tried - still no sound.

i ran alsaconf - selected SB Live

Loading driver:
Starting ALSA sound driver (version 0.9.0beta12): (card-emu10k1)
Setting the PCM volume to 100% and the Master output volume to 50%
amixer: Mixer attach default error: No such file or directory
Could not initialize the mixer, the card was probably
not detected correctly

Any suggestions?

Dun'kalis
08-21-2002, 05:58 PM
Do you have Plug-and-Play OS on in your BIOS? If you do, turn it off.

Hayl
08-21-2002, 06:01 PM
Thanks for all your help Dun"Kalis.

I used your instructions and it worked - AFTER I removed the SB Audigy and replaced it with a spare SB Live I had sitting in a drawer :)

Dun'kalis
08-21-2002, 06:08 PM
Sound gave me a bunch of problems. Debian is the distro they use in heaven though. You'll like it.

Sorry I couldn't help.

The Whizzard
08-21-2002, 06:20 PM
Did you goto http://opensource.creative.com and get the audigy drivers from there? Or did you try to use the one that comes with Woody? IIRC, the one that comes with Woody does not support the Audigy. Either way, since you're compiling from source any way, get the latest source for emu10k1 at http://opensource.creative.com.