sound problems

Asked by Kagaku

I've bought a new laptop, a Toshiba L45-SP2056 but the sound doesn't seem to work in ubuntu... could someone please help me. I'm new at linux or ubuntu so...

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu linux-source-2.6.22 Edit question
Assignee:
No assignee Edit question
Solved by:
Fred
Solved:
Last query:
Last reply:
Revision history for this message
Fred (frederic-lespez) said :
#1

Could you run in a terminal the following commands and post their output ?
First command :
lspci -nn

Second command :
grep Codec /proc/asound/card0/codec#*

Could you also try to update the alsa driver (if you are running Ubuntu Gutsy aka 7.10) ?
You just have to run in a terminal the following command :
sudo apt-get install linux-backports-modules-generic
And then reboot.

Keep me posted.

Revision history for this message
Kagaku (valenceicq) said :
#2

kagaku@Chemie:~$ lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub [8086:27a0] (rev 03)
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller [8086:27a2] (rev 03)
00:02.1 Display controller [0380]: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller [8086:27a6] (rev 03)
00:1b.0 Audio device [0403]: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller [8086:27d8] (rev 02)
00:1c.0 PCI bridge [0604]: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 [8086:27d0] (rev 02)
00:1c.1 PCI bridge [0604]: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 [8086:27d2] (rev 02)
00:1c.2 PCI bridge [0604]: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 [8086:27d4] (rev 02)
00:1d.0 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 [8086:27c8] (rev 02)
00:1d.1 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 [8086:27c9] (rev 02)
00:1d.2 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 [8086:27ca] (rev 02)
00:1d.3 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 [8086:27cb] (rev 02)
00:1d.7 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller [8086:27cc] (rev 02)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev e2)
00:1f.0 ISA bridge [0601]: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge [8086:27b9] (rev 02)
00:1f.2 IDE interface [0101]: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller [8086:27c4] (rev 02)
02:00.0 Ethernet controller [0200]: Atheros Communications, Inc. AR5006EG 802.11 b/g Wireless PCI Express Adapter [168c:001c] (rev 01)
05:01.0 CardBus bridge [0607]: Ricoh Co Ltd RL5c476 II [1180:0476] (rev ba)
05:01.2 Generic system peripheral [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter [1180:0822] (rev 21)
05:01.3 System peripheral [0880]: Ricoh Co Ltd R5C843 MMC Host Controller [1180:0843] (rev 11)
05:01.4 System peripheral [0880]: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter [1180:0592] (rev 11)
05:01.5 System peripheral [0880]: Ricoh Co Ltd xD-Picture Card Controller [1180:0852] (rev 11)
05:07.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ [10ec:8139] (rev 10)

for the second command:
kagaku@Chemie:~$ grep Codec /proc/asound/card0/codec#*
/proc/asound/card0/codec#0:Codec: Analog Devices AD1986A
/proc/asound/card0/codec#1:Codec: Generic 11c1 Si3054

What upsets me the most is that when I turn on the laptop, I can hear the music but with a loud and annoying whistle and afterwards I can't hear a thing...

kagaku@Chemie:~$ sudo apt-get install linux-backports-modules-generic
[sudo] password for kagaku:
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias
Leyendo la información de estado... Hecho
Se instalarán los siguientes paquetes extras:
  linux-backports-modules-2.6.22-14-generic
Se instalarán los siguientes paquetes NUEVOS:
  linux-backports-modules-2.6.22-14-generic linux-backports-modules-generic
0 actualizados, 2 se instalarán, 0 para eliminar y 0 no actualizados.
Necesito descargar 1386kB de archivos.
Se utilizarán 5661kB de espacio de disco adicional después de desempaquetar.
¿Desea continuar [S/n]? s
AVISO: ¡No se han podido autenticar los siguientes paquetes!
  linux-backports-modules-2.6.22-14-generic linux-backports-modules-generic
¿Instalar estos paquetes sin verificación [s/N]? s
Des:1 http://archive.ubuntu.com gutsy/main linux-backports-modules-2.6.22-14-generic 2.6.22-14.10 [1360kB]
Des:2 http://archive.ubuntu.com gutsy/main linux-backports-modules-generic 2.6.22.14.21 [25,4kB]
Descargados 1386kB en 17s (77,6kB/s)
Seleccionando el paquete linux-backports-modules-2.6.22-14-generic previamente no seleccionado.
(Leyendo la base de datos ...
94506 ficheros y directorios instalados actualmente.)
Desempaquetando linux-backports-modules-2.6.22-14-generic (de .../linux-backports-modules-2.6.22-14-generic_2.6.22-14.10_i386.deb) ...
Seleccionando el paquete linux-backports-modules-generic previamente no seleccionado.
Desempaquetando linux-backports-modules-generic (de .../linux-backports-modules-generic_2.6.22.14.21_i386.deb) ...
Configurando linux-backports-modules-2.6.22-14-generic (2.6.22-14.10) ...
update-initramfs: Generating /boot/initrd.img-2.6.22-14-generic

Configurando linux-backports-modules-generic (2.6.22.14.21) ...

Ahhh by the way... I forgot to tell you I'm chilean that's why the messages are in spanish. jejeje.
But I can't hear anything anyways....
Please help!!!

Revision history for this message
Best Fred (frederic-lespez) said :
#3

So your sound card is a Analog Devices AD1986A.
It seems it will need some manual tweaking to work.

In a terminal, run this command to edit the file /etc/modprobe.d/alsa-base:
sudo gedit /etc/modprobe.d/alsa-base
and search the following line :
options snd-hda-intel
And modifiy it (or add it) so that it looks like :
options snd-hda-intel model=3stack
Then reboot and test if sound works.

If it doesn't work, repeat the preceding procedure with "model=laptop", "model=laptop-eapd", "model=laptop-automute" and "model=ultra"

Revision history for this message
Kagaku (valenceicq) said :
#4

Thank you very much Fred. I added the options snd-hda-intel model=3stack to the file and rebooted the system.
It works perfectly.

Revision history for this message
Kagaku (valenceicq) said :
#5

Thanks Fred, that solved my question.

Revision history for this message
Fernando (fernydale) said :
#6

~$ lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub [8086:27a0] (rev 03)
00:01.0 PCI bridge [0604]: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express PCI Express Root Port [8086:27a1] (rev 03)
00:1b.0 Audio device [0403]: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller [8086:27d8] (rev 02)
00:1c.0 PCI bridge [0604]: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 [8086:27d0] (rev 02)
00:1c.1 PCI bridge [0604]: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 [8086:27d2] (rev 02)
00:1c.2 PCI bridge [0604]: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 [8086:27d4] (rev 02)
00:1d.0 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 [8086:27c8] (rev 02)
00:1d.1 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 [8086:27c9] (rev 02)
00:1d.2 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 [8086:27ca] (rev 02)
00:1d.3 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 [8086:27cb] (rev 02)
00:1d.7 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller [8086:27cc] (rev 02)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev e2)
00:1f.0 ISA bridge [0601]: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge [8086:27b9] (rev 02)
00:1f.2 IDE interface [0101]: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller [8086:27c4] (rev 02)
00:1f.3 SMBus [0c05]: Intel Corporation 82801G (ICH7 Family) SMBus Controller [8086:27da] (rev 02)
01:00.0 VGA compatible controller [0300]: nVidia Corporation G72M [Quadro NVS 110M/GeForce Go 7300] [10de:01d7] (rev a1)
02:00.0 Ethernet controller [0200]: Intel Corporation 82573L Gigabit Ethernet Controller [8086:109a]
03:00.0 Network controller [0280]: Intel Corporation PRO/Wireless 3945ABG Network Connection [8086:4222] (rev 02)
0a:04.0 CardBus bridge [0607]: Texas Instruments PCIxx12 Cardbus Controller [104c:8039]
0a:04.1 FireWire (IEEE 1394) [0c00]: Texas Instruments PCIxx12 OHCI Compliant IEEE 1394 Host Controller [104c:803a]
0a:04.2 Mass storage controller [0180]: Texas Instruments 5-in-1 Multimedia Card Reader (SD/MMC/MS/MS PRO/xD) [104c:803b]
0a:04.3 Generic system peripheral [0805]: Texas Instruments PCIxx12 SDA Standard Compliant SD Host Controller [104c:803c]
fernanydale@fernanydale-laptop:~$ grep Codec /proc/asound/card0/codec#*
Codec: Conexant CX20551 (Waikiki)

fernanydale@fernanydale-laptop:~$ sudo apt-get install linux-backports-modules-generic
[sudo] password for fernanydale:
Reading package lists... Done
Building dependency tree
Reading state information... Done
linux-backports-modules-generic is already the newest version.
The following packages were automatically installed and are no longer required:
  lesstif2
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Revision history for this message
fedegori84 (fedegori84) said :
#7

Thank you very much fred, im from argentina and i have a laptop toshiba a105-s4384. I have the same problem of kagaku so i make first and second step and IT WORK PERFECTLY!!! I LOVE LINUX UBUNTU!!!

Revision history for this message
matzi (matzi-89) said :
#8

please help me fred i have the same problem like fernando and i don't know what should i do:

matzi@matzi-laptop:~$ lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub [8086:27a0] (rev 03)
00:01.0 PCI bridge [0604]: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express PCI Express Root Port [8086:27a1] (rev 03)
00:1b.0 Audio device [0403]: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller [8086:27d8] (rev 02)
00:1c.0 PCI bridge [0604]: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 [8086:27d0] (rev 02)
00:1c.1 PCI bridge [0604]: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 [8086:27d2] (rev 02)
00:1c.2 PCI bridge [0604]: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 [8086:27d4] (rev 02)
00:1d.0 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 [8086:27c8] (rev 02)
00:1d.1 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 [8086:27c9] (rev 02)
00:1d.2 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 [8086:27ca] (rev 02)
00:1d.3 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 [8086:27cb] (rev 02)
00:1d.7 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller [8086:27cc] (rev 02)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev e2)
00:1f.0 ISA bridge [0601]: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge [8086:27b9] (rev 02)
00:1f.2 IDE interface [0101]: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller [8086:27c4] (rev 02)
00:1f.3 SMBus [0c05]: Intel Corporation 82801G (ICH7 Family) SMBus Controller [8086:27da] (rev 02)
01:00.0 VGA compatible controller [0300]: nVidia Corporation G70 [GeForce Go 7600] [10de:0398] (rev a1)
02:00.0 Ethernet controller [0200]: Intel Corporation 82573L Gigabit Ethernet Controller [8086:109a]
03:00.0 Network controller [0280]: Intel Corporation PRO/Wireless 3945ABG Network Connection [8086:4222] (rev 02)
0a:04.0 CardBus bridge [0607]: Texas Instruments PCIxx12 Cardbus Controller [104c:8039]
0a:04.1 FireWire (IEEE 1394) [0c00]: Texas Instruments PCIxx12 OHCI Compliant IEEE 1394 Host Controller [104c:803a]
0a:04.2 Mass storage controller [0180]: Texas Instruments 5-in-1 Multimedia Card Reader (SD/MMC/MS/MS PRO/xD) [104c:803b]
0a:04.3 Generic system peripheral [0805]: Texas Instruments PCIxx12 SDA Standard Compliant SD Host Controller [104c:803c]
matzi@matzi-laptop:~$ grep Codec /proc/asound/card0/codec#*
Codec: Conexant CX20551 (Waikiki)

please help me

Revision history for this message
Fred (frederic-lespez) said :
#9

matzi,fernando:
Your sound card is a Conexant CX20551 (Waikiki).
Update alsa drivers by doing in a terminal :
sudo apt-get install linux-backports-modules-generic
Reboot and if sound still doesn't work, try this :
In a terminal, run this command to edit the file /etc/modprobe.d/alsa-base:
sudo gedit /etc/modprobe.d/alsa-base
and search the following line :
options snd-hda-intel
And modifiy it (or add it) so that it looks like :
options snd-hda-intel model=laptop
Then reboot and test if sound works.

If it doesn't work, repeat the preceding procedure with "model=laptop-hp", "model=laptop-eapd".

I don't know if it will work or not...
If it doesn't, you will have to wait for the next Ubuntu version (Hardy) due out in April. It contains a more recent version of alsa drivers.

Revision history for this message
gemara (kimus23) said :
#10

hei fred, i just installed ubuntu 8.04 yesterday and i can't hear any single thing since the installation completed.
please help me fred.

gema@gema-laptop:~$ lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub [8086:27a0] (rev 03)
00:01.0 PCI bridge [0604]: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express PCI Express Root Port [8086:27a1] (rev 03)
00:1b.0 Audio device [0403]: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller [8086:27d8] (rev 02)
00:1c.0 PCI bridge [0604]: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 [8086:27d0] (rev 02)
00:1c.1 PCI bridge [0604]: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 [8086:27d2] (rev 02)
00:1d.0 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 [8086:27c8] (rev 02)
00:1d.1 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 [8086:27c9] (rev 02)
00:1d.2 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 [8086:27ca] (rev 02)
00:1d.3 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 [8086:27cb] (rev 02)
00:1d.7 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller [8086:27cc] (rev 02)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev e2)
00:1f.0 ISA bridge [0601]: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge [8086:27b9] (rev 02)
00:1f.2 IDE interface [0101]: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller [8086:27c4] (rev 02)
00:1f.3 SMBus [0c05]: Intel Corporation 82801G (ICH7 Family) SMBus Controller [8086:27da] (rev 02)
01:00.0 VGA compatible controller [0300]: nVidia Corporation G72M [Quadro NVS 110M/GeForce Go 7300] [10de:01d7] (rev a1)
03:00.0 Network controller [0280]: Intel Corporation PRO/Wireless 3945ABG Network Connection [8086:4222] (rev 02)
05:01.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ [10ec:8139] (rev 10)
05:04.0 CardBus bridge [0607]: ENE Technology Inc CB1410 Cardbus Controller [1524:1410] (rev 01)
05:06.0 FireWire (IEEE 1394) [0c00]: Ricoh Co Ltd R5C832 IEEE 1394 Controller [1180:0832]
05:06.1 SD Host controller [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter [1180:0822] (rev 19)
05:06.2 System peripheral [0880]: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter [1180:0592] (rev 0a)

gema@gema-laptop:~$ grep Codec /proc/asound/card0/codec#*
/proc/asound/card0/codec#0:Codec: Analog Devices AD1986A
/proc/asound/card0/codec#1:Codec: Generic 11c1 ID 1040

help me man..thanks

Revision history for this message
gemara (kimus23) said :
#11

just solved the problem..change the model into laptop-eapd..it worked.hehe thanks

Revision history for this message
K_levis14 (kissslevis14) said :
#12

Hei Fred, could you help me to with the linux sound problem on my laptop.I have a LG R510 laptop with 3 OS on it and I have this sound problem only in my IntrepidIbex, the XP and Vista are working properly, my sound card is a Realtek. I tried everything out by editing the alsa-base file with no resolts.I have this problem only on the laptop speakers, not on the headsets or other speakers and i had the same problem on Ubuntu 8.04

klubuntu@ubuntu:~$ grep Codec /proc/asound/card0/codec#*
/proc/asound/card0/codec#0:Codec: Realtek ALC268
/proc/asound/card0/codec#1:Codec: LSI ID 1040
/proc/asound/card0/codec#2:Codec: Generic 10de ID 3

Help me please!