[pulseaudio-discuss] internal speaker silent in Asus eee netbook (patch)

Guenter Milde milde at users.sf.net
Mon Oct 9 16:45:16 UTC 2017


Dear Tanu,

thanks for the reply. Unfortunately, it bounced so please excuse my late
reply.

On Sat Aug 5 Tanu Kaskinen tanuk at iki.fi wrote:
> On Fri, 2017-08-04 at 14:50 +0200, Guenter Milde wrote:

> > Diagnosis:
> >   headphones work
> >   speaker: no sound despite signal shown in pavucontrol

In the meantime, I found a simple patch, posted it to Debian and was told to
post it here, too:

There is already a provision for similar problems with other netbooks
using the "force-speaker.conf" profile set. This can be activated via
udev rules for the affected netbooks.


--- /lib/udev/rules.d/90-pulseaudio.rules	2017-06-18 18:03:31.000000000 +0200
+++ /tmp/90-pulseaudio.rules	2017-10-09 12:28:39.949543375 +0200
@@ -24,6 +24,7 @@

 # Force enable speaker and internal mic for some laptops
 # This should only be necessary for kernels 3.3, 3.4 and 3.5 (as they are lacking the phantom jack kctls).
+# For the Asus EeePCs also with newer kernels (tested with 4.9).
 # Acer AOA150
 ATTRS{subsystem_vendor}=="0x1025", ATTRS{subsystem_device}=="0x015b", ENV{PULSE_PROFILE_SET}="force-speaker-and-int-mic.conf"
 # Acer Aspire 4810TZ
@@ -68,6 +69,10 @@
 ATTRS{subsystem_vendor}=="0x1028", ATTRS{subsystem_device}=="0x0579", ENV{PULSE_PROFILE_SET}="force-speaker-and-int-mic.conf"
 # Asus 904HA (1000H)
 ATTRS{subsystem_vendor}=="0x1043", ATTRS{subsystem_device}=="0x831a", ENV{PULSE_PROFILE_SET}="force-speaker-and-int-mic.conf"
+# Asus EeePC R11CX
+ATTRS{subsystem_vendor}=="0x1043", ATTRS{subsystem_device}=="0x8516", ENV{PULSE_PROFILE_SET}="force-speaker.conf"
+# Asus EeePC R011PX
+ATTRS{subsystem_vendor}=="0x1043", ATTRS{subsystem_device}=="0x8437", ENV{PULSE_PROFILE_SET}="force-speaker.conf"
 # Asus T101MT
 ATTRS{subsystem_vendor}=="0x1043", ATTRS{subsystem_device}=="0x83ce", ENV{PULSE_PROFILE_SET}="force-speaker-and-int-mic.conf"
 # Sony Vaio VGN-SR21M


With this patch, the Asus EeePC R11CX and R011PX work as expected



> > Why are switch and volume set to "off" in the original
> > analog-output-speaker.conf?
>
> The headphone output is turned off, because playing simultaneously to
> the speakers and the headphones is a bad idea.

I understand this, my question would be more precisely:

What is the difference between "switch = off" and "switch = mute"?

Could pulseaudio use "switch = mute" in the path file
pulseaudio/alsa-mixer/paths/analog-output-speaker.conf
so that there is no need for udev rules using the alternative
profile set "force-speaker.conf"?


More information about the pulseaudio-discuss mailing list