I've been trying to get analog line out to work to headphones or powered speakers with the latest Mac Mini, but so far the best I've managed to achieve is to get the internal speaker to work. Any suggestions for amixer set commands or .asoundrc entries to get this to work would be gratefully received. Details below: ---------- DMI: Apple Inc. Macmini5,3/Mac-7BA5B2794B2CDB12, BIOS MM51.88Z.0075.B00.1106271442 06/27/2011 Alsa modules from linux-3.0.3 Alsa-1.0.23 $ lspci -knn 00:1b.0 Audio device [0403]: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller [8086:1c20] (rev 05) Subsystem: Intel Corporation Device [8086:7270] Kernel driver in use: HDA Intel Kernel modules: snd-hda-intel $ aplay -l **** List of PLAYBACK Hardware Devices **** card 0: PCH [HDA Intel PCH], device 0: Cirrus Analog [Cirrus Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: PCH [HDA Intel PCH], device 1: Cirrus Digital [Cirrus Digital] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2] Subdevices: 1/1 Subdevice #0: subdevice #0 $ head -n 1 /proc/asound/card0/codec* ==> /proc/asound/card0/codec#0 <== Codec: Cirrus Logic CS4206 ==> /proc/asound/card0/codec#3 <== Codec: Intel CougarPoint HDMI This gets the internal speaker working: $ amixer set 'Front Speaker' 80% toggle $ amixer set 'Surround Speaker' toggle $ amixer set 'Surround Speaker Playback Volum' 80% $ amixer scontrols Simple mixer control 'Master',0 Simple mixer control 'Headphone',0 Simple mixer control 'PCM',0 Simple mixer control 'Front Speaker',0 Simple mixer control 'Surround Speaker',0 Simple mixer control 'Surround Speaker Playback Volum',0 Simple mixer control 'Line',0 Simple mixer control 'Mic',0 Simple mixer control 'IEC958',0 Simple mixer control 'IEC958 Default PCM',0 Simple mixer control 'IEC958',1 Simple mixer control 'IEC958',2 Simple mixer control 'IEC958',3 Simple mixer control 'Capture',0 Simple mixer control 'Internal Mic',0 Simple mixer control 'Rear Mic',0 $ amixer scontents Simple mixer control 'Master',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum Playback channels: Mono Limits: Playback 0 - 115 Mono: Playback 115 [100%] [0.00dB] [on] Simple mixer control 'Headphone',0 Capabilities: pvolume pswitch penum Playback channels: Front Left - Front Right Limits: Playback 0 - 115 Mono: Front Left: Playback 115 [100%] [0.00dB] [on] Front Right: Playback 115 [100%] [0.00dB] [on] Simple mixer control 'PCM',0 Capabilities: pvolume penum Playback channels: Front Left - Front Right Limits: Playback 0 - 255 Mono: Front Left: Playback 255 [100%] [0.00dB] Front Right: Playback 255 [100%] [0.00dB] Simple mixer control 'Front Speaker',0 Capabilities: pvolume pswitch penum Playback channels: Front Left - Front Right Limits: Playback 0 - 115 Mono: Front Left: Playback 0 [0%] [-57.50dB] [off] Front Right: Playback 0 [0%] [-57.50dB] [off] Simple mixer control 'Surround Speaker',0 Capabilities: pswitch penum Playback channels: Front Left - Front Right Mono: Front Left: Playback [off] Front Right: Playback [off] Simple mixer control 'Surround Speaker Playback Volum',0 Capabilities: volume penum Playback channels: Front Left - Front Right Capture channels: Front Left - Front Right Limits: 0 - 115 Front Left: 0 [0%] Front Right: 0 [0%] Simple mixer control 'Line',0 Capabilities: cvolume cswitch cswitch-joined cswitch-exclusive penum Capture exclusive group: 0 Capture channels: Front Left - Front Right Limits: Capture 0 - 3 Front Left: Capture 0 [0%] [0.00dB] [on] Front Right: Capture 0 [0%] [0.00dB] [on] Simple mixer control 'Mic',0 Capabilities: cvolume penum Capture channels: Front Left - Front Right Limits: Capture 0 - 2 Front Left: Capture 0 [0%] [0.00dB] Front Right: Capture 0 [0%] [0.00dB] Simple mixer control 'IEC958',0 Capabilities: pswitch pswitch-joined cswitch cswitch-joined penum Playback channels: Mono Capture channels: Mono Mono: Playback [off] Capture [off] Simple mixer control 'IEC958 Default PCM',0 Capabilities: pswitch pswitch-joined penum Playback channels: Mono Mono: Playback [on] Simple mixer control 'IEC958',1 Capabilities: pswitch pswitch-joined penum Playback channels: Mono Mono: Playback [on] Simple mixer control 'IEC958',2 Capabilities: pswitch pswitch-joined penum Playback channels: Mono Mono: Playback [on] Simple mixer control 'IEC958',3 Capabilities: pswitch pswitch-joined penum Playback channels: Mono Mono: Playback [on] Simple mixer control 'Capture',0 Capabilities: cvolume cswitch penum Capture channels: Front Left - Front Right Limits: Capture 0 - 63 Front Left: Capture 0 [0%] [-51.00dB] [off] Front Right: Capture 0 [0%] [-51.00dB] [off] Simple mixer control 'Internal Mic',0 Capabilities: cvolume cswitch cswitch-joined cswitch-exclusive penum Capture exclusive group: 0 Capture channels: Front Left - Front Right Limits: Capture 0 - 3 Front Left: Capture 0 [0%] [0.00dB] [off] Front Right: Capture 0 [0%] [0.00dB] [off] Simple mixer control 'Rear Mic',0 Capabilities: cswitch cswitch-joined cswitch-exclusive penum Capture exclusive group: 0 Capture channels: Mono Mono: Capture [off] $ amixer controls numid=1,iface=MIXER,name='Master Playback Switch' numid=2,iface=MIXER,name='Master Playback Volume' numid=3,iface=MIXER,name='Headphone Playback Switch' numid=4,iface=MIXER,name='Headphone Playback Volume' numid=34,iface=MIXER,name='PCM Playback Volume' numid=5,iface=MIXER,name='Front Speaker Playback Switch' numid=6,iface=MIXER,name='Front Speaker Playback Volume' numid=7,iface=MIXER,name='Surround Speaker Playback Switch' numid=8,iface=MIXER,name='Surround Speaker Playback Volum' numid=14,iface=MIXER,name='Line Capture Volume' numid=13,iface=MIXER,name='Mic Capture Volume' numid=11,iface=MIXER,name='Capture Source' numid=9,iface=MIXER,name='Capture Switch' numid=10,iface=MIXER,name='Capture Volume' numid=19,iface=MIXER,name='IEC958 Default PCM Playback Switch' numid=15,iface=MIXER,name='IEC958 Playback Con Mask' numid=22,iface=MIXER,name='IEC958 Playback Con Mask',index=1 numid=26,iface=MIXER,name='IEC958 Playback Con Mask',index=2 numid=30,iface=MIXER,name='IEC958 Playback Con Mask',index=3 numid=16,iface=MIXER,name='IEC958 Playback Pro Mask' numid=23,iface=MIXER,name='IEC958 Playback Pro Mask',index=1 numid=27,iface=MIXER,name='IEC958 Playback Pro Mask',index=2 numid=31,iface=MIXER,name='IEC958 Playback Pro Mask',index=3 numid=17,iface=MIXER,name='IEC958 Playback Default' numid=24,iface=MIXER,name='IEC958 Playback Default',index=1 numid=28,iface=MIXER,name='IEC958 Playback Default',index=2 numid=32,iface=MIXER,name='IEC958 Playback Default',index=3 numid=18,iface=MIXER,name='IEC958 Playback Switch' numid=25,iface=MIXER,name='IEC958 Playback Switch',index=1 numid=29,iface=MIXER,name='IEC958 Playback Switch',index=2 numid=33,iface=MIXER,name='IEC958 Playback Switch',index=3 numid=21,iface=MIXER,name='IEC958 Capture Default' numid=20,iface=MIXER,name='IEC958 Capture Switch' numid=12,iface=MIXER,name='Internal Mic Capture Volume' $ amixer contents numid=1,iface=MIXER,name='Master Playback Switch' ; type=BOOLEAN,access=rw------,values=1 : values=on numid=2,iface=MIXER,name='Master Playback Volume' ; type=INTEGER,access=rw---R--,values=1,min=0,max=115,step=0 : values=115 | dBscale-min=-57.50dB,step=0.50dB,mute=0 numid=3,iface=MIXER,name='Headphone Playback Switch' ; type=BOOLEAN,access=rw------,values=2 : values=on,on numid=4,iface=MIXER,name='Headphone Playback Volume' ; type=INTEGER,access=rw---R--,values=2,min=0,max=115,step=0 : values=115,115 | dBscale-min=-57.50dB,step=0.50dB,mute=0 numid=34,iface=MIXER,name='PCM Playback Volume' ; type=INTEGER,access=rw---RW-,values=2,min=0,max=255,step=0 : values=255,255 | dBscale-min=-51.00dB,step=0.20dB,mute=0 numid=5,iface=MIXER,name='Front Speaker Playback Switch' ; type=BOOLEAN,access=rw------,values=2 : values=off,off numid=6,iface=MIXER,name='Front Speaker Playback Volume' ; type=INTEGER,access=rw---R--,values=2,min=0,max=115,step=0 : values=0,0 | dBscale-min=-57.50dB,step=0.50dB,mute=0 numid=7,iface=MIXER,name='Surround Speaker Playback Switch' ; type=BOOLEAN,access=rw------,values=2 : values=off,off numid=8,iface=MIXER,name='Surround Speaker Playback Volum' ; type=INTEGER,access=rw---R--,values=2,min=0,max=115,step=0 : values=0,0 | dBscale-min=-57.50dB,step=0.50dB,mute=0 numid=14,iface=MIXER,name='Line Capture Volume' ; type=INTEGER,access=rw---R--,values=2,min=0,max=3,step=0 : values=0,0 | dBscale-min=0.00dB,step=10.00dB,mute=0 numid=13,iface=MIXER,name='Mic Capture Volume' ; type=INTEGER,access=rw---R--,values=2,min=0,max=2,step=0 : values=0,0 | dBscale-min=0.00dB,step=10.00dB,mute=0 numid=11,iface=MIXER,name='Capture Source' ; type=ENUMERATED,access=rw------,values=1,items=3 ; Item #0 'Internal Mic' ; Item #1 'Rear Mic' ; Item #2 'Line' : values=2 numid=9,iface=MIXER,name='Capture Switch' ; type=BOOLEAN,access=rw------,values=2 : values=off,off numid=10,iface=MIXER,name='Capture Volume' ; type=INTEGER,access=rw---R--,values=2,min=0,max=63,step=0 : values=0,0 | dBscale-min=-51.00dB,step=1.00dB,mute=0 numid=19,iface=MIXER,name='IEC958 Default PCM Playback Switch' ; type=BOOLEAN,access=rw------,values=1 : values=on numid=15,iface=MIXER,name='IEC958 Playback Con Mask' ; type=IEC958,access=r-------,values=1 : values=[AES0=0x0f AES1=0xff AES2=0x00 AES3=0x00] numid=22,iface=MIXER,name='IEC958 Playback Con Mask',index=1 ; type=IEC958,access=r-------,values=1 : values=[AES0=0x0f AES1=0xff AES2=0x00 AES3=0x00] numid=26,iface=MIXER,name='IEC958 Playback Con Mask',index=2 ; type=IEC958,access=r-------,values=1 : values=[AES0=0x0f AES1=0xff AES2=0x00 AES3=0x00] numid=30,iface=MIXER,name='IEC958 Playback Con Mask',index=3 ; type=IEC958,access=r-------,values=1 : values=[AES0=0x0f AES1=0xff AES2=0x00 AES3=0x00] numid=16,iface=MIXER,name='IEC958 Playback Pro Mask' ; type=IEC958,access=r-------,values=1 : values=[AES0=0x0f AES1=0x00 AES2=0x00 AES3=0x00] numid=23,iface=MIXER,name='IEC958 Playback Pro Mask',index=1 ; type=IEC958,access=r-------,values=1 : values=[AES0=0x0f AES1=0x00 AES2=0x00 AES3=0x00] numid=27,iface=MIXER,name='IEC958 Playback Pro Mask',index=2 ; type=IEC958,access=r-------,values=1 : values=[AES0=0x0f AES1=0x00 AES2=0x00 AES3=0x00] numid=31,iface=MIXER,name='IEC958 Playback Pro Mask',index=3 ; type=IEC958,access=r-------,values=1 : values=[AES0=0x0f AES1=0x00 AES2=0x00 AES3=0x00] numid=17,iface=MIXER,name='IEC958 Playback Default' ; type=IEC958,access=rw------,values=1 : values=[AES0=0x04 AES1=0x00 AES2=0x00 AES3=0x00] numid=24,iface=MIXER,name='IEC958 Playback Default',index=1 ; type=IEC958,access=rw------,values=1 : values=[AES0=0x04 AES1=0x00 AES2=0x00 AES3=0x00] numid=28,iface=MIXER,name='IEC958 Playback Default',index=2 ; type=IEC958,access=rw------,values=1 : values=[AES0=0x04 AES1=0x00 AES2=0x00 AES3=0x00] numid=32,iface=MIXER,name='IEC958 Playback Default',index=3 ; type=IEC958,access=rw------,values=1 : values=[AES0=0x04 AES1=0x00 AES2=0x00 AES3=0x00] numid=18,iface=MIXER,name='IEC958 Playback Switch' ; type=BOOLEAN,access=rw------,values=1 : values=off numid=25,iface=MIXER,name='IEC958 Playback Switch',index=1 ; type=BOOLEAN,access=rw------,values=1 : values=on numid=29,iface=MIXER,name='IEC958 Playback Switch',index=2 ; type=BOOLEAN,access=rw------,values=1 : values=on numid=33,iface=MIXER,name='IEC958 Playback Switch',index=3 ; type=BOOLEAN,access=rw------,values=1 : values=on numid=21,iface=MIXER,name='IEC958 Capture Default' ; type=IEC958,access=r-------,values=1 : values=[AES0=0x08 AES1=0x00 AES2=0x00 AES3=0x00] numid=20,iface=MIXER,name='IEC958 Capture Switch' ; type=BOOLEAN,access=rw------,values=1 : values=off numid=12,iface=MIXER,name='Internal Mic Capture Volume' ; type=INTEGER,access=rw---R--,values=2,min=0,max=3,step=0 : values=0,0 | dBscale-min=0.00dB,step=10.00dB,mute=0 udevadm info -qall -p /sys/class/sound/card0 P: /devices/pci0000:00/0000:00:1b.0/sound/card0 E: DEVPATH=/devices/pci0000:00/0000:00:1b.0/sound/card0 E: SUBSYSTEM=sound E: SOUND_INITIALIZED=1 E: ID_BUS=pci E: ID_VENDOR_ID=0x8086 E: ID_MODEL_ID=0x27d8 E: ID_PATH=pci-0000:00:1b.0 E: ID_PATH_TAG=pci-0000_00_1b_0 E: SOUND_FORM_FACTOR=internal ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2 _______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user