Products > Programming

Linux: stop using /sys/class/gpio!

(1/5) > >>

DiTBho:
so, as you can read here /sys/class/gpio is deprecated and has been removed from the kernel

for example, today I am working on these two kernels


* kernel-5.4.128 has it
* kernel-5.15.107 doesn't have it
it's time to change && update :o :o :o



(or it's time to forward-port the old sys/class/gpio from k5.4 to k5.15
and I will update myself and userspace apps another day in the future, probably with 6.2 kernels

mumble  :-// )

Monkeh:
And you only had seven years of warning! Despicable.

DiTBho:

--- Quote from: Monkeh on May 01, 2023, 12:54:16 pm ---And you only had seven years of warning! Despicable.

--- End quote ---

lazy lazy  ;D

SiliconWizard:
Being on version 5 is already good, Android 12 is still on a 4.14 kernel. ;D

Monkeh:

--- Quote from: SiliconWizard on May 01, 2023, 07:50:36 pm ---Being on version 5 is already good, Android 12 is still on a 4.14 kernel. ;D

--- End quote ---

That's quite new compared to many embedded devices. Pretty sure some vendors are still shipping SDKs and binary drivers for 2.6.

Navigation

[0] Message Index

[#] Next page

There was an error while thanking
Thanking...
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod