Switching output ports across sound cards will cause the Headphone to be silent.

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

 



Hi Guys,

In the following scenario, switching output ports across sound cards will cause the Headphone to be silent.
(Tips: USB speakers or Bluetooth earphones use independent sound cards, and the device uses an onboard sound card.)

1. headphone is unplugged, automatically change port: headphone -> speaker-> usb speaker (or Bluetooth earphone)
2. headphone is plugged, automatically change port: usb speaker(or Bluetooth earphone) -> headphone

Step 1. When the headphone is unplugged, the port is automatically switched from the headphone to the speaker. 
The following configuration items in the analog-output-speaker.conf file will be applied, and then the port is 
switched to the USB speaker.
Close Headphone volume
[Element Headphone]
switch=off
volume=off

Step 2, when the headphone is plugged in, the port is automatically switched from the USB speaker to the headphone, 
and the following configuration items in the analog-output-headphone.conf file will be applied.
[Element Headphone]
required-any = any
switch = mute
volume=merge
override-map.1 = all
override-map.2 = all-left,all-right

As you can see through alsamixer, the volume of the Headphone has been restored, but the Headphone is silent.

Could you please help slove this issue, thanks!

Best Regards,
Chengyi

 

[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux