Hi all.
When I’m connecting external monitor to my laptop, instead of directing sound to hdmi output, sound still comes from laptop speakers, though:
chekh@wonderland:~> aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
default
Default ALSA Output (currently PulseAudio Sound Server)
sysdefault:CARD=PCH
HDA Intel PCH, ALC270 Analog
Default Audio Device
front:CARD=PCH,DEV=0
HDA Intel PCH, ALC270 Analog
Front speakers
surround21:CARD=PCH,DEV=0
HDA Intel PCH, ALC270 Analog
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
HDA Intel PCH, ALC270 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
HDA Intel PCH, ALC270 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
HDA Intel PCH, ALC270 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
HDA Intel PCH, ALC270 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
HDA Intel PCH, ALC270 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
**hdmi:CARD=PCH,DEV=0
HDA Intel PCH, HDMI 0
HDMI Audio Outp**
and when I run “speaker-test -D hdmi -c2” I can hear sound in headphones, which are connected to monitor. I guess problem can be resolved if I restart alsa, but there was no rcalsasound or alsasound in my system.
chekh@wonderland:~> uname -a
Linux wonderland.am 3.17.2-1-desktop #1 SMP PREEMPT Fri Nov 7 15:18:21 UTC 2014 (bf63174) x86_64 x86_64 x86_64 GNU/Linux
chekh@wonderland:~> zypper se -si alsa
Loading repository data...
Reading installed packages...
S | Name | Type | Version | Arch | Repository
--+--------------------------+---------+------------+--------+-----------
i | alsa | package | 1.0.28-8.1 | x86_64 | repo-oss
i | alsa-oss | package | 1.0.28-3.1 | x86_64 | repo-oss
i | alsa-plugins | package | 1.0.28-5.1 | x86_64 | repo-oss
i | alsa-plugins-pulse | package | 1.0.28-5.1 | x86_64 | repo-oss
i | alsa-plugins-pulse-32bit | package | 1.0.28-5.1 | x86_64 | repo-oss
i | alsa-utils | package | 1.0.28-7.1 | x86_64 | repo-oss
PS Right now I’m using Tumbleweed, but problem wasn’t Tumblweed specific. As far as I remember, same thing was with openSUSE 13.1.