Posts: 14,035
Threads: 320
Joined: Mar 2018
Reputation:
571
Thats odd. Post the following command output and let see if anything looks suspicious.
Code: aplay -l
aplay -L
lsusb -V
Posts: 20
Threads: 3
Joined: Aug 2020
Reputation:
1
08-06-2020, 09:11 PM
(This post was last modified: 09-06-2021, 06:47 AM by DRONE7.
Edit Reason: code tags
)
Here are the reports; thanks for your help...
Code: aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Headphones [bcm2835 Headphones], device 0: bcm2835 Headphones [bcm2835 Headphones]
Subdevices: 8/8
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
card 1: R51PM [R-51PM], device 0: USB Audio [USB Audio]
Subdevices: 0/1
Subdevice #0: subdevice #0
aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
btaplay_dmix
alsaequal
plug_alsaequal
btstream
crossfeed
plug_bs2b
eqfa4p
plug_eqfa4p
invpolarity
default:CARD=Headphones
bcm2835 Headphones, bcm2835 Headphones
Default Audio Device
sysdefault:CARD=Headphones
bcm2835 Headphones, bcm2835 Headphones
Default Audio Device
dmix:CARD=Headphones,DEV=0
bcm2835 Headphones, bcm2835 Headphones
Direct sample mixing device
dsnoop:CARD=Headphones,DEV=0
bcm2835 Headphones, bcm2835 Headphones
Direct sample snooping device
hw:CARD=Headphones,DEV=0
bcm2835 Headphones, bcm2835 Headphones
Direct hardware device without any conversions
plughw:CARD=Headphones,DEV=0
bcm2835 Headphones, bcm2835 Headphones
Hardware device with all software conversions
default:CARD=R51PM
R-51PM, USB Audio
Default Audio Device
sysdefault:CARD=R51PM
R-51PM, USB Audio
Default Audio Device
front:CARD=R51PM,DEV=0
R-51PM, USB Audio
Front speakers
surround21:CARD=R51PM,DEV=0
R-51PM, USB Audio
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=R51PM,DEV=0
R-51PM, USB Audio
4.0 Surround output to Front and Rear speakers
surround41:CARD=R51PM,DEV=0
R-51PM, USB Audio
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=R51PM,DEV=0
R-51PM, USB Audio
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=R51PM,DEV=0
R-51PM, USB Audio
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=R51PM,DEV=0
R-51PM, USB Audio
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=R51PM,DEV=0
R-51PM, USB Audio
IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=R51PM,DEV=0
R-51PM, USB Audio
Direct sample mixing device
dsnoop:CARD=R51PM,DEV=0
R-51PM, USB Audio
Direct sample snooping device
hw:CARD=R51PM,DEV=0
R-51PM, USB Audio
Direct hardware device without any conversions
plughw:CARD=R51PM,DEV=0
R-51PM, USB Audio
Hardware device with all software conversions
lsusb -V
lsusb (usbutils) 010
Posts: 14,035
Threads: 320
Joined: Mar 2018
Reputation:
571
Nothing unusual from what I can see.
You could try swapping in a Pi3B+ or a different USB cable, something like that.
The other option is to try a S/PDIF board to see if that interface works with the speaks.
Posts: 20
Threads: 3
Joined: Aug 2020
Reputation:
1
OK Tim, thanks. I'm wondering if a HAT with Toslink would be better than or equal to Pi3 USB as far as audio quality.
Posts: 6,226
Threads: 185
Joined: Apr 2018
Reputation:
251
(07-16-2020, 12:36 PM)Tim Curtis Wrote: USB Audio devices are supported by a single, universal driver in Linux plus a kernel "quirks" configuration file that contains all the specific settings and parameters for various USB Audio chipsets.
If a USB Audio device fails to show up in the output of the command below it could be due to a hardware or power issue or that its not compatible with Linux USB Audio driver / quirks config.
ETA: the UAC2 fix was an old hack to help eliminate audio glitches that were the result of bugs in the Linux USB Audio driver. I don't think its even needed anymore.
(08-06-2020, 09:52 PM)Lusayalumino Wrote: OK Tim, thanks. I'm wondering if a HAT with Toslink would be better than or equal to Pi3 USB as far as audio quality.
A nice article comparing USB and S/PDIF, with a mention of Toslink as well, is USB versus SPDIF on thewelltemperedcomputer.com.
Posts: 20
Threads: 3
Joined: Aug 2020
Reputation:
1
Reading now; appreciate that!
Posts: 21
Threads: 0
Joined: Sep 2021
Reputation:
0
(08-06-2020, 05:06 PM)Lusayalumino Wrote: I have a Raspberry Pi 4 and a pair of Klipsch R-51PM Active Speakers (running Moode 6.7.1). Since the speakers have a built-in DAC and a 100% digital amp, I want to keep the signal digital throughout the entire pipeline -- so I figured I'd use the USB output on the Pi. Moode recognizes the speakers, but no audio will come out of them. One time (in ~10 boot-ups) they did actually work with the settings below:
I2S = None
MPD = Set to my speakers (Moode sees them no problem)
Volume Control = Hardware
Volume Control = Disabled / 0db
DSD over PM = No
UAC2 Fix = No
Tried USB 2.0 and 3.0 ports (the one time it worked was on USB 3.0)
Moode seems to think it's playing to the speakers; there are no errors or warnings. I tried hooking up another powered USB speaker (SoundBlaster Roar 2 with built-in DAC and Amp) and it works perfectly (using the settings above). The Klipsch work fine with my windows 10 computer. I'm stumped.
I have HDMI turned off and am accessing Moode through the Pi 7" touchscreen (which by the way is absolutely amazing with the Moode Theme "PUre Black" which works perfectly on a screen that size).
Also, would there be any audio quality improvement if I purchased a HAT with Toslink Audio as opposed to the native R Pi 4 USB audio?
Any advice for a newbie?
Posts: 21
Threads: 0
Joined: Sep 2021
Reputation:
0
(09-04-2021, 11:42 AM)pyhfsg Wrote: (08-06-2020, 05:06 PM)Lusayalumino Wrote: I have a Raspberry Pi 4 and a pair of Klipsch R-51PM Active Speakers (running Moode 6.7.1). Since the speakers have a built-in DAC and a 100% digital amp, I want to keep the signal digital throughout the entire pipeline -- so I figured I'd use the USB output on the Pi. Moode recognizes the speakers, but no audio will come out of them. One time (in ~10 boot-ups) they did actually work with the settings below:
I2S = None
MPD = Set to my speakers (Moode sees them no problem)
Volume Control = Hardware
Volume Control = Disabled / 0db
DSD over PM = No
UAC2 Fix = No
Tried USB 2.0 and 3.0 ports (the one time it worked was on USB 3.0)
Moode seems to think it's playing to the speakers; there are no errors or warnings. I tried hooking up another powered USB speaker (SoundBlaster Roar 2 with built-in DAC and Amp) and it works perfectly (using the settings above). The Klipsch work fine with my windows 10 computer. I'm stumped.
I have HDMI turned off and am accessing Moode through the Pi 7" touchscreen (which by the way is absolutely amazing with the Moode Theme "PUre Black" which works perfectly on a screen that size).
Also, would there be any audio quality improvement if I purchased a HAT with Toslink Audio as opposed to the native R Pi 4 USB audio?
Any advice for a newbie? Newbie here. I am in the exact predicament. I got my RPi4B 2 days ago and wanted to connect my PSB Alpha AM3 active speaker to the RPi USB port.I tried Volumio for the last 2 days, could not get it work, there were so many issues with the installation, i gave up. Now, I am trying Moode and must said the installation was smoother, Moode has no problem of recognising the active speaker connected to the USB port. But there is no sound coming out even though I see it is playing. I tried your settings above but no difference. Wonder if you managed to resolve the problem.
Posts: 14,035
Threads: 320
Joined: Mar 2018
Reputation:
571
Reboot and then post the Moode log.
Posts: 21
Threads: 0
Joined: Sep 2021
Reputation:
0
09-04-2021, 01:08 PM
(This post was last modified: 09-06-2021, 06:46 AM by DRONE7.
Edit Reason: code tags
)
(09-04-2021, 12:17 PM)Tim Curtis Wrote: Reboot and then post the Moode log.
Here is the log. One other thing I just noticed. I can playback the audio file (Stero Test) on the SD card without any problem. Thanks for your help in advance.
Code: pi@moode:~ $ moodeutl -l
20210904 204536 worker: -- Start
20210904 204536 worker: Successfully daemonized
20210904 204536 worker: Integrity check (passed)
20210904 204537 worker: File check (OK)
20210904 204537 worker: Session vacuumed
20210904 204537 worker: Session loaded
20210904 204537 worker: Debug logging (OFF)
20210904 204537 worker: -- Audio debug
20210904 204537 worker: ALSA cards: (0:b1 | 1:Headphones | 2:AM3 | 3:empty
20210904 204537 worker: MPD config: (2:PSB Alpha AM3 | mixer:(PCM) | card:2)
20210904 204537 worker: ALSA mixer actual (PCM)
20210904 204537 worker: ALSA PCM volume set to (0%)
20210904 204537 worker: -- System
20210904 204539 worker: Host (moode)
20210904 204539 worker: moOde (7.3.0 2021-06-25)
20210904 204539 worker: RaspiOS (10.6)
20210904 204539 worker: Kernel (5.4.77-v7l+ #1371)
20210904 204539 worker: Platform (Pi-4B 1.4 2GB)
20210904 204539 worker: ARM arch (armv7l, 32-bit kernel)
20210904 204539 worker: MPD ver (0.22.8_p0x3)
20210904 204539 worker: CPU gov (ondemand)
20210904 204539 worker: USB boot not available
20210904 204539 worker: File system not expanded yet
20210904 204539 worker: HDMI port off
20210904 204539 worker: -- Network
20210904 204539 worker: eth0 exists
20210904 204539 worker: IP addr (192.168.86.76)
20210904 204539 worker: Netmask (255.255.255.0)
20210904 204539 worker: Gateway (192.168.86.1)
20210904 204539 worker: Pri DNS (192.168.86.1)
20210904 204539 worker: Domain (None)
20210904 204539 worker: wlan0 does not exist
20210904 204539 worker: -- Audio config
20210904 204539 worker: ALSA card number (2)
20210904 204539 worker: MPD audio output (PSB Alpha AM3)
20210904 204539 worker: Audio formats (S16_LE)
20210904 204539 worker: ALSA mixer name (PCM)
20210904 204539 worker: MPD volume control (hardware)
20210904 204539 worker: Hdwr volume controller exists
20210904 204539 worker: Max ALSA volume (100%)
20210904 204539 worker: ALSA output mode (Direct: hw)
20210904 204539 worker: ALSA loopback (Off)
20210904 204539 worker: Reset renderer active flags
20210904 204539 worker: CamillaDSP (off)
20210904 204539 worker: -- MPD startup
20210904 204540 worker: MPD started
20210904 204540 worker: MPD accepting connections
20210904 204540 worker: MPD output 1 ALSA Default (on)
20210904 204540 worker: MPD output 2 ALSA Bluetooth (off)
20210904 204540 worker: MPD output 3 HTTP Server (off)
20210904 204540 worker: MPD crossfade (off)
20210904 204540 worker: MPD ignore CUE files (yes)
20210904 204540 worker: -- Feature availability
20210904 204540 worker: Source select (available)
20210904 204540 worker: Source select (source: MPD)
20210904 204540 worker: Source select (output: PSB Alpha AM3)
20210904 204540 worker: Bluetooth (available)
20210904 204540 worker: Airplay renderer (available: started)
20210904 204540 worker: Spotify renderer (available: started)
20210904 204540 worker: Squeezelite (available)
20210904 204540 worker: RoonBridge renderer (not installed)
20210904 204540 worker: UPnP renderer (available)
20210904 204540 worker: DLNA server (available)
20210904 204540 worker: UPnP browser (available)
20210904 204540 worker: GPIO button handler (available)
20210904 204540 worker: Stream recorder (n/a)
20210904 204540 worker: -- Music sources
20210904 204540 worker: USB sources (none attached)
20210904 204540 worker: NAS and UPnP sources (none configured)
20210904 204540 worker: -- Other
20210904 204540 worker: USB volume knob (Off)
20210904 204540 worker: USB auto-mounter (udisks-glue)
20210904 204540 worker: LED0 (On)
20210904 204540 worker: LED1 (On)
20210904 204540 worker: Saved MPD vol level (0)
20210904 204540 worker: Preamp volume level (0)
20210904 204540 worker: MPD volume level (93) restored
20210904 204541 worker: ALSA PCM volume (98%)
20210904 204541 worker: Auto-play (Off)
20210904 204541 worker: Maintenance interval (3 hours)
20210904 204541 worker: Screen saver activation (Never)
20210904 204541 worker: Session permissions (OK)
20210904 204541 worker: Watchdog started
20210904 204541 worker: Ready
20210904 205241 worker: Job update_library
20210904 205241 mpdindex: Start
20210904 205242 thmcache: Start
20210904 205242 thmcache: Priority: Embedded cover
20210904 205242 thmcache: Res,Qual: Auto
20210904 205242 thmcache: Px ratio: 2
20210904 205242 thmcache: Th width: 200
20210904 205242 thmcache: Thm qual: 75
20210904 205242 thmcache: Scanning: NAS, SDCARD, UPNP
20210904 205242 thmcache: Done: 1 folders scanned, 0 thumbs created, 1 already in cache.
20210904 205245 mpdindex: Done: indexed 1 artists, 1 albums, 1 songs
20210904 205245 worker: Job update_library done
|