Home > other >  Shut in the kernel configuration file CONFIG_PRINTK, resulting in the application layer open device
Shut in the kernel configuration file CONFIG_PRINTK, resulting in the application layer open device

Time:10-03

As title, the kernel CONFIG_PRINTK=y CONFIG_PRINTK instead in the configuration file is not set, lead to in the application layer to call open open/dev/XXX device node failure, the device node is our own registered,

Open ("/dev/hi_vdec O_RDWR | O_NONBLOCK, 0).

Equipment is:
# the ls/dev/hi_vdec -l
CRW - rw - 1 STB STB, 218, 8 Jan 1 00:00/dev/hi_vdec

Before modification can be normal open, open the failure after modification, the open failed: Operation not permitted, consult everybody a great god,
  • Related