LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   No speaker sound on HP with xubuntu (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/no-speaker-sound-on-hp-with-xubuntu-692946/)

Broder 12-25-2008 02:04 PM

No speaker sound on HP with xubuntu
 
I just installed xubuntu on a HP 6830. Everything seems to be working straight out of the box except sound from the laptop speakers. The sound card is working because there is sound through headphones but no sound coming for the laptop speakers. I've never used either xubuntu or a laptop before so it's possible I'm missing something really obvious but can't for the life of me find it. There doesn't appear to be any external hardware switch for the sound and the only place in the xubuntu menu I can find sound is through the settings and everything is switched on.

Anyone have any ideas?

Brian1 12-25-2008 04:17 PM

What chipset does the sound card device use?

Brian

Drakeo 12-25-2008 05:59 PM

will you need to unmute your sound mixer. if that is not the problem you need to make sure your card and module is loaded. post these type in a terminal lspci and your lsmod.

tredegar 12-26-2008 05:09 AM

Quote:

The sound card is working because there is sound through headphones
So the correct module must be loaded.
Drakeo is right - you need to check your sound mixer, and turn up the volume control for the speakers. (On my laptop, my "speakers" are called "Front", don't ask me why!). In KDE I can access my mixer when I L-click or R-click my volume control.

If you can't find your mixer (it really should be there already), try installing these packages:
xfce4-mixer
xfce4-mixer-alsa

I am not an xfce user, so don't know if you need both or just one of them

Brian1 12-26-2008 01:29 PM

Well I was thinking if it was an intel hda chipset it may require a special options line for sound to work on all channels. That is what I had to do for my hda-intel ICH9. I played with many distros and none got it right.

Brian

Broder 12-28-2008 04:31 PM

Thanks for all the advice guys. So far, no luck.

The chipset is
Mobile Intel® PM45 Express Chipset ICH9M-Enhanced

The outpur from lspci is:
Quote:


00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
00:01.0 PCI bridge: Intel Corporation Mobile 4 Series Chipset PCI Express Graphics Port (rev 07)
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
00:1a.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 (rev 03)
00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 (rev 03)
00:1c.5 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 6 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
00:1f.0 ISA bridge: Intel Corporation ICH9M LPC Interface Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI Controller (rev 03)
01:00.0 VGA compatible controller: ATI Technologies Inc Device 95c2
03:00.0 Network controller: Intel Corporation PRO/Wireless 5100 AGN [Shiloh] Network Connection
86:00.0 Ethernet controller: Marvell Technology Group Ltd. Device 436c


The output from lsmod is:
Quote:


Module Size Used by
nls_iso8859_1 13568 1
nls_cp437 15232 1
vfat 21120 1
fat 64824 1 vfat
usb_storage 92864 1
libusual 31784 1 usb_storage
ipv6 314312 14
af_packet 29568 4
rfcomm 51104 2
sco 20612 2
bridge 64544 0
stp 11268 1 bridge
bnep 23168 2
l2cap 33280 16 rfcomm,bnep
ppdev 16904 0
acpi_cpufreq 16400 1
cpufreq_ondemand 16400 1
cpufreq_stats 14468 0
cpufreq_powersave 10368 0
freq_table 13568 3 acpi_cpufreq,cpufreq_ondemand,cpufreq_stats
cpufreq_conservative 16392 0
cpufreq_userspace 12420 0
sbs 22288 0
sbshc 14592 1 sbs
pci_slot 13704 0
iptable_filter 11520 0
ip_tables 28176 1 iptable_filter
x_tables 31752 1 ip_tables
parport_pc 44200 0
lp 19588 0
parport 50096 3 ppdev,parport_pc,lp
joydev 20736 0
snd_hda_intel 489264 5
arc4 10368 2
ecb 11520 2
crypto_blkcipher 27780 1 ecb
snd_pcm_oss 52608 0
snd_mixer_oss 25088 1 snd_pcm_oss
snd_pcm 99208 3 snd_hda_intel,snd_pcm_oss
iwlagn 113668 0
snd_seq_dummy 11524 0
iwlcore 105540 1 iwlagn
snd_seq_oss 42368 0
snd_seq_midi 15872 0
rfkill 19364 2 iwlcore
snd_rawmidi 34176 1 snd_seq_midi
evdev 20512 10
pcspkr 11136 0
led_class 13192 1 iwlcore
psmouse 51612 0
serio_raw 14596 0
snd_seq_midi_event 16768 2 snd_seq_oss,snd_seq_midi
mac80211 253440 2 iwlagn,iwlcore
uvcvideo 68616 0
snd_seq 67168 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
compat_ioctl32 18176 1 uvcvideo
videodev 46720 2 uvcvideo,compat_ioctl32
cfg80211 37136 3 iwlagn,iwlcore,mac80211
v4l1_compat 24580 2 uvcvideo,videodev
btusb 21912 3
snd_timer 34320 3 snd_pcm,snd_seq
bluetooth 70820 11 rfcomm,sco,bnep,l2cap,btusb
snd_seq_device 16404 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd 79432 17 snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_de vice
soundcore 16800 1 snd
snd_page_alloc 17680 2 snd_hda_intel,snd_pcm
container 12288 0
video 28948 0
output 11776 1 video
battery 21128 0
wmi 15808 0
ac 13448 0
button 15904 0
intel_agp 39280 0
shpchp 42140 0
pci_hotplug 39472 1 shpchp
ext3 150544 2
jbd 66472 1 ext3
mbcache 17924 1 ext3
sr_mod 24644 0
cdrom 47784 1 sr_mod
sd_mod 45864 6
crc_t10dif 10240 1 sd_mod
sg 45408 0
ahci 43148 3
libata 200160 1 ahci
scsi_mod 183160 5 usb_storage,sr_mod,sd_mod,sg,libata
dock 18464 1 libata
sky2 61444 0
ehci_hcd 48908 0
uhci_hcd 34336 0
usbcore 175376 7 usb_storage,libusual,uvcvideo,btusb,ehci_hcd,uhci_hcd
thermal 27424 0
processor 47800 4 acpi_cpufreq,thermal
fan 13576 0
fbcon 51200 0
tileblit 11264 1 fbcon
font 17152 1 fbcon
bitblit 14592 1 fbcon
softcursor 10496 1 bitblit
fuse 68288 1
Everything is un-muted in the sound settings, the xfce4-mixer is giving me two options for device: default and hash0: HDA Intel , and then wannabe master options are : Master, PCM, Front mic, Front mic boost etc.

Brian: can you elaborate a little about the channels?

Drakeo 12-29-2008 05:47 PM

type alsamixer and un-mute the pcm. or if you have the little icon right click it go to mixer and un-mute it. if that does not work then check into pulseaudio bug.

Brian1 12-29-2008 06:29 PM

My notebook HP dv7-1020us has the same model number sound chipset family. It may vary in the way it is wired. Those Intel can be wired so many different ways. Now I dont know Ubuntu but in Fedora 9 I had to add a line to my /etc/modprobe.d directory and called it alsa-base. Check this post on the sound and the file I created and line I added to it. Reboot. Only thing i have no sound on is my headphone jack. If it works let me know and whether the headphone quits working after this change.

Look at item 5 in this post. Like I say I dont know if Ubuntu works the same as for modprobe stuff. You may have a file called .etc.modprobe.conf and if so then add that line to it. If you have a different options line like the one in my post please post it so I can check it out. Maybe I can get headphones working with it.
http://www.linuxquestions.org/questi...-well.-682215/

Brian

Broder 01-07-2009 02:40 AM

Fix: The sound on Front was disabled as opposed to muted. A friend of mine found a solution by adding the following line of code:

options snd-hda-intel model=laptop enable=1 index=0

to /etc/modprobe.d/options file which forces enabling the speakers on start up.

Thanks for the advice, hope the solution can be of help to others.

Brian1 01-07-2009 03:13 PM

Gave your line a try and does not help me for headphones. It does not make the sound card work either. Returned to mine and raised the volume up on master and headphone and there is sound. But from listen to the speakers then plugin the headphones I have to raise the levels so much. I have to remeber to lower before unplugging or sound will be way to loud. Seen some post mention that the headphones are directly come from the DAC. Some patch has been made. May have to look into that for more info.

Glad you have it working on your end. It is amazing how much those intels differ.

Brian

munter 05-01-2009 05:28 PM

Quote:

Originally Posted by Broder (Post 3399629)
Fix: The sound on Front was disabled as opposed to muted. A friend of mine found a solution by adding the following line of code:

options snd-hda-intel model=laptop enable=1 index=0

to /etc/modprobe.d/options file which forces enabling the speakers on start up.

Thanks for the advice, hope the solution can be of help to others.


worked for me to on Hp 6930P, thanks

ps
editing alsa-base.conf just open terminal and
sudo -s
sudo mousepad /etc/modprobe.d/alsa-base.conf

g1yhe 05-04-2009 01:15 AM

Thank you, that was just the information that I was looking for.


All times are GMT -5. The time now is 08:53 AM.