Network setup taken over by something

Is that the right thing to do to freeze the code? Or is there a chance of a mod at your end and I hold off?

If your code used "gpiochip1" for "gpio5" let me guess your old kernel
was 3.8.x?

Regards,

root@niihau:~# uname -a
Linux niihau 3.8.13-bone84 #1 SMP Sun Feb 12 02:54:13 UTC 2017 armv7l GNU/Linux

It was using /sys/class/gpio for all gpio’s

/sys/class/gpio in

root@beaglebone:~# uname -a
Linux beaglebone 4.19.94-ti-r42 #1buster SMP PREEMPT Tue Mar 31 19:38:29 UTC 2020 armv7l GNU/Linux

looks almost identical but is unusable

Do what ever you want, 3.8.13 is EOL..

The gpio's got renamed on mainline in 2013 (7 years ago) with 3.10.x..
They haven't changed since.

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/arch/arm/boot/dts/am33xx.dtsi?id=b918e2c0b5a09c1e15426854579eb7ed04ce1685

Regards,

Then why is /sys/class/gpio unusable when it was useable in 2017? Just wondering…

/sys/class/gpio is going to be removed:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/ABI/obsolete/sysfs-gpio

It was EOL'ed in 2008, with 2.6.27..

It should disappear some time this year.. (2020)

Regards,

Thanks Robert - got it.