RPi4 - not working?
Opened this issue · 1 comments
Hagbard235 commented
Hi,
use the pyfingerprint sucessfull on mi Pi3b , just changed to a Pi4 and installed the fingerprint. It works, but stop working after a second... on the Pi3 the scanner runs until a fingerprint is seen? Enrolling is impossible, because the scanner stoped after first scan. Do you have an idea?
kotobukidevelopers commented
I have made it to work
Pre-installation:
//////////////////////////////////////
-add enable_uart=1 to /boot/config.txt
-Original : console=serial0,115200 console=tty1 root=PARTUUID=c35d5ea0-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles
from /boot/firmware/cmdline.txt on Ubuntu and /boot/cmdline.txt on Raspberry Pi OS
/////////////////////////////////////
Additionally Florian got the ZFM-60 sensor working with the Raspberry Pi B+ and the Raspberry Pi 3 by editing the file /boot/cmdline.txt.
For the Raspberry Pi B+ you need to change the following line:
###########################################################################################################################################
# dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait #
###########################################################################################################################################
to the line below (the part console=serial0,115200 must be removed):
####################################################################################################################
# dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait #
####################################################################################################################
For the Raspberry Pi 3 you need to add the following line furthermore (this disables the onboard Bluetooth chip that allows you to use the UART interface UART0/ttyAMA0 on GPIO 13 and 15 like on previous Raspberry Pi models, but it disables the Bluetooth functionality of course):
##########################################
# dtoverlay=pi3-miniuart-bt #
##########################################
After saving the file and restart, the sensor should work properly.