n900 audio: any ideas how to get headset speaker to work?
From: Patrik Bachan aka DiGGiT <hidden>
Date: 2015-02-16 22:38:52
Also in:
linux-omap, lkml
2015-02-16 10:57 GMT+01:00 Pavel Machek [off-list ref]:
Ahoj!quoted
quoted
By default, output goes to loudspeaker (top right relative to keyboard). Any ideas how to switch it to the speaker on the left or wired headset? Because I suspect that echo cancelation is not going to be simple... Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.htmlHi, in case of direct alsa output (not PA), setup is pretty complex. Headphones referenced as line. All audio outputs are differential. Here are controls that affects volumes...Aha, thanks for nice explanation. Now it starts to make sense... I got headset connected to 3.5" jack to work. Now, I guess I'd like the internal speaker on the left to work, too... Aha, so n900 has two stereo "loud" speakers on the keyboard part, plus extra speaker on the left display part for communication?
Yes, exactly.
I got the two stereo ones to work now. Any idea what is the last speaker on display is called? HPCOM? Mono?
In schematics, earphone is connected to Left HP, channel B (loudspeakers are channel A). But even after enabling all its controls, earphone stays muted. My N900 may have broken flex causing my touchscreen problems too. Better try it yourself.
quoted
global: PCM (volume) left/right DAC mux (below) -- DAC_L1/R1 passes sound to loudspeakers, line, (maybe others) -- DAC_L2/R2 passes sound to loudspeakers, NOT line, (maybe others) -- DAC_L3/R3 passes sound to NOT loudspeakers, line, (maybe others) if DAC_L1/R1 is chosen, you can hear lower volume on both outputs in compare to dedicated outputs (DAC_L2/R2, DAC_L3/R3), probabbly due to higher load of ADC loudspeakers: Speaker function (on) HP (unmute) HP DAC (volume) left HP Mixer DACL1 (below) right HP Mixer DACR1 (below) --unmute theese two, this will pass left channel sound to left channel output and vice versa left HP Mixer DACR1 (below) right HP Mixer DACL1 (below) --mute these two, this controls channel crosstalk ( amount of left channel sound going to right channel output and vice versa) line: line (unmute) line DAC (volume) jack function (headphone) TPA6130A2 Headphone (volume) left Line Mixer DACL1 (below) right Line Mixer DACR1 (below) --unmute theese two, this will pass left channel sound to left channel output and vice versa left Line Mixer DACR1 (below) right Line Mixer DACL1 (below) --mute these two, this controls channel crosstalk ( amount of left channel sound going to right channel output and vice versa)Thanks a lot! Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html