no sound on laptop hp dv6-1030ef

Bug #363870 reported by yml
28
This bug affects 4 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

There is no sound on laptop hp dv6-1030. I have checked that all the volume are at max in alsamixer. I can visualize the sound on pavucontrol or pavumeter but I do not hear anything on the speaker nor on the headset.
This is with 64 bit version of the 9.04 RC.

Please do not hesitate to contact me if you need more information.

--yml

ProblemType: Bug
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
   Subdevices: 2/2
   Subdevice #0: subdevice #0
   Subdevice #1: subdevice #1
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: yml 3476 F.... kmix
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xdd000000 irq 22'
   Mixer name : 'Generic 10de ID 3'
   Components : 'HDA:111d7603,103c3629,00100202 HDA:10de0003,10de0101,00100000'
   Controls : 36
   Simple ctrls : 23
DistroRelease: Ubuntu 9.04
NonfreeKernelModules: nvidia
Package: alsa-base 1.0.18.dfsg-1ubuntu8
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: alsa-driver
Uname: Linux 2.6.28-11-generic x86_64

Revision history for this message
yml (yml) wrote :
Daniel T Chen (crimsun)
affects: alsa-driver (Ubuntu) → linux (Ubuntu)
Changed in linux (Ubuntu):
assignee: nobody → Ubuntu Audio Team (ubuntu-audio)
Revision history for this message
Daniel T Chen (crimsun) wrote :
Changed in linux (Ubuntu):
status: New → Fix Committed
Revision history for this message
yml (yml) wrote :

I have just followed this procedure to update alsa : http://ubuntuforums.org/showthread.php?p=6589810is
This script has downloaded compiled and installed alsa version 1.0.19 and there is no improvements still no sound.

--yml

Revision history for this message
yml (yml) wrote :

I have also tried to install this snapshot : http://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.bz2

by running the following commands:
sudo ./configure --with-kernel=/usr/src/linux-headers-$(uname -r
sudo make
sudo make install

I do not see any improvement the is no sound on sound on the speaker nor on the headphones.

--yml

Revision history for this message
yml (yml) wrote :

here it is the out put of this command that someone has provided to me on #alsa
"""
wget -O alsa-info.sh http://alsa-project.org/alsa-info.sh && bash ./alsa-info.sh
"""

http://www.alsa-project.org/db/?f=833c8db84403c34e6384e3fed8c32021afd6a860

Please do not hesitate to let me know if you need more information.

Revision history for this message
yml (yml) wrote :
Revision history for this message
Daniel T Chen (crimsun) wrote : Re: [Bug 363870] Re: no sound on laptop hp dv6-1030ef

On Mon, Apr 20, 2009 at 10:25 PM, yml <email address hidden> wrote:
> This script has downloaded compiled and installed alsa version 1.0.19 and there is no improvements still no sound.

1.0.19 is not sufficient; you need a very recent snapshot of current
git. http://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.bz2

Revision history for this message
yml (yml) wrote :

I have also try the snapshot without better chance. Here it is some information provided to me on #alsa.
http://doriath.cz/alsa/WRT_M6-1.INI

Thingol told me that is was the windows version of the driver.

-yml

Revision history for this message
yml (yml) wrote :

Daniel,
Just in case this can help you :
I have the snapshot of the day compiled in debug mode on my laptop.
Here it is the dmesg when I run a speaker test : http://dpaste.com/36318/

--yml

Revision history for this message
yml (yml) wrote :

The solution to my problem is :
1> install hda-verb-0.3
2>./hda-verb /dev/snd/hwC0D0 0x1 set_gpio_data 5
3> ./hda-verb /dev/snd/hwC0D0 0x1 set_gpio_dir 5
4> ./hda-verb /dev/snd/hwC0D0 0x1 set_gpio_mask 5

and then when I run : speaker-test -c2 -Dplughw:0 -twav

I can hear front, right left on the speaker.

Note as of now plugging the headphones does not stop the speaker and there is no sound on the headphones

--yml

Revision history for this message
yml (yml) wrote :

This magical spell make the headset working : ./hda-verb /dev/snd/hwC0D0 0x0a SET_PIN_WIDGET_CONTROL 0x40

also when I plugged them in the speaker does not stop mute yet.

Revision history for this message
yml (yml) wrote :

Recap after reboot:

#activate the sound on the speaker
sudo ./hda-verb /dev/snd/hwC0D0 0x1 set_gpio_data 1
sudo ./hda-verb /dev/snd/hwC0D0 0x1 set_gpio_dir 1
sudo ./hda-verb /dev/snd/hwC0D0 0x1 set_gpio_mask 1

#activate the sound on the headset
sudo ./hda-verb /dev/snd/hwC0D0 0x0f SET_CONNECT_SEL 1

#mute the speaker
sudo ./hda-verb /dev/snd/hwC0D0 0x0d SET_PIN_WIDGET_CONTROL 0
#unmute the speaker
sudo ./hda-verb /dev/snd/hwC0D0 0x0d SET_PIN_WIDGET_CONTROL 0x40

#mute the headphones
sudo ./hda-verb /dev/snd/hwC0D0 0x0f SET_PIN_WIDGET_CONTROL 0
#unmute the headphones
sudo ./hda-verb /dev/snd/hwC0D0 0x0f SET_PIN_WIDGET_CONTROL 0x40

Revision history for this message
mistercrunch (maximebeauchemin) wrote :

I wanted to add a note to say that this fix also worked for me on my HP DV6-1050US on Ubuntu Jaunty Jackalope 32

Thank you guys for taking the time to research and document this.

Revision history for this message
mistercrunch (maximebeauchemin) wrote :

The fix works, but I still have issues playing sounds from different sources at the same time though.

Revision history for this message
GZ Expat (gzexpat) wrote :

Being a total newb...I don't clearly understand the fix posted. Can someone help to clarify the steps I would need to take to try this?

I have a Compaq CQ-61 and have searched and searched for a resolution to my sound issues. The sound card is there and it works through Pulseaudio...but, there is no sound through speakers or headphones.

Revision history for this message
GZ Expat (gzexpat) wrote :

I gave up on this...loaded 8.10 instead, without problem.

Revision history for this message
mistercrunch (maximebeauchemin) wrote :

Note of interest, I upgraded to alsa 1.0.20 and the script is still needed, but now I can play many sources at the same time. Before this, I would have issues say i'd watch a youtube video and left the page open and try to use a different app that uses sound (would freeze and would have to kill the process, close firefox...).

I also still need to run the script to use headphones only (basically shutting off the speakers), but this solution works good enough for me.

I also tried the different other potential solutions discussed on other threads by editing /etc/modprobe.d/alsa-base.conf and trying different combinations of these lines.
options snd-hda-intel model=hp-m4
options snd-hda-intel enable_msi=1
options snd-hda-intel model=hp-dv5

It makes the speakers work without the need for the hda-verb calls, but I couldn't get the headphones to work though so I decided to remove all of this and stick with the script.

I can't wait for manufacters to care more about Linux.

Revision history for this message
Jafar Calley (manager-fxfrench) wrote :

YML You are Brilliant. These commands allow me to manually activate the headphones and mute the speakers when I need to use headphones. The next question is how to get it to happen automatically when I plug in and unplug the headphones. I'm on a DV6-1045 btw.

YML Wrote---------
Recap after reboot:

#activate the sound on the speaker
sudo ./hda-verb /dev/snd/hwC0D0 0x1 set_gpio_data 1
sudo ./hda-verb /dev/snd/hwC0D0 0x1 set_gpio_dir 1
sudo ./hda-verb /dev/snd/hwC0D0 0x1 set_gpio_mask 1

#activate the sound on the headset
sudo ./hda-verb /dev/snd/hwC0D0 0x0f SET_CONNECT_SEL 1

#mute the speaker
sudo ./hda-verb /dev/snd/hwC0D0 0x0d SET_PIN_WIDGET_CONTROL 0
#unmute the speaker
sudo ./hda-verb /dev/snd/hwC0D0 0x0d SET_PIN_WIDGET_CONTROL 0x40

#mute the headphones
sudo ./hda-verb /dev/snd/hwC0D0 0x0f SET_PIN_WIDGET_CONTROL 0
#unmute the headphones
sudo ./hda-verb /dev/snd/hwC0D0 0x0f SET_PIN_WIDGET_CONTROL 0x40

Revision history for this message
yml (yml) wrote :

Thanks for this kind word unfortunately I have no idea how to do this yet. The only hope to get this to happens, as far as i know, is to get the driver fixed upstream.
I am glad this small recipe helped you and all the credits for it should go to numerous people, on #alsa, that help me to get to that point.

--yml

Revision history for this message
raphael (raphoun) wrote :

Any news to make the speakers or headphone work without the need for the hda-verb calls?

Revision history for this message
Jerikojerk (jerikojerk) wrote :

Hi!

i've got a HP dv6 1140ef.

I'm missing something cause i don't have such device: /dev/snd/hwC0D0. I can't play any sound.

i'm looking for help.

thanks

Revision history for this message
mistercrunch (maximebeauchemin) wrote :

From what I can remember, /dev/snd/hwC0D0 appeared after upgrading to ALSA 1.0.19 . Have you upgraded yet or are you still on 1.0.18 (Jaunty's default?). Run "cat /proc/asound/version" to see your version.

I'm now on 1.0.20 and it is actually working better as I can play multiple sources at the same time. This did not work for me on 1.0.19 .

I advise using the script here documented and located here: http://ubuntuforums.org/showthread.php?p=6589810 to upgrade your ALSA version if you haven't done it yet.

Changed in linux (Ubuntu):
assignee: Ubuntu Audio Team (ubuntu-audio) → nobody
Revision history for this message
David Weiss (dweiss2) wrote :
Revision history for this message
TaylorHRay (taylorhray) wrote :

YEEHAW!!! thanks a million, works on hp dv7t, 64 bit 9.04 jj with alsa 1.0.20

I had been trying for months to get headphone jacks to work so i could use external speakers/headphones. THANKS!

Revision history for this message
vwbusguy (vwfoxguru) wrote :

This also worked on my HP dv6-1051 with Fedora 11. If I get some time this weekend, I'll try to work out a patch.

Revision history for this message
Daniel T Chen (crimsun) wrote :

Already fixed in Karmic by installing linux-backports-modules-alsa-karmic
and rebooting.

On Oct 17, 2009 2:40 AM, "vwbusguy" <email address hidden> wrote:

This also worked on my HP dv6-1051 with Fedora 11. If I get some time
this weekend, I'll try to work out a patch.

-- no sound on laptop hp dv6-1030ef
https://bugs.launchpad.net/bugs/363870You received this bug ...
Audio Team, which is a direct subscriber.

Status in “linux” package in Ubuntu: Fix Committed

Bug description:

There is no sound on laptop hp dv6-1030. I have checked that all the volume
are at max in alsamixer....

Revision history for this message
yml (yml) wrote :

This bug is not entirely solved because the headset / mic are not working. Here it is the alsa report :
  * http://www.alsa-project.org/db/?f=92461796982e711d8bed42e99d540cf4a229c676

I try to modify add "options snd-hda-intel model=hp-dv5" at the end of "/etc/modprobe.d/alsa-base.conf". Then I have run "sudo alsa force-reload". Inserting a jack does not switch the sound from the main speaker to the headset.

I have aslo try "options snd-hda-intel model=hp-dvx" but it give the same result.

I have also tried Lucid alpha2 and it has the same issue.
Regards,
--yml

Changed in linux (Ubuntu):
status: Fix Committed → In Progress
status: In Progress → Fix Committed
Revision history for this message
Daniel T Chen (crimsun) wrote :

You should remove linux-backports-modules and use linux-alsa-driver-modules-$(uname -r) from the ubuntu-audio-dev PPA for your release.

Revision history for this message
yml (yml) wrote :

hello Daniel,
First of all thank to keep working to improve the situation of the sound for this laptop. Has you have suggested I have run the following command and it improves the situation :

   sudo add-apt-repository ppa:ubuntu-audio-dev/ppa
   sudo aptitude remove linux-backports-modules-alsa-karmic
   sudo aptitude install linux-alsa-driver-modules-$(uname -r)

Now out of the box after each reboot I have to start alsa mixer to :

a> unmute the "Master" (first control starting from the left)
b> reduce to 0 the "Speaker" (second control starting from the left)
c> make sure the "Mick Jack" is set to "Mic in" (fith control starting from the left)
d> press f4 to go to the capture menu
e> reduce to 0 the first "capture" (starting from the left) which seems to be the external mic
f> make sure that the 2 "Input so" are on Mic

These settings allows me to use the headset to listen an record with program like skype.
So the remaining issues for me is that I need to do this after each reboot and that the switch is not done automatically when I insert the jacks of the headset.

Thanks for your help
regards,
--yml

Changed in linux (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Oni Oluwatosin (talktotosin247) wrote :

http://www.alsa-project.org/db/?f=043af8c8df7deb8f9d9b9a29e236c96f78440dbc
Help me that's my alsa info link. No sound and DVD drive not working. Guessing bios problem. The laptop is getting worse. It's a DV 9700

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.