Skip to content

Commit 66943be

Browse files
yliu80acrnsi
authored andcommitted
dm: enable audio passthrough device.
Enable audio device by default on WaaG Tracked-On: #3257 Signed-off-by: Yuan Liu <yuan1.liu@intel.com> Acked-by: Yu Wang <yu1.wang@intel.com>
1 parent cf6d6f1 commit 66943be

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

devicemodel/samples/nuc/launch_win.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,18 @@ if [[ "$result" != "" ]]; then
1212
exit
1313
fi
1414

15+
#add audio passthrough device
16+
echo "8086:9d71" > /sys/bus/pci/drivers/pci-stub/new_id
17+
echo "0000:00:1f.3" > /sys/bus/pci/drivers/pci-stub/bind
18+
1519
#for memsize setting
1620
mem_size=2048M
1721

1822
acrn-dm -A -m $mem_size -c $2 -s 0:0,hostbridge -s 1:0,lpc -l com1,stdio \
1923
-s 2,pci-gvt -G "$3" \
2024
-s 3,virtio-blk,./win10-ltsc.img \
2125
-s 4,virtio-net,tap0 \
26+
-s 5,passthru,00/1f/3 \
2227
--ovmf ./OVMF.fd \
2328
$vm_name
2429
}

0 commit comments

Comments
 (0)