pinedev | Unsorted

Telegram-канал pinedev - PINE64 dev

-

pinephone, pinetab, etc devel chat | https://gitlab.com/pine64-org/ Bridged to #pinedev on Freenode and #pine-dev:matrix.org on Matrix

Subscribe to a channel

PINE64 dev

[I] <m​egi> that's why I don't use UCM, and instead define states of all controls of the codec based on a target use case in a declarative manner and not in the procedural way of "change these controls when transitioninig to this state"

Читать полностью…

PINE64 dev

[I] <m​egi> it's just a big mess of undefined states

Читать полностью…

PINE64 dev

[I] <m​egi> it doesn't even configure any of the remaining hpo mix inputs to any particular state, other than povolr

Читать полностью…

PINE64 dev

[I] <m​egi> the one you shared leaves out a lot of controls, including many that would put random noise into HP output

Читать полностью…

PINE64 dev

[I] <m​egi> you will not hear anything if you basically just turn off the speaker

Читать полностью…

PINE64 dev

[M] <p​iggz> megi: i found that the control "HP R Playback Switch" seems responsible for the noise when trying to use the speaker ... the UCM turns this ON when activating the speaker, turning it off removes the noise .. though i still dont hear from the speaker

Читать полностью…

PINE64 dev

[M] <N​ewbyte> megi: thanks, so the strange name is intentional?

Читать полностью…

PINE64 dev

[M] <p​iggz> megi: these are the things that happen when enabling the speaker https://github.com/sailfish-on-dontbeevil/droid-config-pinephone/blob/pro/sparse/usr/share/alsa/ucm2/PinePhonePro/VoiceCall.conf#L178

Читать полностью…

PINE64 dev

[I] <m​egi> it must be from somewhere else, it doesn't make sense to be affected by speaker on/off

Читать полностью…

PINE64 dev

[M] <p​iggz> ok, keep it in mind for when you get a chance ... the PPP speaker end is fine, but the noise from the mic is wful

Читать полностью…

PINE64 dev

[I] <m​egi> Newbyte: jack is created by simple-sound-card now, not by codec driver

Читать полностью…

PINE64 dev

[M] <p​iggz> (from the perspective of the other caller)

Читать полностью…

PINE64 dev

[M] <p​iggz> how does it behave for you using the internal mic for input, and the speaker for output?

Читать полностью…

PINE64 dev

[I] <m​egi> I don't have UCM, I use a tool that configures everything fully, and doesn't just do procedural modifications to alsa settings

Читать полностью…

PINE64 dev

[I] <m​egi> I never tried any UCMs, so no

Читать полностью…

PINE64 dev

[I] <m​egi> noise can plauysibly can be comming in via 10 different paths with that UCM :D

Читать полностью…

PINE64 dev

[I] <m​egi> hpovolr

Читать полностью…

PINE64 dev

[I] <m​egi> it has recmixr input on out mixr enabled, it doesn't configure any other inputs of out mixr to any particular state, it doesn't configure any inputs to rec mixr to any particular state, except one of them, etc. etc.

Читать полностью…

PINE64 dev

[I] <m​egi> UCM way of setting things is meh... you just can't know how the audio will actually be routed when using it

Читать полностью…

PINE64 dev

[I] <m​egi> that's what turns on/off the final part of the audio path to the speaker :)

Читать полностью…

PINE64 dev

[I] <m​egi> more unfortunate, than unintentional, but also not easily avoidable

Читать полностью…

PINE64 dev

[M] <p​iggz> maybe i should test with alsamixer, with audio on the earpice, and just toggle the bits to enable the speaker

Читать полностью…

PINE64 dev

[I] <m​egi> the mic has a digital output signal

Читать полностью…

PINE64 dev

[I] <m​egi> there's no noise from the mic in my tests

Читать полностью…

PINE64 dev

[I] <m​egi> so the names are different

Читать полностью…

PINE64 dev

[I] <m​egi> I have not tried that yet, last I worked on this I did optimizations for main codec I2S -> modem codec I2S paths

Читать полностью…

PINE64 dev

[I] <m​egi> except PPP has two codecs and is much more complicated

Читать полностью…

PINE64 dev

[I] <m​egi> pretty similar to my work on this for PP https://xnux.eu/devices/feature/audio-pp.html

Читать полностью…

PINE64 dev

[M] <p​iggz> i dread to think how your audio config is set up

Читать полностью…

PINE64 dev

[M] <p​iggz> if not, what is your ucm?

Читать полностью…
Subscribe to a channel