1 |
On Sunday 15 Feb 2015 20:02:47 Mick wrote: |
2 |
> Something went sideways recently and I now find that only IEC958 is |
3 |
> available as the default audio device. Trying to change it to an analogue |
4 |
> device does not take. This PC has alsa only, no pulseaudio. |
5 |
> |
6 |
> $ cat /proc/asound/devices |
7 |
> 0: [ 0] : control |
8 |
> 4: [ 0- 0]: hardware dependent |
9 |
> 19: [ 0- 3]: digital audio playback |
10 |
> 32: [ 1] : control |
11 |
> 33: : timer |
12 |
> 36: [ 1- 0]: hardware dependent |
13 |
> 48: [ 1- 0]: digital audio playback |
14 |
> 49: [ 1- 1]: digital audio playback |
15 |
> 56: [ 1- 0]: digital audio capture |
16 |
> 58: [ 1- 2]: digital audio capture |
17 |
> |
18 |
> |
19 |
> $ aplay -l |
20 |
> **** List of PLAYBACK Hardware Devices **** |
21 |
> card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0] |
22 |
> Subdevices: 1/1 |
23 |
> Subdevice #0: subdevice #0 |
24 |
> card 1: Generic_1 [HD-Audio Generic], device 0: ID 887 Analog [ID 887 |
25 |
> Analog] Subdevices: 1/1 |
26 |
> Subdevice #0: subdevice #0 |
27 |
> card 1: Generic_1 [HD-Audio Generic], device 1: ID 887 Digital [ID 887 |
28 |
> Digital] |
29 |
> Subdevices: 1/1 |
30 |
> Subdevice #0: subdevice #0 |
31 |
> |
32 |
> |
33 |
> $ aplay -L |
34 |
> null |
35 |
> Discard all samples (playback) or generate zero samples (capture) |
36 |
> hdmi:CARD=Generic,DEV=0 |
37 |
> HD-Audio Generic, HDMI 0 |
38 |
> HDMI Audio Output |
39 |
> default:CARD=Generic_1 |
40 |
> HD-Audio Generic, ID 887 Analog |
41 |
> Default Audio Device |
42 |
> sysdefault:CARD=Generic_1 |
43 |
> HD-Audio Generic, ID 887 Analog |
44 |
> Default Audio Device |
45 |
> front:CARD=Generic_1,DEV=0 |
46 |
> HD-Audio Generic, ID 887 Analog |
47 |
> Front speakers |
48 |
> surround21:CARD=Generic_1,DEV=0 |
49 |
> HD-Audio Generic, ID 887 Analog |
50 |
> 2.1 Surround output to Front and Subwoofer speakers |
51 |
> surround40:CARD=Generic_1,DEV=0 |
52 |
> HD-Audio Generic, ID 887 Analog |
53 |
> 4.0 Surround output to Front and Rear speakers |
54 |
> surround41:CARD=Generic_1,DEV=0 |
55 |
> HD-Audio Generic, ID 887 Analog |
56 |
> 4.1 Surround output to Front, Rear and Subwoofer speakers |
57 |
> surround50:CARD=Generic_1,DEV=0 |
58 |
> HD-Audio Generic, ID 887 Analog |
59 |
> 5.0 Surround output to Front, Center and Rear speakers |
60 |
> surround51:CARD=Generic_1,DEV=0 |
61 |
> HD-Audio Generic, ID 887 Analog |
62 |
> 5.1 Surround output to Front, Center, Rear and Subwoofer speakers |
63 |
> surround71:CARD=Generic_1,DEV=0 |
64 |
> HD-Audio Generic, ID 887 Analog |
65 |
> 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers |
66 |
> iec958:CARD=Generic_1,DEV=0 |
67 |
> HD-Audio Generic, ID 887 Digital |
68 |
> IEC958 (S/PDIF) Digital Audio Output |
69 |
> |
70 |
> There is no /etc/alsa/, or /etc/asound.conf, or ~.asound.rc |
71 |
> |
72 |
> |
73 |
> How do I take back control of the default audio device on this PC? |
74 |
|
75 |
|
76 |
It tricked me! First of all I had to compile alsa as modules. Then I had to |
77 |
invert the devices by adding this in /etc/modprobe.d/alsa.conf: |
78 |
|
79 |
options snd cards_limit=2 |
80 |
|
81 |
options snd-hda-intel id=Generic_1 index=0 #analogue |
82 |
options snd-hda-intel id=Generic index=1 #HDMI |
83 |
|
84 |
|
85 |
AND then I had to also reboot. Just restarting alsasound didn't have the |
86 |
desired result. It now works as desired. |
87 |
|
88 |
-- |
89 |
Regards, |
90 |
Mick |