libreboot-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Libreboot-dev] lenovo x60: fix audio


From: Arthur Heymans
Subject: [Libreboot-dev] lenovo x60: fix audio
Date: Fri, 03 Jun 2016 22:22:18 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Attachment: 0001-Add-sound-card-config-for-x60.patch
Description: Text Data

Hi

Audio on the x60 with libreboot has a few problems, compared to vendor bios:
- when headphones are connected to jack, sound is not automatically
send to them;
- internal microphone is not default microphone.

This is the result of coreboot not configuring the sound card, causing
it to have bad default behavior.

This patches takes default configuration from lenovo bios
and fixes the described problems.

This also needs to be done for the t60.
To do this:
- flash back lenovo bios
- run those 2 commands
 for x in /sys/class/sound/card0/hw*; do cat "$x/init_pin_configs" > 
pin_"$(basename "$x")"; done
 for x in /proc/asound/card0/codec#*; do cat "$x" > "$(basename "$x")"; done
(it is possible the first command does not work depending on the kernel
version, try to find init_pin_configs in /sys/class/sound/card0/ or one
of its subdirs)
- email the resulting logs

Sincerely yours
-- 
Arthur Heymans

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]