Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Problem: Cirrus wm5102 Audio Card
#3
@jonsom

There's a driver in /boot/overlays which may work with your card: /boot/overlays/rpi-cirrus-wm5102.dtbo

What's needed in moOde is one more line in its sqlite3 database so this driver can be selected from the WebUI.

The database file is /var/local/www/db/moode-sqlite3.db

The DAC data table is cfg_audiodev

Here's the first two lines from the section of the /var/local/www/db/moode-sqlite3.db.sql file used to create this table and populate it:

Code:
CREATE TABLE cfg_audiodev (id INTEGER PRIMARY KEY, name CHAR (64), alt_name CHAR (64), dacchip CHAR (64), chipoptions CHAR (64), iface CHAR (32), list CHAR (10), driver CHAR (64), drvoptions CHAR (64));
INSERT INTO cfg_audiodev (id, name, alt_name, dacchip, chipoptions, iface, list, driver, drvoptions) VALUES (1, 'Allo Boss DAC', '', 'Burr Brown PCM5122', '100,0,FIR interpolation with de-emphasis', 'I2S', 'yes', 'allo-boss-dac-pcm512x-audio', 'slave');


I extrapolate from this you'll need to execute an sql command similar to 

Code:
INSERT INTO cfg_audiodev (id, name, alt_name, dacchip, chipoptions, iface, list, driver, drvoptions) VALUES (75, 'Wolfson Cirrus WM5102', '', 'Cirrus Logic WM5102', '', 'I2S', 'yes', 'rpi-cirrus-wm5102', '');

where '75' is just the available next I2S dac entry and I guessed the rest. YMMV.

Sorry, I have to run. Others can fill in how to do this insertion from the command line if you're not familiar with sqlite3.

Regards,
Kent
Reply


Messages In This Thread
Cirrus wm5102 Audio Card - by jonsom - 11-15-2020, 10:21 AM
RE: Cirrus wm5102 Audio Card - by vinnn - 11-15-2020, 10:35 AM
RE: Cirrus wm5102 Audio Card - by TheOldPresbyope - 11-15-2020, 12:41 PM
RE: Cirrus wm5102 Audio Card - by Sniglar - 11-15-2020, 03:47 PM
RE: Cirrus wm5102 Audio Card - by TheOldPresbyope - 11-15-2020, 03:53 PM
RE: Cirrus wm5102 Audio Card - by jonsom - 11-15-2020, 07:28 PM
RE: Cirrus wm5102 Audio Card - by Sniglar - 11-15-2020, 09:19 PM
RE: Cirrus wm5102 Audio Card - by Sniglar - 11-17-2020, 06:41 PM
RE: Cirrus wm5102 Audio Card - by jonsom - 11-18-2020, 10:46 AM
RE: Cirrus wm5102 Audio Card - by TheOldPresbyope - 11-18-2020, 02:00 PM
RE: Cirrus wm5102 Audio Card - by jonsom - 11-18-2020, 02:23 PM
RE: Cirrus wm5102 Audio Card - by keldo - 05-27-2021, 12:40 PM
RE: Cirrus wm5102 Audio Card - by Tim Curtis - 05-27-2021, 12:58 PM
RE: Cirrus wm5102 Audio Card - by keldo - 05-27-2021, 01:14 PM
RE: Cirrus wm5102 Audio Card - by TheOldPresbyope - 05-27-2021, 01:48 PM
RE: Cirrus wm5102 Audio Card - by Tim Curtis - 05-27-2021, 01:50 PM
RE: Cirrus wm5102 Audio Card - by keldo - 05-27-2021, 08:20 PM
RE: Cirrus wm5102 Audio Card - by Tim Curtis - 05-27-2021, 09:13 PM
RE: Cirrus wm5102 Audio Card - by keldo - 05-27-2021, 10:25 PM
RE: Cirrus wm5102 Audio Card - by Tim Curtis - 05-27-2021, 10:36 PM

Forum Jump: