Page 1 of 3 123 LastLast
Results 1 to 10 of 22

Thread: sound trouble in M7

  1. #1

    Default sound trouble in M7

    I thought I'd contribute a separate post regarding sound trouble on M7 (in addition to someone elses on M6)

    I haven't run the diagnostic script from the troubleshooting sight yet, but I did notice the following. Any suggestions, or do I need to run the script to provide further details?

    dmesg |grep ALSA
    [ 51.098194] ALSA /usr/src/packages/BUILD/kernel-desktop-2.6.31/linux-2.6.30/sound/pci/hda/hda_intel.c:1186: Too big adjustment 32
    [ 51.111798] ALSA /usr/src/packages/BUILD/kernel-desktop-2.6.31/linux-2.6.30/sound/pci/hda/hda_intel.c:1186: Too big adjustment 32
    [ 51.205383] ALSA /usr/src/packages/BUILD/kernel-desktop-2.6.31/linux-2.6.30/sound/pci/hda/hda_intel.c:1186: Too big adjustment 32


    when I check to see whats there, the BUILD directory is empty


    ll /usr/src/packages/BUILD/
    total 0



    I notice that both kernels 2.6.31 and 2.6.30 are mentioned above. Is this just a case of a bad update from M6 to M7?

  2. #2
    Join Date
    Mar 2008
    Location
    Phuket, Thailand
    Posts
    27,108
    Blog Entries
    40

    Default Re: sound trouble in M7

    Quote Originally Posted by gavinto View Post
    Any suggestions, or do I need to run the script to provide further details?
    I typically need the script output to come up with any suggestions.

  3. #3

    Default Re: sound trouble in M7

    Hi oldcpu

    I've run the script and uploaded it to the the alsa project site

    http://www.alsa-project.org/db/?f=3a...34e8d2b02a57d7

  4. #4
    Join Date
    Mar 2008
    Location
    Phuket, Thailand
    Posts
    27,108
    Blog Entries
    40

    Default Re: sound trouble in M7

    Quote Originally Posted by gavinto View Post
    I've run the script and uploaded it to the the alsa project site

    http://www.alsa-project.org/db/?f=3a...34e8d2b02a57d7
    Thanks. Exactly what was your sound trouble? Low sound? No sound?

    I took a look at the script. I note openSUSE-11.2 milestone7 with the 2.6.31-rc9-7-desktop kernel and an ALC660-VD hardware audio codec in an Asus A7K with a mix of alsa-1.0.20/1.0.21.

    Your PCs mixer settings for "Master" strike me as somewhat strange:

    !!Amixer output
    !!-------------
    !!-------Mixer controls for card 0 [SB]
    Card hw:0 'SB'/'HDA ATI SB at 0xfebf4000 irq 16'
    Mixer name : 'Realtek ALC660-VD'
    Simple mixer control 'Master',0
    Mono: Playback 5 [8%] [-59.00dB] [on]
    Simple mixer control 'PCM',0
    Front Left: Playback 252 [99%] [0.60dB]
    Front Right: Playback 252 [99%] [0.60dB]
    Simple mixer control 'Front',0
    Front Left: Playback 64 [100%] [0.00dB] [on]
    Front Right: Playback 64 [100%] [0.00dB] [on]
    Try moving that setting up from 8% to 95%. Typically one uses kmix in kde or alsamixer in gnome for such adjustments.

  5. #5

    Default Re: sound trouble in M7

    Hi old CPU,

    no sound. When I log in I get a pop up in KDE 4 telling me there is no analogue sound, so its defaulting to pulse audio.

    I've opened KDE4s mixing controls and everything there is full. Haven't tried headphones yet (which I should have I already).

    This is a laptop for which it was found (in 11.1) under 1.0.19 that HDa verb was required with some special settings (as I recall you were in that thread somewhere). I was hoping that this would be fixed in 1.0.20.

  6. #6
    Join Date
    Mar 2008
    Location
    Phuket, Thailand
    Posts
    27,108
    Blog Entries
    40

    Default Re: sound trouble in M7

    Quote Originally Posted by gavinto View Post
    Hi old CPU,

    no sound. When I log in I get a pop up in KDE 4 telling me there is no analogue sound, so its defaulting to pulse audio.

    I've opened KDE4s mixing controls and everything there is full. Haven't tried headphones yet (which I should have I already).

    This is a laptop for which it was found (in 11.1) under 1.0.19 that HDa verb was required with some special settings (as I recall you were in that thread somewhere). I was hoping that this would be fixed in 1.0.20.
    Trying the headphones is essential. I was told by one of the alsa developers that getting sound to work in a headphone is much easier than getting it to work in speakers.

    Now for some generic advice, and my apologies if this is too simple for you, but I have difficulty guessing the knowledge level of users (and some users get upset at me for over estimating their knowledge, or in other cases under estimating their knowledge - no matter how one cuts it, it is difficult to guess correctly).

    ===============
    Do NOT use the startup system sound as your criteria for stating sound does not work. Also be certain to check your mixer. Its not uncommon for a mixer setting (master, pcm or speaker) to be muted upon boot. In KDE your mixer is "kmix" (the small speaker in right hand corner). In Gnome your mixer is "alsamixer".

    Note, when testing if you have sound, please copy and paste the following speaker-test into a Gnome terminal or a kde konsole:

    speaker-test -Dplug:front -c2 -l5 -twav

    Note Linux is case sensitive, and D is not the same as d. To stop the above test, while the konsole/xterm has the mouse focus, press <CTRL><C> on the keyboard. Note you should check your mixer settings (kmix if using KDE, and alsamixer if using Gnome) to ensure that PCM and Master Volume are set around 95%. Once you have basic sound established you can back off to lower volume levels. Note the test for surround sound is different.

    If that test yields errors (and its not uncommon to get errors there), try instead this more simple test:
    speaker-test -c2 -l5 -twav
    You should hear a female voice saying 'FRONT LEFT', 'FRONT RIGHT' five times. Its quite common that one of those speaker tests will work and one will NOT work, so don't be distressed if that is the case. IF that test gives sound, stop now, post that the sound test gives sound, and we will look at other possible causes for your applications not giving you the sound you want (such as missing codecs, using the wrong packaged version ... etc ... ).

    Or alternatively, for testing the simple playback, use aplay program. Prepare a WAV file and simply run like:
    Code:
    aplay -vv somefile.wav
    With the option -vv, aplay shows the verbose information of the PCM device, and a VU-peak meter during playing the file.

    Try those speaker-tests as both a regular user, and also with root permissions. If you have a headset, try with your headset plugged in, and also with your headset not plugged in (for speakers).

    Assuming no sound, 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.

  7. #7

    Default Re: sound trouble in M7

    Hi old cpu
    I can confirm that no sound happens for headphone use either. I did confirm kmixer settings. all tests were run as root and user with and without headphones. No sound resulted. the below was done as root with and without headphones


    first test
    speaker-test -c2 -l5 -twav

    speaker-test 1.0.21

    Playback device is default
    Stream parameters are 48000Hz, S16_LE, 2 channels
    WAV file(s)
    ALSA lib conf.c:4626snd_config_expand) Expand error (walk): File exists
    Rate set to 48000Hz (requested 48000Hz)
    Buffer size range from 64 to 262144
    Period size range from 32 to 131072
    Using max buffer size 262144
    Periods = 4
    was set period_size = 65536
    was set buffer_size = 262144
    0 - Front Left
    1 - Front Right
    Time per period = 5.488574
    0 - Front Left
    1 - Front Right


    Test 2

    /root# aplay -vv /usr/share/sounds/k3b_success1.wav
    ALSA lib conf.c:4626snd_config_expand) Expand error (walk): File exists
    Playing WAVE '/usr/share/sounds/k3b_success1.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono
    Plug PCM: Rate conversion PCM (48000, sformat=U8)
    Converter: libspeex (builtin)
    Protocol version: 10002
    Its setup is:
    stream : PLAYBACK
    access : RW_INTERLEAVED
    format : U8
    subformat : STD
    channels : 1
    rate : 8000
    exact rate : 8000 (8000/1)
    msbits : 8
    buffer_size : 4010
    period_size : 1002
    period_time : 125333
    tstamp_mode : NONE
    period_step : 1
    avail_min : 1002
    period_event : 0
    start_threshold : 4010
    stop_threshold : 4010
    silence_threshold: 0
    silence_size : 0
    boundary : 1128714656609730560
    Slave: Route conversion PCM (sformat=S16_LE)
    Transformation table:
    0 <- 0
    1 <- 0
    Its setup is:
    stream : PLAYBACK
    access : MMAP_INTERLEAVED
    format : U8
    subformat : STD
    channels : 1
    rate : 48000
    exact rate : 48000 (48000/1)
    msbits : 8
    buffer_size : 24064
    period_size : 6016
    period_time : 125333
    tstamp_mode : NONE
    period_step : 1
    avail_min : 6016
    period_event : 0
    start_threshold : 24064
    stop_threshold : 24064
    silence_threshold: 0
    silence_size : 0
    boundary : 6773413839565225984
    Slave: Hardware PCM card 0 'HDA ATI SB' device 0 subdevice 0
    Its setup is:
    stream : PLAYBACK
    access : MMAP_INTERLEAVED
    format : S16_LE
    subformat : STD
    channels : 2
    rate : 48000
    exact rate : 48000 (48000/1)
    msbits : 16
    buffer_size : 24064
    period_size : 6016
    period_time : 125333
    tstamp_mode : NONE
    period_step : 1
    avail_min : 6016
    period_event : 0
    start_threshold : 24064
    stop_threshold : 24064
    silence_threshold: 0
    silence_size : 0
    boundary : 6773413839565225984
    appl_ptr : 0
    hw_ptr : 0
    ######################## + | 84%^C
    Aborted by signal Interrupt...





    The other info you asked for:

    /root# rpm -qa | grep alsa
    alsa-plugins-1.0.21-1.2.x86_64
    alsa-utils-1.0.21-2.1.x86_64
    alsa-1.0.21-1.1.x86_64
    alsa-oss-1.0.17-24.9.x86_64
    alsa-oss-32bit-1.0.17-24.9.x86_64
    alsa-plugins-pulse-1.0.21-1.2.x86_64
    alsa-tools-1.0.21-1.2.x86_64
    alsa-firmware-1.0.20-1.5.noarch
    /root# rpm -qa | grep pulse
    libpulse0-0.9.16-1.1.x86_64
    libxine1-pulse-1.1.16.1-4.52.x86_64
    alsa-plugins-pulse-1.0.21-1.2.x86_64
    vlc-aout-pulse-1.0.1-2.34.x86_64
    pulseaudio-0.9.16-1.1.x86_64
    pulseaudio-esound-compat-0.9.16-1.1.x86_64
    /root# rpm -q libasound2
    l
    ibasound2-1.0.21-1.1.x86_64
    /root# uname -a
    Linux 2.6.31-rc9-7-desktop #1 SMP PREEMPT 2009-09-08 18:49:15 +0200 x86_64 x86_64 x86_64 GNU/Linux
    /root# cat /etc/modprobe.d/sound
    cat: /etc/modprobe.d/sound: No such file or directory

    I don't have 11.1 working anylonger (overwrote it with the M7 version). I did the script update, but didn't get what I wanted:
    ll /usr/sbin/alsa-info.sh
    -rwxr-xr-x 1 root root 0 Sep 22 22:45 /usr/sbin/alsa-info.sh


    so nothing got uploaded to the network




    Somewhat surprised at the alsa 1.0.20 and 21 mix. Did 1.0.21 come in M7? Otherwise not sure how I got it there...vlcplayer?


    Thanks for your help

  8. #8
    Join Date
    Mar 2008
    Location
    Phuket, Thailand
    Posts
    27,108
    Blog Entries
    40

    Default Re: sound trouble in M7

    Quote Originally Posted by gavinto View Post
    I did the script update, but didn't get what I wanted:
    ll /usr/sbin/alsa-info.sh
    -rwxr-xr-x 1 root root 0 Sep 22 22:45 /usr/sbin/alsa-info.sh


    so nothing got uploaded to the network
    I really need the script output posted to a web site, such as a paste bin site. So can you run the script with the no-upload option, and post its output to a pastebin site such as pastebin - Type, paste, share. ?

    You can run the script to have its output saved to /tmp/alsa-info.txt by typing:
    Code:
    /usr/sbin/alsa-info.sh --no-upload
    and then open /tmp/alsa-info.txt with a text editor and copy and paste it to pastebin - Type, paste, share. or some other site, and post here the URL

  9. #9

    Default Re: sound trouble in M7

    Morning OldCPU.

    Where do I find an updated script? I wasn't clear in my last posting as to what had happened.
    When I ran the script and accepted the option to dowload an updated script, it downloaded a script of size 0 bytes. I can't update running the script in /usr/sbin anymore as the script is a zero sized file as i listed below


    Is the output from the script I ran awhile ago not sufficient or different from what you were needing




    http://www.alsa-project.org/db/?f=3a...34e8d2b02a57d7

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

    Default Re: sound trouble in M7

    Quote Originally Posted by gavinto View Post
    Where do I find an updated script? I wasn't clear in my last posting as to what had happened.
    You can run the script by copying and pasting the following in a terminal:
    Code:
    wget -O alsa-info.sh http://www.alsa-project.org/alsa-info.sh && bash alsa-info.sh

Page 1 of 3 123 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
  •