Quantcast
Channel: Active questions tagged kernel - Stack Overflow
Viewing all articles
Browse latest Browse all 6334

The reason that IOCTL to kernel give error "not a typewriter" in android source code

$
0
0

I prepare some IOCTL interfaces at kernel module of android. Then at android source code I open file dicriptor(fd) with path /proc/aaa and call desire ioctl with this fd. It is working well when I run a app on android. But it will give me the error 25 not a typewriter when I run a Pubg game on android. I trace with dmesg and figure out that ioctl in this case are not called at all. I test changing major number for my defined IOCTL but it didnt works. Could any body help me to debug and find the solution.

Thanks,Ehsan


Viewing all articles
Browse latest Browse all 6334

Trending Articles