|
大佬好,今天折腾一天,目前还是没有搞定;烦请大佬指导,问题如下:1、问题描述:我严格按照配置声卡步骤操作,在armbian下驱动没问题(测试声卡可以发出声音来),但在moode网页管理端还是扫描不出来声卡;
2、具体场景描述:
A: 全新安装后,声卡可以正常使用,但我插拔一次声卡,换usb解码器后,当时也能正常使用(此时hdmi线插在盒子上,盒子是S905L)
B:重启后,在armbian界面下声卡可以正常驱动,但mooed的网页管理扫描不出来声卡
我找到了moode的日志和mpd的配置表,发现说hdmi和声卡冲突导致moode把声卡强制固定在了hdmi输出,但拔出hdmi线后依然无法识别声卡
3、MPD配置表:
#########################################
# This file is managed by moOde
#########################################
music_directory "/var/lib/mpd/music"
playlist_directory "/var/lib/mpd/playlists"
db_file "/var/lib/mpd/database"
log_file "/var/log/mpd/log"
pid_file "/var/run/mpd/pid"
state_file "/var/lib/mpd/state"
sticker_file "/var/lib/mpd/sticker.sql"
user "mpd"
group "audio"
bind_to_address "any"
port "6600"
log_level "notice"
restore_paused "yes"
auto_update "no"
follow_outside_symlinks "yes"
follow_inside_symlinks "yes"
zeroconf_enabled "no"
zeroconf_name "Armbian MPD"
filesystem_charset "UTF-8"
metadata_to_use "+comment"
replaygain "off"
replaygain_preamp "0"
volume_normalization "no"
audio_buffer_size "4096"
max_output_buffer_size "131072"
max_playlist_length "16384"
max_connections "128"
decoder {
plugin "ffmpeg"
enabled "yes"
}
input {
plugin "curl"
proxy ""
proxy_user ""
proxy_password ""
}
resampler {
plugin "soxr"
quality "high"
threads "1"
}
audio_output {
type "alsa"
name "ALSA Default"
device "_audioout"
mixer_type "software"
dop "no"
stop_dsd_silence "no"
thesycon_dsd_workaround "no"
close_on_pause "yes"
}
audio_output {
type "alsa"
name "ALSA Bluetooth"
device "_audioout"
mixer_type "software"
}
audio_output {
type "httpd"
name "HTTP Server"
port "8000"
encoder "lame"
bitrate "320"
tags "yes"
always_on "yes"
format "44100:16:2"
}
4、moode日志文件
20250325 145045 worker: --
20250325 145045 worker: -- Start moOde 9 series
20250325 145045 worker: --
20250325 145045 worker: Daemonize: complete
20250325 145123 worker: Linux startup: complete
20250325 145123 worker: Boot config: ok
20250325 145123 worker: Boot folder: ok
20250325 145123 worker: Radio table: ok
20250325 145125 worker: PHP session: cleaned
20250325 145125 worker: PHP session: loaded
20250325 145126 worker: Package locks: applied
20250325 145128 worker: File check: complete
20250325 145128 worker: Log to RAM: on
20250325 145128 worker: Debug logging: off
20250325 145128 worker: --
20250325 145128 worker: -- System
20250325 145128 worker: --
20250325 145130 worker: Host name: armbian
20250325 145130 worker: RPi model: Pi-
20250325 145130 worker: moOde release: 9.2.4 2025-02-06
20250325 145130 worker: RaspiOS: 12.6 Bookworm 64-bit
20250325 145130 worker: Linux Kernel: 33 64-bit
20250325 145130 worker: MPD version: 0.24
20250325 145130 worker: User id:
20250325 145130 worker: Home folder: /home/
20250325 145130 worker: Time zone: Asia/Shanghai
20250325 145130 worker: Kbd layout: us
20250325 145130 worker: HDMI ports(s): on
20250325 145130 worker: HDMI-CEC: off
20250325 145130 worker: Sys LED0: on
20250325 145130 worker: Sys LED1: on
20250325 145130 worker: Reduce power: n/a
20250325 145130 worker: Fan control: n/a
20250325 145130 worker: CPU governor: ondemand
20250325 145130 worker: --
20250325 145130 worker: -- Network
20250325 145130 worker: --
20250325 145130 worker: Eth0
20250325 145130 worker: Ethernet: adapter exists
20250325 145130 worker: Ethernet: timeout off
20250325 145131 worker: Ethernet: method dhcp
20250325 145131 worker: Ethernet: address 192.168.88.226
20250325 145131 worker: Ethernet: netmask 255.255.255.0
20250325 145131 worker: Ethernet: gateway 192.168.88.1
20250325 145131 worker: Ethernet: pri DNS 127.0.0.53
20250325 145131 worker: Ethernet: domain lan
20250325 145131 worker: Wlan0
20250325 145131 worker: Wireless: adapter exists
20250325 145131 worker: Wireless: country US
20250325 145131 worker: Wireless: SSID None
20250325 145131 worker: Wireless: other None
20250325 145131 worker: mDNS
20250325 145131 worker: Discover: IPv4 and IPv6
20250325 145131 worker: --
20250325 145131 worker: -- File sharing
20250325 145131 worker: --
20250325 145131 worker: SMB file sharing: off
20250325 145131 worker: SMB password: none
20250325 145131 worker: NFS file sharing: off
20250325 145131 worker: DLNA file sharing: on
20250325 145131 worker: --
20250325 145131 worker: -- Special configs
20250325 145131 worker: --
20250325 145131 worker: Plexamp: not installed
20250325 145131 worker: RoonBridge: not installed
20250325 145131 worker: Allo Boss 2: not detected, OLED script ok
20250325 145131 worker: Allo Piano 2.1: not detected
20250325 145131 worker: IQaudIO DigiAMP+: not detected
20250325 145131 worker: RPi DigiAMP+: not detected
20250325 145131 worker: Bluetooth: session vars ok
20250325 145131 worker: --
20250325 145131 worker: -- ALSA debug
20250325 145131 worker: --
20250325 145131 worker: Cards: 0 evice 1:S905XP212 2:empty 3:empty
20250325 145131 worker: 4:empty 5:empty 6:empty 7:empty
20250325 145131 worker: Mixers: 0 Speaker) 1 ACODEC) 2:none 3:none
20250325 145131 worker: 4:none 5:none 6:none 7:none
20250325 145131 worker: --
20250325 145131 worker: -- Audio configuration
20250325 145131 worker: --
20250325 145131 worker: Audio device: empty i HDMI 1
20250325 145132 worker: ALSA card: is empty, retry 1
20250325 145137 worker: ALSA card: is empty, retry 2
20250325 145143 worker: ALSA card: is empty, retry 3
20250325 145148 worker: ALSA card: is empty, retry 4
20250325 145153 worker: ALSA card: is empty, retry 5
20250325 145159 worker: ALSA card: is empty, retry 6
20250325 145204 worker: ALSA card: is empty, retry 7
20250325 145210 worker: ALSA card: is empty, retry 8
20250325 145215 worker: ALSA card: is empty, retry 9
20250325 145220 worker: ALSA card: is empty, retry 10
20250325 145226 worker: ALSA card: is empty, retry 11
20250325 145231 worker: ALSA card: is empty, retry 12
20250325 145236 worker: ALSA card: is empty, reconfigure to HDMI 1
20250325 145238 worker: MPD config: updated
20250325 145239 worker: ALSA output: USB
20250325 145239 worker: ALSA mode: IEC958 (iec958)
20250325 145239 worker: ALSA mixer: PCM
20250325 145239 worker: ALSA volume: Invalid card number 'empty'.% (Invalid card number 'empty'.)
20250325 145239 worker: ALSA maxvol: 100%
20250325 145239 worker: ALSA loopback: off
20250325 145239 worker: MPD mixer Software
20250325 145239 worker: Integ audio: vc4-kms-v3d
20250325 145239 worker: Audio formats: No device found at MPD configured card empty
20250325 145239 worker: CamillaDSP: off
20250325 145239 worker: CDSP volume: 0dB
20250325 145239 worker: CDSP volrange: 60dB
20250325 145239 worker: --
20250325 145239 worker: -- MPD startup
20250325 145239 worker: --
20250325 145239 worker: MPD config: Updated (ALSA conf device mismatch)
20250325 145240 worker: MPD service: started
20250325 145240 worker: MPD port 6600: accepting connections
20250325 145240 worker: MPD ALSA Default: on
20250325 145240 worker: MPD ALSA Bluetooth: off
20250325 145240 worker: MPD HTTP Server: off
20250325 145240 worker: MPD volume: 50
20250325 145240 worker: Saved MPD vol: -1
20250325 145240 worker: Saved SRC vol: 0
20250325 145240 worker: MPD crossfade: off
20250325 145240 worker: MPD ignore CUE: no
20250325 145240 worker: MPD CDSP volsync: off
20250325 145241 worker: --
20250325 145241 worker: -- Music sources
20250325 145241 worker: --
20250325 145241 worker: USB drives: none
20250325 145241 worker: NVMe drives: none
20250325 145241 worker: SATA drives: none
20250325 145241 worker: NAS sources: none
20250325 145241 worker: --
20250325 145241 worker: -- Feature availability
20250325 145241 worker: --
20250325 145241 worker: Input select: available, Source: MPD, Output: Pi HDMI 1
20250325 145241 worker: Bluetooth: available, PIN: Set, ALSA/CDSP maxvol: 100%/0dB, ALSA outmode: Standard
20250325 145241 worker: AirPlay: started
20250325 145241 worker: Spotify Connect: available
20250325 145241 worker: Deezer Connect: available
20250325 145241 worker: Squeezelite: available
20250325 145241 worker: UPnP client: started
20250325 145241 worker: Plexamp: not installed, ALSA maxvol: 100%
20250325 145241 worker: RoonBridge: not installed
20250325 145241 worker: Multiroom: available
20250325 145241 worker: GPIO buttons: available
20250325 145241 worker: Stream recorder: n/a
20250325 145241 worker: --
20250325 145241 worker: -- Security
20250325 145241 worker: --
20250325 145241 worker: Web SSH server: off
20250325 145241 worker: XSS detection: off
20250325 145241 worker: HTTPS mode: available
20250325 145241 worker: --
20250325 145241 worker: -- Peripherals
20250325 145241 worker: --
20250325 145243 worker: Local display: off
20250325 145243 worker: Chromium ver: 131.0.6778.204-1~deb12u1+rpt3
20250325 145243 worker: Chromium cfg: WARNING: directory /home//.config does not exist
20250325 145243 worker: Screen blank 600
20250325 145243 worker: On-screen kbd: off
20250325 145243 worker: Disable GPU: off
20250325 145243 worker: HDMI orient: landscape
20250325 145243 worker: HDMI 4K 60Hz: off
20250325 145243 worker: DSI scn type: none
20250325 145243 worker: DSI port: 1
20250325 145243 worker: DSI brightness: 255
20250325 145243 worker: DSI rotate: 0
20250325 145243 worker: Rotary encoder: off
20250325 145243 worker: Triggerhappy: off
20250325 145243 worker: LCD updater: off
20250325 145243 worker: --
20250325 145243 worker: -- Miscellaneous
20250325 145243 worker: --
20250325 145243 worker: Software update: Automatic check off
20250325 145243 worker: Auto-CoverView: off
20250325 145243 worker: CoverView timeout: Never
20250325 145243 worker: Auto-shuffle: off
20250325 145243 worker: Auto-play: off
20250325 145243 worker: Maintenance task: 360 mins
20250325 145243 worker: Current view: reset to Playback
20250325 145243 worker: Active flags: all false
20250325 145243 worker: Reset flags: skipped
20250325 145243 worker: Session check: ok
20250325 145243 worker: --
20250325 145243 worker: -- Startup complete
20250325 145243 worker: --
20250325 145243 worker: Mount monitor: started
20250325 145243 worker: Radio monitor: off
20250325 145243 worker: Watchdog monitor: started
20250325 145243 worker: Responsiveness: Default
20250325 145243 worker: Ready
|
|