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)

[Q] wt19i root
Started by emmet05
Last post by chelsea.schmeler
3 hours ago
Last post by princess.gerhold
3 hours ago
Last post by powlowski.keagan
1 hour ago
Last post by katlyn45
3 hours ago
Last post by baylee.cummerata
2 hours ago
Hi there,
Started by kub.dock
Last post by anna10
4 hours ago
Last post by meagan.mcglynn
4 hours ago
Plz HELP
Started by xmurazik
Last post by aleen.parker
2 hours ago
Last post by jordy.oconnell
48 minutes ago
Last post by nolan52
3 hours ago
Last post by ondricka.tabitha
3 hours ago
Last post by mayert.donny
1 hour ago
Last post by vshields
4 hours ago
Last post by zhyatt
4 hours ago