Alsa-info patched kernel: http://www.alsa-project.org/db/?f=cd23a3f0bb72e38d73224620e3e8ab57a73aa441
Chmap results:
Type = FIXED, Channels = 2 FL FR Type = FIXED, Channels = 4 FL FR NA LFE
When unplugging the subwoofer, then chmap gives this and stays like this.
Cannot open PCM stream hw:1 for PLAYBACK
[Pavucontrol] -> [Configuration] -> [Built-in Audio] gives
Analog Stereo Duplex Analog Stereo Output Analog Surround 2.1 Output + Analog Stereo Input Analog Surround 2.1 Output Analog Surround 4.0 Output + Analog Stereo Input Analog Surround 4.0 Output Analog Stereo Input Off
Pulseaudio verbose log while plugging in the subwoofer: http://pastebin.com/Ya5u1qz6
On 13 July 2015 at 13:24, Raymond Yau superquad.vortex2@gmail.com wrote:
Honestly some of the Alsa code talk is a bit over my head, so maybe I
should just stick to providing PCI/Vendor ID's and test results. :)
RY> How do you test ? Using sound preference or alsa speaker-test
I apply some of your code by retyping this into the mainline kernel
4.2-rc1 code, compile and install the kernel, and then test the audio.
The subwoofer I test by playing music with my music player, Audacious. When testing different configurations and output profiles I use
pavucontrol.
For testing the microphone, I open pavucontrol, switch the input source
between Internal Microphone and Microphone and look at the volumebar to see if the microphone works fine.
Do you have suggestions how to apply and test the provided patches?
you have to provide alsa-info of patched driver
http://git.alsa-project.org/?p=alsa-lib.git;a=blob;f=test/chmap.c;hb=HEAD
./chmap -Dhw:0 query
Do chmap show the stereo and 2.1 channel map ?
the "External Subwoofer Jack" detect kctl should return true when you plug the Sonic Master Subwoofer and false when you unplug
after you add analog-output-subwoofer.conf and replace the output path analog-output-lineout and analog-output-speaker in 2.1 profiles in profile-sets/default.conf
You have to provide pulseaudio verbsose log if pulseaudio did not automatically switch to 2.1 profile
The dirty workaround for the headset mic when your codec cannot distinguish headphone and headset but you use only headset
Change the headset.conf to use jsck headphone instead of headset mic jack
http://cgit.freedesktop.org/pulseaudio/pulseaudio/plain/src/modules/alsa/mix...
-[Jack Headset Mic] -required-any = any
-[Jack Headset Mic Phantom] -state.plugged = unknown -state.unplugged = unknown -required-any = any
[Jack Headphone] -state.plugged = unknown +required-any = any