Kodi Community Forum
Linux '/dev/snd/pcmC0D0p' failed (-2): No such file or directory - Printable Version

Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228)
---- Thread: Linux '/dev/snd/pcmC0D0p' failed (-2): No such file or directory (/showthread.php?tid=143936)



'/dev/snd/pcmC0D0p' failed (-2): No such file or directory - kasunt - 2012-10-29

Hi guys,

Im getting this weird error while running XBMC with 2.0 analog audio over HDMI. Full debug log is at http://paste.ubuntu.com/1316456/

Code:
23:39:10 T:140401284069248    INFO: CAESinkALSA - ALSA: pcm_hw.c:1293:(snd_pcm_hw_open) open '/dev/snd/pcmC0D0p' failed (-2): No such file or directory
23:39:10 T:140401284069248    INFO: CAESinkALSA - ALSA: pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
23:39:10 T:140401284069248    INFO: CAESinkALSA - Unable to open device "default" for playback
23:39:10 T:140401284069248   DEBUG: CAESinkALSA - HDMI device "hdmi:CARD=Generic,DEV=0" may be unconnected (no ELD data)
23:39:10 T:140401284069248   ERROR: CAESinkOSS::EnumerateDevicesEx - Failed to open mixer: /dev/mixer
23:39:10 T:140401284069248  NOTICE: Enumerated ALSA devices:
23:39:10 T:140401284069248  NOTICE:     Device 1
23:39:10 T:140401284069248  NOTICE:         m_deviceName      : hdmi:CARD=Generic,DEV=0
23:39:10 T:140401284069248  NOTICE:         m_displayName     : HD-Audio Generic
23:39:10 T:140401284069248  NOTICE:         m_displayNameExtra: HDMI
23:39:10 T:140401284069248  NOTICE:         m_deviceType      : AE_DEVTYPE_HDMI
23:39:10 T:140401284069248  NOTICE:         m_channels        : FL,FR
23:39:10 T:140401284069248  NOTICE:         m_sampleRates     : 32000,44100,48000
23:39:10 T:140401284069248  NOTICE:         m_dataFormats     : AE_FMT_S16NE,AE_FMT_S16LE
23:39:10 T:140401284069248  NOTICE:     Device 2
23:39:10 T:140401284069248  NOTICE:         m_deviceName      : @:CARD=SB,DEV=0
23:39:10 T:140401284069248  NOTICE:         m_displayName     : HDA ATI SB
23:39:10 T:140401284069248  NOTICE:         m_displayNameExtra: ALC887-VD Analog
23:39:10 T:140401284069248  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
23:39:10 T:140401284069248  NOTICE:         m_channels        : FL,FR,BL,BR,FC,LFE
23:39:10 T:140401284069248  NOTICE:         m_sampleRates     : 44100,48000,96000,192000
23:39:10 T:140401284069248  NOTICE:         m_dataFormats     : AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S16LE
23:39:10 T:140401284069248  NOTICE:     Device 3
23:39:10 T:140401284069248  NOTICE:         m_deviceName      : iec958:CARD=SB,DEV=0
23:39:10 T:140401284069248  NOTICE:         m_displayName     : HDA ATI SB
23:39:10 T:140401284069248  NOTICE:         m_displayNameExtra: ALC887-VD Digital S/PDIF
23:39:10 T:140401284069248  NOTICE:         m_deviceType      : AE_DEVTYPE_IEC958
23:39:10 T:140401284069248  NOTICE:         m_channels        : FL,FR
23:39:10 T:140401284069248  NOTICE:         m_sampleRates     : 32000,44100,48000,88200,96000,192000
23:39:10 T:140401284069248  NOTICE:         m_dataFormats     : AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S16LE

Output from aplay

Code:
[email protected]:~$ 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: SB [HDA ATI SB], device 0: ALC887-VD Analog [ALC887-VD Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: SB [HDA ATI SB], device 1: ALC887-VD Digital [ALC887-VD Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

[email protected]:~$ aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
hdmi:CARD=Generic,DEV=0
    HD-Audio Generic, HDMI 0
    HDMI Audio Output
dmix:CARD=Generic,DEV=3
    HD-Audio Generic, HDMI 0
    Direct sample mixing device
dsnoop:CARD=Generic,DEV=3
    HD-Audio Generic, HDMI 0
    Direct sample snooping device
hw:CARD=Generic,DEV=3
    HD-Audio Generic, HDMI 0
    Direct hardware device without any conversions
plughw:CARD=Generic,DEV=3
    HD-Audio Generic, HDMI 0
    Hardware device with all software conversions
default:CARD=SB
    HDA ATI SB, ALC887-VD Analog
    Default Audio Device
sysdefault:CARD=SB
    HDA ATI SB, ALC887-VD Analog
    Default Audio Device
front:CARD=SB,DEV=0
    HDA ATI SB, ALC887-VD Analog
    Front speakers
surround40:CARD=SB,DEV=0
    HDA ATI SB, ALC887-VD Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=SB,DEV=0
    HDA ATI SB, ALC887-VD Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=SB,DEV=0
    HDA ATI SB, ALC887-VD Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=SB,DEV=0
    HDA ATI SB, ALC887-VD Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=SB,DEV=0
    HDA ATI SB, ALC887-VD Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=SB,DEV=0
    HDA ATI SB, ALC887-VD Digital
    IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=SB,DEV=0
    HDA ATI SB, ALC887-VD Analog
    Direct sample mixing device
dmix:CARD=SB,DEV=1
    HDA ATI SB, ALC887-VD Digital
    Direct sample mixing device
dsnoop:CARD=SB,DEV=0
    HDA ATI SB, ALC887-VD Analog
    Direct sample snooping device
dsnoop:CARD=SB,DEV=1
    HDA ATI SB, ALC887-VD Digital
    Direct sample snooping device
hw:CARD=SB,DEV=0
    HDA ATI SB, ALC887-VD Analog
    Direct hardware device without any conversions
hw:CARD=SB,DEV=1
    HDA ATI SB, ALC887-VD Digital
    Direct hardware device without any conversions
plughw:CARD=SB,DEV=0
    HDA ATI SB, ALC887-VD Analog
    Hardware device with all software conversions
plughw:CARD=SB,DEV=1
    HDA ATI SB, ALC887-VD Digital
    Hardware device with all software conversions



RE: '/dev/snd/pcmC0D0p' failed (-2): No such file or directory - kasunt - 2012-10-30

Latest FernetMenta branch seems to have resolved this issue.


This forum uses Lukasz Tkacz MyBB addons.