Thank you for your donation!


Idea: HiFiBerry DAC2 HD
#31
@Frank79

That's the DIY spirit! Just keep in mind that you're as likely to fail as to succeed. Not that much different from my dad swapping tubes in the family TV with whatever he had on hand. It's what he liked to call "heat it and beat it engineering".  Sometimes it worked.

Regards,
Kent

[UPDATE] There's a dac driver overlay in the current moOde named "hifiberry-dacplushd". That's the one I'd try were I in your shoes. To repeat, though, we have no idea what options and control functions are exposed in this driver.
Reply
#32
(07-25-2020, 01:17 PM)TheOldPresbyope Wrote: @Frank79

That's the DIY spirit! Just keep in mind that you're as likely to fail as to succeed. Not that much different from my dad swapping tubes in the family TV with whatever he had on hand. It's what he liked to call "heat it and beat it engineering".  Sometimes it worked.

Regards,
Kent

[UPDATE] There's a dac driver overlay in the current moOde named "hifiberry-dacplushd". That's the one I'd try were I in your shoes. To repeat, though, we have no idea what options and control functions are exposed in this driver.


Seems like I failed. Here's what I did:

* Downloaded latest Moode release and Balena Etched' it to a microSD card
* Then, before I launched Moode for the first time with this fresh install, I edited the db file with the following lines:

Code:
INSERT INTO cfg_audiodev (id, name, dacchip, chipoptions, iface, list, driver, drvoptions) VALUES (148, 'HiFiBerry DAC2 HD', 'Burr Brown PCM1796', '100,0,FIR interpolation with de-emphasis', 'I2S', 'yes', 'hifiberry-dac2-hd', '');
INSERT INTO cfg_audiodev (id, name, dacchip, chipoptions, iface, list, driver, drvoptions) VALUES (149, 'HiFiBerry DAC2 HD', 'Burr Brown PCM1796', '100,0,FIR interpolation with de-emphasis', 'I2S', 'yes', 'hifiberry-dac', '');

I wanted to try two at once, maybe that's my mistake. Anyway, I've lauched Moode and none of those two lines are shown within the Audio Config > Devices > I2S audio device select field.

Is there some kind of compiling script I should execute before any changes in that SQL file could be taken in account?
Reply
#33
Second test: I only kept the following entry in the db:
Code:
INSERT INTO cfg_audiodev (id, name, dacchip, chipoptions, iface, list, driver, drvoptions) VALUES (148, 'HiFiBerry DAC2 HD', 'Burr Brown PCM1796', '100,0,FIR interpolation with de-emphasis', 'I2S', 'yes', 'hifiberry-dac2-hd', '');

No more luck, still not showing in the list... Can a new db entry appear in the Audio Config when driver values are wrong?

I think this SQL file I'm editing is only a script and I need to connect to a real DB and to execute the above line so that it can actually be inserted into Moode's user interface connected database.

I've just installed sqlite to the raspberry pi, but got no luck finding the db.
Reply
#34
Forgot to say I also tried with hifiberry-dacplushd (most probably the right value here, as I could find it declared for the DAC2 HD browsing Volumio's source code) as a value for the driver column, but with no luck.
Reply
#35
Yes, the driver name was wrong. See my previous post.

As you've already twigged, you edited only the file used to create a new database. You need to edit the working database which I named in my previous post.

You've specified a boatload of chip options. That's uncharted territory with this driver and DAC.

Regards,
Kent
Reply
#36
Ok, I finally managed to make the HifiBerry DAC2 HD entry showing up within the Moode Audio Config > Devices > I2S audio device select field.

I updated the Linux kernel; then I've tried a couple of sqlite commands to insert the new DAC information into the database.

Still not working. I'm stopping here.

I just flashed the latest Volumio release to the microSD.

Moode would have been my number one choice (still enjoying it on my old HifiBerry DAC+ Pro / RPi 3B+), but until it provides support for HifiBerry's DAC 2 HD, I'll probably stick with Volumio.

HifiBerryOS is not a mature enough project for my needs. No Samba share. DLNA is working but you need a third party app. Spotify integration is fine.
Reply
#37
(07-25-2020, 01:17 PM)TheOldPresbyope Wrote: @Frank79

That's the DIY spirit! Just keep in mind that you're as likely to fail as to succeed. Not that much different from my dad swapping tubes in the family TV with whatever he had on hand. It's what he liked to call "heat it and beat it engineering".  Sometimes it worked.

Regards,
Kent

[UPDATE] There's a dac driver overlay in the current moOde named "hifiberry-dacplushd". That's the one I'd try were I in your shoes. To repeat, though, we have no idea what options and control functions are exposed in this driver.

Any progress?  could you make the dacplushd work?
Reply


Forum Jump: