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.

[Armbian build PR] - Op5+/HDMI-RX: fix spurious triggering of irq 5v while plugout code is running

Featured Replies

Description

HDMI-rx does not properly report if it is plugged out and says that it is plugged in all the time. The cause is the following.

There is an irq that is watching a gpio for 5v high.

During the plugout method for the driver, the driver resets the device state. If the irq that is watching for gpio 5 volts is not disabled during this time, it triggers on a transient voltage and sets the driver to run the "High"/plugged in logic. By the time the driver reaches the high logic, the gpio is low again, which resets the cycle by re-calling the plugout method.

This is probably why @efectn disabled the log in 0a0eb46 , because it's so noisy and spams the logs.

I don't know if this is the right solution, but I know it prevents this cycle by disabling the irq during the plugout code sequence.

How Has This Been Tested?

Tested on orange pi 5 plus

Checklist:

Please delete options that are not relevant.

  • [ x ] My changes generate no new warnings

View the full article

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.