Project

General

Profile

Actions

Issue #2108

open

Make audio work

Added by Denis 'GNUtoo' Carikli over 3 years ago. Updated over 2 years 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
Actions #1

Updated by Denis 'GNUtoo' Carikli over 3 years ago

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

Updated by Denis 'GNUtoo' Carikli over 3 years 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

Actions #7

Updated by Denis 'GNUtoo' Carikli over 3 years ago

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

Actions #8

Updated by Denis 'GNUtoo' Carikli over 3 years ago

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

Actions #9

Updated by _I3^ RELATIVISM about 3 years ago

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

Updated by Denis 'GNUtoo' Carikli over 2 years 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).

Actions #11

Updated by Kurtis Hanna over 2 years 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

Actions

Also available in: Atom PDF