Re: Raspberry Pi: gpiomem device support

2024-04-04 Thread gene heskett
On 4/3/24 18:36, Hank Barta wrote: I'm not sure if this will help. I explored GPIO on Debian a bit and posted my code at https://github.com/HankB/GPIOD_Debian_Raspberry_Pi I have NDI if its usable for you, but linuxcnc for the pi's has a dri

Re: Raspberry Pi: gpiomem device support

2024-04-03 Thread Hank Barta
I'm not sure if this will help. I explored GPIO on Debian a bit and posted my code at https://github.com/HankB/GPIOD_Debian_Raspberry_Pi best, On Wed, Apr 3, 2024 at 12:42 AM Thomas Lehmann wrote: > Good Day! > > I've tried to get GPIO access working on 1B (Raspberry Pi B+) images > from [1], h

Re: Raspberry Pi: gpiomem device support

2024-04-03 Thread Uwe Kleine-König
Hello Thomas, On 03.04.24 21:49, Thomas Lehmann wrote: I forgot to include the references: [1]: https://raspi.debian.net/tested-images/ [2]: https://github.com/raspberrypi/linux/issues/2514 Ah, and I found Kernel code in drivers/char/raspberrypi-gpiomem.c and the accompanying Kconfig defining

Re: Raspberry Pi: gpiomem device support

2024-04-03 Thread Diederik de Haas
On Wednesday, 3 April 2024 21:49:45 CEST Thomas Lehmann wrote: > Ah, and I found Kernel code in drivers/char/raspberrypi-gpiomem.c and > the accompanying Kconfig defining the config "RASPBERRYPI_GPIOMEM". That file and that module/symbol do NOT exist in the upstream Linux kernel (probably only in

Re: Raspberry Pi: gpiomem device support

2024-04-03 Thread Thomas Lehmann
I forgot to include the references: [1]: https://raspi.debian.net/tested-images/ [2]: https://github.com/raspberrypi/linux/issues/2514 Ah, and I found Kernel code in drivers/char/raspberrypi-gpiomem.c and the accompanying Kconfig defining the config "RASPBERRYPI_GPIOMEM". That .c file sounds

Raspberry Pi: gpiomem device support

2024-04-02 Thread Thomas Lehmann
Good Day! I've tried to get GPIO access working on 1B (Raspberry Pi B+) images from [1], however, the "/dev/gpiomem" device is missing and access to "/dev/mem" (some libaries fall back to that device) is denied (even as root, and I don't even want to use "/dev/mem"). Searching the internet b