On Sunday 15 Feb 2015 20:02:47 Mick wrote: > Something went sideways recently and I now find that only IEC958 is > available as the default audio device. Trying to change it to an analogue > device does not take. This PC has alsa only, no pulseaudio. > > $ cat /proc/asound/devices > 0: [ 0] : control > 4: [ 0- 0]: hardware dependent > 19: [ 0- 3]: digital audio playback > 32: [ 1] : control > 33: : timer > 36: [ 1- 0]: hardware dependent > 48: [ 1- 0]: digital audio playback > 49: [ 1- 1]: digital audio playback > 56: [ 1- 0]: digital audio capture > 58: [ 1- 2]: digital audio capture > > > $ aplay -l > **** List of PLAYBACK Hardware Devices **** > card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0] > Subdevices: 1/1 > Subdevice #0: subdevice #0 > card 1: Generic_1 [HD-Audio Generic], device 0: ID 887 Analog [ID 887 > Analog] Subdevices: 1/1 > Subdevice #0: subdevice #0 > card 1: Generic_1 [HD-Audio Generic], device 1: ID 887 Digital [ID 887 > Digital] > Subdevices: 1/1 > Subdevice #0: subdevice #0 > > > $ aplay -L > null > Discard all samples (playback) or generate zero samples (capture) > hdmi:CARD=Generic,DEV=0 > HD-Audio Generic, HDMI 0 > HDMI Audio Output > default:CARD=Generic_1 > HD-Audio Generic, ID 887 Analog > Default Audio Device > sysdefault:CARD=Generic_1 > HD-Audio Generic, ID 887 Analog > Default Audio Device > front:CARD=Generic_1,DEV=0 > HD-Audio Generic, ID 887 Analog > Front speakers > surround21:CARD=Generic_1,DEV=0 > HD-Audio Generic, ID 887 Analog > 2.1 Surround output to Front and Subwoofer speakers > surround40:CARD=Generic_1,DEV=0 > HD-Audio Generic, ID 887 Analog > 4.0 Surround output to Front and Rear speakers > surround41:CARD=Generic_1,DEV=0 > HD-Audio Generic, ID 887 Analog > 4.1 Surround output to Front, Rear and Subwoofer speakers > surround50:CARD=Generic_1,DEV=0 > HD-Audio Generic, ID 887 Analog > 5.0 Surround output to Front, Center and Rear speakers > surround51:CARD=Generic_1,DEV=0 > HD-Audio Generic, ID 887 Analog > 5.1 Surround output to Front, Center, Rear and Subwoofer speakers > surround71:CARD=Generic_1,DEV=0 > HD-Audio Generic, ID 887 Analog > 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers > iec958:CARD=Generic_1,DEV=0 > HD-Audio Generic, ID 887 Digital > IEC958 (S/PDIF) Digital Audio Output > > There is no /etc/alsa/, or /etc/asound.conf, or ~.asound.rc > > > How do I take back control of the default audio device on this PC?
It tricked me! First of all I had to compile alsa as modules. Then I had to invert the devices by adding this in /etc/modprobe.d/alsa.conf: options snd cards_limit=2 options snd-hda-intel id=Generic_1 index=0 #analogue options snd-hda-intel id=Generic index=1 #HDMI AND then I had to also reboot. Just restarting alsasound didn't have the desired result. It now works as desired. -- Regards, Mick
signature.asc
Description: This is a digitally signed message part.