Skip to content

Commit

Permalink
Merge pull request #179 from KanoComputing/fix_for_kernel4.4
Browse files Browse the repository at this point in the history
Add fix to set `dtparam=audio=on` in /boot/config.txt
  • Loading branch information
Ealdwulf committed Apr 14, 2016
2 parents 751ce1c + e4d8de0 commit c3074f6
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion kano_updater/scenarios.py
Original file line number Diff line number Diff line change
Expand Up @@ -466,4 +466,13 @@ def beta_230_to_beta_240(self):
pass

def beta_240_to_beta_300(self):
pass
def enable_audio_device():
from kano_settings.boot_config import set_config_value
set_config_value("dtparam=audio", "on")
try:
from kano_settings.boot_config import end_config_transaction
end_config_transaction()
except ImportError:
logger.error("end_config_transaciton not present - update to kano-settings failed?")
enable_audio_device()

0 comments on commit c3074f6

Please sign in to comment.