Sound does not work on Sony VAIO VPCEC1M1E

From froelix.com - Wiki
Jump to: navigation, search

Problem:

  • After installing Linux on a Sony VAIO VPCEC1M1E, the sound card is recognized correctly but the sound does not work.

Solution:

  • This is a known bug. For more details, see [1].
  • To solve this issue, you have to modify a sound card key using hda-analyzer [2].
  • Get the basic run.py script:
wget -O run.py http://www.alsa-project.org/hda-analyzer.py
  • Execute it:
python run.py
  • Go to Node[0x19] PIN (left hand side pane) -> Widget Control (right hand side pane) -> change the value of VREF to HIZ.

Note:

  • The following instructions describe how to set the sound card key automatically at each reboot of the system.
  • Download the following file and extract it:
ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/misc/hda-verb/hda-verb-0.3.tar.gz
  • Go to the directory and compile the program using make:
make
  • Copy the compiled program to /usr/bin:
cp hda-verb /usr/bin
  • Open the file /etc/rc.local:
vi /etc/rc.local
  • And insert the following line:
/usr/bin/hda-verb /dev/snd/hwC0D0 0x19 SET_PIN_WIDGET_CONTROL 0x22
  • Save the file and reboot the system.