1 |
On 2020-02-19 20:42, Walter Dnes wrote: |
2 |
> On Wed, Feb 19, 2020 at 06:32:46PM +0100, n952162 wrote |
3 |
>> On 2020-02-19 15:37, n952162 wrote: |
4 |
>> |
5 |
>> It seems like VBox is interfacing directly with "the" sound card and |
6 |
>> even working correctly (e.g. aplay some-file takes about the right |
7 |
>> amount of time until it ends error-free), but unfortunately, I have 2 |
8 |
>> sound cards and the first doesn't work. |
9 |
> From the aplay man page... |
10 |
> |
11 |
> -l, --list-devices |
12 |
> List all soundcards and digital audio devices |
13 |
> |
14 |
> -D, --device=NAME |
15 |
> Select PCM by name |
16 |
> |
17 |
> And if you're using alsa, run alsamixer and ensure that the output is |
18 |
> not muted; that's the default. |
19 |
> |
20 |
*Here's the host (with redundant surround devices removed), -l followed |
21 |
by -L, clearly showing two cards:* |
22 |
|
23 |
**** List of PLAYBACK Hardware Devices **** |
24 |
card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0] |
25 |
Subdevices: 1/1 |
26 |
Subdevice #0: subdevice #0 |
27 |
card 0: Generic [HD-Audio Generic], device 7: HDMI 1 [HDMI 1] |
28 |
Subdevices: 1/1 |
29 |
Subdevice #0: subdevice #0 |
30 |
card 0: Generic [HD-Audio Generic], device 8: HDMI 2 [HDMI 2] |
31 |
Subdevices: 1/1 |
32 |
Subdevice #0: subdevice #0 |
33 |
card 0: Generic [HD-Audio Generic], device 9: HDMI 3 [HDMI 3] |
34 |
Subdevices: 1/1 |
35 |
Subdevice #0: subdevice #0 |
36 |
card 1: Generic_1 [HD-Audio Generic], device 0: ALC892 Analog [ALC892 |
37 |
Analog] |
38 |
Subdevices: 1/1 |
39 |
Subdevice #0: subdevice #0 |
40 |
|
41 |
|
42 |
|
43 |
null |
44 |
Discard all samples (playback) or generate zero samples (capture) |
45 |
pulse |
46 |
PulseAudio Sound Server |
47 |
hdmi:CARD=Generic,DEV=0 |
48 |
HD-Audio Generic, HDMI 0 |
49 |
HDMI Audio Output |
50 |
hdmi:CARD=Generic,DEV=1 |
51 |
HD-Audio Generic, HDMI 1 |
52 |
HDMI Audio Output |
53 |
hdmi:CARD=Generic,DEV=2 |
54 |
HD-Audio Generic, HDMI 2 |
55 |
HDMI Audio Output |
56 |
hdmi:CARD=Generic,DEV=3 |
57 |
HD-Audio Generic, HDMI 3 |
58 |
HDMI Audio Output |
59 |
usbstream:CARD=Generic |
60 |
HD-Audio Generic |
61 |
USB Stream Output |
62 |
default:CARD=Generic_1 |
63 |
HD-Audio Generic, ALC892 Analog |
64 |
Default Audio Device |
65 |
sysdefault:CARD=Generic_1 |
66 |
HD-Audio Generic, ALC892 Analog |
67 |
Default Audio Device |
68 |
front:CARD=Generic_1,DEV=0 |
69 |
HD-Audio Generic, ALC892 Analog |
70 |
Front speakers |
71 |
surround21:CARD=Generic_1,DEV=0 |
72 |
HD-Audio Generic, ALC892 Analog |
73 |
2.1 Surround output to Front and Subwoofer speakers |
74 |
... |
75 |
usbstream:CARD=Generic_1 |
76 |
HD-Audio Generic |
77 |
USB Stream Output |
78 |
|
79 |
*Here's the guest, similarly reduced:* |
80 |
|
81 |
**** List of PLAYBACK Hardware Devices **** |
82 |
card 0: I82801AAICH [Intel 82801AA-ICH], device 0: Intel ICH [Intel |
83 |
82801AA-ICH] |
84 |
Subdevices: 1/1 |
85 |
Subdevice #0: subdevice #0 |
86 |
|
87 |
|
88 |
null |
89 |
Discard all samples (playback) or generate zero samples (capture) |
90 |
default:CARD=I82801AAICH |
91 |
Intel 82801AA-ICH, Intel 82801AA-ICH |
92 |
Default Audio Device |
93 |
sysdefault:CARD=I82801AAICH |
94 |
Intel 82801AA-ICH, Intel 82801AA-ICH |
95 |
Default Audio Device |
96 |
front:CARD=I82801AAICH,DEV=0 |
97 |
Intel 82801AA-ICH, Intel 82801AA-ICH |
98 |
Front speakers |
99 |
surround21:CARD=I82801AAICH,DEV=0 |
100 |
Intel 82801AA-ICH, Intel 82801AA-ICH |
101 |
2.1 Surround output to Front and Subwoofer speakers |
102 |
... |
103 |
iec958:CARD=I82801AAICH,DEV=0 |
104 |
Intel 82801AA-ICH, Intel 82801AA-ICH |
105 |
IEC958 (S/PDIF) Digital Audio Output |
106 |
|
107 |
VirtualBox only sees one card, and the card it sees behaves just like |
108 |
card 0 on the host - no sound. So, my theory is, it's not getting to |
109 |
access card 2 (i.e., 1). |