Project

General

Profile

Actions

Issue #2176

open

Check if the cable detection is reliable

Added by Denis 'GNUtoo' Carikli over 3 years ago. Updated about 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
11/22/2020
Due date:
% Done:

0%

Estimated time:
Resolution:
Device:
Unknown
Grant:
Type of work:
C programming, Unknown
Actions #1

Updated by Denis 'GNUtoo' Carikli over 3 years ago

  • In the replicant >=9 kernel, the charger driver only charges if the cable is detected.
  • In the replicant 6 kernel, the shutdown driver also detects if a cable is plugged in.

So it would be interesting to understand what it means exactly: Does it detect some voltage / current or only a cable plugged (with or without anything on the other side of the cable).

If only only detects a cable, is there a better way to do it? if not we might even try to upstream that code as-is.

Actions #2

Updated by _I3^ RELATIVISM about 3 years ago

  • Type of work C programming, Unknown added
Actions

Also available in: Atom PDF