Project

General

Profile

Issue #2176

Check if the cable detection is reliable

Added by Denis 'GNUtoo' Carikli about 1 year ago. Updated 8 months 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
#1

Updated by Denis 'GNUtoo' Carikli about 1 year 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.

#2

Updated by _I3^ RELATIVISM 8 months ago

  • Type of work C programming, Unknown added

Also available in: Atom PDF