Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Audigy4: No sound, dmesg output clues

Need help with peripherals or devices?
Message
Author
TylerS
Posts: 19
Joined: 2011-09-04 19:32

Audigy4: No sound, dmesg output clues

#1 Post by TylerS »

Hi,

Just installed Debian Squeeze. I have an Audigy 4 (non-pro) PCI card. alsa and pulseaudio pick it up and allow me to change the volumes, sliders, switches, etc. but I'm not getting any sound (via my analog outputs). I have googled extensively in hopes for a solution to no avail; may users suggested turning off IEC Digital Audio and S/PDIF tiggers (did that) and turning on the 'Audigy Analog/Digital Output Jack'... but I can't turn it on! It's "stuck". Regardless whether I try to turn it on in alsamixer or padevchooser, it the button sticks.

Any suggestions?

Thanks,
Tyler

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: Audigy4: No sound, dmesg output clues

#2 Post by kedaha »

Hi,
It might help if you posted the output of:

Code: Select all

$ cat /proc/asound/cards
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

TylerS
Posts: 19
Joined: 2011-09-04 19:32

Re: Audigy4: No sound, dmesg output clues

#3 Post by TylerS »

Sorry, I forgot to do that... and post the relevant dmesg output. Hm, must have not had my coffee.

Whenever I try to play audio, I get a lot of these from the kernel:

Code: Select all

tyler@einstein:~$ dmesg | tail -n 3
[  101.141995] __ratelimit: 100 callbacks suppressed
[  112.487446] __ratelimit: 92 callbacks suppressed
[  130.337483] __ratelimit: 87 callbacks suppressed

Code: Select all

tyler@einstein:~$ cat /proc/asound/cards 
 0 [Audigy2        ]: Audigy2 - SB Audigy 4 [SB0610]
                      SB Audigy 4 [SB0610] (rev.0, serial:0x10211102) at 0xcfc0, irq 19
 1 [Camera         ]: USB-Audio - Venus USB2.0 Camera
                      Vimicro Corp. Venus USB2.0 Camera at usb-0000:00:1a.0-1.3, high speed
I have having IRQ conflicts, when I initially installed Debian. I moved the card to a different slot and they went away:

Code: Select all

tyler@einstein:~$ ls /proc/irq/19/
EMU10K1  smp_affinity  spurious

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: Audigy4: No sound, dmesg output clues

#4 Post by kedaha »

There's a similar issue marked as solved on a Gentoo forum Audigy4 + alsa - channels messed up so - if you have the same hardware - you might like to try editing /etc/asound.conf or just do:

Code: Select all

# echo 'pcm.!default iec958:Audigy2' > /etc/asound.conf
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

TylerS
Posts: 19
Joined: 2011-09-04 19:32

Re: Audigy4: No sound, dmesg output clues

#5 Post by TylerS »

Tried all combinations of inputs for speaker-test, just silent across the board.
I wrote that line to asound.conf and rebooted, still nothing, regardless of whether S/PDIF was muted or not. The 'Audigy Analog/Digital Output Jack' trigger still wouldn't unmute.

Code: Select all

tyler@einstein:~$ speaker-test -Dplug:iec958 -c2

speaker-test 1.0.23

Playback device is plug:iec958
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 64 to 16384
Period size range from 16 to 16384
Using max buffer size 16384
Periods = 4
was set period_size = 4096
was set buffer_size = 16384
 0 - Front Left
Write error: -5,Input/output error
xrun_recovery failed: -5,Input/output error
Transfer failed: Operation not permitted
root@einstein:/home/tyler# exit
exit
tyler@einstein:~$ speaker-test -Dplug:default -c2

speaker-test 1.0.23

Playback device is plug:default
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 64 to 16384
Period size range from 16 to 16384
Using max buffer size 16384
Periods = 4
was set period_size = 4096
was set buffer_size = 16384
 0 - Front Left
Write error: -5,Input/output error
xrun_recovery failed: -5,Input/output error
Transfer failed: Operation not permitted

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: Audigy4: No sound, dmesg output clues

#6 Post by kedaha »

What does this command show?

Code: Select all

# alsactl init
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

TylerS
Posts: 19
Joined: 2011-09-04 19:32

Re: Audigy4: No sound, dmesg output clues

#7 Post by TylerS »

Code: Select all

root@einstein:/home/tyler# alsactl init
Unknown hardware: "Audigy2" "0xa100a1 �?�" "AC97m:00a100a1" "0x1102" "0x1021"
Hardware is initialized using a guess method

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: Audigy4: No sound, dmesg output clues

#8 Post by kedaha »

TylerS wrote:

Code: Select all

root@einstein:/home/tyler# alsactl init
Unknown hardware: "Audigy2" "0xa100a1 �?�" "AC97m:00a100a1" "0x1102" "0x1021"
Hardware is initialized using a guess method
It looks promising: If that's the output, then it ought to work. Maybe more coffee is needed? :wink:
Is there no sound even when running this test as root? # speaker-test -c 2
Try making a /etc/asound.conf file with the following content:

Code: Select all

pcm.!default {
    type hw
    card Audigy2
}
ctl.!default {
    type hw
    card Audigy2
}
Also check to see your user is a member of the audio group.
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

TylerS
Posts: 19
Joined: 2011-09-04 19:32

Re: Audigy4: No sound, dmesg output clues

#9 Post by TylerS »

Thanks for all the help! At the rate I've been consuming coffee, I'll be going to the supermarket by tomorrow to pickup another can of grounds...!

"tyler" is a member of the audio group. Even when I run speaker-test as root I get the "operation not permitted" error. There's a couple seconds delay between the "0 - Front Left" line and the subsequent error messages that follow.

Code: Select all

root@einstein:/home/tyler# cat /etc/asound.conf 
pcm.!default {
    type hw
    card Audigy2
}

ctl.!default {
    type hw
    card Audigy2
}

# I rebooted at this point

root@einstein:/home/tyler# speaker-test -c 2

speaker-test 1.0.23

Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 64 to 16384
Period size range from 16 to 16384
Using max buffer size 16384
Periods = 4
was set period_size = 4096
was set buffer_size = 16384
 0 - Front Left
Write error: -5,Input/output error
xrun_recovery failed: -5,Input/output error
Transfer failed: Operation not permitted

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: Audigy4: No sound, dmesg output clues

#10 Post by kedaha »

If anything else occurs to me I'll post again but - and this is just my view -: If it were my computer, I think I'd be tempted to just remove the sound card and revert to using the onboard audio codec for the time being or get a different sound card. You could try Wheezy and if still doesn't work submit a bug report. I prefer running stable to Testing/Sid so I don't think I'd give up Squeeze to see if a sound card worked. Maybe someone else who has the same card will be able to offer advice and I hope find the solution to the issue soon.
If you don't mind spending more time on the issue, you might try one or two other live Linux distros but, to judge by posts about Audigy cards in Linux, one feels justified in adding them to the list of hardware to be avoided.
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: Audigy4: No sound, dmesg output clues

#11 Post by kedaha »

So as not to leave stones unturned.
What is output of

Code: Select all

$ lsmod |grep audio
You might try this alternative /etc/asound.conf:

Code: Select all

       pcm.emu10k1 {
          type hw
          card 0
       }
       
       ctl.emu10k1 {
          type hw
          card 0
       }
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

TylerS
Posts: 19
Joined: 2011-09-04 19:32

Re: Audigy4: No sound, dmesg output clues

#12 Post by TylerS »

Code: Select all

tyler@einstein:~$ lsmod | grep audio
snd_usb_audio          64070  1 
snd_usb_lib            13960  1 snd_usb_audio
snd_pcm                60503  3 snd_emu10k1,snd_usb_audio,snd_ac97_codec
snd_hwdep               5380  3 snd_emux_synth,snd_emu10k1,snd_usb_audio
snd                    46526  17 snd_emux_synth,snd_seq_virmidi,snd_emu10k1,snd_usb_audio,snd_ac97_codec,snd_pcm,snd_rawmidi,snd_hwdep,snd_seq,snd_timer,snd_seq_device
usbcore               122498  6 uvcvideo,snd_usb_audio,snd_usb_lib,usbhid,ehci_hcd
I'll try the new asound in a bit and report back.

I'm on the verge of switching back to onboard sound... the thing is, for my work I need to be able to boot into Windows (*shudder*, unfortunately wine isn't sufficient), and the sound quality of the creative card is leaps and bounds ahead of my onboard sound. I'm actually usually a Fedora user who has also tried a new other distros and now Debian to get this little bugger to work, with no avail. I'm beginning to wonder if something got botched in the kernel a couple years back (maybe that's why the kernel callback messages keep getting printing and I can't use the Analog/Digital trigger in alsamixer?) and nobody has reported a bug on it... seems weird that I'm the only one that has problems. I'll consider giving Wheezy a try.

EDIT: new /etc/asound.conf has no effect. speaker-test gives the same dreaded output. Bummer.
Upgrading the Wheezy now.

EDIT2: Still nothing. Filed a bug report upstream.

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: Audigy4: No sound, dmesg output clues

#13 Post by kedaha »

I see lsmod shows your onboard codec, snd_ac97 is being loaded. Better to disable it in the BIOS so it won't interfere with the Audigy soundcard.
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

TylerS
Posts: 19
Joined: 2011-09-04 19:32

Re: Audigy4: No sound, dmesg output clues

#14 Post by TylerS »

It *is* disabled. I thought PCM was requiring it?

Code: Select all

root@einstein:/home/tyler# lsmod | grep snd
snd_emu10k1_synth      13016  0 
snd_emux_synth         29075  1 snd_emu10k1_synth
snd_seq_virmidi        13171  1 snd_emux_synth
snd_seq_midi_emul      12764  1 snd_emux_synth
snd_usb_audio          84855  1 
snd_usbmidi_lib        23475  1 snd_usb_audio
snd_emu10k1           132168  5 snd_emu10k1_synth
snd_seq_midi           12848  0 
snd_seq_midi_event     13316  2 snd_seq_virmidi,snd_seq_midi
snd_rawmidi            23297  4 snd_seq_virmidi,snd_usbmidi_lib,snd_emu10k1,snd_seq_midi
snd_ac97_codec        106837  1 snd_emu10k1
ac97_bus               12510  1 snd_ac97_codec
snd_pcm                68104  5 snd_usb_audio,snd_emu10k1,snd_ac97_codec
snd_page_alloc         13043  2 snd_emu10k1,snd_pcm
snd_util_mem           12704  2 snd_emux_synth,snd_emu10k1
snd_hwdep              13186  3 snd_emux_synth,snd_usb_audio,snd_emu10k1
snd_seq                45208  5 snd_emux_synth,snd_seq_virmidi,snd_seq_midi_emul,snd_seq_midi,snd_seq_midi_event
snd_timer              22581  3 snd_emu10k1,snd_pcm,snd_seq
snd_seq_device         13137  5 snd_emu10k1_synth,snd_emu10k1,snd_seq_midi,snd_rawmidi,snd_seq
snd                    52823  20 snd_emux_synth,snd_seq_virmidi,snd_usb_audio,snd_usbmidi_lib,snd_emu10k1,snd_rawmidi,snd_ac97_codec,snd_pcm,snd_hwdep,snd_seq,snd_timer,snd_seq_device
soundcore              13152  1 snd
usbcore               128338  6 uvcvideo,snd_usb_audio,snd_usbmidi_lib,usbhid,ehci_hcd

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: Audigy4: No sound, dmesg output clues

#15 Post by kedaha »

If you haven't thrown in the towel yet you could try a module built from alsa-source:
See this topic.
But...what's the output from this:

Code: Select all

# modprobe snd-emu10k1
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

TylerS
Posts: 19
Joined: 2011-09-04 19:32

Re: Audigy4: No sound, dmesg output clues

#16 Post by TylerS »

I'll try compiling a module from source when I get a chance...

There's no output from modprobe when I try to load the emu10k1 module.

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: Audigy4: No sound, dmesg output clues

#17 Post by kedaha »

By the way, it's not necessary to shut everything down - i.e., rebooting - every time you modify a file. Just stop & restart alsa with these three commands:

Code: Select all

# /etc/init.d/alsa-utils stop
# alsa force-reload
# /etc/init.d/alsa-utils start
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: Audigy4: No sound, dmesg output clues

#18 Post by kedaha »

Good news --maybe....
I was interested in this topic because I also have a pci Soundblaster, but a different model: the SB AUDIGY with the CA0106.

Code: Select all

$ lspci | grep Soundblaster
03:01.0 Multimedia audio controller: Creative Labs CA0106 Soundblaster
In the past I managed to get sound from it as I mentioned in this post but, since the quality was unsatisfactory, I removed it and inserted a different card. Being the weekend, and considering this topic, I opened up the computer and inserted it. I don't no why but this time it didn't work at all in my Squeeze+backports system but, having a largish free space on my hard drive, I decided to install testing on it. The installer gave me the option to choose the 3.0.0-1-amd64 kernel. When I rebooted Wheezy, I was surprised and delighted that my SB sound card, which had been lying around unused for years, finally worked with much better quality than sound card I had been using or the on-board audio codec, which I disabled in the BIOS.
So, if you have installed Wheezy and still have no sound, try the latest 3.0.0-1 Linux kernel. I read somewhere that all sound-blaster cards are similar so I hope this helps you too.
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

TylerS
Posts: 19
Joined: 2011-09-04 19:32

Re: Audigy4: No sound, dmesg output clues

#19 Post by TylerS »

Okay... now I'm sufficiently confused. It's something to do with my motherboard/CPU. I went home for the weekend and put the Audigy4 in my Core2 (P55) motherboard, booted up Wheezy and it works perfectly from the get go. My i7 (z68) motherboard that I've trying to get working with the Audigy4 has the same exact setup with Wheezy... but it doesn't work! I can toggle the 'Audigy Analog/Digital Output Jack' on this Core2 (p55) based system, but not my i7 (z68) based system. Hmm... there's nothing to do with PCI in my z68-based motherboard BIOS, and the card works fine in Windows.

Any thoughts?

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: Audigy4: No sound, dmesg output clues

#20 Post by kedaha »

TylerS wrote: EDIT: new /etc/asound.conf has no effect. speaker-test gives the same dreaded output. Bummer.
Upgrading the Wheezy now.

EDIT2: Still nothing. Filed a bug report upstream.
TylerS wrote:Okay... now I'm sufficiently confused. It's something to do with my motherboard/CPU. I went home for the weekend and put the Audigy4 in my Core2 (P55) motherboard, booted up Wheezy and it works perfectly from the get go. My i7 (z68) motherboard that I've trying to get working with the Audigy4 has the same exact setup with Wheezy... but it doesn't work! I can toggle the 'Audigy Analog/Digital Output Jack' on this Core2 (p55) based system, but not my i7 (z68) based system. Hmm... there's nothing to do with PCI in my z68-based motherboard BIOS, and the card works fine in Windows.

Any thoughts?
TylerS wrote:

Code: Select all

root@einstein:/home/tyler# alsactl init
Unknown hardware: "Audigy2" "0xa100a1 �?�" "AC97m:00a100a1" "0x1102" "0x1021"
Hardware is initialized using a guess method
So the hardware does actually work but something is interfering with it as seen from the following:
TylerS wrote:

Code: Select all

tyler@einstein:~$ speaker-test -Dplug:iec958 -c2

speaker-test 1.0.23

Playback device is plug:iec958
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 64 to 16384
Period size range from 16 to 16384
Using max buffer size 16384
Periods = 4
was set period_size = 4096
was set buffer_size = 16384
Up to here, the output is identical to my Soundblaster, which works perfectly. But the key error is
TylerS wrote:

Code: Select all

 0 - Front Left

Write error: -5,Input/output error
xrun_recovery failed: -5,Input/output error
Transfer failed: Operation not permitted
root@einstein:/home/tyler# exit
exit
You might try running the sound tests without running X and without the network adapter in order to narrow down the possibilities. In Wheezy, I found it better to login in single user mode rather than killing X with /etc/init.d/gdm3 stop since this caused, on my system, one or two glitches.
It is highly likely the error is caused by a bug affecting the i7 (z68) hardware and I note that you have already filed a report: it therefore goes beyond what can be solved with reference to normal troubleshooting documentation raising issues such as those addressed, for example, in an opensuse forums topic: Laptop has no sound, which might give a few clues about the above error.
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

Post Reply