HP dv2000 sound problem

Asked by Clay C.

I have an HP pavilion dv2000 laptop and im pretty new to linux... ive just installed it on my computer about a week ago... ive been getting along just fine with everything and ubuntu is great! im using hardy heron 8.04.... I havent been able to get any sound to play at all, using rhythmbox or any other program that is, including video sound, (My sound card is CONEXANT analog [waikiki?]... i tried to solve the problem by following several sets of instructions but they're all very different and either they havent worked or i havent been inputing them correctly or following the instructions... Has anyone had this problem or does anybody have a simple solution?

Thanks to whoever helps,
Clay

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Harvey Muller (hlmuller) said :
#1

Clay,

Welcome to Linux, and the Ubuntu distribution. I am a knowledgeable user, not a developer, just here to give a hand.

I need a little more information from you to assist. You will first need to open a terminal, assuming you are using Gnome (Ubuntu not Xubuntu or Kubuntu) this is the path to get to the terminal:

    Applications > Accessories > Terminal

Once you have the terminal open, you should be greeted with a prompt:

    $

The command I'm going to give you is nondestructive, you can learn more about command by typing in a terminal:

    $ man <command name>

You would replace <command name> with the actual command of interest. Note, it is not necessary to add the '$' character, I only show it for your convenience.

Now type the following command in the terminal:

    $ lspci | grep Audio

lspci prints all the devices on the pci bus, and the grep command singles out a line based on 'Audio', which should clearly identify the audio hardware device installed.

Please report back here, the entire text returned by the command you just ran. Afterwards, I will have a more direct suggestion for items to look at.

Thanks!

Harvey

Revision history for this message
Clay C. (cougrman210) said :
#2

 Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)

Thats what showed up when i ran the command

Revision history for this message
Harvey Muller (hlmuller) said :
#3

Clay,

Ok, now we know what audio controller you have. Now run this in a terminal:

    $ lsmod | grep snd-hda-intel

It should return "snd-hda-intel". If it doesn't then the proper sound module is not loading. But I suspect at this point it is probably loaded.

If it is loaded, I want you to read this question:

    https://answers.launchpad.net/ubuntu/+question/30404

Follow the advice given there and see if it doesn't resolve your general "no sound" issue. I would add, that you should increase all volumes to 100%, until you get sound. Then you can go back and adjust later.

Please return to Launchpad and mark this question Solved, if this resolves your question.

Thanks!

Harvey

Revision history for this message
Clay C. (cougrman210) said :
#4

when i ran the lsmod | grep snd-hda-intel command nothing happened at all so i guess i the sound module isnt loading

Revision history for this message
Harvey Muller (hlmuller) said :
#5

Ok,

Let's try loading it manually:

    $ sudo modprobe snd-hda-intel

The command should not return any text. If it does, please report the text verbatim back here.

If it appears to load ok, check again to make sure it is loaded:

    $ lsmod | grep snd-hda-intel

Please return to Launchpad and mark this question Solved, if this resolves your issue.

Thanks!

Harvey

Revision history for this message
Clay C. (cougrman210) said :
#6

nothing happened when i entered either command.... and my problem continues..:(

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#7

Audio trouble with Ubuntu 8.04 some common checks

-- If you are using a laptop, your laptop may have a keyboard function to manipulate your sound.
   Check that. Your laptop may have a keyboard control to mute, increase and decrease sound.
-- Please check your sound devices volumes are to a high level double click on the top right loudspeaker icon you will see a mixer
-- Please make common test from menu System->Preferences->Sounds
   if you are using PulseAudio please read: http://www.pulseaudio.org/wiki/PerfectSetup or try if using ALSA things go better
-- If you have two audio cards - please disable the on board audio card using BIOS setting, please check with this terminal command:

   lspci | grep -i audio

-- Please be sure your pc are starting with the generic kernel press ESC at boot when you see the GRUB row then select the "kernel.... - generic" row
-- Please be sure all needed kernel modules are installed to make this check and install them:
  So open a Terminal from the menu Applications->Accessories->Terminal and type:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install linux-ubuntu-modules-$(uname -r)

give your user password when requested, you don't see nothing when you type it, then press enter.

Then reboot your pc.

-- Be sure your user is member of audio group
Then open a Terminal from the menu Applications->Accessories->Terminal and type:

sudo adduser $(who am i | cut -d" " -f 1) audio
sudo chmod 660 /dev/snd/*

give your user password when requested, you don't see nothing when you type it, then press enter.

-- Please try to watch what audio cards are detected on your system please type:
asoundconf list

if more than one sound cards is detected by your system to set the default soundcard

asoundconf set-default-card PARAMETER

change PARAMETER with the name of a one detected sound card

-- Please try to delete making a backup copy of this conf files
mv .asoundrc .asoundrc_old
mv .asoundrc.asoundconf .asoundrc.asoundconf.old
sudo mv /etc/asound.conf /etc/asound.conf.old

Please take a look at this http://ubuntuforums.org/showthread.php?t=205449

-- Please try to discover if there are any process they are keeping the /dev/dsp locked
ps -edalf | grep -i dsp

kill them using this command:

kill -9 number_of_pid

Reboot your pc to see to check if you sound now work.

---------

If you microphone seems don't record your voice please open a terminal and type

alsamixer

and press tab to switch in view to [Capture] section, and then pressing space on mic and mic boost aid

If you are using Pulseaudio and you have some sound issue with sound apps for example with flash contents please read http://www.pulseaudio.org/wiki/PerfectSetup and this http://ubuntuforums.org/showthread.php?p=4928900

Hope this helps

Revision history for this message
mike (rakaia138) said :
#8

I also have the same machine and the same problem, just to let you know you are not alone

Revision history for this message
Harvey Muller (hlmuller) said :
#9

Marcobra,

His problem appears to be related to the module. He's modprobing it without error, but it's not showing when he lsmod's it. The information you gave is excellent, but the driver issue has to be solved first.

Clay,

Please run the following commands:

    $ lsmod > lsmod.log

Then open up lsmod.log, it will be in /home/<username>, unless you cd'd to a different directory. Copy and paste the text into a single comment.

Then run the following:

    $ sudo rmmod snd-hda-intel

That was just to make sure it is not present.

Now run the following:

    $ dmesg > dmesg.pre
    $ sudo modprobe snd-hda-intel
    $ dmesg > dmesg.post
    $ diff dmesg.pre dmesg.post > dmesg.log

Open up dmesg.log, copy and paste the text into a separate comment here.

If you have any questions on the above, please let me know.

Thanks!

Harvey

Revision history for this message
Clay C. (cougrman210) said :
#10

When i ran the $ lsmod > lsmod.log command nothing happened, and when i ran the $ sudo rmmod snd-hda-intel command an error message came up [ERROR: Module snd_hda_intel is in use]. When i ran the last four commands nothing happened there either.

Revision history for this message
Harvey Muller (hlmuller) said :
#11

Clay,

When you ran:

    $ lsmod > lsmod.log

It should have produced a file named lsmod.log. Normally, when you open a terminal, the current working directory is /home/<your username> and not the desktop. If you navigate to Places > Home Folder, nautilus will open and show you the contents of this folder.

Do not bother copying and pasting either of the logs I just asked you to create. The fact that you are getting an error message when trying to remove the snd-hda-intel module is telling. This fact alone tells me that the proper module(driver) is loading.

Now it's time to start investigating other causes of your lack of sound. Marcobra is on the right track, and gave you a bunch of good information. But first, let's eliminate pulseaudio as the culprit. If the following command results in sound (Ubuntu startup sound actually), then pulseaudio is the problem. If there is no sound still, then it may be a simple configuration issue. Please ensure sound is not muted, and run the following in a terminal:

    $ pasuspender -- aplay /usr/share/sounds/*up.wav

Please report back whether you heard sound, or not.

Thanks!

Harvey

p.s. When I had you run

    $ lsmod | grep snd-hda-intel

It should have been:

    $ lsmod | grep snd_hda_intel

That's why I thought your module wasn't loading, but it is. We know that because the command to remove it returned the error.

Revision history for this message
Clay C. (cougrman210) said :
#12

i did hear the startup sound when i ran the command in terminal.... and now the sound is working on rhythmbox!... but now my system freezes up and the windows turn grey and i cant do anything. Its happened three times now.

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#13

Please try to press CTRL+ALT+"+" and/or CTRL+ALT+"-" to dynamically change video frequency
or press CTRL+ALT+BKSPACE to restart graphics layer.

Reconfiguring your xserver-xorg may help you.

A) ---- If you can view graphics Gnome desktop

Please open a Terminal from the menu Applications->Accessories->Terminal
and jump to step C

B) ---- If you cannot view graphics Gnome desktop

Please press CTRL+ALT+F2 and make login with your user and password
and go on to step C

C) ----------------------------------------------------------------------

To make a backup copy of your actual /etc/X11/xorg.conf type:

cd /etc/X11
sudo cp xorg.conf xorg.conf.bak

give your user password when requested, you don't see nothing when you type it, then press enter.

Then try to reconfigure your xserver-xorg

sudo dpkg-reconfigure xserver-xorg

answer to the simply questions, then restart the pc.

If something goes wrong you can restore the saved copy of your old configuration, open a terminal or login to a virtual terminal by pressing ctrl+alt+F2 and type:

cd /etc/X11
sudo cp xorg.conf.bak xorg.conf

and restart the pc, type:

sudo reboot

Hope this helps

Revision history for this message
Harvey Muller (hlmuller) said :
#14

You can also test to see if compiz is the culprit. Run this in a terminal:

    $ /usr/bin/metacity --replace &

The command will temporarily disable compiz during the session. Compiz will be available again upon the next reboot.

Give that a try and see if it resolves your graphics crash / freeze problem.

I'm not entirely certain that pulseaudio is not part of the problem. Did you adjust Volume properties in addition to running the pasuspender command? pasuspender should have worked only for that one command, I would not have expected rhythmbox to work afterwards.

Thanks!

Harvey

Revision history for this message
Harvey Muller (hlmuller) said :
#15

Clay,

I am checking to see if the information provided previously resolved your question. If so, please mark this question Solved.

Thanks!

Harvey

Can you help with this problem?

Provide an answer of your own, or ask Clay C. for more information if necessary.

To post a message you must log in.