Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Raspberry Pi / "Players for Raspberry Pi4 64" & WiringPi - JDForce

Author
Message
Yeshu777
4
Years of Service
User Offline
Joined: 26th Feb 2020
Location: Cardiff ( Caerdydd ), Wales ( Cymru ), UK
Posted: 4th Sep 2024 00:23
Hi,

Doing some testing in porting a Pi 3 project to Pi 4 Bookworm.

After installing WiriingPi and modding the cpuinfo, the wiringSerial is working, but failing on setting the GPIO.

I get the following:

"chmod: cannot access '/sys/class/gpio/gpio2/direction" no such file
"chmod: cannot access '/sys/class/gpio/gpio2/value" no such file

I noticed on building "wiringPi" that it throws up a warning :

chown: warning: '.' shouold be ':' : root.root

the '.' has been depreciated as far as I can tell.

Any * pointers ?

Yeshu777
Yeshu777
4
Years of Service
User Offline
Joined: 26th Feb 2020
Location: Cardiff ( Caerdydd ), Wales ( Cymru ), UK
Posted: 4th Sep 2024 23:13 Edited at: 4th Sep 2024 23:14
Hi All,

If it's of use to anyone

A quick edit of : /WiringPi/gpio/Makefile & change root.root to root:root resolves the chmod problem and all compiles without warnings.

Additionally, the mod to cpuinfo isn't necessary ( according to responses on WiringPi github ) as this was fixed some time ago.

Yeshu777

Login to post a reply

Server time is: 2024-09-27 21:18:40
Your offset time is: 2024-09-27 21:18:40