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

Thread: audio problem

  1. #1
    MirrorHole NNTP User

    Default audio problem

    Hi everybody,
    I'm an italian user (sorry for my bad english) of opensuse and I'm new of the linux world!

    I have just installed opensuse 11.1 (KDE 3.5) and I have some problem with configuring audio.
    I installed codecs audio/video but when I start my system I can't listen any sound, for example, if I try to open a music file with an audio player. I can solve this problem performing
    Code:
    alsaconf
    or configuring audio with yast. However, when I reboot my system I lose any audio setting and I need to configure it again.

    Please help me
    Thanks you
    Danilo

  2. #2
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,857
    Blog Entries
    20

    Default Re: audio problem

    Tumbleweed_KDE
    My Articles Was I any help? If yes: Click the star below

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

    Default Re: audio problem

    If you have to run alsconf each time, there are a couple of possibilities that come to mind
    • one possibility is your sound device is muted at boot, and instead of searching your mixer for the muted channel, you are hitting a nail with a sludge hammer and doing the unmute with alsaconf. or
    • one possibility is some multi-media application (possibly your desktop system audio) is seizing the audio device at boot, and not letting go nor sharing the device;
    • one possibility is during boot, some other boot application is either interfering with the load of your alsa sound driver, or corrupting the load of your alsa sound driver (the ntswrapper is notorious for doing this).

    Instead of typing alsaconf, you could try typing: su -c 'rcalsasound restart' and enter root password, if that works, put the line (no quotes) "rcalsasound restart" as the last line in your /etc/init.d/boot.local file.

    You do need to seriously check the settings in your mixer (kmix in kde and alsamixer/amixer in gnome).

    Good luck.

  4. #4
    MirrorHole NNTP User

    Default Re: audio problem

    If you have to run alsconf each time, there are a couple of possibilities that come to mind

    * one possibility is your sound device is muted at boot, and instead of searching your mixer for the muted channel, you are hitting a nail with a sludge hammer and doing the unmute with alsaconf. or
    * one possibility is some multi-media application (possibly your desktop system audio) is seizing the audio device at boot, and not letting go nor sharing the device;
    * one possibility is during boot, some other boot application is either interfering with the load of your alsa sound driver, or corrupting the load of your alsa sound driver (the ntswrapper is notorious for doing this).

    Instead of typing alsaconf, you could try typing: su -c 'rcalsasound restart' and enter root password, if that works, put the line (no quotes) "rcalsasound restart" as the last line in your /etc/init.d/boot.local file.

    You do need to seriously check the settings in your mixer (kmix in kde and alsamixer/amixer in gnome).

    Good luck.
    Thank you for the answers!

    When I type su -c 'rcalsasound restart' I obtain the same result of alsaconf: the audio is ok!.
    I tried to put the line rcalsasound restart in the last line in my /etc/init.d/boot.local file and I restarted my computer, but I did not obtain any results.
    Last edited by MirrorHole; 26-Jul-2009 at 15:51. Reason: to complete the answer

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

    Default Re: audio problem

    Quote Originally Posted by MirrorHole View Post
    Thank you for the answers!

    When I type su -c 'rcalsasound restart' I obtain the same result of alsaconf: the audio is ok!.
    I tried to put the line rcalsasound restart in the last line in my /etc/init.d/boot.local file and I restarted my computer, but I did not obtain any results.
    Can you post here the contents of your updated /etc/init.d/boot.local file?

  6. #6
    MirrorHole NNTP User

    Default Re: audio problem

    Can you post here the contents of your updated /etc/init.d/boot.local file?
    Sorry, I'm late!
    Here you have my updated /etc/init.d/boot.local file:
    Code:
    #! /bin/sh
    #
    # Copyright (c) 2002 SuSE Linux AG Nuernberg, Germany.  All rights reserved.
    #
    # Author: Werner Fink <werner@suse.de>, 1996
    #         Burchard Steinbild, 1996
    #
    # /etc/init.d/boot.local
    #
    # script with local commands to be executed from init on system startup
    #
    # Here you should add things, that should happen directly after booting
    # before we're going to the first run level.
    #
    rcalsasound restart

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

    Default Re: audio problem

    Quote Originally Posted by MirrorHole View Post
    I tried to put the line rcalsasound restart in the last line in my /etc/init.d/boot.local file and I restarted my computer, but I did not obtain any results.
    Your boot.local file looks ok.

    What is your criteria for saying you do not obtain any results? What results did you not obtain?

  8. #8
    MirrorHole NNTP User

    Default Re: audio problem

    Your boot.local file looks ok.

    What is your criteria for saying you do not obtain any results? What results did you not obtain?
    After updating the /etc/init.d/boot.local file I reboot my system and I still can't hear any sound if I open a music file or If I try to open a video (my kMix is ok!)!

    P.S:
    I forgot to say that, although I can't hear any sound from a music file or a video file, the system sounds are ok, both when I did not update the /etc/init.d/boot.local file and when the file is updated !

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

    Default Re: audio problem

    Quote Originally Posted by MirrorHole View Post
    After updating the /etc/init.d/boot.local file I reboot my system and I still can't hear any sound if I open a music file or If I try to open a video (my kMix is ok!)!

    P.S:
    I forgot to say that, although I can't hear any sound from a music file or a video file, the system sounds are ok, both when I did not update the /etc/init.d/boot.local file and when the file is updated !
    This suggests to me that your problem is not basic system sound, but rather inappropriate codecs. OpenSUSE in essence is packaged crippled for most codecs and must be updated to provide 1st rate multimedia capabilities.

    Fortunately that is VERY easy to do. Please read the post linked here: openSUSE Forums - View Single Post - sound problems - fixing ones multimedia applications ... and follow the advice in that thread. My apologies for the pontification in that post, but the technical information should be good.

    Good luck.

  10. #10
    MirrorHole NNTP User

    Default Re: audio problem

    This suggests to me that your problem is not basic system sound, but rather inappropriate codecs. OpenSUSE in essence is packaged crippled for most codecs and must be updated to provide 1st rate multimedia capabilities.

    Fortunately that is VERY easy to do. Please read the post linked here: openSUSE Forums - View Single Post - sound problems - fixing ones multimedia applications ... and follow the advice in that thread. My apologies for the pontification in that post, but the technical information should be good.
    I have already installed the codecs from 1-click-collection - openSUSE-Community (Multimedia - Codecs pack for KDE)! When I type su -c 'rcalsasound restart' the audio is ok and I can hear whatever audio file format!

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
  •