How do the kill switches work?
#5
(05-29-2020, 05:43 PM)Stevie-O Wrote:
(05-29-2020, 04:38 PM)Arwen Wrote: If this does not answer your questions, please ask more here, so we can add them to the Wiki;

Wiki - Pinebook Pro - Privacy Switches

Well, to restate:

...
  • The wiki states that the "power" (kill switch) state is stored across reboots.  Where is it stored?  

    As an example as to why this is relevant, all Chromebooks have a similar feature: a "developer mode" switch that disables the secure boot process, allowing unsigned software to be loaded onto them. In most commercially-available Chromebooks, this switch is virtualized, with the switch state stored in RAM backed by the laptop's primary battery.  Thus, the switch state is persisted across reboots -- unless the laptop's battery is discharged completely.  When that happens, the RAM is cleared, and the virtual devmode switch is effectively cleared with it.

  • (I've pretty much managed to answer this one myself.) The keyboard's main connection is USB. (Incidentally,  AIUI, all USB keyboards are USB 1.1, not USB 2.0.)  Since USB has no facility for privacy switches, it must also have a secondary connection to signal that a kill switch should be enabled/disabled.  Where on the schematics can I find this connection?

    I've found, on page 20 of the mainboard schematics, I'm pretty sure U23 (labeled as "SH68F83Q") is involved, because has connections labeled MIC_CUT, WIFI_CUT, and CAM_CUT.  There's also an entry here https://wiki.pine64.org/index.php/Pinebo...eripherals  under "Keyboard Information" to a "Sinowealth SH68F83 [no Q] Datasheet".  This link is dead, it goes to a blank page.

    I'm guessing that this might be what the keyboard is physically wired into; I've seen that 'R' and 'C' column before, but on a much smaller scale (3-by-4).  Is that accurate?
...


For the first, I've updated the Wiki to indicate it's stored in the keyboard's flash memory.

On the second, @pfeerick added the PDF to our Wiki and corrected the link.

So, 2 things improved.

One note, Jack's keyboard firmware can send a special key sequence on disable and enable of the kill switches. This is to allow future OS level detection of change, like re-enabling WiFi chip. It's still early days, so we will have to see if Jack's firmware becomes the "new" default firmware. Already we have seen a change in the default OS from Debian to Manjaro.
--
Arwen Evenstar
Princess of Rivendale


Messages In This Thread
How do the kill switches work? - by Stevie-O - 05-29-2020, 04:28 PM
RE: How do the kill switches work? - by Arwen - 05-29-2020, 04:38 PM
RE: How do the kill switches work? - by Stevie-O - 05-29-2020, 05:43 PM
RE: How do the kill switches work? - by pfeerick - 05-29-2020, 10:12 PM
RE: How do the kill switches work? - by Arwen - 05-30-2020, 03:21 PM
RE: How do the kill switches work? - by Stevie-O - 05-31-2020, 09:02 PM
RE: How do the kill switches work? - by Arwen - 06-01-2020, 09:08 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Does latest Tow-Boot install/work correctly for everyone? tophneal 4 2,944 08-03-2023, 03:30 PM
Last Post: tophneal
  eMMC for Odroid C4 work in PBP? dieselnutjob 6 4,266 04-05-2022, 10:10 AM
Last Post: jiyong
  Forgot my Pinebook password. Booting from MIcroSD doesn't work. ksfoodforest 0 2,001 01-30-2021, 11:08 AM
Last Post: ksfoodforest
  Did I kill my PBP's board? overlisted 7 8,599 11-12-2020, 03:28 PM
Last Post: overlisted
  Soft restart doesn't work dgkPBP 9 10,095 09-19-2020, 09:40 AM
Last Post: wdt
  Privacy switches not persistent yawnoc 0 1,952 07-16-2020, 12:01 AM
Last Post: yawnoc
  Does Fastboot Devices tools work on Pinebook Pro? pinejolla 6 8,464 06-16-2020, 03:14 AM
Last Post: FeMike
  pinebook pro overheats and switches off when streaming leonidas 13 16,523 04-20-2020, 09:05 AM
Last Post: bcnaz
  Clarification on Privacy Kill Switches jabo 3 5,994 10-04-2019, 07:27 AM
Last Post: jabo

Forum Jump:


Users browsing this thread: 2 Guest(s)