summaryrefslogtreecommitdiff
path: root/recipes-bsp/alsa-state
AgeCommit message (Collapse)Author
2024-04-24alsa-state: Remove specific configuration files for verdin-imx8m[mp]Hiago De Franco
To enhance compatibility with a read-only rootfs system, remove the dynamically assigned and utilize alsa-ucm-conf configuration from meta-toradex-bsp-common pulled-in via the meta-toradex-demos layer instead. Related-to: ELB-4916 Signed-off-by: Hiago De Franco <hiago.franco@toradex.com> (cherry picked from commit 54721dc86ece6b41d88f5e9de4262b575efc5393)
2023-01-05alsa-state: change asound.conf files to use 48kHz for verdin-imx8 boardsEmanuele Ghidoli
Configure alsa audio to use dmix/dsnoop at 48 kHz. imx8m PLL is not able to output a exactly multiple of 44.1 kHz MCLK input to audio codecs, starting from 24.576 MHz module clock. If mclk-fs is 256, optimal clock is 11289600, obtained clock is 11234743. Frequency erro is -0,49 %. Instead, it is able to generate a exact multiple of 48 kHz MCLK. Related-to: ELB-4481 Fixes: 9e5c0e3043a7 ("alsa-state: set up asound configs dynamically for verdin-imx8 boards") Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com> (cherry picked from commit 2495461248ea431c1c41a8092033bd46a8552517)
2022-10-27alsa-state: apalis-imx6: Set mixer volume levels to defaultFrancesco Dolcini
Set mixer audio level to default, this prevents audio distortions and fixes our automated test execution. Related-to: ELB-4829 Fixes: 5f920cd5b4b2 ("alsa-state:apalis-imx6: fix sound device name in asound.conf/asound.state") Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com> (cherry picked from commit 9f9bd44f739697448a03c19534fa079e6445377f)
2022-10-27alsa-state:apalis-imx6: fix sound device name in asound.conf/asound.stateMing Liu
The sound device name in asound.conf of apalis-imx6 machine does not match the sound driver of kernel 5.15 and upper, fix that. Also regenerate asound.state according to the new asound.conf. Related-to: ELB-4829 Signed-off-by: Ming Liu <ming.liu@toradex.com> (cherry picked from commit 5f920cd5b4b202b277eeae945fbda6c206672005)
2022-10-14alsa-state: Lower PCM volume on colibri-imx7Francesco Dolcini
Lower PCM volume from 192 (100%) to 144 (75%). At 100% there are signal distortion that are not nice to hear and this also prevent some automated test to succeed. Related-to: ELB-4722 Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com> (cherry picked from commit 9ac70bc5e4182c2b8972c6b495892cdfbbfc75c4)
2022-05-16alsa-state: set up asound configs dynamically for verdin-imx8 boardsMing Liu
We need set up asound.conf and asound.state dynamitically at runtime since the Verdin Development/Dahlia boards are using different ones. To achieve that, we now introduce a on-target package postinst script to set up them at runtime by checking /proc/device-tree/model to determine which config files should be used. Related-to: ELB-4349 Signed-off-by: Ming Liu <ming.liu@toradex.com> (cherry picked from commit 9e5c0e3043a7c49fb71276a0f6604047129eafdc)
2022-05-16alsa-state: colibri-imx7/-emmc: update asound.stateMarcel Ziswiler
As the upstream sound card name differs from ancient downstream update it to match later downstream as well as upstream. While at it also use latest mixer configuration from current master upstream. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> (cherry picked from commit b542a61d76a9d82812652a39e95463f0b800974e)
2022-04-26meta: use tdx overrides for Toradex specific changesMing Liu
Toradex NXP layer could be used by other external projects, so we should make sure Toradex specific changes dont impact them. Use 'tdx' overrides to ensure Toradex specific changes only valid for Toradex distros. Related-to: ELB-3046 Signed-off-by: Ming Liu <ming.liu@toradex.com> (cherry picked from commit 4b28382dc1dd6b89011ed0a3fb2a3dfe8ff7c888)
2021-08-14layer: convert to new override syntaxMax Krummenacher
This is the result of automated script (0.9.3) conversion: +# meta-toradex-distro +vars = vars + ["preempt-rt","tdx","upstream"] +# meta-toradex-* machines +vars = vars + ["apalis-","colibri-","verdin-","tegra124"] +# meta-freescale +vars = vars + ["imx","mx6","mx7","mx8","use-mainline-bsp","use-nxp-bsp"] ../openembedded-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-12-30alsa-state: add alsa config for verdin-imx8mmMax Krummenacher
This gives the codec reasonable mixer defaults. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit c892c94b622c8362cf5092345b93325addd234f1)
2019-06-05alsa-state: increase volume for apalis-imx8Max Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-05-09alsa-state: follow card rename in the apalis-imx8 kernelMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-04-30alsa-state: add alsa config for apalis-imx8Max Krummenacher
This sets the analog audio out as the default alsa card and gives that codec reasonable mixer defaults. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-04-23colibri-vf: drop machineMax Krummenacher
We decided we won't do a BSP 3.0 for Vybrid. For new designs we recommend ULL now. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2018-03-29alsa-state: add asound.state for Colibri iMX7 1GB (eMMC) modulesStefan Agner
Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2016-06-30alsa-state: add asound.state for Colibri iMX7 modulesStefan Agner
Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
2015-08-07alsa-state: choose extended record volumeStefan Agner
The WM9715L AC97 codec supports two volume modes for audio capturing: basic (AC97 conform) and extended. The extended range allows smaller gain steps and a large range, hence use this mode by default.
2015-02-02alsa-state: update Vybrid default ALSA stateStefan Agner
Update default ALSA state for WM9712 AC97 codec support on 3.18 kernel.
2014-10-06colibri-imx6: add machine specific config filesMax Krummenacher
2014-08-04bbappends: remove the deprecated PRINC variableMax Krummenacher
2014-04-01asound.state: apalis-imx6 set volume to maximumMax Krummenacher
2014-04-01alsa-state: add file for iMX6Max Krummenacher
2013-11-21Machine: use the changed machinename colibri-vfMax Krummenacher
2013-10-10colibri-vf50: add the machine, kernel and u-bootMax Krummenacher
- also add the relevant configuration files
2013-01-29alsa: add Apalis-T30 initial asound.stateMax Krummenacher
2012-12-31update u-boot and kernel git versionsMax Krummenacher
remove testfile
2012-08-15L4T R15, oe-core Image V2.0Beta1Max Krummenacher