Codec: Realtek ALC260 Mixer: Realtek ALC260 - ALC260 Analog (DUPLEX) Audio device [0403]: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller [8086:27d8] (rev 01) - sound not working on headphones and speakers on HP Compaq dc7600 SFF Base Unit in Ubuntu 9.04
I installed Ubuntu on my HP Pavillion dv6000 laptop several weeks ago, abnd has since worked a charm.
I have recently upgraded my desktop pc to Ubuntu also, but I have discovered that there is no sound whatsoever.
After much use of the Synaptic Package Manager in a futile attempt to unearth the answer to my problem, I relocate my quest here.
I enquire again; Could anyone have the answer to my seemingly "n00b" problem?
Thanks again, and excuse the long words ;)
--AJ
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
|
#1 |
Did I mention that my desktop machine, the one with the problem, is a HP Compaq dc7600 SFF Base Unit?
OK, thanks in advance,
--AJ
Revision history for this message
|
#2 |
Hi,
In order to gather essential troubleshooting information about your sound card, please first follow this procedure:
Step 1: Open Terminal from "Applications-
Terminal"
Step 2: Run the following 2 commands (copy/paste each command into the Terminal and then hit <enter> after each command)
wget -O alsa-info.sh http://
bash alsa-info.sh
When the alsa-info.sh script asks "Do you want to run this script? [y/n]", press y and then hit <enter> to make sure the script actually runs. Please send us the full terminal output after the script has actually run.
Step 3: Run the following command. The command STARTS with the word cat and ENDS with the word snd. So please copy-paste the ENTIRE command below into a Terminal, press enter, then enter password when sudo asks for password, then press enter again.
cat /proc/asound/cards; sudo aptitude install gnome-alsamixer asoundconf-gtk alsa-utils; asoundconf list; aplay -l; sudo lshw -C sound; ls -lart /dev/snd; cat /dev/sndstat; lspci -nn ; lsmod | grep snd
Step 4: Please post results (copy/paste terminal output) on this thread
Step 5: Please also report on this thread if you cannot hear sound through the speakers, the headphones or cannot hear sound on both.
Step 7: If you are using a dual boot system (with Windows and Ubuntu installed on separate partitions),
then make sure to set the sound volume in Windows to a high level before booting into Ubuntu.
Also make sure to use the special function keys in Windows to make sure the loudspeakers are physically switched ON and working properly in Windows before installing and testing Ubuntu. This step is necessary with certain Toshiba Tecra laptops.
Step 8: Experiment with the audio settings in gnome-alsamixer and asoundconf-gtk until you get sound (hopefully)
Step 9: In System/
pulse
pulse-access
pulse-rt
audio
video
Step 10: Run the command gnome-volume-
Step 11: Try connecting headphones to different audio jacks/ports on the backpanel of the sound card until you hopefully hear sound
Step 12: If you happen to have two soundcards installed in your pc, one integrated into the motherboard and one inserted into a PCI slot, then try removing the PCI audio card, reboot your pc and retest sound using only the motherboard's soundchip.
=======
Please also read the following pages
http://
http://
https:/
http://
for some initial suggestions.
You should add the following string to the /etc/modprobe.
options snd-hda-intel model=YOUR_MODEL
Valid model names (that replace YOUR_MODEL) depending on the codec chip, can be found at
If you do not know your codec chip name, you can execute the following Terminal command to find out:
cat /proc/asound/
Each combination of audio codec, audio mixer and audio device name requires a very specific configuration in the alsa-base.conf file, if the audio chipset does not work out-of-the-box.
Make sure to set all channels to high volume levels in gnome-alsamixer.
Make sure all the different speakers (including 'Front', 'Master', and 'PCM") are NOT muted and NOT set to low volume levels in gnome-alsamixer.
If sound still does not work, try upgrading ALSA to the newest version, reboot and retest sound.
ALSA upgrade procedure is here:
http://
Kind regards,
Mark
Revision history for this message
|
#3 |
caparica@
--2009-07-30 00:18:58-- http://
Resolving www.alsa-
Connecting to www.alsa-
HTTP request sent, awaiting response... 302 Found
Location: http://
--2009-07-30 00:18:59-- http://
Resolving git.alsa-
Reusing existing connection to www.alsa-
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/plain]
Saving to: `alsa-info.sh'
[ <=> ] 26,185 79.5K/s in 0.3s
2009-07-30 00:19:00 (79.5 KB/s) - `alsa-info.sh' saved [26185]
caparica@
ALSA Information Script v 0.4.57
-------
This script visits the following commands/files to collect diagnostic
information about your ALSA installation and sound related hardware.
dmesg
lspci
lsmod
aplay
amixer
alsactl
/proc/asound/
/sys/class/sound/
~/.asoundrc (etc.)
See 'alsa-info.sh --help' for command line options.
Automatically upload ALSA information to www.alsa-
Uploading information to www.alsa-
Your ALSA information is located at http://
Please inform the person helping you.
caparica@
0 [Intel ]: HDA-Intel - HDA Intel
1 [default ]: USB-Audio - C-Media USB Headphone Set
[sudo] password for caparica:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Initializing package states... Done
Writing extended state information... Done
The following NEW packages will be installed:
asoundconf-gtk gnome-alsamixer libgconfmm-
libglademm-
paman{a} paprefs{a} pavucontrol{a} pavumeter{a}
pulseaudio-
The following packages will be REMOVED:
linux-
0 packages upgraded, 11 newly installed, 2 to remove and 0 not upgraded.
Need to get 405kB of archives. After unpacking 72.0MB will be freed.
Do you want to continue? [Y/n/?] y
Writing extended state information... Done
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Get:8 http://
Get:9 http://
Get:10 http://
Get:11 http://
Fetched 405kB in 1s (378kB/s)
(Reading database ... 160347 files and directories currently installed.)
Removing linux-headers-
Removing linux-headers-
Selecting previously deselected package asoundconf-gtk.
(Reading database ... 144047 files and directories currently installed.)
Unpacking asoundconf-gtk (from .../asoundconf-
Selecting previously deselected package gnome-alsamixer.
Unpacking gnome-alsamixer (from .../gnome-
Selecting previously deselected package libgconfmm-2.6-1c2.
Unpacking libgconfmm-2.6-1c2 (from .../libgconfmm-
Selecting previously deselected package libglademm-
Unpacking libglademm-2.4-1c2a (from .../libglademm-
Selecting previously deselected package libpulse-
Unpacking libpulse-
Selecting previously deselected package pavumeter.
Unpacking pavumeter (from .../pavumeter_
Selecting previously deselected package pavucontrol.
Unpacking pavucontrol (from .../pavucontrol
Selecting previously deselected package paman.
Unpacking paman (from .../paman_
Selecting previously deselected package pulseaudio-
Unpacking pulseaudio-
Selecting previously deselected package paprefs.
Unpacking paprefs (from .../paprefs_
Selecting previously deselected package padevchooser.
Unpacking padevchooser (from .../padevchoose
Processing triggers for man-db ...
Processing triggers for menu ...
Setting up asoundconf-gtk (1.6-0ubuntu1) ...
Setting up gnome-alsamixer (0.9.7~
Setting up libgconfmm-2.6-1c2 (2.24.0-0ubuntu1) ...
Setting up libglademm-2.4-1c2a (2.6.7-1) ...
Setting up libpulse-
Setting up pavumeter (0.9.3-1ubuntu1) ...
Setting up pavucontrol (0.9.7-1ubuntu3) ...
Setting up paman (0.9.4-1ubuntu2) ...
Setting up pulseaudio-
Setting up paprefs (0.9.7-0ubuntu1) ...
Setting up padevchooser (0.9.3-2ubuntu4) ...
Processing triggers for menu ...
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
Names of available sound cards:
Intel
default
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC260 Analog [ALC260 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: default [C-Media USB Headphone Set ], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
*-multimedia
description: Audio device
product: 82801G (ICH7 Family) High Definition Audio Controller
vendor: Intel Corporation
physical id: 1b
bus info: pci@0000:00:1b.0
version: 01
width: 64 bits
clock: 33MHz
total 0
crw-rw----+ 1 root audio 116, 2 2009-07-29 19:10 timer
crw-rw----+ 1 root audio 116, 3 2009-07-29 19:10 seq
crw-rw----+ 1 root audio 116, 6 2009-07-29 19:10 controlC1
crw-rw----+ 1 root audio 116, 9 2009-07-29 19:10 controlC0
drwxr-xr-x 2 root root 200 2009-07-29 19:10 .
crw-rw----+ 1 root audio 116, 5 2009-07-29 19:11 pcmC1D0c
crw-rw----+ 1 root audio 116, 7 2009-07-29 23:26 pcmC0D0p
crw-rw----+ 1 root audio 116, 8 2009-07-29 23:26 pcmC0D0c
crw-rw----+ 1 root audio 116, 4 2009-07-29 23:26 pcmC1D0p
drwxr-xr-x 18 root root 4960 2009-07-30 00:22 ..
Sound Driver:
Kernel: Linux caparica-desktop 2.6.28-14-generic #47-Ubuntu SMP Sat Jul 25 00:28:35 UTC 2009 i686
Config options: 0
Installed drivers:
Type 10: ALSA emulation
Card config:
HDA Intel at 0xe04c0000 irq 21
C-Media USB Headphone Set at usb-0000:
Audio devices:
0: ALC260 Analog (DUPLEX)
1: USB Audio (DUPLEX)
Synth devices: NOT ENABLED IN CONFIG
Midi devices: NOT ENABLED IN CONFIG
Timers:
31: system timer
Mixers:
0: Realtek ALC260
1: USB Mixer
00:00.0 Host bridge [0600]: Intel Corporation 82945G/GZ/P/PL Memory Controller Hub [8086:2770] (rev 02)
00:02.0 VGA compatible controller [0300]: Intel Corporation 82945G/GZ Integrated Graphics Controller [8086:2772] (rev 02)
00:1b.0 Audio device [0403]: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller [8086:27d8] (rev 01)
00:1c.0 PCI bridge [0604]: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 [8086:27d0] (rev 01)
00:1c.1 PCI bridge [0604]: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 [8086:27d2] (rev 01)
00:1d.0 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 [8086:27c8] (rev 01)
00:1d.1 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 [8086:27c9] (rev 01)
00:1d.2 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 [8086:27ca] (rev 01)
00:1d.3 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 [8086:27cb] (rev 01)
00:1d.7 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller [8086:27cc] (rev 01)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev e1)
00:1f.0 ISA bridge [0601]: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge [8086:27b8] (rev 01)
00:1f.1 IDE interface [0101]: Intel Corporation 82801G (ICH7 Family) IDE Controller [8086:27df] (rev 01)
00:1f.2 IDE interface [0101]: Intel Corporation 82801GB/GR/GH (ICH7 Family) SATA IDE Controller [8086:27c0] (rev 01)
3f:00.0 Ethernet controller [0200]: Broadcom Corporation NetXtreme BCM5752 Gigabit Ethernet PCI Express [14e4:1600] (rev 01)
snd_hda_intel 434228 6
snd_usb_audio 90528 1
snd_pcm_oss 46336 0
snd_mixer_oss 22656 1 snd_pcm_oss
snd_pcm 83076 3 snd_hda_
snd_seq_dummy 10756 0
snd_usb_lib 24320 1 snd_usb_audio
snd_hwdep 15108 1 snd_usb_audio
snd_seq_oss 37760 0
snd_seq_midi 14336 0
snd_rawmidi 29696 2 snd_usb_
snd_seq_midi_event 15104 2 snd_seq_
snd_seq 56880 6 snd_seq_
snd_timer 29704 2 snd_pcm,snd_seq
snd_seq_device 14988 5 snd_seq_
snd 62756 25 snd_hda_
soundcore 15200 1 snd
snd_page_alloc 16904 2 snd_hda_
Revision history for this message
|
#4 |
I cannot hear a sound through headphones and speakers, and no sound is being recognized via the microphone, although they all work perfectly with my HP Pavilion laptop, also running Ubuntu 9.04.
Revision history for this message
|
#5 |
Hi,
Please keep the C-Media USB Headphone Set unplugged and disconnected from your pc while performing the following procedure.
In System/
pulse
pulse-access
pulse-rt
Then please try this procedure:
1. copy-paste the following command into the Terminal:
gksudo gedit /etc/modprobe.
2. and add these lines to the end of the /etc/modprobe.
# Keep snd-pcsp from being loaded as first soundcard
options snd-pcsp index=-2
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
options snd-hda-intel model=hp-dc7600
options snd-hda-intel enable_msi=1
3. Then navigate to System>
4. reboot and retest sound on the speakers
5. If sound still does not work, then replace hp-dc7600 with one of the following model options:
ALC260
hp HP machines
hp-3013 HP machines (3013-variant)
hp-dc7600 HP DC7600
fujitsu Fujitsu S7020
acer Acer TravelMate
will Will laptops (PB V7900)
replacer Replacer 672V
basic fixed pin assignment (old default model)
test for testing/debugging purpose, almost all controls can
adjusted. Appearing only when compiled with
$CONFIG_
auto auto-config reading BIOS (default)
6. You will have to reboot and retest sound after every model option change to the alsa-base.conf file
Regards,
Mark
Revision history for this message
|
#6 |
I believe that the alsa-base.conf file should contain the following model option for the HP Compaq DC7600: basic
So the last part of the alsa-base.conf file should look like this:
# Keep snd-pcsp from being loaded as first soundcard
options snd-pcsp index=-2
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
options snd-hda-intel model=basic
options snd-hda-intel enable_msi=1
-> See this URL for details:
Can you help with this problem?
Provide an answer of your own, or ask AJ C. for more information if necessary.