Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RPi4 - not working? #114

Open
Hagbard235 opened this issue Feb 23, 2021 · 1 comment
Open

RPi4 - not working? #114

Hagbard235 opened this issue Feb 23, 2021 · 1 comment

Comments

@Hagbard235
Copy link

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
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants