AnsweredAssumed Answered

Adding CAP_SYS_NICE capabilities to audio_hw_primary

Question asked by Amit Kulkarni on Apr 19, 2020

I am working on imx8qm running with Android 9 auto.  I would like to add CAP_SYS_NICE capabilities to audio_hw_primary as i am seeing below warning when i do BT call. I am aware that changes might be required in fs_config.cpp. How can i add the same. ?? Request you to throw some light here. 

 

04-17 07:00:49.048 1826 2029 I audio_hw_primary: create_resampler rsmpl_sco_rx, in rate 8000, out rate 48000
04-17 07:00:49.049 1838 1936 E display : updateScreen invalid drmfd
04-17 07:00:49.050 1826 2029 W libc : pthread_create sched_setscheduler(1, {3}) call failed: Operation not permitted
04-17 07:00:49.050 1826 2029 I audio_hw_primary: sco_rx_task create ret 0, tid_sco_rx -261097104

.

.

.

04-17 07:00:49.072 1826 2029 I audio_hw_primary: create_resampler rsmpl_sco_tx, in rate 48000, out rate 8000
04-17 07:00:49.073 1826 2029 W libc : pthread_create sched_setscheduler(1, {3}) call failed: Operation not permitted
04-17 07:00:49.073 1826 2029 I audio_hw_primary: sco_tx_task create ret 0, tid_sco_tx -262137488

Outcomes