Ioctls for /dev/jpeg2 on nexus 6p

Hi, everyone. I am having a problem here and hope someone can give an advise.
I got a arm32 binary running on my nexus 6p with android 8.1. I crosscompiled the qemu and use the user mode to run that binary on my nexus 6p. And I found out that there are some ioctls that qemu doesn't support even with the latest version. And for my binary, it opens /dev/jpeg2 and use ioctls. Actually in my device, there are jpeg1-jpeg4 under /dev. So if I want to add those ioctls for qemu, I have to find what ioctls /dev/jpeg2 provides. And the thing is that I can't find that, it seems it's provided by qualcomm and don't have the source code.

One thing I've found is this one:
root/drivers/media/video/msm/jpeg_10/msm_jpeg_sync.c (Seems new users can't put url)
It seems right, but I tried to add those ioctls and failed. And this code has no /dev/jpeg2. I have no idea what should I do. Can anyone give me some suggestions?

Show Accepted Answer

Guest Quick Reply (No URL, BBcode or HTML)

Last post by grimes.noel
3 hours ago
Last post by pfeffer.maxie
2 hours ago
Last post by kuhlman.kenya
3 hours ago
Last post by art23
3 hours ago
Last post by bhilpert
2 hours ago
Last post by dawson.cole
4 hours ago
Last post by nyasia15
4 hours ago
Last post by price.frederik
2 hours ago
Last post by odie60
3 hours ago
Last post by gabe73
3 hours ago