[Solved] Support for BerryNOS

Hi,

I have a G2 Labs BerryNOS I2S DAC that I am using as a WiFi Airplay Receiver. It works just fine in Volumio 1.4 but it is not listed in the WebUI’s I2S DAC list. I have to select Hifiberry. It appears that the Hifiberry I2S profile works perfectly for BerryNOS :slight_smile:

  1. Can BerryNOS and BerryNOS Mini be added to I2S list for next release?

  2. In the meantime, how can I manually add a BerryNOS item in the DAC list?

Thanks for this release!
tc-fi

Ok, I figured it out :wink:

Make the following edits to the two files listed below and an entry for BerryNOS will show up in the WebUI Settings page. It will load the same modules as for Hifiberry DAC.

/var/www/templates/settings.html

#Add this block

			<div class="control-group">
			<div class="controls">
				<input class="btn" type="submit" name="syscmd" value="BerryNOS" id="BerryNOS">
			</div>
			</div>

/var/www/settings.php

#Add this block

case 'BerryNOS':

	session_start();
$file = '/etc/modules';
$text = 'snd_soc_bcm2708

snd_soc_bcm2708_i2s
bcm2708_dmaengine
snd_soc_pcm5102a
snd_soc_hifiberry_dac’;

file_put_contents($file, $text);
$_SESSION['notify']['msg'] = 'I2S Driver Activated for G2 Labs BerryNOS. You must reboot for changes to take effect';
	break;

============================
#Also remove one of the doubled lines in case ‘Generic’: The extra line was an error I think.

snd_soc_pcm512x
snd_soc_pcm512x