Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Khadas Tone Board
#17
Hello, here again.

this time with a Khadas Tone Board dac just acquired
There is a HAT card installed (HiFiBerry Digi+ Pro) but moOde is configured to use the usb dac
Everything is going fine except a PHP warning in the Audio Info

Formats: 
PHP Warning: Invalid argument supplied for foreach() in /usr/local/bin/moodeutl on line 189

I suppose this is just a "cosmetic" issue ... but I'm not sure

Thanks in advance

here the moodeutl -l info

Code:
pi@moode-pt:~ $ moodeutl -l
20200206 102541 worker: -- Start                                                                                                                      
20200206 102541 worker: Successfully daemonized                                                                                                      
20200206 102541 worker: Integrity check (passed)                                                                                                      
20200206 102541 worker: Session loaded                                                                                                                
20200206 102541 worker: Debug logging (off)                                                                                                          
20200206 102541 worker: Device raw: (0:ALSA|1:Control|i2s:none)                                                                                      
20200206 102541 worker: Device cfg: (USB audio device|1|1|Khadas Tone Control |0)                                                                    
20200206 102541 worker: ALSA volume set to (0%)                                                                                                      
20200206 102542 worker: -- System                                                                                                                    
20200206 102543 worker: Host name     (moode-pt)                                                                                                      
20200206 102543 worker: moOde release (6.4.1 2020-01-23)                                                                                              
20200206 102543 worker: Raspbian OS   (10.2)                                                                                                          
20200206 102543 worker: Linux kernel  (4.19.83-v8+ #1277)                                                                                            
20200206 102543 worker: Platform      (Pi-4B 4GB v1.1)                                                                                                
20200206 102543 worker: Architecture  (aarch64)                                                                                                      
20200206 102543 worker: MPD version   (0.21.16)                                                                                                      
20200206 102543 worker: CPU governor  (ondemand)                                                                                                      
20200206 102543 worker: USB boot not available                                                                                                        
20200206 102543 worker: File system expanded                                                                                                          
20200206 102543 worker: HDMI port off                                                                                                                
20200206 102543 worker: File check (OK)                                                                                                              
20200206 102543 worker: -- Network                                                                                                                    
20200206 102543 worker: eth0 exists                                                                                                                  
20200206 102543 worker: IP addr (10.0.1.33)                                                                                                          
20200206 102543 worker: Netmask (255.255.255.0)                                                                                                      
20200206 102543 worker: Gateway (10.0.1.1)                                                                                                            
20200206 102543 worker: Pri DNS (10.0.1.1)                                                                                                            
20200206 102543 worker: Domain  (None)                                                                                                                
20200206 102543 worker: wlan0 does not exist                                                                                                          
20200206 102543 worker: -- Audio                                                                                                                      
20200206 102543 worker: ALSA outputs unmuted                                                                                                          
20200206 102543 worker: ALSA card number (1)                                                                                                          
20200206 102543 worker: Audio output (USB audio device)                                                                                              
20200206 102544 worker: Audio formats (PHP Warning:  Invalid argument supplied for foreach() in /usr/local/bin/moodeutl on line 189)                  
20200206 102544 worker: ALSA mixer name (Khadas Tone Control )                                                                                        
20200206 102544 worker: MPD volume control (disabled)                                                                                                
20200206 102544 worker: Hdwr volume controller exists                                                                                                
20200206 102544 worker: Max ALSA volume (100%)                                                                                                        
20200206 102544 worker: -- Services                                                                                                                  
20200206 102544 worker: Reset renderer active state                                                                                                  
20200206 102544 worker: MPD conf updated                                                                                                              
20200206 102544 worker: MPD started                                                                                                                  
20200206 102545 worker: MPD accepting connections                                                                                                    
20200206 102545 worker: Configure MPD outputs                                                                                                        
20200206 102545 worker: MPD output 1 ALSA default (on)                                                                                                
20200206 102545 worker: MPD output 2 ALSA crossfeed (off)                                                                                            
20200206 102545 worker: MPD output 3 ALSA parametric eq (off)                                                                                        
20200206 102545 worker: MPD output 4 ALSA graphic eq (off)                                                                                            
20200206 102545 worker: MPD output 5 ALSA polarity inversion (off)                                                                                    
20200206 102545 worker: MPD output 6 ALSA bluetooth (off)                                                                                            
20200206 102545 worker: MPD output 7 HTTP stream (off)                                                                                                
20200206 102545 worker: MPD crossfade (off)                                                                                                          
20200206 102545 worker: Audio source (Local)                                                                                                          
20200206 102545 worker: Output device (Local)                                                                                                        
20200206 102545 worker: UPnP renderer started                                                                                                        
20200206 102545 worker: Shellinabox SSH started                                                                                                      
20200206 102545 worker: USB auto-mounter (udisks-glue)                                                                                                
20200206 102545 worker: -- Music sources                                                                                                              
20200206 102545 worker: USB sources (none attached)                                                                                                  
20200206 102545 worker: NAS and UPnP sources (none configured)                                                                                        
20200206 102545 worker: -- Miscellaneous                                                                                                              
20200206 102545 worker: Saved MPD vol level (0)                                                                                                      
20200206 102545 worker: Preamp volume level (0)                                                                                                      
20200206 102546 worker: MPD volume level (0) restored                                                                                                
20200206 102546 worker: ALSA volume level (100%)                                                                                                      
20200206 102546 worker: Auto-play (Off)                                                                                                              
20200206 102546 worker: Maintenance interval (3 hrs)                                                                                                  
20200206 102546 worker: Screen saver activation (Never)                                                                                              
20200206 102546 worker: Session permissions (OK)                                                                                                      
20200206 102546 worker: Watchdog started                                                                                                              
20200206 102546 worker: Ready

and the aplay -l info (if needed)

Code:
pi@moode-pt:~ $ aplay -l
**** List of PLAYBACK Hardware Devices ****                                                                                                          
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]                                                                                    
 Subdevices: 7/7                                                                                                                                    
 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                                                                                                                          
card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 IEC958/HDMI [bcm2835 IEC958/HDMI]                                                                      
 Subdevices: 1/1                                                                                                                                    
 Subdevice #0: subdevice #0                                                                                                                          
card 0: ALSA [bcm2835 ALSA], device 2: bcm2835 IEC958/HDMI1 [bcm2835 IEC958/HDMI1]                                                                    
 Subdevices: 1/1                                                                                                                                    
 Subdevice #0: subdevice #0                                                                                                                          
card 1: Control [Khadas Tone Control], device 0: USB Audio [USB Audio]                                                                                
 Subdevices: 1/1                                                                                                                                    
 Subdevice #0: subdevice #0                                                                                                                          
card 2: sndrpihifiberry [snd_rpi_hifiberry_digi], device 0: HiFiBerry Digi+ Pro HiFi wm8804-spdif-0 [HiFiBerry Digi+ Pro HiFi wm8804-spdif-0]        
 Subdevices: 1/1                                                                                                                                    
 Subdevice #0: subdevice #0    
Reply


Messages In This Thread
Khadas Tone Board - by jonners - 11-03-2018, 04:23 PM
RE: Khadas Tone Board - by DRONE7 - 11-04-2018, 02:43 AM
RE: Khadas Tone Board - by jonners - 11-04-2018, 10:03 AM
RE: Khadas Tone Board - by Tim Curtis - 03-25-2019, 11:52 AM
RE: Khadas Tone Board - by Tim Curtis - 03-25-2019, 04:08 PM
RE: Khadas Tone Board - by Tim Curtis - 03-25-2019, 04:34 PM
RE: Khadas Tone Board - by Tim Curtis - 03-25-2019, 05:38 PM
RE: Khadas Tone Board - by Tim Curtis - 03-25-2019, 08:13 PM
RE: Khadas Tone Board - by Tim Curtis - 03-25-2019, 09:21 PM
RE: Khadas Tone Board - by Tim Curtis - 03-25-2019, 09:26 PM
RE: Khadas Tone Board - by Tim Curtis - 03-26-2019, 03:34 PM
RE: Khadas Tone Board - by TheOldPresbyope - 03-30-2019, 08:27 PM
RE: Khadas Tone Board - by TheOldPresbyope - 06-15-2019, 11:40 AM
RE: Khadas Tone Board - by TheOldPresbyope - 09-09-2019, 11:41 AM
RE: Khadas Tone Board - by rrobot - 02-06-2020, 01:28 AM
RE: Khadas Tone Board - by stefano_mbp - 02-06-2020, 10:28 AM
RE: Khadas Tone Board - by Tim Curtis - 02-06-2020, 11:50 AM
RE: Khadas Tone Board - by stefano_mbp - 02-06-2020, 12:09 PM
RE: Khadas Tone Board - by Tim Curtis - 02-06-2020, 12:26 PM
RE: Khadas Tone Board - by stefano_mbp - 02-06-2020, 12:42 PM
RE: Khadas Tone Board - by Tim Curtis - 02-06-2020, 03:48 PM
RE: Khadas Tone Board - by stefano_mbp - 02-06-2020, 04:06 PM
RE: Khadas Tone Board - by TheOldPresbyope - 02-06-2020, 08:14 PM
RE: Khadas Tone Board - by stefano_mbp - 02-07-2020, 04:55 PM
RE: Khadas Tone Board - by TheOldPresbyope - 02-14-2020, 05:39 PM
RE: Khadas Tone Board - by Tim Curtis - 02-07-2020, 05:07 PM
RE: Khadas Tone Board - by DRONE7 - 02-08-2020, 12:10 AM
RE: Khadas Tone Board - by Tim Curtis - 02-08-2020, 02:01 AM
RE: Khadas Tone Board - by DRONE7 - 02-08-2020, 02:29 AM
RE: Khadas Tone Board - by Tim Curtis - 02-08-2020, 02:45 AM
RE: Khadas Tone Board - by DRONE7 - 02-08-2020, 03:28 AM
RE: Khadas Tone Board - by williamlawson - 05-10-2021, 08:45 PM
RE: Khadas Tone Board - by Tim Curtis - 05-11-2021, 01:11 AM
RE: Khadas Tone Board - by TheOldPresbyope - 05-11-2021, 11:06 PM
RE: Khadas Tone Board - by Tim Curtis - 05-12-2021, 01:00 AM
RE: Khadas Tone Board - by TheOldPresbyope - 05-12-2021, 01:34 AM
RE: Khadas Tone Board - by Tim Curtis - 05-12-2021, 01:55 AM
RE: Khadas Tone Board - by TheOldPresbyope - 05-12-2021, 03:44 PM
RE: Khadas Tone Board - by Tim Curtis - 05-12-2021, 10:00 PM
RE: Khadas Tone Board - by williamlawson - 05-14-2021, 07:19 PM
RE: Khadas Tone Board - by TheOldPresbyope - 05-14-2021, 07:46 PM
RE: Khadas Tone Board - by Tim Curtis - 05-14-2021, 08:34 PM
RE: Khadas Tone Board - by TheOldPresbyope - 05-14-2021, 10:28 PM
RE: Khadas Tone Board - by williamlawson - 05-14-2021, 08:44 PM
RE: Khadas Tone Board - by Tim Curtis - 05-15-2021, 12:05 AM

Forum Jump: