Codec + Mixer: IDT 92HD71B7X - STAC92xx Analog sound device working via headphones but not via speakers on HP dv4-1213la laptop in Ubuntu 9.04
Hi
Im a new user of linux and when I installed ubuntu 9.04, I found out that sound it's not working.
I would like some little help (for dummies) couse I've already tried a to fix this problem and i couldn't.
Thanks =)
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Revision history for this message
|
#1 |
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 commands (copy/paste each command into the Terminal and then hit <enter>)
wget -O alsa-info.sh http://
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 commands (copy/paste each command into the Terminal and then hit <enter>)
cat /proc/asound/cards
asoundconf list
sudo aptitude install gnome-alsamixer asoundconf-gtk
aplay -l
cat /dev/sndstat
lspci -nn
lsmod | grep snd
ls -lart /dev/snd
Step 4: Please post results (copy/paste terminal output from each command) 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 6: Please also specify the exact model and make of your PC (if possible) on this thread
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
=======
Please also read the following pages
http://
http://
https:/
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/
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.
Kind regards,
Mark
Revision history for this message
|
#2 |
Hi thanks for the replay
I upload all the things i did on the Terminal with bash alsa-info.sh
Important things:
I've got:
No audio on except when i use headphones
A dual boot with vista.
an HP dv4-1213la.
and when i checked in Users and Groups for
pulse
pulse-access
pulse-rt
audio
video
I realize that i don't have the audio neither the video.
Thanks
Revision history for this message
|
#3 |
Hi,
Please send us the output of the commands in step 2 and step 3. Attachments don't work here. Please copy-paste the output into a reply on this thread.
Regards,
Mark
Revision history for this message
|
#4 |
Hi my friend
there it goes:
nikolas@ubuntu:~$ wget -O alsa-info.sh http://
--2009-05-27 07:19:11-- http://
Resolving www.alsa-
Connecting to www.alsa-
HTTP request sent, awaiting response... 302 Found
Location: http://
--2009-05-27 07:19:21-- 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,428 29.1K/s in 0.9s
2009-05-27 07:19:23 (29.1 KB/s) - `alsa-info.sh' saved [26428]
WARNING: All config files need .conf: /etc/modprobe.
ALSA Information Script v 0.4.56
-------
This script will collect information about your ALSA installation and sound related hardware, to help diagnose your problem.
By default, the collected information will be AUTOMATICALLY uploaded to a www.alsa-
If you do not wish for this to occur, run the script with the --no-upload argument
Do you want to run this script? [y/n] : y
WARNING: All config files need .conf: /etc/modprobe.
Uploading information to www.alsa-
Your ALSA information is located at http://
Please inform the person helping you.
nikolas@ubuntu:~$ cat /proc/asound/cards
0 [SB ]: HDA-Intel - HDA ATI SB
1 [HDMI ]: HDA-Intel - HDA ATI HDMI
nikolas@ubuntu:~$ asoundconf list
Names of available sound cards:
SB
HDMI
nikolas@ubuntu:~$ sudo aptitude install gnome-alsamixer asoundconf-gtk
[sudo] password for nikolas:
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
nikolas@ubuntu:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: STAC92xx Analog [STAC92xx Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: ATI HDMI [ATI HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
nikolas@ubuntu:~$ cat /dev/sndstat
Sound Driver:
Kernel: Linux ubuntu 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009 i686
Config options: 0
Installed drivers:
Type 10: ALSA emulation
Card config:
HDA ATI SB at 0xd2500000 irq 16
HDA ATI HDMI at 0xd2410000 irq 19
Audio devices:
0: STAC92xx Analog (DUPLEX)
Synth devices: NOT ENABLED IN CONFIG
Midi devices: NOT ENABLED IN CONFIG
Timers:
31: system timer
Mixers:
0: IDT 92HD71B7X
1: ATI ATI RS690/780 HDMI
nikolas@ubuntu:~$ lspci -nn
00:00.0 Host bridge [0600]: Advanced Micro Devices [AMD] RS780 Host Bridge [1022:9600]
00:01.0 PCI bridge [0604]: Hewlett-Packard Company Device [103c:9602]
00:04.0 PCI bridge [0604]: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 0) [1022:9604]
00:05.0 PCI bridge [0604]: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 1) [1022:9605]
00:06.0 PCI bridge [0604]: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 2) [1022:9606]
00:07.0 PCI bridge [0604]: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 3) [1022:9607]
00:11.0 SATA controller [0106]: ATI Technologies Inc SB700/SB800 SATA Controller [AHCI mode] [1002:4391]
00:12.0 USB Controller [0c03]: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller [1002:4397]
00:12.1 USB Controller [0c03]: ATI Technologies Inc SB700 USB OHCI1 Controller [1002:4398]
00:12.2 USB Controller [0c03]: ATI Technologies Inc SB700/SB800 USB EHCI Controller [1002:4396]
00:13.0 USB Controller [0c03]: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller [1002:4397]
00:13.1 USB Controller [0c03]: ATI Technologies Inc SB700 USB OHCI1 Controller [1002:4398]
00:13.2 USB Controller [0c03]: ATI Technologies Inc SB700/SB800 USB EHCI Controller [1002:4396]
00:14.0 SMBus [0c05]: ATI Technologies Inc SBx00 SMBus Controller [1002:4385] (rev 3a)
00:14.1 IDE interface [0101]: ATI Technologies Inc SB700/SB800 IDE Controller [1002:439c]
00:14.2 Audio device [0403]: ATI Technologies Inc SBx00 Azalia (Intel HDA) [1002:4383]
00:14.3 ISA bridge [0601]: ATI Technologies Inc SB700/SB800 LPC host controller [1002:439d]
00:14.4 PCI bridge [0604]: ATI Technologies Inc SBx00 PCI to PCI Bridge [1002:4384]
00:18.0 Host bridge [0600]: Advanced Micro Devices [AMD] Family 11h HyperTransport Configuration [1022:1300] (rev 40)
00:18.1 Host bridge [0600]: Advanced Micro Devices [AMD] Family 11h Address Map [1022:1301]
00:18.2 Host bridge [0600]: Advanced Micro Devices [AMD] Family 11h DRAM Controller [1022:1302]
00:18.3 Host bridge [0600]: Advanced Micro Devices [AMD] Family 11h Miscellaneous Control [1022:1303]
00:18.4 Host bridge [0600]: Advanced Micro Devices [AMD] Family 11h Link Control [1022:1304]
01:05.0 VGA compatible controller [0300]: ATI Technologies Inc RS780M/RS780MN [Radeon HD 3200 Graphics] [1002:9612]
01:05.1 Audio device [0403]: ATI Technologies Inc RS780 Azalia controller [1002:960f]
08:00.0 System peripheral [0880]: JMicron Technologies, Inc. SD/MMC Host Controller [197b:2382]
08:00.2 SD Host controller [0805]: JMicron Technologies, Inc. Standard SD Host Controller [197b:2381]
08:00.3 System peripheral [0880]: JMicron Technologies, Inc. MS Host Controller [197b:2383]
08:00.4 System peripheral [0880]: JMicron Technologies, Inc. xD Host Controller [197b:2384]
09:00.0 Network controller [0280]: Broadcom Corporation BCM4312 802.11b/g [14e4:4315] (rev 01)
0a:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller [10ec:8136] (rev 02)
nikolas@ubuntu:~$ lsmod | grep snd
snd_hda_intel 435636 3
snd_pcm_oss 46336 0
snd_mixer_oss 22656 1 snd_pcm_oss
snd_pcm 82948 2 snd_hda_
snd_seq_dummy 10756 0
snd_seq_oss 37760 0
snd_seq_midi 14336 0
snd_rawmidi 29696 1 snd_seq_midi
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 62628 15 snd_hda_
soundcore 15200 1 snd
snd_page_alloc 16904 2 snd_hda_
nikolas@ubuntu:~$ ls -lart /dev/snd
total 0
crw-rw----+ 1 root audio 116, 2 2009-05-27 06:57 timer
crw-rw----+ 1 root audio 116, 3 2009-05-27 06:57 seq
crw-rw----+ 1 root audio 116, 7 2009-05-27 06:57 pcmC1D3p
crw-rw----+ 1 root audio 116, 8 2009-05-27 06:57 controlC1
crw-rw----+ 1 root audio 116, 6 2009-05-27 06:57 controlC0
drwxr-xr-x 2 root root 180 2009-05-27 06:57 .
drwxr-xr-x 17 root root 4240 2009-05-27 06:57 ..
crw-rw----+ 1 root audio 116, 5 2009-05-27 06:57 pcmC0D0c
crw-rw----+ 1 root audio 116, 4 2009-05-27 06:58 pcmC0D0p
nikolas@ubuntu:~$
Thank you : )
Revision history for this message
|
#5 |
Hi,
In System/
pulse
pulse-access
pulse-rt
Then 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 file:
# 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-dv5
options snd-hda-intel enable_msi=1
3. Then navigate to System>
4. reboot and retest sound
Regards,
Mark
Revision history for this message
|
#6 |
Hi
I did what you said, but it didn't worked.
I never told you becuase i thougth that ubuntu disable the mute botton, but when I run ubuntu I used to get the mute botton from my pc on and I culdn't turn it off (evethought it switched mute on and off when i touched it). Now I've got it off all the time and I can't make it flash. Anyway i don't care about that, couse what is important to me is to get sound whitout having to use my headphones.
Tell me if you now something else I can do.
Thank you very much
Revision history for this message
|
#7 |
Hi Nikolas,
I suggest trying each of these solutions:
One of them might work for you as well, but patience is required ;-)
Regards,
Mark
Revision history for this message
|
#8 |
Hi Mr. Mark Rijckenberg !:
i had the same laptop model, the same OS version and i resolve the same problem reading your post:
https:/
I tried 3 diferent models modifying the archive: /etc/modprobe.
This is a part added to my /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=dell-m4-3
options snd-hda-intel enable_msi=1
I really thank you for your help...!!!
I hope this post change to resolved.
greetings from Argentina
Can you help with this problem?
Provide an answer of your own, or ask Nikolas for more information if necessary.