prozac Posted August 11, 2023 Posted August 11, 2023 Hello! I am looking to set up edge monitoring for both rising and falling edges. I can monitor either individually but I cannot activate both edges. I receive: genirq: setting trigger mode 3 for irq 36 failed (meson_gpio_irq_set_type+0x0/0x60) I have attempted to use mraa-gpio, gpiod, and sysfs all with the same result. I'm on a Radxa Zero running Armbian 23.5 Jammy (Kernel 6.1.y). Interestingly if I attempt to run Manjaro on this board I can interface with the pins to get the values and set direction but I have no edge detection. Is the GPIO driver in Armbian patched for Amlogic Meson G12A? Hoping I'm posting in the right place! I may cross-post to be sure. Thanks! 0 Quote
Igor Posted August 11, 2023 Posted August 11, 2023 1 hour ago, prozac said: Is the GPIO driver in Armbian patched for Amlogic Meson G12A? Sources are here https://github.com/armbian/build Take a look. 1 hour ago, prozac said: I may cross-post to be sure. To be sure to be ignored? Your second identical post was deleted as its obviously against the rules. This is community forum, not a satisfaction machinery or customer support mixed with forums (Radxa, Odroid, ...). You are not our customer, Armbian community or maintainers owes you nothing. Here we help each other. How you can help? Be different. Look around if you can help someone ... or act shocked on my patronising. Welcome! 🙃 1 Quote
prozac Posted August 11, 2023 Author Posted August 11, 2023 (edited) Edit: Yes I completely understand and that was not my intent! First post and was unsure about where best to post. Thanks! I was looking and couldn't quickly discern the differences in the meson, pnctrl, and gpio changes. I'll keep at it Edited August 11, 2023 by prozac 0 Quote
going Posted August 11, 2023 Posted August 11, 2023 8 часов назад, prozac сказал: I was looking and couldn't quickly discern the differences in the meson, pnctrl, and gpio changes. I'll keep at it Maybe you can keep your blog here and interested people will join. I'm one of them. 1 Quote
prozac Posted August 14, 2023 Author Posted August 14, 2023 Looks like the board I'm using does not support both edge interrupts so it's a non-starter. I am looking to get around this with polling but the work continues! 0 Quote
Solution prozac Posted August 25, 2023 Author Solution Posted August 25, 2023 I decided to introduce an Arduino Pro Mini in the mix. It interfaces with the GPIO inputs and passes that data on to the UART pins. 0 Quote
Da Xue Posted August 25, 2023 Posted August 25, 2023 You can only use soft dual edge interrupts with meson before SM1. 0 Quote
prozac Posted August 25, 2023 Author Posted August 25, 2023 Thanks for the confirmation. I tried to see if I could quickly search and understand what soft interrupts are. Do you mind elaborating? 0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.