Gentoo and Sony Vaio VGN-FZ180E – part 1: Sound

Englang This laptop comes with a sound card listed this way under Gentoo:

# lspci | grep -i audio
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)

Latest kernel 2.6.24.3 comes with Alsa 1.0.15, that works just fine to support this card.
So what is need is to enter kernel config and select the following choices:

Device Drivers ---> Sound ---> <M> Sound Card Support

Inside “Advanced Linux Sound Architecture” select the following modules:

<M> Advanced Linux Sound Architecture
<M>Sequencer Support
<M>OSS Mixer API
<M> OSS PCM

Inside “PCI Devices” select:

<M> Intel HD Audio
[ ] Build hwdep interface for HD-audio driver
[*] Build Realtek HD-audio codec support
[*] Build Analog Device HD-audio codec support
[*] Build IDT/Sigmatel HD-audio codec support
[*] Build VIA HD-audio codec support
[*] Build ATI HDMI HD-audio codec support
[*] Build Conexant HD-audio codec support
[*] Build C-Media HD-audio codec support
[*] Build Silicon Labs 3054 HD-modem codec support
[*] Enable generic HD-audio codec parser

That’s it for the kernel. After recompiling your kerner and reboot, edit file /etc/modprobe.d/alsa and add the following line:

options snd_hda_intel model=vaio

Load the module as “/etc/init.d/alsasound start”. Here are the modules loaded to me:

# lsmod
Module Size Used by
snd_hda_intel 269724 1
snd_pcm 61704 1 snd_hda_intel
snd_timer 19716 1 snd_pcm
snd 46948 5 snd_hda_intel,snd_pcm,snd_timer
soundcore 7264 1 snd
snd_page_alloc 10120 2 snd_hda_intel,snd_pcm

In order to change sound levels, one option is to use alsamixer, that comes with “emerge alsa-utils”. Here’s a screenshot:

Alsamixer

After all that, the sound works nice from the main speaker, the earphone jack correctly mutes the main speaker when plugged, and the internal microphone that comes with this vaio also works well. You can test-it using Skype echo test.

About these ads

6 comments on “Gentoo and Sony Vaio VGN-FZ180E – part 1: Sound

  1. [...] Gentoo and Sony Vaio VGN-FZ180E – part 1: Sound [...]

  2. julien says:

    I guess you meant the file “/etc/modules.d/alsa”

    Unfortunately the whole thing does not seem to work on kernel 2.6.24-gentoo-r8 with alsa 1.0.16
    I’ve got sound but plugging in the headphones does not mute the speakers… :(

  3. netsuke says:

    Hi, make sure that you did an “emerge alsa-utils”, and that the modules were loaded thru this service, instead of a manual modprobe.

  4. julien says:

    worked like a charm after all.
    stupid me had put like half of the config somewhere and another half to another location… –;
    cheers!

  5. Joel Benjamin says:

    I have sony vaio VGN-Bx 168GP which when ireinstall i dont have the sound driver for my laptop which sony Vaio

  6. aspirefreak says:

    Very helpful.Thanks

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s