Project

General

Profile

Issue #2108

Make audio work

Added by Denis 'GNUtoo' Carikli over 1 year ago. Updated 2 months ago.

Status:
New
Priority:
Normal
Category:
-
Target version:
Start date:
08/25/2020
Due date:
% Done:

0%

Estimated time:
Resolution:
Device:
Unknown
Grant:
Porting Replicant to Android 9 (NLnet Foundation)
Type of work:
Any programming languages (scripts, C, etc)

Files

scontrols.txt (8.06 KB) scontrols.txt Denis 'GNUtoo' Carikli, 11/22/2020 04:24 PM
alsa_default.sh (4.52 KB) alsa_default.sh Denis 'GNUtoo' Carikli, 11/22/2020 04:25 PM
alsa_headphones_on.sh (399 Bytes) alsa_headphones_on.sh Denis 'GNUtoo' Carikli, 11/22/2020 04:25 PM
alsa_spk-on.sh (529 Bytes) alsa_spk-on.sh Denis 'GNUtoo' Carikli, 11/22/2020 04:25 PM
controls.txt (12.2 KB) controls.txt Denis 'GNUtoo' Carikli, 11/22/2020 04:25 PM
#1

Updated by Denis 'GNUtoo' Carikli over 1 year ago

  • Grant set to Porting Replicant to Android 9 (NLnet Foundation)
#2

Updated by Denis 'GNUtoo' Carikli about 1 year ago

alsa_default.sh: Set defaults control state
alsa_headphones_on.sh: Enable headphones
alsa_spk-on.sh: Enable speakers

controls.txt: list of controls
scontrols.txt: list of simple controls

#7

Updated by Denis 'GNUtoo' Carikli about 1 year ago

The scripts are derived from configs/tiny_hw.xml in replicant 6 device_samsung_i9300.

#8

Updated by Denis 'GNUtoo' Carikli about 1 year ago

The (s)controls.txt were probably obtained with amixer under GNU/Linux.

#9

Updated by _I3^ RELATIVISM 10 months ago

  • Type of work Any programming languages (scripts, C, etc) added
#10

Updated by Denis 'GNUtoo' Carikli 2 months ago

A postmarketOS contributor pointed me that: https://github.com/aospm/tinyhal

So it might be interesting to look if it's better than the HAL we are using or if it's appropriate (we also need to add modem related code in the HAL).

#11

Updated by Kurtis Hanna 2 months ago

I'm not sure if these commits from March are helpful, but here they are: https://github.com/Midas-Mainline/android_device_midas_common/commits/59f9b4f0cd2f1a409218551fb30212b9f5474a9b/configs/audio.i9300.xml

It was reported in May by ChronoMonochrome that these above commits caused audio and headphones to work: https://github.com/CustomROMs/android_local_manifests_i9300/issues/1#issuecomment-851144019

Also available in: Atom PDF