Re: [libgpiod] Some thoughts following a brief test of libgpiod ver 2.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Then you might want to update your kernel - the kernel device driver was
changed to support peristing [1].

I get this on my Pi4 running bookworm:

$ gpioset -t0 GPIO23=0
$ gpioinfo GPIO23
gpiochip0 23	"GPIO23"        	output
$ gpioget -a GPIO23
"GPIO23"=inactive
$ gpioinfo GPIO23
gpiochip0 23	"GPIO23"        	output
$ gpioset -t0 GPIO23=1
$ gpioget -a GPIO23
"GPIO23"=active

in order to increase the confusion, i need to mention that this behavior only applies to the vendor kernel tree. The bcm2835 pinctrl driver in mainline kernel always falls back to GPIO input during the pin is freed since 2016.







[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux