E xx: xxxx:xx ERR thread 0x536753929472 setscheduler failed Operation not permitted
The “setscheduler failed Operation not permitted” error occurred when setting the thread priority via sched_setscheduler.
int ret = sched_setscheduler(pthread_gettid_np((pthread_t)pHandle), SCHED_RR, &prio);
Solution:
add the following contents to the process startup parameters:
capabilities SYS_NICE
init.target.rc
service xxxxxx /system/vendor/bin/xxxxxx
class core
user system
group camera input graphics
disabled
onrestart restart evs_driver
onrestart restart qcarcam_hal
capabilities SYS_NICE
Read More:
- scp Command: Unable to negotiate with xxx.xx.xx.xx port 22: no matching cipher found.
- SSH Connect Service Error: Could not connect to ‘xxx.xxx.xx.xx‘ (port 22): Connection failed.
- Error: EACCES: permission denied, unlink ‘xxxx/xxxx/xxxx‘ [How to Solve]
- [Solved] error:getaddrinfo ENOTFOUND xxx.xxxx.com xxx.xxxx.com:443
- [Solved] YUM Error: error: rpmdb: BDB0113 Thread/process 11498/140107732375616 failed
- [Solved] Failed to connect to 127.0.0.1 port XXXX: Connection refused
- [Solved] Error: X_LINK_COMMUNICATION_NOT_OPEN or X_LINK_ERROR
- [Solved] yum Install rpmdb Error: error: rpmdb: BDB0113 failed: BDB1507 Thread died in Berkeley DB library
- ros2 apt-get install error: E: Failed to fetch http://packages.ros.org…
- npm ERR! Failed at the [email protected] install script.
- [Solved] Ubuntu Open jpg Image Error: Error interpreting JPEG image file (Not a JPEG file: starts with 0x89 0x50)
- [Solved] error: rpmdb: BDB0113 Thread/process
- [Solved] yum error: rpmdb: BDB0113 Thread/process
- [Solved] Error detected while processing /root/.vimrc: E492: Not an editor command: Plug ‘scrooloose/nerdtree’
- [Solved] Cannot run program “svn” (in directory “D: xxxx”): CreateProcess error=2, the system cannot find the specified file.
- [How to Solve] Too many authentication failures for xxxx_username
- Windows11 Install Ubuntu Error: WslRegisterDistribution failed with error: 0x800701bc
- [Solved] wsl Error: WslRegisterDistribution failed with error: 0x800701bc
- [Solved] WSL error: wslregisterdistribution failed with error: 0x800701bc
- Hadoop 3.2.0 idea development environment construction and HDFS read write API operation