Skip to content

Initial audio support on FP2

Luca Weiss requested to merge device/fairphone-2 into master

Should work pretty much OOTB now.

To enable speakers:

alsaucm -n -b - <<EOM
open FP2
set _verb HiFi
set _enadev Speaker
EOM

E.g. to switch from Speakers to Headphones:

alsaucm -n -b - <<EOM
open FP2
set _verb HiFi
set _enadev Speaker
set _disdev Speaker
set _enadev Headphones
EOM

(the enable-disable procedure is neccessary because alsaucm doesn't have any state and just disabling a device when it's supposedly not enabled doesn't do anything)

Earpiece is not yet supported in the config but should be pretty easy.

Edited by Luca Weiss

Merge request reports