ALC262 audio codec not working on Toshiba Tecra A8-183 laptop in Ubuntu 9.04

Asked by armen on 2009-05-14

Dear Gurus,

My problem is in following:
I have Ubuntu 9.04 on my Toshiba Tecra A8-183 laptop. And I have no sound at all.
I tried many recipes to reach success, but without any result.
So what have I tried:
1. Add necessary lines to /etc/modprobe.d/alsa-base. Part of the file:
---
options snd-pcsp index=-2
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
options snd-hda-intel model=toshiba-s06
options snd-hda-intel enable_msi=1
---
2. Instead of model=toshiba-s06 I tried to use model=fujitsu, hp-bpc, hp-bpc-d7000, hp-tc-t5735, hp-rp5700, benq, benq-t31, hippo, hippo_1, sony-assamd, toshiba, toshiba-rx1, ultra, lenovo-3000, nec, basic, auto. It was just stupid one-by-one insertion of values from here http://www.mjmwired.net/kernel/Documentation/sound/alsa/HD-Audio-Models.txt for my codec ALC262.

3. Switch off acpi support in /boot/grub/menu.lst. Necessary line is: kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=027ce334-92ed-495f-9931-e64a7f87635a ro quiet splash acpi=off acm=off

4. I have checked everywhere where possible that loudspeakers are turned on.

5. Recompilation of alsa-driver, alsa-lib and alsa-utils. Now I have 1.0.20 version. Recompilation was performed with option --with-cards=hda-intel

6. Installation of special sound-pack from Raltec website. From here. Frankly speaking it was just alsa 1.0.19 distribution.

Now I have leak of ideas. Dear All please advise me what am I doing wrong. Result of all steps - no sound. Of course under WinXP sound was ok.

So exact parameters of my system:
---
Laptop Tochiba Tecra A8-183
---
OS Ubuntu 9.04
---
armen@armen-laptop:~$ uname -r
2.6.28-11-generic
---
armen@armen-laptop:~$ cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.20.
Compiled on May 13 2009 for kernel 2.6.28-11-generic (SMP).
---
armen@armen-laptop:~$ cat /proc/asound/card0/codec#0 | grep Codec
Codec: Realtek ALC262
---
armen@armen-laptop:~$ cat /proc/asound/modules
0 snd_hda_intel
---

Please help.
Thanks in advance.

Armen

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
armen
Solved:
2009-05-18
Last query:
2009-05-18
Last reply:
2009-05-17
armen (armen-m) said : #1

By the way alsaconf correctly identified and adjusted my sound card... but still no sound.

Hi armen,

A big difference between Ubuntu 8.10 and Ubuntu 9.04 is that the name of the alsa-base configuration file has changed to alsa-base.conf So Ubuntu 9.04 will ignore your changes to the alsa-base file.

Please try this procedure instead:

Step 1: Open Terminal from "Applications->Accessories->
Terminal"

Step 2: Run the following command (copy/paste command into the Terminal and then hit <enter>)

sudo gedit /etc/modprobe.d/alsa-base.conf

Add these 2 lines to the end of the alsa-base.conf file:

alias snd-card-0 snd-hda-intel
options snd-hda-intel enable=1 index=0 model=hippo

If those alsa-base options don't work, please try these 2 lines instead and reboot after making the change:

alias snd-card-0 snd-hda-intel
options snd-hda-intel enable=1 index=0 model=basic

Don't forget to reboot your pc after every change you make to the /etc/modprobe.d/alsa-base.conf file.
So add the hippo model option, reboot, retest sound. Then - if necessary - replace the hippo model option with the basic model option, reboot and retest sound.

Also make sure to run alsamixer after each change and make sure all channels remain unmuted after each reboot.

Hope this helps,

Regards,

Mark

armen (armen-m) said : #3

Hello Mark,

First of all - thank you for your kind help. I am really surprised that someone helps me. I am very glad :)

I am sorry - that was my mistake that i have indicated /etc/modprobe.d/alsa-base in my first post. Of course I understood where changes should be made. All my changes was made in /etc/modprobe.d/alsa-base.conf. I just didn't mention .conf to make line shorter :).

Regarding problem: your recommendations aren't work unfortunately. Still no sound. It seems that everything works. Even Skype can call without errors, but there is no sound at all. By the way at the first time Skype reported "problems with sound", but with model=toshiba-s06 and model=hippo - Skype is calling without errors.

So, unfortunately your recommendations didn't help. Maybe you have some another creative ideas? :)

Armen

armen (armen-m) said : #4

Additional information.

From one of other sources I know that use should be in audio and video groups to be able to play something.
---
sudo useradd armen audio
sudo useradd armen video
sudo reboot
---
result - silence

Trying to play mp3 form root:
---
sudo aplay -vv /home/armen/katy_perry-i_kissed_a_girl.mp3
---

result - silence

I am in despair...
Ubuntu don't likes me...

armen (armen-m) said : #5

... sory... of cource not useradd, but adduser...

Hi,

In System/Administration/Users and Groups , make sure that your user and the root user are members of the following groups:

 pulse
 pulse-access
 pulse-rt

After that, please perform the procedure below again (to test sound again):

Step 1: Open Terminal from "Applications->Accessories->
Terminal"

Step 2: Run the following command (copy/paste command into the Terminal and then hit <enter>)

sudo gedit /etc/modprobe.d/alsa-base.conf

Add these 2 lines to the end of the alsa-base.conf file:

alias snd-card-0 snd-hda-intel
options snd-hda-intel enable=1 index=0 model=hippo

If those alsa-base options don't work, please try these 2 lines instead and reboot after making the change:

alias snd-card-0 snd-hda-intel
options snd-hda-intel enable=1 index=0 model=basic

Here are more model options:

 ALC262
   fujitsu Fujitsu Laptop
   hp-bpc HP xw4400/6400/8400/9400 laptops
   hp-bpc-d7000 HP BPC D7000
   hp-tc-t5735 HP Thin Client T5735
   hp-rp5700 HP RP5700
   benq Benq ED8
   benq-t31 Benq T31
   hippo Hippo (ATI) with jack detection, Sony UX-90s
   hippo_1 Hippo (Benq) with jack detection
   sony-assamd Sony ASSAMD
   toshiba-s06 Toshiba S06
   toshiba-rx1 Toshiba RX1
   ultra Samsung Q1 Ultra Vista model
   lenovo-3000 Lenovo 3000 y410
   nec NEC Versa S9100
   basic fixed pin assignment w/o SPDIF
   auto auto-config reading BIOS (default)

Don't forget to reboot your pc after every change you make to the /etc/modprobe.d/alsa-base.conf file.
So add the hippo model option, reboot, retest sound. Then - if necessary - replace the hippo model option with the basic model option, reboot and retest sound.

Also make sure to run alsamixer after each change and make sure all channels remain unmuted after each reboot.

Hope this helps,

Regards,

Mark

armen (armen-m) said : #7

Hi Mark! Hi everyone who interested in my problem!

!!!THE PROBLEM SOLVED!!!

Solution description:
1. Install Windows.
2. Switch loudspeakers on with help of Function button.
3. Install Ubuntu
4. Add to /etc/modprobe.d/alsa-base.conf (or without conf for 8.10):
---
alias snd-card-0 snd-hda-intel
options snd-hda-intel enable=1 index=0 model=toshiba-s06
---
reboot.

My way to get this way:
1. I tried everything connected with alsa. And get system works but no sound. State of the sound system was like sound works, but loudspeakers physically switched off.
2. I find several descriptions of cases when Functional buttons in Windows can switch sound off on physical way.
3. I installed Windows without drivers of Functional buttons and I get the same state as in Ubuntu - everything plays but loudspeakers doesn't work and no sound.
4. I reinstalled Win with drivers of Function buttons. Ans switched loudspeakers on.
5. Installed Ubuntu and added above-mentioned lines to config.

Alleluia - everything works!!!

So it seems that Win functional buttons somehow influence in physical level on sound chipset. It is strange, but it is.

Thanks a lot to Mark ant to Ubuntu developers. :)

Armen

Hi armen,

Great to hear your sound issue is solved! Thanks for letting us all know what the solution was to your issue. You did some good logical troubleshooting there.

Thanks to you, other Toshiba Tecra A8 owners will be able to get their speakers working as well in Ubuntu.

Have fun!

Regards,

Mark

sid (shettysid) said : #9

I have a Toshiba Tecra M9 and I have 3 audio-related problems:
1. Inbuilt mic not working
2. Mic jack not working
3. Speaker jack works, but when I insert headphone, sound plays on the headphones and also on the laptop speakers

I made the following changes:
- Added 'options snd-hda-intel model=toshiba' at the end of the alsa-base file
- Opened volume control and chose 'ALSA PCM on front 0: (ALC262 Analog) via DMA (PulseAudio Mixer)' under File->Change Device

This solved prob 2 but did not solve problems 1 and 3.

Any ideas?

Thanks...sid

Hi sid,

This thread is already in status "solved"

Please create a separate thread for your new sound issue.

And you are using a different laptop model than armen, so the solution on this thread does not apply to your pc.

Regards,

Mark

Dear frens, I am just a beginner in Linux., I do have the same problem i.e., my micorphone is not working and my pc is Sony VGN SR11M., I really don't know how to run model=toshiba-s06 ...would you mind explaining it clearly. Thanks in advance

Cheers

Maha

Troels Brødsgaard (troels-s) said : #12

I realise this is an old thread, but I just wanted to say THANK YOU! I would have been lost without this.

I installed Kubuntu 12.04 on an approximately 5 years old Toshiba Satellite Pro A120 (dual-booting with Windows XP), and could not get any audio out from the internal sound card, even though it worked fine if I used my USB headset (which registers as a seperate sound card).

I tried a few things like installing a new driver but with no luck, then happened upon this thread. Rebooted into Windows XP, unmuted the sound, rebooted into Kubuntu again, and now it works.

Thanks again, saved my from pulling out all my hair - and solution is still relevant in 2012 it seems (at least with old hardware).