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

SerialGps_App is not working on Raspberry Pi 5 - PIGPIO ERROR: PI_INIT_FAILED; pigpio initialisation failed #64

Open
SergeySn opened this issue May 18, 2024 · 2 comments

Comments

@SergeySn
Copy link
Contributor

I am trying to run SerialGps_App example on Raspberry Pi 5.
So, I updated pi4j.version to 2.6.0
But I get this error:

Launching target [SerialGps_App (com.pi4j.catalog.applications.SerialGps_App)] GPS demo started com.pi4j.library.pigpio.PiGpioException: PIGPIO ERROR: PI_INIT_FAILED; pigpio initialisation failed at [email protected]/com.pi4j.library.pigpio.impl.PiGpioBase.validateResult(PiGpioBase.java:265) at [email protected]/com.pi4j.library.pigpio.impl.PiGpioBase.validateResult(PiGpioBase.java:251) at [email protected]/com.pi4j.library.pigpio.impl.PiGpioNativeImpl.gpioInitialise(PiGpioNativeImpl.java:106) at [email protected]/com.pi4j.library.pigpio.PiGpio.initialize(PiGpio.java:159) at [email protected]/com.pi4j.plugin.pigpio.provider.serial.PiGpioSerialProviderImpl.create(PiGpioSerialProviderImpl.java:71) at [email protected]/com.pi4j.plugin.pigpio.provider.serial.PiGpioSerialProviderImpl.create(PiGpioSerialProviderImpl.java:42) at [email protected]/com.pi4j.context.Context.create(Context.java:352) at [email protected]/com.pi4j.internal.IOCreator.create(IOCreator.java:58) at [email protected]/com.pi4j.internal.IOCreator.create(IOCreator.java:146) at [email protected]/com.pi4j.catalog.components.base.SerialDevice.<init>(SerialDevice.java:30) at [email protected]/com.pi4j.catalog.components.SerialGps.<init>(SerialGps.java:49) at [email protected]/com.pi4j.catalog.applications.SerialGps_App.execute(SerialGps_App.java:15) at [email protected]/com.pi4j.catalog.Launcher$ApplicationRunner.run(Launcher.java:278) at [email protected]/com.pi4j.catalog.Launcher$Target.run(Launcher.java:253) at [email protected]/com.pi4j.catalog.Launcher.run(Launcher.java:140) at [email protected]/picocli.CommandLine.executeUserObject(CommandLine.java:2026) at [email protected]/picocli.CommandLine.access$1500(CommandLine.java:148) at [email protected]/picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2461) at [email protected]/picocli.CommandLine$RunLast.handle(CommandLine.java:2453) at [email protected]/picocli.CommandLine$RunLast.handle(CommandLine.java:2415) at [email protected]/picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2273) at [email protected]/picocli.CommandLine$RunLast.execute(CommandLine.java:2417) at [email protected]/picocli.CommandLine.execute(CommandLine.java:2170) at [email protected]/com.pi4j.catalog.Launcher.execute(Launcher.java:207) at [email protected]/com.pi4j.catalog.Launcher.main(Launcher.java:82)
The full log is attached:
log.txt

Any ideas what might be wrong?

@SergeySn
Copy link
Contributor Author

Any update on this?

@Clobo3d
Copy link

Clobo3d commented May 30, 2024

I have the same problem.

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