lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Mon, 16 Feb 2015 23:38:49 +0100
From:	Patrik Bachan aka DiGGiT <patrikbachan@...il.com>
To:	Pavel Machek <pavel@....cz>
Cc:	pali.rohar@...il.com, sre@...ian.org, sre@...g0.de,
	kernel list <linux-kernel@...r.kernel.org>,
	linux-arm-kernel <linux-arm-kernel@...ts.infradead.org>,
	linux-omap@...r.kernel.org, Tony Lindgren <tony@...mide.com>,
	khilman@...nel.org, aaro.koskinen@....fi,
	ivo.g.dimitrov.75@...il.com
Subject: Re: n900 audio: any ideas how to get headset speaker to work?

2015-02-16 10:57 GMT+01:00 Pavel Machek <pavel@....cz>:
> Ahoj!
>
>> > 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.html
>>
>> Hi,
>> 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.

>> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ