User Space GPIO Interrupt programming - GSoC-2018

Dr. Rolf Jansen freebsd-rj at obsigna.com
Tue Nov 24 21:26:48 UTC 2020


> Am 24.11.2020 um 17:56 schrieb Oskar Holmlund <oskar.holmlund at yahoo.com>:
> 
> > Den tisdag 24 november 2020 21:14:58 CET, Dr. Rolf Jansen <freebsd-rj at obsigna.com> skrev:
> > 
> > 
> > Hello
> > 
> > Has anything of the GSoC-2018 efforts made it into the current code base?
> >
> > https://wiki.freebsd.org/SummerOfCode2018Projects/UserSpaceGPIOinterrupts
> > 
> > I installed the recent 13.0-CURRENT snapshot (2020-11-19) on a BeagleBone Black which was one of the implementation targets of said 
> > project, but when running the test tools, I either see cannot read/kevent/poll/aio_read - Operation not supported by device or Inappropriate 
> > ioctl for device.
> >
> > Perhaps I need to pull the project’s changes into the kernel by myself. However, before this I would like to ask whether it is worth the effort.
> > 
> > Please, can anyone shed some light on this.
> >
> > Best regards
> >
> > Rolf
> > _______________________________________________
> > freebsd-arm at freebsd.org mailing list
> > https://lists.freebsd.org/mailman/listinfo/freebsd-arm
> > To unsubscribe, send any mail to "freebsd-arm-unsubscribe at freebsd.org"
> 
> Hi Rolf,
> 
> I dont have any details about the GSOC.
> But the code is not in base.
> 
> I have written a similar driver for my needs. It is much simpler and provides a notification to userland through kqueue events in the event of a change and counts the number of changes that have taken place over time.
> I can share the code if you want.

Hello Oskar,

Yes, please, I would be very interested to get hands on your code. And some usage instructions would be great as well.

I guess, this would give me a jump start with said project.

Best regards

Rolf


More information about the freebsd-arm mailing list