Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Error from pps-gpio on ODROID-C2

Featured Replies

I am trying to connect a PPS source to an ODROID-C2 board using GPIO. I am running Armbian 19.11.3 Buster, with kernel 5.3.11-meson64.

 

I downloaded the Armbian kernel source for this kernel, added the following to meson-gxbb-odroidc2.dts, and compiled and installed it:

 

	pps {
		compatible = "pps-gpio";
		gpios = <&gpio GPIOY_3 GPIO_ACTIVE_HIGH>;
		status = "okay";
		interrupt-parent = <&gpio_intc>;
		interrupts = <26 IRQ_TYPE_LEVEL_LOW>;
	};

 

When I boot and load the pps-gpio module, I get the following error:

 

pps-gpio pps: failed to map GPIO to IRQ: -6
pps-gpio: probe of pps failed with error -22

 

Could anyone help me understand what I'm getting wrong that's causing this error?

Am I misunderstanding how to assign IRQs to GPIOs?

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.