LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-19-2012, 06:52 AM   #1
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
No sound Audigy 2 snd_emu10k1 - Slackware 13.37


This is a standard 13.37 (i386) install with updates applied and Alien Bob's KDE 4.6.5.

The problem is that I have an old Audigy 2 in this old machine and despite all the appearances of working, there's not a sound out of it.

I've run alsaconf and issued alsactl init with no change. I've messed with the audio devices in KDE, though there is no sound from Xfce or the command line either.

It was working ok under Debian.

Searched the forums and web, found a lot of old threads but nothing relevant. Here is some info:

Code:
# lsmod
Module                  Size  Used by
snd_seq_oss            25900  0 
snd_seq_midi_event      4696  1 snd_seq_oss
snd_pcm_oss            34554  0 
snd_mixer_oss          14726  1 snd_pcm_oss
ipv6                  236629  16 
snd_seq_dummy           1119  0 
snd_seq                42680  5 snd_seq_oss,snd_seq_midi_event,snd_seq_dummy
ppdev                   4901  0 
lp                      7105  0 
parport_pc             18218  0 
parport                25627  3 ppdev,lp,parport_pc
fuse                   58136  1 
nouveau               501887  3 
snd_emu10k1           126622  3 
snd_rawmidi            15638  1 snd_emu10k1
ttm                    44512  1 nouveau
snd_ac97_codec         90095  1 snd_emu10k1
drm_kms_helper         23927  1 nouveau
ac97_bus                 834  1 snd_ac97_codec
drm                   143170  5 nouveau,ttm,drm_kms_helper
snd_pcm                59843  3 snd_pcm_oss,snd_emu10k1,snd_ac97_codec
snd_seq_device          4505  5 snd_seq_oss,snd_seq_dummy,snd_seq,snd_emu10k1,snd_rawmidi
snd_timer              15717  3 snd_seq,snd_emu10k1,snd_pcm
snd_page_alloc          5925  2 snd_emu10k1,snd_pcm
snd_util_mem            1892  1 snd_emu10k1
snd_hwdep               4772  1 snd_emu10k1
i2c_algo_bit            4287  1 nouveau
video                  10482  1 nouveau
snd                    43891  17 snd_seq_oss,snd_pcm_oss,snd_mixer_oss,snd_seq,snd_emu10k1,snd_rawmidi,snd_ac97_codec,snd_pcm,snd_seq_device,snd_timer,snd_hwdep
output                  1456  1 video
soundcore               4641  1 snd
8139too                16597  0 
processor              23158  0 
i2c_viapro              4779  0 
mii                     3334  1 8139too
shpchp                 23205  0 
fan                     1926  0 
thermal                 6718  0 
i2c_core               16421  5 nouveau,drm_kms_helper,drm,i2c_algo_bit,i2c_viapro
thermal_sys            11426  4 video,processor,thermal,fan
via_agp                 5063  1 
psmouse                40986  0 
rtc_cmos                7970  0 
rtc_core               11871  1 rtc_cmos
serio_raw               3542  0 
agpgart                23062  3 ttm,drm,via_agp
evdev                   7303  11 
rtc_lib                 1502  1 rtc_core
button                  4005  1 nouveau
hwmon                   1065  1 thermal_sys
sg                     21511  0
Code:
# lspci -nn | grep -i audio
00:06.0 Multimedia audio controller [0401]: Creative Labs SB0400 Audigy2 Value [1102:0008]
#
Code:
# lspci -v | grep -iA 7 audio
00:06.0 Multimedia audio controller: Creative Labs SB0400 Audigy2 Value
        Subsystem: Creative Labs Device 1001
        Flags: bus master, medium devsel, latency 64, IRQ 17
        I/O ports at fc00 [size=64]
        Capabilities: [dc] Power Management version 2
        Kernel driver in use: EMU10K1_Audigy
        Kernel modules: snd-emu10k1
#
Code:
$ groups  
users floppy audio video cdrom plugdev power netdev scanner
$
Code:
$ aumix -q
vol 70, 70
bass 50, 50
treble 50, 50
synth 100, 100
pcm 100, 100
speaker 62, 62
line 0, 0
mic 0, 0
cd 0, 0
pcm2 90, 90
line1 0, 0
dig1 0, 0
phin 0, 0
phout 0, 0
$
Code:
$ speaker-test

speaker-test 1.0.24.2

Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 128 to 32768
Period size range from 32 to 32768
Using max buffer size 32768
Periods = 4
was set period_size = 8192
was set buffer_size = 32768
 0 - Front Left
Time per period = 2.219950
 0 - Front Left
Time per period = 2.901113
 0 - Front Left
Time per period = 2.901151
 0 - Front Left
Time per period = 2.901153
 0 - Front Left
Time per period = 2.901146
 0 - Front Left
Time per period = 2.901154
 0 - Front Left
Time per period = 2.901229
 0 - Front Left
Time per period = 2.901073
 0 - Front Left
Time per period = 2.901168
 0 - Front Left
Time per period = 2.901150
 0 - Front Left
$
(etc)

Code:
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Audigy2 [SB Audigy 2 Value [SB0400]], device 0: emu10k1 [ADC Capture/Standard PCM Playback]
  Subdevices: 32/32
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
  Subdevice #7: subdevice #7
  Subdevice #8: subdevice #8
  Subdevice #9: subdevice #9
  Subdevice #10: subdevice #10
  Subdevice #11: subdevice #11
  Subdevice #12: subdevice #12
  Subdevice #13: subdevice #13
  Subdevice #14: subdevice #14
  Subdevice #15: subdevice #15
  Subdevice #16: subdevice #16
  Subdevice #17: subdevice #17
  Subdevice #18: subdevice #18
  Subdevice #19: subdevice #19
  Subdevice #20: subdevice #20
  Subdevice #21: subdevice #21
  Subdevice #22: subdevice #22
  Subdevice #23: subdevice #23
  Subdevice #24: subdevice #24
  Subdevice #25: subdevice #25
  Subdevice #26: subdevice #26
  Subdevice #27: subdevice #27
  Subdevice #28: subdevice #28
  Subdevice #29: subdevice #29
  Subdevice #30: subdevice #30
  Subdevice #31: subdevice #31
card 0: Audigy2 [SB Audigy 2 Value [SB0400]], device 2: emu10k1 efx [Multichannel Capture/PT Playback]
  Subdevices: 8/8
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
  Subdevice #7: subdevice #7
card 0: Audigy2 [SB Audigy 2 Value [SB0400]], device 3: emu10k1 [Multichannel Playback]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
$
I also tried the onboard sound (Via82xx) with exactly the same problem. Any assistance much appreciated. I may have forgotten some info - I will provide it as required (audio is not my thing).

Many thanks in advance.
 
Old 08-19-2012, 09:28 AM   #2
samac
Senior Member
 
Registered: Mar 2004
Location: Kirkwall, Orkney
Distribution: Linux Mint 20.3 - Cinnamon
Posts: 1,425

Rep: Reputation: 139Reputation: 139
Have you installed the firmware?

This is copied from the web:
Quote:
You'll need to download and copy the firmware, compile it and copy the firmware into the correct folder location for the kernel to load when your PC boots.

Acquire an alsa-firmware tarball (> 1.0.14) from the ALSA project's FTP server, for example:

wget ftp://ftp.alsa-project.org/pub/firmw...0.24.1.tar.bz2

Extract the tarball and create the firmware:

tar xvf alsa-firmware-1.0.24.1.tar.bz2
cd alsa-firmware-1.0.24.1
./configure
cd emu && make

Install the firmware on your system:

su
mkdir -p /lib/firmware/emu
cp *fw /lib/firmware/emu

Reload the snd-emu10k1 module:

modprobe -r snd-emu10k1-synth snd-emu10k1 ; modprobe snd-emu10k1
This is from an ubuntu site so you may have to play with the /lib locations

samac
 
1 members found this post helpful.
Old 08-19-2012, 09:46 AM   #3
manwichmakesameal
Member
 
Registered: Aug 2006
Distribution: Slackware
Posts: 804

Rep: Reputation: 110Reputation: 110
This card doesn't need firmware. I have an Audigy 2 ZS and it works fine with the emu10k1 module. Have you tried to disable the integrated sound card in the bios? When you run alsamixer and hit F6, which cards are listed?
 
1 members found this post helpful.
Old 08-19-2012, 10:12 AM   #4
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Original Poster
Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
Thanks for the replies

I've already disabled the integrated sound chip, I've unmuted everything in alsa mixer. I've also tried the integrated sound chip and can't get any sound from that either - though it's worth nothing that I could never get that working in Debian either, which is why I use the audigy.

Will try the firmware and get back to you.

Thanks again


//edit: Tried the firmware - no luck. I'm not entirely convinced that the driver is loading or even requires firmware.

Last edited by cynwulf; 08-19-2012 at 10:22 AM.
 
Old 08-19-2012, 10:39 AM   #5
manwichmakesameal
Member
 
Registered: Aug 2006
Distribution: Slackware
Posts: 804

Rep: Reputation: 110Reputation: 110
What is the output of
Code:
lsmod | grep emu10k1
What cards are listed when you hit F6 in alsamixer? Mine looks like this:
Attached Thumbnails
Click image for larger version

Name:	Screenshot - 08192012 - 10:37:04 AM.png
Views:	49
Size:	26.7 KB
ID:	10417  
 
1 members found this post helpful.
Old 08-19-2012, 11:20 AM   #6
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Original Poster
Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
Mine is identical to your screenshot except for in place of "ZS [SB0350]" is "[Value SB0400]". Onboard sound is disabled in the BIOS setup.

Code:
$ lsmod | grep emu10k1
snd_emu10k1           126622  2 
snd_rawmidi            15638  1 snd_emu10k1
snd_ac97_codec         90095  1 snd_emu10k1
snd_util_mem            1892  1 snd_emu10k1
snd_hwdep               4772  1 snd_emu10k1
snd_pcm                59843  3 snd_emu10k1,snd_ac97_codec,snd_pcm_oss
snd_seq_device          4505  5 snd_emu10k1,snd_rawmidi,snd_seq_dummy,snd_seq_oss,snd_seq
snd_timer              15717  3 snd_emu10k1,snd_seq,snd_pcm
snd_page_alloc          5925  2 snd_emu10k1,snd_pcm
snd                    43891  15 snd_emu10k1,snd_rawmidi,snd_ac97_codec,snd_hwdep,snd_seq_oss,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_device,snd_timer
$
Appreciate your time.

Last edited by cynwulf; 08-19-2012 at 11:21 AM.
 
Old 08-19-2012, 11:28 AM   #7
clifford227
Member
 
Registered: Dec 2009
Distribution: Slackware 14
Posts: 282

Rep: Reputation: 64
Quote:
Originally Posted by caravel View Post
I've unmuted everything in alsa mixer.
I've got an older Sound Blaster card, and I need to mute the card in alsa to get the sound.

So, actually '00' is mute, and 'MM' gives sound.

Try playing an mp3, and toggling the 'M' key on the first column in alsa (its the first column in alsa for me anyway).

Last edited by clifford227; 08-19-2012 at 11:35 AM. Reason: clarity
 
1 members found this post helpful.
Old 08-19-2012, 11:41 AM   #8
manwichmakesameal
Member
 
Registered: Aug 2006
Distribution: Slackware
Posts: 804

Rep: Reputation: 110Reputation: 110
I remember years ago with this card I had to toggle a switch on alsamixer, but can't remember which one. Right now mine looks like this under XFCE:
Attached Thumbnails
Click image for larger version

Name:	alsamixer.png
Views:	58
Size:	46.5 KB
ID:	10418  
 
1 members found this post helpful.
Old 08-19-2012, 01:19 PM   #9
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Original Poster
Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
I've tried 'MM; instead of '00' and toggling while sound is running - still nothing. I'm in Xfce at the moment have the mixer set up the same and volume turned up, still no sound.

I've noticed that oss compatibility is being loaded as well as ac97 modules, is this correct?
 
Old 08-19-2012, 01:51 PM   #10
manwichmakesameal
Member
 
Registered: Aug 2006
Distribution: Slackware
Posts: 804

Rep: Reputation: 110Reputation: 110
Yeah, that's ok. Mine has all kinds of oss modules loaded. What do you get if you do
Code:
cat /etc/rc.d/rc.S > /dev/dsp
with the speakers turned up?
 
1 members found this post helpful.
Old 08-19-2012, 02:20 PM   #11
kingbeowulf
Senior Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware
Posts: 1,266
Blog Entries: 11

Rep: Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744
Lets back up a bit. Looks like you have the Sound Blaster Audigy2 ZS Value (the stripped down version of the Audigy2 ZS). Most on board sound chips use speaker jack hotplugging which I find highly annoying. None of the Creative Labs cards need extra firmware. The E-MU cards use the same module and those need firmware.
Did you check:
  • here: http://www.alsa-project.org/main/ind...Module-emu10k1
  • stray motherboard audio files - should disable in BIOS
  • stray ~/.asoundrc file, or old entries in /etc/modprobe.conf.d
  • correct entries in etc/modprobe.conf.d
  • speakers plugged in and turn on? (had to ask!)
  • in alsamixer, do you see "Audigy Analog/Digital Output Jack [Off]" under Playback

This last one is important: lots of Audigy threads on LQ where this was the fix.

I have an Audigy1 SB0090 and at a minimum you'll need:
Code:
cat /etc/modprobe.d/sound.conf
# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF version 1.0.24.2 ---
alias snd-card-0 snd-emu10k1
alias sound-slot-0 snd-emu10k1
# --- END: Generated by ALSACONF, do not edit. ---
Next, run
Code:
aplay -L
(note capital 'ell') to see all the audio channels.
then pick a channel, say surround40 so you use all the main speaker jacks:
Code:
speaker-test -Dplug:surround40 -c4 -twav
You should hear sound. Funny thing is, I've run SB for ages and never had any issues like this. I have heard that Alsa support for Audigy2 is a bit iffy; and that is why I stuck with the Audigy: https://en.wikipedia.org/wiki/File:C...igy_SB0090.jpg

BTW: usually a bad idea to cat random files to /dev/dsp....
 
1 members found this post helpful.
Old 08-19-2012, 02:33 PM   #12
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Original Poster
Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
I had another mess about in alsamixer.

Yes I had discovered the importance of the "Audigy Analog/Digital Output Jack", but I found something else:

"S/PDIF Optical Raw [Off, Off]"

(I have no idea what that is)

This was on and muting it (changing it to 'MM' in alsamixer) and speaker-test started making sound. It works!

So to summarise:

"Audigy Analog/Digital Output Jack" = unmuted or no sound
"S/PDIF Optical Raw [Off, Off]" = muted or no sound

I then issued the following to save the mixer settings
Code:
# alsactl store
Many thanks to all who replied, I hope this thread saves someone from tearing their hair out.

 
1 members found this post helpful.
Old 08-19-2012, 02:37 PM   #13
manwichmakesameal
Member
 
Registered: Aug 2006
Distribution: Slackware
Posts: 804

Rep: Reputation: 110Reputation: 110
That's the switch that I had to change years ago. Just couldn't remember the name of it. Glad you got it working.
 
Old 08-19-2012, 06:00 PM   #14
clifford227
Member
 
Registered: Dec 2009
Distribution: Slackware 14
Posts: 282

Rep: Reputation: 64
Quote:
Originally Posted by manwichmakesameal View Post
Glad you got it working.
+1

You dont realize how much you need sound untill its gone
 
Old 08-21-2012, 02:45 AM   #15
kingbeowulf
Senior Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware
Posts: 1,266
Blog Entries: 11

Rep: Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744
Nice. I had forgotten about the "other" digital output.
 
  


Reply

Tags
audigy, snd_emu10k1



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sound with Audigy 2 ZS in Slackware 13.37 kribbs@wt.net Slackware 11 08-09-2011 02:24 PM
Sound Blaster Audigy SE on new Slackware 12.0 install salviatech99 Linux - Newbie 1 03-18-2008 03:51 AM
Sound Blaster Audigy SE on new Slackware 12.0 salviatech99 Slackware 1 03-18-2008 02:41 AM
Slackware 11: Audigy LS sound problems Dria Slackware 10 11-04-2006 09:26 AM
Sound Blaster Audigy 2 NX || Slackware 9.1 theyCALLmeFRO Linux - Hardware 6 07-15-2004 10:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration