Open faenil opened 1 year ago
Failed to open fingerprint device! fd=-1, strerror=No such file or directory
Alin asked me to port the fingerprint on the kernel side (and then perform the usual validation suite in userspace) before definitively releasing this, but I've been hampered by unstable devices. Fortunately you just caught and fixed the biggest derailer in #795 and I have a long weekend coming up, will test and push the port on Friday!
amazing, thanks for the update, I will skip and focus on something else then :rocket:
Turns out Nagara isn't as easy to port, it has been a few platforms since that happened. I still have to refactor more parts of the HAL but the basics are there to support the new DMA-BUF heap API over ION (and after some digging, there's a helper library I'll use instead of manually doing the switcheroo):
https://github.com/MarijnS95/vendor-sony-oss-fingerprint/commits/dma-heap
Then for the kernel side the IRQ pin remains high and the hardware always returns ID 0
, probably missing some setup or doing the setup (most likely resets) wrong. When flipping IRQ polarity the scanner gets all the way into enroll (because the HAL isn't deathlooping itself on some inexistant Finger
event) but then never raises the IRQ when a finger is presented as if the HW is dormant. I strongly doubt it'd get this far if it doesn't touch the memory so something - likely the TZapp itself - is alive and pretending the HW is too.
Here's the kernel part, but be careful with it:
https://github.com/MarijnS95/kernel/commits/nagara-egistec
I'll do some more digging through the downstream kernel driver later in hopes of uncovering its dirty secrets.
@MarijnS95 Did you ever find the solution to this?
@flightmansam I've been away for a while and haven't yet had an opportunity to figure out what should be changed in the HAL to support this new sensor. The DMAbufheap changes have already been finished and merged though.
Thanks so much!
I am hankering to build AOSP/LineageOS for my XQ-CQ72.
Best,
Sam
Platform: Nagara Device: pdx224 (Xperia 5 IV) Kernel version: 5.10 from
android-13.0.0_r30
branch (commit: a4a72efafecae951d7faa8e2946bdbc4f2f826bb) Android version:android-13.0.0_r30
, repo-update'd Software binaries version:64.0.H.4.18
+SW_binaries_for_Xperia_Android_13_5.10_v1b_nagara.zip
The target is
-eng
variantPreviously working on n/a
Description Fingerprint service fails to initialise and crashes in a loop. Log excerpt below:
Symptoms The device overheats while it keeps trying to start fingerprint service (and other crashing services)
How to reproduce Build the kernel via the build-clang-shared.sh script (prebuilt kernel for this device is not yet released) Build and flash the OS image. Boot the device. Wait for a few minutes and notice the temperature increase.
Additional context first_logcat_5Apr.zip