Thank you for your donation!


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


Failed to open Alsa device "hw:1,0" no such file or directory
#13
(10-22-2019, 09:53 PM)Tim Curtis Wrote: Post output from the cmds below and I'll have a look.

Code:
aplay -l

also-capabilities (run this cmd when playback is stopped)

Code:
pi@moode:~ $ 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 2: B20 [BursonAudio USB Audio 2.0], device 0: USB Audio [USB Audio]
 Subdevices: 1/1
 Subdevice #0: subdevice #0


Code:
pi@moode:~ $ alsa-capabilities
1) Analog output interface hw:0,0 (or hw:ALSA,0)
- card name         = ALSA                                                    
- card label        = bcm2835 ALSA                                            
- interface name    = bcm2835 ALSA                                            
- usb audio class   = (n/a)                                                    
- character device  = /dev/snd/pcmC0D0p                                        
- encoding formats  = U8, S16_LE                                              
- monitor file      = /proc/asound/card0/pcm0p/sub0/hw_params                  
- stream file       = (n/a)                                                    

2) Digital output interface hw:0,1 (or hw:ALSA,1)
- card name         = ALSA                                                    
- card label        = bcm2835 ALSA                                            
- interface name    = bcm2835 IEC958/HDMI                                      
- usb audio class   = (n/a)                                                    
- character device  = /dev/snd/pcmC0D1p                                        
- encoding formats  = S16_LE                                                  
- monitor file      = /proc/asound/card0/pcm1p/sub0/hw_params                  
- stream file       = (n/a)                                                    

3) Digital output interface hw:0,2 (or hw:ALSA,2)
- card name         = ALSA                                                    
- card label        = bcm2835 ALSA                                            
- interface name    = bcm2835 IEC958/HDMI1                                    
- usb audio class   = (n/a)                                                    
- character device  = /dev/snd/pcmC0D2p                                        
- encoding formats  = S16_LE                                                  
- monitor file      = /proc/asound/card0/pcm2p/sub0/hw_params                  
- stream file       = (n/a)                                                    

4) Digital USB Audio Class output interface hw:2,0 (or hw:B20,0)
- card name         = B20                                                      
- card label        = BursonAudio USB Audio 2.0                                
- interface name    = USB Audio                                                
- usb audio class   = 2 - isochronous asynchronous                            
- character device  = /dev/snd/pcmC2D0p                                        
- encoding formats  = S32_LE, SPECIAL DSD_U32_BE                              
- monitor file      = /proc/asound/card2/pcm0p/sub0/hw_params                  
- stream file       = /proc/asound/card2/stream0

Thank you Tim & Kent! Smile
Reply


Messages In This Thread
RE: Failed to open Alsa device "hw:1,0" no such file or directory - by Deenoo - 10-23-2019, 08:19 AM

Forum Jump: