Nп/п : 98 из 100
От : Maurice Kinal 1:153/7001.2989 13 апр 24 15:29:50
К : Denis Sovkov 13 апр 24 18:57:02
Тема : ALSA don`t see USB soundcard, but see it...
----------------------------------------------------------------------------------
@MSGID: 1:153/7001.2989 661aa4ee
@REPLY: 2:5020/570.77 660d1dc5
@CHRS: UTF-8 4
Hey Denis!
DM> Ok I`ll try it! Thank you!
You`re welcome. Here might be a better real world example using an
onboard chip with analog and hdmi audio;
[command]: 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 0: Generic [HD-Audio Generic], device 7: HDMI 1 [U28E590]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Generic [HD-Audio Generic], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Generic [HD-Audio Generic], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic_1 [HD-Audio Generic], device 0: ALC233 Analog [ALC233 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
Note that the analog is setup as `card 1` and I want that to be
the default as I have no use for hdmi audio. In this case I simply
editted /etc/asound.conf to read;
--- my /etc/asound.conf for analog audio ---
defaults.pcm.card 1
defaults.ctl.card 1
--------------------------------------------
Also apps like mpg123 can output to different alsa cards from the
commandline without changing defaults in asound.conf. That might be more along
the line of what you`re after.
Life is good,
Maurice
-o -o -o -o -o o- -o o- o- -o o- -o -o o- o- -o
(\\ (\\ (\\ (\\ (\\ /) (\\ /) /) (\\ /) (\\ (\\ /) /) (
^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^
... Fidonet 4K - You load sixteen penguins and what do you get?
--- GNU bash, version 5.2.26(1)-release (x86_64-pc-linux-gnu)
* Origin: One of us @ (1:153/7001.2989)
SEEN-BY: 50/109 134/100 153/135 143 148 151 757
802 6809 7001 154/10 218/840
SEEN-BY: 221/1 6 360 240/1120 280/464 301/1 113
812 335/364 341/66 234 460/58
SEEN-BY: 463/68 467/888 3634/12 5000/111 5001/100
5005/49 5019/40 5020/545
SEEN-BY: 5020/715 828 830 846 848 1042 4441 12000
5030/49 1081 1474 1900
SEEN-BY: 5036/26 5054/8 5058/104 5060/900 5061/133
5075/128 5083/444
@PATH: 153/7001 757 221/6 301/1 5020/1042 4441