[alsa-devel] no analog playback device for HDA STAC9221 inside VirtualBox 4.2.14
HDA STAC9221 audio work for (64bit) Fedora 16, Ubuntu 11.10 and Opensuse 11.4 Live CD inside virtualbox 4.2.14
no sound for this emulated HDA sound card since Ubuntu 12.04 Live CD
No analog playback device for Saucy or Fedora 19 Live CD
At Mon, 1 Jul 2013 22:46:02 -0400, Raymond Yau wrote:
HDA STAC9221 audio work for (64bit) Fedora 16, Ubuntu 11.10 and Opensuse 11.4 Live CD inside virtualbox 4.2.14
no sound for this emulated HDA sound card since Ubuntu 12.04 Live CD
No analog playback device for Saucy or Fedora 19 Live CD
It looks strange that VirtualBox sets up the pins for 5.1 speaker + headphone. Is this really the wanted setup as a virtual machine?
Some truncated control names found in alsa-info.sh output should have been fixed in sound git tree now.
Takashi
[2 alsa-info-fedora-19.txt <text/plain; UTF-8 (base64)>] upload=true&script=true&cardinfo= !!################################ !!ALSA Information Script v 0.4.62 !!################################
!!Script ran on: Tue Jul 2 02:37:51 UTC 2013
!!Linux Distribution !!------------------
Fedora release 19 (Schrödinger’s Cat) Fedora release 19 (Schrödinger’s Cat) NAME=Fedora ID=fedora PRETTY_NAME="Fedora 19 (Schrödinger’s Cat)" CPE_NAME="cpe:/o:fedoraproject:fedora:19" Fedora release 19 (Schrödinger’s Cat) Fedora release 19 (Schrödinger’s Cat)
!!DMI Information !!---------------
Manufacturer: innotek GmbH Product Name: VirtualBox Product Version: 1.2 Firmware Version: VirtualBox
!!Kernel Information !!------------------
Kernel release: 3.9.2-301.fc19.x86_64 Operating System: GNU/Linux Architecture: x86_64 Processor: x86_64 SMP Enabled: Yes
!!ALSA Version !!------------
Driver version: k3.9.2-301.fc19.x86_64 Library version: Utilities version: 1.0.27
!!Loaded ALSA modules !!-------------------
snd_hda_intel
!!Sound Servers on this system !!----------------------------
Pulseaudio: Installed - Yes (/usr/bin/pulseaudio) Running - Yes
!!Soundcards recognised by ALSA !!-----------------------------
0 [Intel ]: HDA-Intel - HDA Intel HDA Intel at 0xf0804000 irq 41
!!PCI Soundcards installed in the system !!--------------------------------------
00:05.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 01)
!!Advanced information - PCI Vendor/Device/Subsystem ID's !!-------------------------------------------------------
00:05.0 0403: 8086:2668 (rev 01) Subsystem: 8384:7680
!!Loaded sound module options !!---------------------------
!!Module: snd_hda_intel align_buffer_size : -1 bdl_pos_adj : 1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1 beep_mode : N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N enable : Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y enable_msi : -1 id : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null) index : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1 jackpoll_ms : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 model : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null) patch : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null) position_fix : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1 power_save : 0 power_save_controller : Y probe_mask : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1 probe_only : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 single_cmd : N snoop : Y
!!HDA-Intel Codec information !!--------------------------- --startcollapse--
Codec: SigmaTel STAC9221 A1 Address: 0 AFG Function Id: 0x1 (unsol 1) Vendor Id: 0x83847680 Subsystem Id: 0x83847680 Revision Id: 0x103401 No Modem Function Group found Default PCM: rates [0x20]: 44100 bits [0x2]: 16 formats [0x1]: PCM Default Amp-In caps: ofs=0x00, nsteps=0x0e, stepsize=0x05, mute=1 Default Amp-Out caps: ofs=0x7f, nsteps=0x7f, stepsize=0x02, mute=1 State of AFG node 0x01: Power states: D0 D1 D2 D3 Power: setting=D0, actual=D0 GPIO: io=4, o=0, i=0, unsolicited=1, wake=1 IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0 IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0 IO[2]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0 IO[3]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0 Node 0x02 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out R/L Control: name="Headphone Playback Volume", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Control: name="Headphone Playback Switch", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Amp-Out caps: N/A Amp-Out vals: [0x60 0x60] Converter: stream=0, channel=0 Power states: Power: setting=D0, actual=D0 Delay: 13 samples Node 0x03 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out R/L Control: name="Speaker Front Playback Volume", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Control: name="Speaker Front Playback Switch", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Amp-Out caps: N/A Amp-Out vals: [0x60 0x60] Converter: stream=0, channel=0 Power states: Power: setting=D0, actual=D0 Delay: 13 samples Node 0x04 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out R/L Control: name="Speaker CLFE Playback Volume", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Control: name="Speaker CLFE Playback Switch", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Amp-Out caps: N/A Amp-Out vals: [0x60 0x60] Converter: stream=0, channel=0 Power states: Power: setting=D0, actual=D0 Delay: 13 samples Node 0x05 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out R/L Amp-Out caps: N/A Amp-Out vals: [0x7f 0x7f] Converter: stream=0, channel=0 Power states: Power: setting=D0, actual=D0 Delay: 13 samples Node 0x06 [Audio Input] wcaps 0x1d0541: Stereo Device: name="STAC9221 A1 Analog", type="Audio", device=0 Converter: stream=4, channel=0 SDI-Select: 0 Power states: Power: setting=D0, actual=D0 Delay: 13 samples Connection: 1 0x17 Processing caps: benign=0, ncoeff=0 Node 0x07 [Audio Input] wcaps 0x1d0541: Stereo Device: name="STAC9221 A1 Alt Analog", type="Audio", device=2 Converter: stream=0, channel=0 SDI-Select: 0 Power states: Power: setting=D0, actual=D0 Delay: 13 samples Connection: 1 0x18 Processing caps: benign=0, ncoeff=0 Node 0x08 [Audio Output] wcaps 0x40211: Stereo Digital Control: name="IEC958 Playback Con Mask", index=0, device=0 Control: name="IEC958 Playback Pro Mask", index=0, device=0 Control: name="IEC958 Playback Default", index=0, device=0 Control: name="IEC958 Playback Switch", index=0, device=0 Control: name="IEC958 Default PCM Playback Switch", index=0, device=0 Device: name="STAC9221 A1 Digital", type="SPDIF", device=1 Converter: stream=8, channel=0 Digital: Enabled GenLevel Digital category: 0x2 IEC Coding Type: 0x0 PCM: rates [0x20]: 44100 bits [0x2]: 16 formats [0x1]: PCM Delay: 4 samples Node 0x09 [Audio Input] wcaps 0x140311: Stereo Digital Control: name="IEC958 Capture Switch", index=0, device=0 Control: name="IEC958 Capture Default", index=0, device=0 Device: name="STAC9221 A1 Digital", type="SPDIF", device=1 Converter: stream=0, channel=0 SDI-Select: 0 Digital: Digital category: 0x0 IEC Coding Type: 0x0 PCM: rates [0x20]: 44100 bits [0x2]: 16 formats [0x1]: PCM Delay: 4 samples Connection: 1 0x11 Node 0x0a [Pin Complex] wcaps 0x400181: Stereo Control: name="Front Headphone Jack", index=0, device=0 Pincap 0x0000173f: IN OUT HP Detect Trigger ImpSense Vref caps: HIZ 50 GRD 80 Pin Default 0x02214020: [Jack] HP Out at Ext Front Conn = 1/8, Color = Green DefAssociation = 0x2, Sequence = 0x0 Pin-ctls: 0xc0: OUT HP VREF_HIZ Unsolicited: tag=01, enabled=1 Connection: 1 0x02 Node 0x0b [Pin Complex] wcaps 0x400181: Stereo Control: name="Speaker CLFE Jack", index=0, device=0 Pincap 0x00001737: IN OUT Detect Trigger ImpSense Vref caps: HIZ 50 GRD 80 Pin Default 0x11111011: [Jack] Speaker at Int Rear Conn = 1/8, Color = Black DefAssociation = 0x1, Sequence = 0x1 Pin-ctls: 0x00: VREF_HIZ Unsolicited: tag=05, enabled=1 Connection: 1 0x04 Node 0x0c [Pin Complex] wcaps 0x400181: Stereo Control: name="Speaker Front Jack", index=0, device=0 Pincap 0x00001737: IN OUT Detect Trigger ImpSense Vref caps: HIZ 50 GRD 80 Pin Default 0x01114010: [Jack] Speaker at Ext Rear Conn = 1/8, Color = Green DefAssociation = 0x1, Sequence = 0x0 Pin-ctls: 0x00: VREF_HIZ Unsolicited: tag=03, enabled=1 Connection: 1 0x03 Node 0x0d [Pin Complex] wcaps 0x400181: Stereo Control: name="Mic Jack", index=0, device=0 Pincap 0x00001737: IN OUT Detect Trigger ImpSense Vref caps: HIZ 50 GRD 80 Pin Default 0x02a19050: [Jack] Mic at Ext Front Conn = 1/8, Color = Pink DefAssociation = 0x5, Sequence = 0x0 Pin-ctls: 0x24: IN VREF_80 Unsolicited: tag=06, enabled=1 Connection: 1 0x02 Node 0x0e [Pin Complex] wcaps 0x400081: Stereo Control: name="Line Out Jack", index=0, device=0 Pincap 0x00000034: IN OUT Detect Pin Default 0x01013040: [Jack] Line Out at Ext Rear Conn = 1/8, Color = Blue DefAssociation = 0x4, Sequence = 0x0 Pin-ctls: 0x00: Unsolicited: tag=02, enabled=1 Node 0x0f [Pin Complex] wcaps 0x400185: Stereo Amp-Out Control: name="Speaker Surround Playback Volum", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Control: name="Speaker Surround Playback Switc", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Control: name="Speaker Surround Jack", index=0, device=0 Amp-Out caps: N/A Amp-Out vals: [0x80 0x80] Pincap 0x00000034: IN OUT Detect Pin Default 0x10116012: [Jack] Speaker at Int N/A Conn = 1/8, Color = Orange DefAssociation = 0x1, Sequence = 0x2 Pin-ctls: 0x00: Unsolicited: tag=04, enabled=1 Connection: 1 0x05 Node 0x10 [Pin Complex] wcaps 0x400301: Stereo Digital Control: name="SPDIF Phantom Jack", index=0, device=0 Pincap 0x00000010: OUT Pin Default 0x01481030: [Jack] SPDIF Out at Ext Rear Conn = DIN, Color = Black DefAssociation = 0x3, Sequence = 0x0 Pin-ctls: 0x40: OUT Connection: 3 0x08* 0x17 0x19 Node 0x11 [Pin Complex] wcaps 0x430681: Stereo Digital Control: name="SPDIF In Jack", index=0, device=0 Pincap 0x00010024: IN EAPD Detect EAPD 0x0: Pin Default 0x01c61060: [Jack] SPDIF In at Ext Rear Conn = Digital, Color = Black DefAssociation = 0x6, Sequence = 0x0 Pin-ctls: 0x20: IN Unsolicited: tag=09, enabled=1 Power states: Power: setting=D0, actual=D0 Delay: 3 samples Node 0x12 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out Control: name="Mic Boost Volume", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Amp-Out caps: ofs=0x00, nsteps=0x04, stepsize=0x27, mute=0 Amp-Out vals: [0x00 0x00] Connection: 7 0x0e 0x15 0x0f 0x0b 0x0c 0x0d* 0x0a Node 0x13 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out Amp-Out caps: ofs=0x00, nsteps=0x04, stepsize=0x27, mute=0 Amp-Out vals: [0x00 0x00] Connection: 7 0x0e 0x15 0x0f 0x0b 0x0c 0x0d* 0x0a Node 0x14 [Beep Generator Widget] wcaps 0x70000c: Mono Amp-Out Amp-Out caps: ofs=0x03, nsteps=0x03, stepsize=0x17, mute=0 Amp-Out vals: [0x00] Node 0x15 [Pin Complex] wcaps 0x400001: Stereo Control: name="CD Phantom Jack", index=0, device=0 Pincap 0x00000020: IN Pin Default 0x90330070: [Fixed] CD at Int N/A Conn = ATAPI, Color = Unknown DefAssociation = 0x7, Sequence = 0x0 Pin-ctls: 0x20: IN Node 0x16 [Volume Knob Widget] wcaps 0x600000: Mono Volume-Knob: delta=1, steps=127, direct=1, val=127 Connection: 4 0x02 0x03 0x04 0x05 Node 0x17 [Audio Selector] wcaps 0x300903: Stereo Amp-In R/L Control: name="Capture Volume", index=0, device=0 ControlAmp: chs=3, dir=In, idx=0, ofs=0 Control: name="Capture Switch", index=0, device=0 ControlAmp: chs=3, dir=In, idx=0, ofs=0 Amp-In caps: N/A Amp-In vals: [0x08 0x08] Connection: 1 0x12 Node 0x18 [Audio Selector] wcaps 0x300903: Stereo Amp-In R/L Control: name="Capture Volume", index=1, device=0 ControlAmp: chs=3, dir=In, idx=0, ofs=0 Control: name="Capture Switch", index=1, device=0 ControlAmp: chs=3, dir=In, idx=0, ofs=0 Amp-In caps: N/A Amp-In vals: [0x80 0x80] Connection: 1 0x13 Node 0x19 [Vendor Defined Widget] wcaps 0xf30201: Stereo Digital Delay: 3 samples Node 0x1a [Audio Output] wcaps 0x30201: Stereo Digital Converter: stream=0, channel=0 Digital: Digital category: 0x0 IEC Coding Type: 0x0 Delay: 3 samples Node 0x1b [Pin Complex] wcaps 0x400301: Stereo Digital Pincap 0x00000010: OUT Pin Default 0x4000000f: [N/A] Line Out at Ext N/A Conn = Unknown, Color = Unknown DefAssociation = 0x0, Sequence = 0xf Pin-ctls: 0x00: Connection: 1 0x1a --endcollapse--
!!ALSA Device nodes !!-----------------
crw-rw----+ 1 root audio 116, 7 Jul 1 22:35 /dev/snd/controlC0 crw-rw----+ 1 root audio 116, 6 Jul 1 22:35 /dev/snd/hwC0D0 crw-rw----+ 1 root audio 116, 5 Jul 1 22:35 /dev/snd/pcmC0D0c crw-rw----+ 1 root audio 116, 4 Jul 1 22:35 /dev/snd/pcmC0D1c crw-rw----+ 1 root audio 116, 3 Jul 1 22:37 /dev/snd/pcmC0D1p crw-rw----+ 1 root audio 116, 2 Jul 1 22:35 /dev/snd/pcmC0D2c crw-rw----+ 1 root audio 116, 1 Jul 1 22:35 /dev/snd/seq crw-rw----+ 1 root audio 116, 33 Jul 1 22:35 /dev/snd/timer
/dev/snd/by-path: total 0 drwxr-xr-x. 2 root root 60 Jul 1 22:35 . drwxr-xr-x. 3 root root 220 Jul 1 22:35 .. lrwxrwxrwx. 1 root root 12 Jul 1 22:35 pci-0000:00:05.0 -> ../controlC0
!!ALSA configuration files !!------------------------
!!System wide config file (/etc/asound.conf)
# # Place your global alsa-lib configuration here... #
!!Aplay/Arecord output !!--------------------
APLAY
**** List of PLAYBACK Hardware Devices **** card 0: Intel [HDA Intel], device 1: STAC9221 A1 Digital [STAC9221 A1 Digital] Subdevices: 0/1 Subdevice #0: subdevice #0
ARECORD
**** List of CAPTURE Hardware Devices **** card 0: Intel [HDA Intel], device 0: STAC9221 A1 Analog [STAC9221 A1 Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: Intel [HDA Intel], device 1: STAC9221 A1 Digital [STAC9221 A1 Digital] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: Intel [HDA Intel], device 2: STAC9221 A1 Alt Analog [STAC9221 A1 Alt Analog] Subdevices: 1/1 Subdevice #0: subdevice #0
!!Amixer output !!-------------
!!-------Mixer controls for card 0 [Intel]
Card hw:0 'Intel'/'HDA Intel at 0xf0804000 irq 41' Mixer name : 'SigmaTel STAC9221 A1' Components : 'HDA:83847680,83847680,00103401' Controls : 38 Simple ctrls : 14 Simple mixer control 'Master',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined Playback channels: Mono Limits: Playback 0 - 127 Mono: Playback 96 [76%] [on] Simple mixer control 'Headphone',0 Capabilities: pvolume pswitch Playback channels: Front Left - Front Right Limits: Playback 0 - 127 Mono: Front Left: Playback 127 [100%] [0.00dB] [on] Front Right: Playback 127 [100%] [0.00dB] [on] Simple mixer control 'Speaker CLFE',0 Capabilities: pvolume pswitch Playback channels: Front Left - Front Right Limits: Playback 0 - 127 Mono: Front Left: Playback 127 [100%] [0.00dB] [on] Front Right: Playback 127 [100%] [0.00dB] [on] Simple mixer control 'Speaker Front',0 Capabilities: pvolume pswitch Playback channels: Front Left - Front Right Limits: Playback 0 - 127 Mono: Front Left: Playback 127 [100%] [0.00dB] [on] Front Right: Playback 127 [100%] [0.00dB] [on] Simple mixer control 'Speaker Surround Playback Switc',0 Capabilities: pswitch Playback channels: Front Left - Front Right Mono: Front Left: Playback [off] Front Right: Playback [off] Simple mixer control 'Speaker Surround Playback Volum',0 Capabilities: volume Playback channels: Front Left - Front Right Capture channels: Front Left - Front Right Limits: 0 - 127 Front Left: 0 [0%] Front Right: 0 [0%] Simple mixer control 'Mic Boost',0 Capabilities: volume Playback channels: Front Left - Front Right Capture channels: Front Left - Front Right Limits: 0 - 2 Front Left: 0 [0%] [0.00dB] Front Right: 0 [0%] [0.00dB] Simple mixer control 'IEC958',0 Capabilities: pswitch pswitch-joined cswitch cswitch-joined Playback channels: Mono Capture channels: Mono Mono: Playback [on] Capture [off] Simple mixer control 'IEC958 Default PCM',0 Capabilities: pswitch pswitch-joined Playback channels: Mono Mono: Playback [on] Simple mixer control 'Capture',0 Capabilities: cvolume cswitch Capture channels: Front Left - Front Right Limits: Capture 0 - 14 Front Left: Capture 8 [57%] [12.00dB] [on] Front Right: Capture 8 [57%] [12.00dB] [on] Simple mixer control 'Capture',1 Capabilities: cvolume cswitch Capture channels: Front Left - Front Right Limits: Capture 0 - 14 Front Left: Capture 0 [0%] [0.00dB] [off] Front Right: Capture 0 [0%] [0.00dB] [off] Simple mixer control 'Auto-Mute Mode',0 Capabilities: enum Items: 'Disabled' 'Speaker Only' 'Line Out+Speaker' Item0: 'Line Out+Speaker' Simple mixer control 'Input Source',0 Capabilities: cenum Items: 'Mic' 'CD' Item0: 'Mic' Simple mixer control 'Input Source',1 Capabilities: cenum Items: 'Mic' 'CD' Item0: 'Mic'
!!Alsactl output !!--------------
--startcollapse-- state.Intel { control.1 { iface MIXER name 'Headphone Playback Volume' value.0 127 value.1 127 comment { access 'read write' type INTEGER count 2 range '0 - 127' dbmin -9525 dbmax 0 dbvalue.0 0 dbvalue.1 0 } } control.2 { iface MIXER name 'Headphone Playback Switch' value.0 true value.1 true comment { access 'read write' type BOOLEAN count 2 } } control.3 { iface MIXER name 'Speaker Front Playback Volume' value.0 127 value.1 127 comment { access 'read write' type INTEGER count 2 range '0 - 127' dbmin -9525 dbmax 0 dbvalue.0 0 dbvalue.1 0 } } control.4 { iface MIXER name 'Speaker Front Playback Switch' value.0 true value.1 true comment { access 'read write' type BOOLEAN count 2 } } control.5 { iface MIXER name 'Speaker Surround Playback Volum' value.0 0 value.1 0 comment { access 'read write' type INTEGER count 2 range '0 - 127' dbmin -9525 dbmax 0 dbvalue.0 -9525 dbvalue.1 -9525 } } control.6 { iface MIXER name 'Speaker Surround Playback Switc' value.0 false value.1 false comment { access 'read write' type BOOLEAN count 2 } } control.7 { iface MIXER name 'Speaker CLFE Playback Volume' value.0 127 value.1 127 comment { access 'read write' type INTEGER count 2 range '0 - 127' dbmin -9525 dbmax 0 dbvalue.0 0 dbvalue.1 0 } } control.8 { iface MIXER name 'Speaker CLFE Playback Switch' value.0 true value.1 true comment { access 'read write' type BOOLEAN count 2 } } control.9 { iface MIXER name 'Auto-Mute Mode' value 'Line Out+Speaker' comment { access 'read write' type ENUMERATED count 1 item.0 Disabled item.1 'Speaker Only' item.2 'Line Out+Speaker' } } control.10 { iface MIXER name 'Input Source' value Mic comment { access 'read write' type ENUMERATED count 1 item.0 Mic item.1 CD } } control.11 { iface MIXER name 'Input Source' index 1 value Mic comment { access 'read write' type ENUMERATED count 1 item.0 Mic item.1 CD } } control.12 { iface MIXER name 'Capture Volume' value.0 8 value.1 8 comment { access 'read write' type INTEGER count 2 range '0 - 14' dbmin 0 dbmax 2100 dbvalue.0 1200 dbvalue.1 1200 } } control.13 { iface MIXER name 'Capture Switch' value.0 true value.1 true comment { access 'read write' type BOOLEAN count 2 } } control.14 { iface MIXER name 'Capture Volume' index 1 value.0 0 value.1 0 comment { access 'read write' type INTEGER count 2 range '0 - 14' dbmin 0 dbmax 2100 dbvalue.0 0 dbvalue.1 0 } } control.15 { iface MIXER name 'Capture Switch' index 1 value.0 false value.1 false comment { access 'read write' type BOOLEAN count 2 } } control.16 { iface MIXER name 'Mic Boost Volume' value.0 0 value.1 0 comment { access 'read write' type INTEGER count 2 range '0 - 2' dbmin 0 dbmax 2000 dbvalue.0 0 dbvalue.1 0 } } control.17 { iface MIXER name 'IEC958 Playback Con Mask' value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' comment { access read type IEC958 count 1 } } control.18 { iface MIXER name 'IEC958 Playback Pro Mask' value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' comment { access read type IEC958 count 1 } } control.19 { iface MIXER name 'IEC958 Playback Default' value '0482000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' comment { access 'read write locked' type IEC958 count 1 } } control.20 { iface MIXER name 'IEC958 Playback Switch' value true comment { access 'read write' type BOOLEAN count 1 } } control.21 { iface MIXER name 'IEC958 Default PCM Playback Switch' value true comment { access 'read write' type BOOLEAN count 1 } } control.22 { iface MIXER name 'IEC958 Capture Switch' value false comment { access 'read write' type BOOLEAN count 1 } } control.23 { iface MIXER name 'IEC958 Capture Default' value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' comment { access read type IEC958 count 1 } } control.24 { iface MIXER name 'Master Playback Volume' value 96 comment { access 'read write' type INTEGER count 1 range '0 - 127' } } control.25 { iface MIXER name 'Master Playback Switch' value true comment { access 'read write' type BOOLEAN count 1 } } control.26 { iface CARD name 'Line Out Jack' value false comment { access read type BOOLEAN count 1 } } control.27 { iface CARD name 'Front Headphone Jack' value true comment { access read type BOOLEAN count 1 } } control.28 { iface CARD name 'Speaker Front Jack' value true comment { access read type BOOLEAN count 1 } } control.29 { iface CARD name 'Speaker Surround Jack' value false comment { access read type BOOLEAN count 1 } } control.30 { iface CARD name 'Speaker CLFE Jack' value true comment { access read type BOOLEAN count 1 } } control.31 { iface CARD name 'Mic Jack' value true comment { access read type BOOLEAN count 1 } } control.32 { iface CARD name 'CD Phantom Jack' value true comment { access read type BOOLEAN count 1 } } control.33 { iface CARD name 'SPDIF Phantom Jack' value true comment { access read type BOOLEAN count 1 } } control.34 { iface CARD name 'SPDIF In Jack' value false comment { access read type BOOLEAN count 1 } } control.35 { iface PCM name 'Capture Channel Map' value.0 0 value.1 0 comment { access read type INTEGER count 2 range '0 - 36' } } control.36 { iface PCM device 1 name 'Playback Channel Map' value.0 3 value.1 4 comment { access read type INTEGER count 2 range '0 - 36' } } control.37 { iface PCM device 1 name 'Capture Channel Map' value.0 0 value.1 0 comment { access read type INTEGER count 2 range '0 - 36' } } control.38 { iface PCM device 2 name 'Capture Channel Map' value.0 0 value.1 0 comment { access read type INTEGER count 2 range '0 - 36' } } } --endcollapse--
!!All Loaded Modules !!------------------
Module ebtable_nat fuse ipt_MASQUERADE nf_conntrack_netbios_ns nf_conntrack_broadcast ip6table_nat nf_nat_ipv6 ip6table_mangle ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 iptable_nat nf_nat_ipv4 nf_nat iptable_mangle nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack bnep bluetooth rfkill ebtable_filter ebtables ip6table_filter ip6_tables snd_hda_codec_idt snd_hda_intel snd_hda_codec snd_hwdep snd_seq iTCO_wdt iTCO_vendor_support snd_seq_device ppdev joydev snd_pcm snd_page_alloc snd_timer microcode lpc_ich snd parport_pc mfd_core i2c_piix4 soundcore parport i2c_core uinput isofs squashfs e1000 sunrpc
!!Sysfs Files !!-----------
/sys/class/sound/hwC0D0/init_pin_configs: 0x0a 0x02214020 0x0b 0x11111011 0x0c 0x01114010 0x0d 0x02a19050 0x0e 0x01013040 0x0f 0x10116012 0x10 0x01481030 0x11 0x01c61060 0x15 0x90330070 0x1b 0x4000000f
/sys/class/sound/hwC0D0/driver_pin_configs:
/sys/class/sound/hwC0D0/user_pin_configs:
/sys/class/sound/hwC0D0/init_verbs:
/sys/class/sound/hwC0D0/hints:
!!ALSA/HDA dmesg !!--------------
[ 8.739979] iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0) [ 9.017274] snd_hda_intel 0000:00:05.0: irq 41 for MSI/MSI-X [ 9.037763] snd_hda_intel 0000:00:05.0: setting latency timer to 64 [ 9.052305] hrtimer: interrupt took 12005804 ns [ 9.222753] ALSA sound/pci/hda/hda_auto_parser.c:335 autoconfig: line_outs=1 (0xe/0x0/0x0/0x0/0x0) type:line [ 9.222757] ALSA sound/pci/hda/hda_auto_parser.c:339 speaker_outs=3 (0xc/0xf/0xb/0x0/0x0) [ 9.222758] ALSA sound/pci/hda/hda_auto_parser.c:343 hp_outs=1 (0xa/0x0/0x0/0x0/0x0) [ 9.222759] ALSA sound/pci/hda/hda_auto_parser.c:344 mono: mono_out=0x0 [ 9.222761] ALSA sound/pci/hda/hda_auto_parser.c:347 dig-out=0x10/0x0 [ 9.222762] ALSA sound/pci/hda/hda_auto_parser.c:348 inputs: [ 9.222763] ALSA sound/pci/hda/hda_auto_parser.c:352 Mic=0xd [ 9.222764] ALSA sound/pci/hda/hda_auto_parser.c:352 CD=0x15 [ 9.222766] ALSA sound/pci/hda/hda_auto_parser.c:355 dig-in=0x11 [ 9.355353] input: HDA Intel SPDIF In as /devices/pci0000:00/0000:00:05.0/sound/card0/input5 [ 9.355519] input: HDA Intel Mic as /devices/pci0000:00/0000:00:05.0/sound/card0/input6 [ 9.355613] input: HDA Intel Speaker CLFE as /devices/pci0000:00/0000:00:05.0/sound/card0/input7 [ 9.355703] input: HDA Intel Speaker Surround as /devices/pci0000:00/0000:00:05.0/sound/card0/input8 [ 9.355790] input: HDA Intel Speaker Front as /devices/pci0000:00/0000:00:05.0/sound/card0/input9 [ 9.355878] input: HDA Intel Front Headphone as /devices/pci0000:00/0000:00:05.0/sound/card0/input10 [ 9.355967] input: HDA Intel Line Out as /devices/pci0000:00/0000:00:05.0/sound/card0/input11 [ 10.310992] ip6_tables: (C) 2000-2006 Netfilter Core Team
[3 <text/plain; us-ascii (7bit)>] _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
:
HDA STAC9221 audio work for (64bit) Fedora 16, Ubuntu 11.10 and Opensuse 11.4 Live CD inside virtualbox 4.2.14
no sound for this emulated HDA sound card since Ubuntu 12.04 Live CD
No analog playback device for Saucy or Fedora 19 Live CD
It looks strange that VirtualBox sets up the pins for 5.1 speaker + headphone. Is this really the wanted setup as a virtual machine?
Some truncated control names found in alsa-info.sh output should have been fixed in sound git tree now.
it work with opensuse 11.4 for both HDA and AC97 , but no sound card modules loaded in opensuse 12.3 Live CD
Because Subsystem: 8384:7680 is used by those mac machines
BTW why snd-sb16-dsp.ko and snd-sb16-common.ko still built when snd-sb16.ko won't build in 64 bit platform
At Tue, 2 Jul 2013 13:51:19 +0800, Raymond Yau wrote:
:
HDA STAC9221 audio work for (64bit) Fedora 16, Ubuntu 11.10 and Opensuse 11.4 Live CD inside virtualbox 4.2.14
no sound for this emulated HDA sound card since Ubuntu 12.04 Live CD
No analog playback device for Saucy or Fedora 19 Live CD
It looks strange that VirtualBox sets up the pins for 5.1 speaker + headphone. Is this really the wanted setup as a virtual machine?
Some truncated control names found in alsa-info.sh output should have been fixed in sound git tree now.
it work with opensuse 11.4 for both HDA and AC97 , but no sound card modules loaded in opensuse 12.3 Live CD
Well, it doesn't clarify whether the culprit is VirtualBox's change or HD-audio driver's change at all... How did 11.4 work? Did it work with 5.1 + headphone setup in VME?
Because Subsystem: 8384:7680 is used by those mac machines
BTW why snd-sb16-dsp.ko and snd-sb16-common.ko still built when snd-sb16.ko won't build in 64 bit platform
CS5530 PCI still uses SB16 DSP stuff.
Takashi
HDA STAC9221 audio work for (64bit) Fedora 16, Ubuntu 11.10 and
Opensuse
11.4 Live CD inside virtualbox 4.2.14
no sound for this emulated HDA sound card since Ubuntu 12.04 Live CD
No analog playback device for Saucy or Fedora 19 Live CD
It looks strange that VirtualBox sets up the pins for 5.1 speaker + headphone. Is this really the wanted setup as a virtual machine?
Some truncated control names found in alsa-info.sh output should have been fixed in sound git tree now.
it work with opensuse 11.4 for both HDA and AC97 , but no sound card modules loaded in opensuse 12.3 Live CD
Well, it doesn't clarify whether the culprit is VirtualBox's change or HD-audio driver's change at all... How did 11.4 work? Did it work with 5.1 + headphone setup in VME?
it only support stereo in 11.4
analog playback device still appear in Ubuntu 13.04 (before sigmtel use auto generic parser)
https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pc...
https://www.virtualbox.org/browser/vbox/trunk/src/VBox/Devices/Audio/DevIchH...
https://www.virtualbox.org/browser/vbox/trunk/src/VBox/Devices/Audio/DevIchH...
At Tue, 2 Jul 2013 20:47:21 +0800, Raymond Yau wrote:
HDA STAC9221 audio work for (64bit) Fedora 16, Ubuntu 11.10 and
Opensuse
11.4 Live CD inside virtualbox 4.2.14
no sound for this emulated HDA sound card since Ubuntu 12.04 Live CD
No analog playback device for Saucy or Fedora 19 Live CD
It looks strange that VirtualBox sets up the pins for 5.1 speaker + headphone. Is this really the wanted setup as a virtual machine?
Some truncated control names found in alsa-info.sh output should have been fixed in sound git tree now.
it work with opensuse 11.4 for both HDA and AC97 , but no sound card modules loaded in opensuse 12.3 Live CD
Well, it doesn't clarify whether the culprit is VirtualBox's change or HD-audio driver's change at all... How did 11.4 work? Did it work with 5.1 + headphone setup in VME?
it only support stereo in 11.4
analog playback device still appear in Ubuntu 13.04 (before sigmtel use auto generic parser)
Are you really sure that it's due to the generic parser? Judging from alsa-info.sh output, the pin default config values are different between working and non-working cases. This has nothing to do with which parse to use.
Try the later kernel with the working environment.
Takashi
https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pc...
https://www.virtualbox.org/browser/vbox/trunk/src/VBox/Devices/Audio/DevIchH...
https://www.virtualbox.org/browser/vbox/trunk/src/VBox/Devices/Audio/DevIchH...
At Tue, 02 Jul 2013 15:11:07 +0200, Takashi Iwai wrote:
At Tue, 2 Jul 2013 20:47:21 +0800, Raymond Yau wrote:
HDA STAC9221 audio work for (64bit) Fedora 16, Ubuntu 11.10 and
Opensuse
11.4 Live CD inside virtualbox 4.2.14
no sound for this emulated HDA sound card since Ubuntu 12.04 Live CD
No analog playback device for Saucy or Fedora 19 Live CD
It looks strange that VirtualBox sets up the pins for 5.1 speaker + headphone. Is this really the wanted setup as a virtual machine?
Some truncated control names found in alsa-info.sh output should have been fixed in sound git tree now.
it work with opensuse 11.4 for both HDA and AC97 , but no sound card modules loaded in opensuse 12.3 Live CD
Well, it doesn't clarify whether the culprit is VirtualBox's change or HD-audio driver's change at all... How did 11.4 work? Did it work with 5.1 + headphone setup in VME?
it only support stereo in 11.4
analog playback device still appear in Ubuntu 13.04 (before sigmtel use auto generic parser)
Are you really sure that it's due to the generic parser? Judging from alsa-info.sh output, the pin default config values are different between working and non-working cases. This has nothing to do with which parse to use.
Try the later kernel with the working environment.
Looking at the alsa-info output from openSUSE 11.4 again, this seems to be the case where the old parser did handle wrongly. Namely, it took the pin config for STAC_INTEL_MAC_V3 as fallback since it has the same PCI SSID although it has no proper codec SSID for Apple. Thus on old kernels, it overrides the pin config for Intel-Mac, eventually worked more or less better than the default pin config VirtualBox provides.
That being said, this is highly likely a bug in VirtualBox BIOS.
You can try to load snd-hda-intel with model=intel-mac-v3. This sets the pin config the old kernel used.
Takashi
Takashi
https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pc...
https://www.virtualbox.org/browser/vbox/trunk/src/VBox/Devices/Audio/DevIchH...
https://www.virtualbox.org/browser/vbox/trunk/src/VBox/Devices/Audio/DevIchH...
> > HDA STAC9221 audio work for (64bit) Fedora 16, Ubuntu 11.10 and
Opensuse
> 11.4 Live CD inside virtualbox 4.2.14 > > no sound for this emulated HDA sound card since Ubuntu 12.04
Live CD
> > No analog playback device for Saucy or Fedora 19 Live CD
It looks strange that VirtualBox sets up the pins for 5.1
speaker +
headphone. Is this really the wanted setup as a virtual machine?
Some truncated control names found in alsa-info.sh output should
have
been fixed in sound git tree now.
it work with opensuse 11.4 for both HDA and AC97 , but no sound
card
modules loaded in opensuse 12.3 Live CD
Well, it doesn't clarify whether the culprit is VirtualBox's change
or
HD-audio driver's change at all... How did 11.4 work? Did it work with 5.1 + headphone setup in VME?
it only support stereo in 11.4
analog playback device still appear in Ubuntu 13.04 (before sigmtel use auto generic parser)
Are you really sure that it's due to the generic parser? Judging from alsa-info.sh output, the pin default config values are different between working and non-working cases. This has nothing to do with which parse to use.
Try the later kernel with the working environment.
Looking at the alsa-info output from openSUSE 11.4 again, this seems to be the case where the old parser did handle wrongly. Namely, it took the pin config for STAC_INTEL_MAC_V3 as fallback since it has the same PCI SSID although it has no proper codec SSID for Apple. Thus on old kernels, it overrides the pin config for Intel-Mac, eventually worked more or less better than the default pin config VirtualBox provides.
That being said, this is highly likely a bug in VirtualBox BIOS.
You can try to load snd-hda-intel with model=intel-mac-v3. This sets the pin config the old kernel used.
Thanks, analog playback device appear after specify model=intel-mac-v3
Audio still work with opensuse 12.1 Live CD
speaker-test hang and no sound with opensuse 12.2 Live CD
Only headphone playback volume and master playback volume of the emulated STAC9221 affect the volume in 11.4 and 12.1 , the speaker playback have no effect
And the emulated codec alway report headphone jack present
seem change in hda-intel.c (between opensuse 12.1 and 12.2) cause the hang problem
participants (2)
-
Raymond Yau
-
Takashi Iwai