LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Suddenly no sound (https://www.linuxquestions.org/questions/linux-software-2/suddenly-no-sound-745531/)

nappy501 08-06-2009 05:30 AM

Suddenly no sound
 
Hi

Sorry it is such a useless subject line, but I don't know what else to say.

I have been using Suse 11.1 with Firefox and more recently Opera since July 2009.

Over the past couple of days I have lost sound. There is no sound from CD's or watching youtube. However, I don't think it is hardware as when I turn the machine on I get the welcome sound. And I jump when I switch it off as I have turned the sound up and I get the goodbye sound.

Just a thought this weekend I downloaded Skype. As far as I can see it doesn't start when I boot up the machine. I have just started Skype and I get the welcome sound from that. If it is Skype that is causing the problem I supose I can uninstall as I only have speakers and not a microphone.

So there is no sound out of Opera or Firefox or cd's.
Can anyone give me some tips of where to look for the problem?

Thank you.

nappy501 08-06-2009 02:51 PM

Hi

I have carried out a test

speaker-test -c2 -twav

The nice lady says 'front left' front right'. So there is nothing wrong with my hardware. There is something wrong with the line of code as I couldn't work out how to stop it. Only by 'ending the process' in system monitor.

Regards

chakka.lokesh 08-06-2009 11:12 PM

I am not sure where the problem is. But still I want to try to help you.

please post the contents of "/etc/asound.conf" file.

nappy501 08-07-2009 11:02 AM

Quote:

Originally Posted by chakka.lokesh (Post 3634344)
I am not sure where the problem is. But still I want to try to help you.

please post the contents of "/etc/asound.conf" file.

Hi,

Today the sound is fine on everything. When I turned on my machine this morning it did an update. I am hoping it is sorted now.

I couldn't find /etc/asound.conf, but found /etc/asound-pulse.conf

Code:

# PulseAudio plugin configuration

# Let's create a virtual device "pulse" for mixer and PCM

pcm.pulse {
    type pulse
}

ctl.pulse {
    type pulse
}

# Let's make it the default!

pcm.!default {
    type plug
    slave.pcm {
        type pulse
    }
}

ctl.!default {
    type pulse
Type  :quit<Enter>  to exit Vim                              1,1          Top

And I also found

Code:

state.SI7012 {
        control.1 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Master Playback Switch'
                value true
        }
        control.2 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                comment.dbmin -4650
                comment.dbmax 0
                iface MIXER
                name 'Master Playback Volume'
                value.0 31
                value.1 31
        }
        control.3 {
                comment.access 'read write'
"asound.state" [readonly] 370L, 7958C                        1,1          Top


nappy501 08-10-2009 07:04 AM

Hi

Today is a day where I have no sound from Firefox or Opera. I tried closing and reopening them with no success.

asound-pulse.conf
Code:

# PulseAudio plugin configuration

# Let's create a virtual device "pulse" for mixer and PCM

pcm.pulse {
    type pulse
}

ctl.pulse {
    type pulse
}

# Let's make it the default!

pcm.!default {
    type plug
    slave.pcm {
        type pulse
    }
}

ctl.!default {
    type pulse
}

and asound.state
Code:

state.SI7012 {
        control.1 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Master Playback Switch'
                value true
        }
        control.2 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                comment.dbmin -4650
                comment.dbmax 0
                iface MIXER
                name 'Master Playback Volume'
                value.0 23
                value.1 23
        }
        control.3 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Center Playback Switch'
                value false
        }
        control.4 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                comment.dbmin -4650
                comment.dbmax 0
                iface MIXER
                name 'Center Playback Volume'
                value 31
        }
        control.5 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'LFE Playback Switch'
                value false
        }
        control.6 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                comment.dbmin -4650
                comment.dbmax 0
                iface MIXER
                name 'LFE Playback Volume'
                value 0
        }
        control.7 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Surround Playback Switch'
                value.0 false
                value.1 false
        }
        control.8 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'PC Speaker Playback Switch'
                value false
        }
        control.9 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 15'
                comment.dbmin -4500
                comment.dbmax 0
                iface MIXER
                name 'PC Speaker Playback Volume'
                value 0
        }
        control.10 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Mic Playback Switch'
                value false
        }
        control.11 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                comment.dbmin -3450
                comment.dbmax 1200
                iface MIXER
                name 'Mic Playback Volume'
                value.0 0
                value.1 0
        }
        control.12 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Mic Boost (+20dB)'
                value false
        }
        control.13 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Line Playback Switch'
                value true
        }
        control.14 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                comment.dbmin -3450
                comment.dbmax 1200
                iface MIXER
                name 'Line Playback Volume'
                value.0 0
                value.1 0
        }
        control.15 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'CD Playback Switch'
                value true
        }
        control.16 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                comment.dbmin -3450
                comment.dbmax 1200
                iface MIXER
                name 'CD Playback Volume'
                value.0 29
                value.1 29
        }
        control.17 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Aux Playback Switch'
                value false
        }
        control.18 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                comment.dbmin -3450
                comment.dbmax 1200
                iface MIXER
                name 'Aux Playback Volume'
                value.0 0
                value.1 0
        }
        control.19 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'PCM Playback Switch'
                value true
        }
        control.20 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 2
                comment.item.0 Mic
                comment.item.1 CD
                comment.item.2 Video
                comment.item.3 Aux
                comment.item.4 Line
                comment.item.5 Mix
                comment.item.6 'Mix Mono'
                comment.item.7 Phone
                iface MIXER
                name 'Capture Source'
                value.0 Mic
                value.1 Mic
        }
        control.21 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Capture Switch'
                value true
        }
        control.22 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 15'
                comment.dbmin 0
                comment.dbmax 2250
                iface MIXER
                name 'Capture Volume'
                value.0 15
                value.1 15
        }
        control.23 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Mix
                comment.item.1 Mic
                iface MIXER
                name 'Mono Output Select'
                value Mix
        }
        control.24 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Mic1
                comment.item.1 Mic2
                iface MIXER
                name 'Mic Select'
                value Mic1
        }
        control.25 {
                comment.access read
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Con Mask'
                value '0fff000f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
        }
        control.26 {
                comment.access read
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Pro Mask'
                value cf00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
        }
        control.27 {
                comment.access 'read write'
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Default'
                value '0082000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
        }
        control.28 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Switch'
                value true
        }
        control.29 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 3'
                iface MIXER
                name 'IEC958 Playback AC97-SPSA'
                value 0
        }
        control.30 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 AC-Link
                comment.item.1 ADC
                comment.item.2 SPDIF-In
                iface MIXER
                name 'IEC958 Playback Source'
                value AC-Link
        }
        control.31 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'IEC958 Capture Valid Switch'
                value false
        }
        control.32 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'IEC958 Capture Monitor'
                value false
        }
        control.33 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'IEC958 Capture Switch'
                value false
        }
        control.34 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 AC-Link
                comment.item.1 SPDIF-In
                comment.item.2 Both
                iface MIXER
                name 'DAC Clock Source'
                value AC-Link
        }
        control.35 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Shared
                comment.item.1 Independent
                iface MIXER
                name 'Surround Jack Mode'
                value Shared
        }
        control.36 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 '2ch'
                comment.item.1 '4ch'
                comment.item.2 '6ch'
                iface MIXER
                name 'Channel Mode'
                value '2ch'
        }
        control.37 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'External Amplifier'
                value true
        }
        control.38 {
                comment.access 'read write user'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 255'
                comment.tlv '0000000100000008ffffec1400000014'
                comment.dbmin -5100
                comment.dbmax 0
                iface MIXER
                name 'PCM Playback Volume'
                value.0 255
                value.1 255
        }
}


chakka.lokesh 08-10-2009 11:53 PM

take a back up of your asound-pulse.conf

edit the content

Quote:

pcm.!default {
type plug
slave.pcm {
type pulse
}
with the following one:

Quote:

pcm.!default {
type plug
slave.pcm "dmix"
}
restart the system.

SteveThePirate 08-11-2009 12:45 AM

what do type pulse and dmix mean and how is it causing him to have intermittent sound problems? Just curious. :)

chakka.lokesh 08-12-2009 12:55 AM

Quote:

Originally Posted by SteveThePirate (Post 3638765)
what do type pulse and dmix mean and how is it causing him to have intermittent sound problems? Just curious. :)

dmix is a plugin that allows you to open multiple threads. So that more than one application can use the speaker(s) parallely. Otherwise audio device will get locked under first application that started using the speaker(s). This lock will not be released unless you reboot.

Regarding "type pulse" . . . . . even I don't know what it is :D
may be related to pulse audio

nappy501 08-12-2009 05:35 AM

Quote:

Originally Posted by chakka.lokesh (Post 3638724)
take a back up of your asound-pulse.conf

edit the content



with the following one:



restart the system.

Hi,

The sound has worked for a couple of days. I uninstalled Skype also. Yesterday, it wasn't working, I did you as suggested, but I didn't restart. I have turned it on today and it is working.

I hope this is it sorted now. Watch this space.

Thank you.

nappy501 08-13-2009 01:52 PM

Today again, no sound?????????

nappy501 08-15-2009 02:18 PM

Today, I have sound. It is really frustrating having an intermittent problem.

nappy501 08-18-2009 04:50 AM

Hi Everyone,

I have had sound until today, where it is gone again. I am wondering if I should do a fresh install?

changedsoul 08-20-2009 11:35 AM

My wife had the same problem, although now we are having other problems, but we have sound now all the time each boot.

What I did to fix it? Remove Pulse. Get Rid of it.

Anyways, that my fix. It work. Sound works. What is pulse for anyways. I dont have network music going on, why would I need pulse installed, and why is it installed by default?


Not sure what removing pulse might have done to my config stuff, I removed my sound card frim yast and let it refind it and reconfigure it, I then ran the alsa config command util to get things back to norm.

Anyways, hope this helps.

nappy501 08-21-2009 08:49 AM

No sound until today. A security update asked me to reboot and then there was sound?


All times are GMT -5. The time now is 08:30 AM.