mn.retrogamer

a link to the past

User Tools

Site Tools


mnretrogamer:os:coreelec:usb_dac

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
mnretrogamer:os:coreelec:usb_dac [2020/09/08 12:34] – created solarsparqmnretrogamer:os:coreelec:usb_dac [2023/01/06 10:06] (current) – external edit 127.0.0.1
Line 5: Line 5:
   * reference   * reference
     * [[https://discourse.coreelec.org/t/usb-sound-card-as-default-device/1454/6|USB sound card as default device on CoreELEC [08/15/2020]]]     * [[https://discourse.coreelec.org/t/usb-sound-card-as-default-device/1454/6|USB sound card as default device on CoreELEC [08/15/2020]]]
 +
 +
 +[[mnretrogamer:sbc:odroid_c4:home_c4|odroid c4]] & [[mnretrogamer:os:coreelec:home_coreelec|coreELEC]] 9.2.4.2\\
 +\\
 +image = CoreELEC-Amlogic-ng.arm-9.2.4.2-Odroid_C4.img.gz
 +
 +<code>
 +
 +login as: root
 +root@mnretrogamer012's password:
 +##############################################
 +#                  CoreELEC                  #
 +#            https://coreelec.org            #
 +##############################################
 +
 +CoreELEC (official): 9.2.4.2 (Amlogic-ng.arm)
 +mnretrogamer012:~ # aplay -L
 +null
 +    Discard all samples (playback) or generate zero samples (capture)
 +default:CARD=AMLAUGESOUND
 +    AML-AUGESOUND,
 +    Default Audio Device
 +sysdefault:CARD=AMLAUGESOUND
 +    AML-AUGESOUND,
 +    Default Audio Device
 +surround71:CARD=AMLAUGESOUND,DEV=0
 +    AML-AUGESOUND,
 +    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
 +iec958:CARD=AMLAUGESOUND,DEV=0
 +    AML-AUGESOUND,
 +    IEC958 (S/PDIF) Digital Audio Output
 +hdmi:CARD=AMLAUGESOUND,DEV=0
 +    AML-AUGESOUND,
 +    HDMI Audio Output
 +default:CARD=M2
 +    Modi 2, USB Audio
 +    Default Audio Device
 +sysdefault:CARD=M2
 +    Modi 2, USB Audio
 +    Default Audio Device
 +front:CARD=M2,DEV=0
 +    Modi 2, USB Audio
 +    Front speakers
 +surround21:CARD=M2,DEV=0
 +    Modi 2, USB Audio
 +    2.1 Surround output to Front and Subwoofer speakers
 +surround40:CARD=M2,DEV=0
 +    Modi 2, USB Audio
 +    4.0 Surround output to Front and Rear speakers
 +surround41:CARD=M2,DEV=0
 +    Modi 2, USB Audio
 +    4.1 Surround output to Front, Rear and Subwoofer speakers
 +surround50:CARD=M2,DEV=0
 +    Modi 2, USB Audio
 +    5.0 Surround output to Front, Center and Rear speakers
 +surround51:CARD=M2,DEV=0
 +    Modi 2, USB Audio
 +    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
 +surround71:CARD=M2,DEV=0
 +    Modi 2, USB Audio
 +    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
 +iec958:CARD=M2,DEV=0
 +    Modi 2, USB Audio
 +    IEC958 (S/PDIF) Digital Audio Output
 +
 +</code>
 +
 +check out the audio configuration; we want device #1 as the default.  CARD=M2.
 +
 +<code>
 +
 +mnretrogamer012:~ # cat /proc/asound/cards
 + 0 [AMLAUGESOUND   ]: AML-AUGESOUND - AML-AUGESOUND
 +                      AML-AUGESOUND
 + 1 [M2             ]: USB-Audio - Modi 2
 +                      Schiit Audio Modi 2 at usb-xhci-hcd.0.auto-1.3, high speed
 +
 +</code>
 +
 +asound.conf verify & re-configuration -- note, this is not a standard location for asound.conf!
 +
 +<code>
 +
 +login as: root
 +root@mnretrogamer012's password:
 +##############################################
 +#                  CoreELEC                  #
 +#            https://coreelec.org            #
 +##############################################
 +
 +CoreELEC (official): 9.2.4.2 (Amlogic-ng.arm)
 +mnretrogamer012:~ # ls
 +backup       emulators    lost+found   pictures     screenshots  videos
 +downloads    ip.txt       music        roms         tvshows
 +mnretrogamer012:~ # cd .config
 +mnretrogamer012:~/.config # pwd
 +/storage/.config
 +mnretrogamer012:~/.config # ls
 +aacs                 modprobe.d           samba.conf.sample
 +asound.conf          modules-load.d       sleep.conf.d
 +boot.hint            mpv                  sysctl.d
 +boot.status          pulse                system.d
 +hosts.conf           pulse-daemon.conf.d  timesyncd.conf.d
 +hwdb.d               rc_keymaps           tmpfiles.d
 +iptables             rc_maps.cfg.sample   udev.rules.d
 +logind.conf.d        retroarch            wireguard
 +mnretrogamer012:~/.config # cat asound.conf
 +pcm.!default {
 +type plug
 +slave {
 +pcm "hw:0,0"
 +}
 +}
 +mnretrogamer012:~/.config # vi asound.conf
 +
 +</code>
mnretrogamer/os/coreelec/usb_dac.1599586469.txt.gz · Last modified: 2023/01/06 10:06 (external edit)