From ce7fa7474f2a5c29ffcb3fbd3644a54f90b3875f Mon Sep 17 00:00:00 2001 From: Joanna Rutkowska Date: Mon, 11 Apr 2011 11:35:25 +0200 Subject: [PATCH] vaio_fixes: pass special option to snd-hda-intel module (required to get sound on Vaio Z) --- dom0/vaio_fixes/snd-hda-intel-sony-vaio.conf | 1 + rpm_spec/core-dom0.spec | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 dom0/vaio_fixes/snd-hda-intel-sony-vaio.conf diff --git a/dom0/vaio_fixes/snd-hda-intel-sony-vaio.conf b/dom0/vaio_fixes/snd-hda-intel-sony-vaio.conf new file mode 100644 index 00000000..9089bddc --- /dev/null +++ b/dom0/vaio_fixes/snd-hda-intel-sony-vaio.conf @@ -0,0 +1 @@ +options snd-hda-intel model=sony-assamd diff --git a/rpm_spec/core-dom0.spec b/rpm_spec/core-dom0.spec index 9fc3924c..3001e11b 100644 --- a/rpm_spec/core-dom0.spec +++ b/rpm_spec/core-dom0.spec @@ -130,6 +130,8 @@ cp pm-utils/02qubes-pause-vms $RPM_BUILD_ROOT/usr/lib64/pm-utils/sleep.d/ cp vaio_fixes/00sony-vaio-audio $RPM_BUILD_ROOT/usr/lib64/pm-utils/sleep.d/ cp vaio_fixes/99sony-vaio-audio $RPM_BUILD_ROOT/usr/lib64/pm-utils/sleep.d/ cp vaio_fixes/01sony-vaio-display $RPM_BUILD_ROOT/usr/lib64/pm-utils/sleep.d/ +mkdir -p $RPM_BUILD_ROOT/etc/modprobe.d/ +cp vaio_fixes/snd-hda-intel-sony-vaio.conf $RPM_BUILD_ROOT/etc/modprobe.d/ mkdir -p $RPM_BUILD_ROOT/var/log/qubes mkdir -p $RPM_BUILD_ROOT/var/run/qubes @@ -316,3 +318,4 @@ suspend/resume. /usr/lib64/pm-utils/sleep.d/00sony-vaio-audio /usr/lib64/pm-utils/sleep.d/99sony-vaio-audio /usr/lib64/pm-utils/sleep.d/01sony-vaio-display +/etc/modprobe.d/snd-hda-intel-sony-vaio.conf