Problem - squeezelite playback is heard only when I input <squeezelite -V ALSA> in terminal. As soon as I Ctrl-C playback ends.
How can I configure ALSA to play via squeezelite without manual intervention?
squeezelite 1.9.9-1414+git20221121.dbe69eb-1
LMS Player: acer
Model: SqueezeLite
Type: squeezelite
Firmware: v1.9.9-1414
IP: 192.168.0.110
MAC Address: 8c:b8:7e:bd:42:96 (corresponds to wifi card on acer laptop)
Code: Select all
System:
Kernel: 6.1.0-17-amd64 arch: x86_64 bits: 64 compiler: gcc v: 12.2.0 Desktop: Cinnamon v: 6.0.4
tk: GTK v: 3.24.38 wm: muffin vt: 7 dm: LightDM v: 1.26.0 Distro: LMDE 6 Faye
base: Debian 12.1 bookworm
Machine:
Type: Laptop System: Acer product: Aspire A314-22 v: V1.21 serial: <superuser required>
Mobo: DL model: Tulip_DA v: V1.21 serial: <superuser required> UEFI: Insyde v: 1.21
date: 09/08/2022
Battery:
ID-1: BAT1 charge: 36.0 Wh (89.8%) condition: 40.1/41.6 Wh (96.5%) volts: 12.9 min: 11.2
model: LGC AP19B8K type: Li-ion serial: <filter> status: charging
CPU:
Info: dual core model: AMD Ryzen 3 3250U with Radeon Graphics bits: 64 type: MT MCP smt: enabled
arch: Zen/Zen+ note: check rev: 1 cache: L1: 192 KiB L2: 1024 KiB L3: 4 MiB
Speed (MHz): avg: 2661 high: 2722 min/max: 1400/2600 boost: enabled cores: 1: 2596 2: 2604
3: 2722 4: 2722 bogomips: 20800
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
Device-1: AMD Picasso/Raven 2 [Radeon Vega Series / Radeon Mobile Series]
vendor: Acer Incorporated ALI driver: amdgpu v: kernel arch: GCN-5 pcie: speed: 8 GT/s lanes: 16
ports: active: eDP-1 empty: HDMI-A-1 bus-ID: 05:00.0 chip-ID: 1002:15d8 class-ID: 0300
temp: 55.0 C
Device-2: Chicony HD User Facing type: USB driver: uvcvideo bus-ID: 1-1:2 chip-ID: 04f2:b72b
class-ID: fe01 serial: <filter>
Display: x11 server: X.Org v: 1.21.1.7 with: Xwayland v: 22.1.9 driver: X: loaded: amdgpu
unloaded: fbdev,modesetting,vesa dri: radeonsi gpu: amdgpu display-ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22") s-diag: 582mm (22.93")
Monitor-1: eDP-1 mapped: eDP model: AU Optronics 0x403d res: 1920x1080 hz: 60 dpi: 158
size: 309x173mm (12.17x6.81") diag: 354mm (13.9") modes: max: 1920x1080 min: 640x480
API: OpenGL v: 4.6 Mesa 22.3.6 renderer: AMD Radeon Vega 3 Graphics (raven2 LLVM 15.0.6 DRM
3.49 6.1.0-17-amd64) direct-render: Yes
Audio:
Device-1: AMD Raven/Raven2/Fenghuang HDMI/DP Audio vendor: Acer Incorporated ALI
driver: snd_hda_intel v: kernel pcie: speed: 8 GT/s lanes: 16 bus-ID: 05:00.1 chip-ID: 1002:15de
class-ID: 0403
Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Acer Incorporated ALI
driver: snd_pci_acp3x v: kernel pcie: speed: 8 GT/s lanes: 16 bus-ID: 05:00.5 chip-ID: 1022:15e2
class-ID: 0480
Device-3: AMD Family 17h/19h HD Audio vendor: Acer Incorporated ALI driver: snd_hda_intel
v: kernel pcie: speed: 8 GT/s lanes: 16 bus-ID: 05:00.6 chip-ID: 1022:15e3 class-ID: 0403
API: ALSA v: k6.1.0-17-amd64 status: kernel-api
Server-1: PipeWire v: 0.3.65 status: active with: 1: pipewire-pulse status: active
2: wireplumber status: active 3: pipewire-alsa type: plugin
Network:
Device-1: Intel Dual Band Wireless-AC 3168NGW [Stone Peak] driver: iwlwifi v: kernel pcie:
speed: 2.5 GT/s lanes: 1 bus-ID: 02:00.0 chip-ID: 8086:24fb class-ID: 0280
IF: wlp2s0 state: up mac: <filter>
Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Acer Incorporated ALI
driver: r8169 v: kernel pcie: speed: 2.5 GT/s lanes: 1 port: 2000 bus-ID: 03:00.0
chip-ID: 10ec:8168 class-ID: 0200
IF: enp3s0 state: down mac: <filter>
Drives:
Local Storage: total: 1.35 TiB used: 25.79 GiB (1.9%)
ID-1: /dev/nvme0n1 vendor: Western Digital model: WD Blue SN570 1TB size: 931.51 GiB
speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter> rev: 234110WD temp: 33.9 C
ID-2: /dev/sda vendor: Fanxiang model: S101 480GB size: 447.13 GiB speed: 6.0 Gb/s type: SSD
serial: <filter> rev: 8A0 scheme: GPT
Partition:
ID-1: / size: 430.7 GiB used: 25.78 GiB (6.0%) fs: ext4 dev: /dev/sda3
ID-2: /boot/efi size: 285.4 MiB used: 5.8 MiB (2.0%) fs: vfat dev: /dev/sda1
Swap:
ID-1: swap-1 type: partition size: 8.2 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/sda2
USB:
Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 6 rev: 2.0 speed: 480 Mb/s
chip-ID: 1d6b:0002 class-ID: 0900
Device-1: 1-1:2 info: Chicony HD User Facing type: Video driver: uvcvideo interfaces: 3
rev: 2.0 speed: 480 Mb/s power: 500mA chip-ID: 04f2:b72b class-ID: fe01 serial: <filter>
Hub-2: 2-0:1 info: Super-speed hub ports: 4 rev: 3.1 speed: 10 Gb/s chip-ID: 1d6b:0003
class-ID: 0900
Sensors:
System Temperatures: cpu: 55.6 C mobo: N/A gpu: amdgpu temp: 55.0 C
Fan Speeds (RPM): N/A
Repos:
Packages: 2160 pm: dpkg pkgs: 2147 pm: flatpak pkgs: 13
No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
1: deb http: //packages.linuxmint.com faye main upstream import backport
2: deb https: //deb.debian.org/debian bookworm main contrib non-free non-free-firmware
3: deb https: //deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
4: deb http: //security.debian.org bookworm-security main contrib non-free non-free-firmware
5: deb https: //deb.debian.org/debian bookworm-backports main contrib non-free non-free-firmware
Info:
Processes: 240 Uptime: 1h 25m wakeups: 1 Memory: 17.5 GiB used: 2.46 GiB (14.1%) Init: systemd
v: 252 target: graphical (5) default: graphical Compilers: gcc: 12.2.0 alt: 12 Client: Cinnamon
v: 6.0.4 inxi: 3.3.26
Code: Select all
patricia@acer:~$ inxi -aA
Audio:
Device-1: AMD Raven/Raven2/Fenghuang HDMI/DP Audio
vendor: Acer Incorporated ALI driver: snd_hda_intel v: kernel pcie: gen: 3
speed: 8 GT/s lanes: 16 bus-ID: 05:00.1 chip-ID: 1002:15de class-ID: 0403
Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor
vendor: Acer Incorporated ALI driver: snd_pci_acp3x v: kernel
alternate: snd_rn_pci_acp3x, snd_pci_acp5x, snd_pci_acp6x pcie: gen: 3
speed: 8 GT/s lanes: 16 bus-ID: 05:00.5 chip-ID: 1022:15e2 class-ID: 0480
Device-3: AMD Family 17h/19h HD Audio vendor: Acer Incorporated ALI
driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
bus-ID: 05:00.6 chip-ID: 1022:15e3 class-ID: 0403
API: ALSA v: k6.1.0-17-amd64 status: kernel-api tools: alsamixer,amixer
Server-1: PipeWire v: 0.3.65 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
tools: pactl,pw-cat,pw-cli,wpctl
Code: Select all
patricia@acer:~$ 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: ALC255 Analog [ALC255 Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
Code: Select all
patricia@acer:~$ sudo dmesg | grep snd
[sudo] password for patricia:
[ 6.364925] snd_pci_acp3x 0000:05:00.5: ACP audio mode : 2
[ 6.441157] snd_hda_intel 0000:05:00.1: Handle vga_switcheroo audio client
[ 6.537257] snd_hda_intel 0000:05:00.1: bound 0000:05:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])
[ 6.638245] snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC255: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[ 6.638257] snd_hda_codec_realtek hdaudioC1D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 6.638261] snd_hda_codec_realtek hdaudioC1D0: hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[ 6.638265] snd_hda_codec_realtek hdaudioC1D0: mono: mono_out=0x0
[ 6.638266] snd_hda_codec_realtek hdaudioC1D0: inputs:
[ 6.638269] snd_hda_codec_realtek hdaudioC1D0: Headset Mic=0x19
[ 6.638271] snd_hda_codec_realtek hdaudioC1D0: Internal Mic=0x12
Code: Select all
patricia@acer:~$ journalctl -k | grep -Ei "ALSA|HDA|sof[-]|HDMI|snd[_-]|sound|hda.codec|hda.intel"
Jan 25 16:04:40 acer kernel: snd_pci_acp3x 0000:05:00.5: ACP audio mode : 2
Jan 25 16:04:41 acer kernel: snd_hda_intel 0000:05:00.1: Handle vga_switcheroo audio client
Jan 25 16:04:41 acer kernel: snd_hda_intel 0000:05:00.1: bound 0000:05:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])
Jan 25 16:04:41 acer kernel: input: HD-Audio Generic HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:08.1/0000:05:00.1/sound/card0/input15
Jan 25 16:04:41 acer kernel: snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC255: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
Jan 25 16:04:41 acer kernel: snd_hda_codec_realtek hdaudioC1D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
Jan 25 16:04:41 acer kernel: snd_hda_codec_realtek hdaudioC1D0: hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
Jan 25 16:04:41 acer kernel: snd_hda_codec_realtek hdaudioC1D0: mono: mono_out=0x0
Jan 25 16:04:41 acer kernel: snd_hda_codec_realtek hdaudioC1D0: inputs:
Jan 25 16:04:41 acer kernel: snd_hda_codec_realtek hdaudioC1D0: Headset Mic=0x19
Jan 25 16:04:41 acer kernel: snd_hda_codec_realtek hdaudioC1D0: Internal Mic=0x12
Jan 25 16:04:41 acer kernel: input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:08.1/0000:05:00.6/sound/card1/input16
Jan 25 16:04:41 acer kernel: input: HD-Audio Generic Front Headphone as /devices/pci0000:00/0000:00:08.1/0000:05:00.6/sound/card1/input17
Code: Select all
GNU nano 7.2 /etc/alsa/conf.d/99-pipewire-default.conf
pcm.!default {
type pipewire
playback_node "-1"
capture_node "-1"
hint {
show on
description "Default ALSA Output (currently PipeWire Media Server)"
}
}
ctl.!default {
type pipewire
}
Code: Select all
GNU nano 7.2 /etc/alsa/conf.d/50-pipewire.conf M
# Add a specific named PipeWire pcm
defaults.pipewire.server "pipewire-0"
defaults.pipewire.node "-1"
defaults.pipewire.exclusive false
defaults.pipewire.role ""
defaults.pipewire.rate 0
defaults.pipewire.format ""
defaults.pipewire.channels 0
defaults.pipewire.period_bytes 0
defaults.pipewire.buffer_bytes 0
pcm.pipewire {
@args [ SERVER NODE EXCLUSIVE ROLE RATE FORMAT CHANNELS PERIOD_BYTES BUFFER_BYTES ]
@args.SERVER {
type string
default {
@func refer
name defaults.pipewire.server
}
}
@args.NODE {
type string
default {
@func refer
name defaults.pipewire.node
}
}
@args.EXCLUSIVE {
type integer
default {
@func refer
name defaults.pipewire.exclusive
}
}
@args.ROLE {
type string
default {
@func refer
name defaults.pipewire.role
}
}
@args.RATE {
type integer
default {
@func refer
name defaults.pipewire.rate
}
}
@args.FORMAT {
type string
Code: Select all
PipeWire 'pipewire-0' [0.3.65, patricia@acer, cookie:2094044995]
└─ Clients:
31. Cinnamon Volume Control Media Keys [0.3.65, patricia@acer, pid:1329]
32. Muffin [0.3.65, patricia@acer, pid:1487]
33. Cinnamon Volume Control [0.3.65, patricia@acer, pid:1487]
34. WirePlumber [0.3.65, patricia@acer, pid:3252]
35. WirePlumber [export] [0.3.65, patricia@acer, pid:3252]
55. PipeWire ALSA [squeezelite] [0.3.65, patricia@acer, pid:3919]
61. wpctl [0.3.65, patricia@acer, pid:5929]
Audio
├─ Devices:
│ 43. Raven/Raven2/Fenghuang HDMI/DP Audio Controller [alsa]
│ 44. Family 17h/19h HD Audio Controller [alsa]
│
├─ Sinks:
│ * 47. Family 17h/19h HD Audio Controller Analog Stereo [vol: 0.72]
│
├─ Sink endpoints:
│
├─ Sources:
│ * 48. Family 17h/19h HD Audio Controller Analog Stereo [vol: 1.00]
│
├─ Source endpoints:
│
└─ Streams:
56. PipeWire ALSA [squeezelite]
57. output_FL > ALC255 Analog:playback_FL [active]
58. output_FR > ALC255 Analog:playback_FR [active]
Video
├─ Devices:
│ 41. HD User Facing [v4l2]
│ 42. HD User Facing [v4l2]
│
├─ Sinks:
│
├─ Sink endpoints:
│
├─ Sources:
│ * 45. HD User Facing (V4L2)
│
├─ Source endpoints:
│
└─ Streams:
Settings
└─ Default Configured Node Names:
0. Audio/Sink alsa_output.pci-0000_05_00.6.analog-stereo
(END)