11-15-2020, 03:53 PM
@jonsom
I'm back.
To follow up on my previous post, one could enter the new row in the cfg_audiodev table interactively after firing up sqlite3 from the command line
then cut and paste the INSERT statement into the command line. This interactive session can be ended with a ".exit" command.
Or, one could execute the single sqlite3 command in one shot
In either case, I'd make a backup copy of the database file first.
I have no idea what driver options, if any, have to be dealt with.
Regards,
Kent
I'm back.
To follow up on my previous post, one could enter the new row in the cfg_audiodev table interactively after firing up sqlite3 from the command line
Code:
sudo sqlite3 /var/local/www/db/moode-sqlite3.db
then cut and paste the INSERT statement into the command line. This interactive session can be ended with a ".exit" command.
Or, one could execute the single sqlite3 command in one shot
Code:
sudo sqlite3 /var/local/www/db/moode-sqlite3.db "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', '');"
In either case, I'd make a backup copy of the database file first.
I have no idea what driver options, if any, have to be dealt with.
Regards,
Kent