Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Sound issues..

  1. #1

    Default Sound issues..

    Been searching for anyone who has run into the sound issue I have, but have been unsuccessful.

    Dell C521, Dual Athlon, Suse 11.1 64bit, KDE 4.2.3

    Audio was working fine until yesterday. Card shows as HDA Nvidia (STAC92xx Analog), driver is snd-hda-intel.

    I have run speaker-test (get nothing), alsaconf (doesn't help), and removed PulseAudio (no effect).

    What's odd is if I go into YAST/Hardware/Sound, I can see the card (shows as MCP 51 High Definition Audio). Test sound does not work.

    However, if I delete it (then shows as Not Configured), then edit it, and choose Normal Setup, clicking the Test button yields a wonderful bit of music. Once its saved, though the sound goes away. Sometimes I can get static from the speakers, but eventually nothing.

    Any ideas? I realize it could be hardware related, but the fact that it makes sound in YAST (though not again until I delete/add it), makes me think a config issue.

    Thx in advance

  2. #2

    Default Re: Sound issues..

    Bump bump bump

  3. #3
    Join Date
    Mar 2008
    Location
    Phuket, Thailand
    Posts
    27,109
    Blog Entries
    40

    Default Re: Sound issues..

    Quote Originally Posted by mhibist View Post
    What's odd is if I go into YAST/Hardware/Sound, I can see the card (shows as MCP 51 High Definition Audio). Test sound does not work.

    However, if I delete it (then shows as Not Configured), then edit it, and choose Normal Setup, clicking the Test button yields a wonderful bit of music. Once its saved, though the sound goes away. Sometimes I can get static from the speakers, but eventually nothing.
    What happens if you add your regular user to group audio per step#6:
    SDB:AudioTroubleshooting - openSUSE
    Note you should restart after trying that.

    Assuming that does not work, ... can you provide more very detailed information so a good recommendation can be given? For openSUSE-11.1, you can do that, with your laptop connected to the internet, by opening a gnome-terminal or a kde konsole and twice copy and paste the following into that terminal/konsole
    Code:
    /usr/sbin/alsa-info.sh
    Run it the 1st time with root permissions. It will ask if you wish to do an update of the script. Select YES.

    Then run it again (as either a regular user or as root). This time it will diagnose your PC's hardware and software configuration for audio, and it will post its output on the Internet/web. It will give you the URL of the web site. Please post that URL here. JUST the URL.

    Also, please copy and paste the following commands one line at a time into a gnome-terminal or a konsole and post here the output:
    rpm -qa | grep alsa
    rpm -qa | grep pulse
    rpm -q libasound2
    uname -a
    cat /etc/modprobe.d/sound
    ... with that information I may be able to make a recommendation.

    Also, do NOT waste too much time on this. Simply post on our forum if you get stumped, and continue to look for help that way.

    I'm currently on vacation, so my replies may be a few days apart.

  4. #4
    Join Date
    Mar 2009
    Location
    sri mayapur, west bengal, india
    Posts
    958

    Default Re: Sound issues..

    oldcpu's recommendation is certainly the best, allowing you to figure out the root of your problems. still, i've had a similar problem recently (different hardware) and could solve it by changing priority of frontend devices and audio backend in personal settings -> computer administration -> multimedia.

    depending on your configuration you'll probably have xine and gstreamer backends installed, and a couple of frontend devices (there are different tabs in the admin screen for front- and backend). in my case xine backend works more reliably than gstreamer, and switching between different detected audio devices (click "apply" after changing) brought my sound back to life.

  5. #5

    Default Re: Sound issues..

    Thanks...i uploaded the data to:

    http://www.alsa-project.org/db/?f=3c...1ef00d3aec0af7

    The script did not ask to update (ran as root).

    Output of rpm -qa|grep alsa

    alsa-plugins-pulse-1.0.18-6.13
    alsa-oss-1.0.17-1.43
    alsa-oss-32bit-1.0.17-1.37
    alsa-1.0.18-8.12.1
    alsa-plugins-1.0.18-6.13
    alsa-devel-1.0.18-8.12.1
    alsa-utils-1.0.18-6.4

    Output of prm -qa|grep pulse

    alsa-plugins-pulse-1.0.18-6.13
    libpulse-mainloop-glib0-0.9.14-2.2.1
    libxine1-pulse-1.1.16.3-2.pm.5.3
    libpulse0-0.9.14-2.2.1
    libpulse-browse0-0.9.14-2.2.1
    pulseaudio-utils-0.9.14-2.2.1

    Output of rpm -q libasound2

    libasound2-1.0.18-8.12.1

    uname -a:

    Linux linux-9l57 2.6.27.29-0.1-default #1 SMP 2009-08-15 17:53:59 +0200 x86_64 x86_64 x86_64 GNU/Linux

    /etc/modprobe.d/sound

    options snd slots=snd-hda-intel
    # wRyD.ELN_dPkuGaC:MCP51 High Definition Audio
    alias snd-card-0 snd-hda-intel

    Thanks again for your help, and enjoy your vacation!

  6. #6

    Default Re: Sound issues..

    Quote Originally Posted by phanisvara View Post
    oldcpu's recommendation is certainly the best, allowing you to figure out the root of your problems. still, i've had a similar problem recently (different hardware) and could solve it by changing priority of frontend devices and audio backend in personal settings -> computer administration -> multimedia.

    depending on your configuration you'll probably have xine and gstreamer backends installed, and a couple of frontend devices (there are different tabs in the admin screen for front- and backend). in my case xine backend works more reliably than gstreamer, and switching between different detected audio devices (click "apply" after changing) brought my sound back to life.
    Thanks for the input...i have done that a bunch of times. If I have the "Configure Desktop" app up when I do the YAST trick, I can get the test sound once, then it dies.

    I just tested adding myself to the "Audio" group per oldcpu's suggestion, but that did not work either.

    This whole thing is interesting...fairly new to this, and what better way to learn it than to have issues.

    Thx again..

  7. #7
    Join Date
    Mar 2008
    Location
    Phuket, Thailand
    Posts
    27,109
    Blog Entries
    40

    Default Re: Sound issues..

    OK, I note a 64-bit openSUSE-11.1 with the latest 2.6.27.29 kernel on a Dell Dimension C521 with a Stac9227 hardware audio codec.

    I'm not that familiar with the stac9227. I did a search on the alsa website for possible updates and I noted this for the stac9227: Search results - AlsaProject

    and for the stac92xx (generic): Search results - AlsaProject

    I also noted your PCM/Master volume both at 100% and on, and 1-speaker on at 100%, and the other two muted. I don't know what those two do.

    Simple mixer control 'Speaker',0
    Capabilities: pvolume pswitch
    Mono:
    Front Left: Playback 64 [100%] [0.00dB] [on]
    Front Right: Playback 64 [100%] [0.00dB] [on]
    Simple mixer control 'Speaker',1
    Capabilities: pvolume pswitch
    Mono:
    Front Left: Playback 64 [100%] [0.00dB] [off]
    Front Right: Playback 64 [100%] [0.00dB] [off]
    Simple mixer control 'Speaker',3
    Capabilities: pvolume pswitch
    Mono:
    Front Left: Playback 64 [100%] [0.00dB] [off]
    Front Right: Playback 64 [100%] [0.00dB] [off]
    I don't know enough about your hardware to know if muting those two speakers has any impact.

    I note for the stac9227 it is possible to force various model options at boot, with a list of those options being here (only one at a time can be forced, and it must be done in a specific syntax in the /etc/modprobe.d/sound file):
    Code:
    	STAC9227/9228/9229/927x
    	  ref		Reference board
    	  3stack	D965 3stack
    	  5stack	D965 5stack + SPDIF
    	  dell-3stack	Dell Dimension E520
    	  dell-bios	Fixes with Dell BIOS setup
    But before messing around with that, I note you stated sound works, and then stops. Lets look into that.

    When sound works, run the following in a terminal, and copy the output to a text file and save it.
    Code:
     lsof /dev/dsp* /dev/audio* /dev/mixer* /dev/snd/*
    then when sound is NOT working, do the same:
    Code:
     lsof /dev/dsp* /dev/audio* /dev/mixer* /dev/snd/*
    and copy the output to a text file and save it.

    Compare the two outputs and determine what is the difference? Is there an application that has seized your sound device in the case where sound is not working that was not present when sound worked ? [reference: SDB:AudioTroubleshooting - openSUSE - determining which application is using the sound device ]

    The remainder of the information you provided will be useful if later we determine it necessary to update your alsa version.

  8. #8

    Default Re: Sound issues..

    Thanks, I'll run through that and let you know what I find out.

    Much appreciated!

  9. #9

    Default Re: Sound issues..

    Update..I finally got around to messing with some stuff. The lsof commands were all over the place since it would work one second, and not the next. However, the behavior seems so odd, that one of your recommendations made a difference.

    The sound would work in YAST, then maybe once in the "Configure Desktop" applet. Second time in ConfigDesktop, you could hear a lot of static, and the music very faintly. Third time, nothing.

    I went into YAST, and modified the card config, adding the "dell-bios" entry into the "model" field. Seemed a logical choice since the behavior was so weird. It seemed like the driver was losing communications with the card, or forgot how to deal with it. Bingo. That made things much better. Sound now works consistently from what I can tell. I'm not a big sound guy, but its nice to have it when you need it.

    Still one issue where, on a restart, the sound is not there. Setting it back up in YAST, fixes it for the session.

    Not completely solved, but much much better.

    Thanks for the time and the tips!

  10. #10
    Join Date
    Mar 2008
    Location
    Phuket, Thailand
    Posts
    27,109
    Blog Entries
    40

    Default Re: Sound issues..

    Quote Originally Posted by mhibist View Post
    I went into YAST, and modified the card config, adding the "dell-bios" entry into the "model" field. Seemed a logical choice since the behavior was so weird. It seemed like the driver was losing communications with the card, or forgot how to deal with it. Bingo. That made things much better. Sound now works consistently from what I can tell.
    The YaST front end in openSUSE-11.1 and earlier will write to the file /etc/modprobe.d/sound and do some other things (such as restarting alsa). Post here output of
    cat /etc/modprobe.d/sound
    so we can see what YaST did

    Next time you restart, if sound is not there, instead of going to YaST, type:
    su -c 'rcalsasound restart'
    enter root password when prompted for a password, and restart your mixer and test your sound.

    If that works, we can set things up to have "rcalsasound restart" run at every boot.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •