Jump to content
Sign in to follow this  
lloydhussell

pcm_open() failed for device that isn't on system.

Recommended Posts

So I keep getting this error a lot of times when debugging. It must be using some overhead that I don't want.

 

2023-10-20 17:27:07.756   254-3997  AudioHardwareTiny       android.hardware.audio.service       E  pcm_open() failed: cannot open device '/dev/snd/pcmC4294967295D0c': No such file or directory
2023-10-20 17:27:07.760  1910-1910  HidlServiceManagement   com.android.phone                    W  Waited one second for android.hardware.radio@1.1::IRadio/slot1
2023-10-20 17:27:07.761   152-152   hwservicemanager        hwservicemanager                     I  Since android.hardware.radio@1.1::IRadio/slot1 is not registered, trying to start it as a lazy HAL.
2023-10-20 17:27:07.762  1910-1910  HidlServiceManagement   com.android.phone                    I  getService: Trying again for android.hardware.radio@1.1::IRadio/slot1...
2023-10-20 17:27:07.764   152-4296  libc                    hwservicemanager                     W  Unable to set property "ctl.interface_start" to "android.hardware.radio@1.1::IRadio/slot1": error code: 0x20
2023-10-20 17:27:07.766   254-3997  AudioHardwareTiny       android.hardware.audio.service       D  in->Device     : 0x4
2023-10-20 17:27:07.767   254-3997  AudioHardwareTiny       android.hardware.audio.service       D  in->SampleRate : 44100
2023-10-20 17:27:07.767   254-3997  AudioHardwareTiny       android.hardware.audio.service       D  in->Channels   : 2
2023-10-20 17:27:07.767   254-3997  AudioHardwareTiny       android.hardware.audio.service       D  in->Formate    : 0
2023-10-20 17:27:07.767   254-3997  AudioHardwareTiny       android.hardware.audio.service       D  in->PreiodSize : 441
2023-10-20 17:27:07.767   254-3997  AudioHardwareTiny       android.hardware.audio.service       D  No exist proc/asound/card2/id, break and finish parsing
2023-10-20 17:27:07.767   254-3997  AudioHardwareTiny       android.hardware.audio.service       D  dump in device info
2023-10-20 17:27:07.767   254-3997  AudioHardwareTiny       android.hardware.audio.service       E  getInputRouteFromDevice:device:80000004
2023-10-20 17:27:07.768   254-3997  alsa_route              android.hardware.audio.service       E  route_pcm_card_open() card -1 error!
2023-10-20 17:27:07.768   254-3997  RKDENOISE               android.hardware.audio.service       D  rkdenoise_destroy: rkdenoise context destroy
2023-10-20 17:27:07.768   254-3997  RKDENOISE               android.hardware.audio.service       D  rkdenoise_create: rate:44100 ch:2, flag:2
2023-10-20 17:27:07.770   254-3997  RKDENOISE               android.hardware.audio.service       D  _skv_denoise_create: loading api(rkaudio_anr_param_deinit)...
2023-10-20 17:27:07.770   254-3997  RKDENOISE               android.hardware.audio.service       D  _skv_denoise_create: loading api(skv_anr_param_printf)...
2023-10-20 17:27:07.770   254-3997  RKDENOISE               android.hardware.audio.service       D  _skv_denoise_create: loading api(skv_anr_destory)...
2023-10-20 17:27:07.770   254-3997  RKDENOISE               android.hardware.audio.service       D  _skv_denoise_create: loading api(skv_anr_process_time)...
2023-10-20 17:27:07.770   254-3997  RKDENOISE               android.hardware.audio.service       D  _skv_denoise_create: loading api(skv_anrstruct_bank_init)...
2023-10-20 17:27:07.771   254-3997  RKDENOISE               android.hardware.audio.service       D  _skv_denoise_create: skv denoise create okay period:441

And I had a look in /dev/snd/ on the device and all I found were:
 

crw-rw---- 1 system audio 116,   3 2013-01-18 08:50 controlC0
crw-rw---- 1 system audio 116,   5 2013-01-18 08:50 controlC1
crw-rw---- 1 system audio 116,   2 2013-01-18 08:50 pcmC0D0p
crw-rw---- 1 system audio 116,   4 2013-01-18 08:50 pcmC1D0p
crw-rw---- 1 system audio 116,  33 2013-01-18 08:50 timer

Is there a way I can stop this process from trying to get the audio driver/device that's not even there? 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...