Touchpad, Keyboard, I2C oh my.
#12
(01-16-2020, 12:01 PM)C_Elegans Wrote: I did press the kill switches, but I didn't disable the wifi, only the microphone and camera. On the wiki it says that the wifi requires a reboot for the kill switch to take effect, perhaps that's the one that triggers the eeprom traffic at bootup. Did you kill the wifi at some point?

Also, from looking at the traffic and the schematic, it looks like there's an extra interrupt line in addition to the i2c bus that I didn't capture. The master only reads from the touchpad when there's some activity, so there must be some sort of out of band signaling taking place.

Yes I did disable the wifi. I tried all of the kill switches while I was sniffing with a bus pirate.

Regarding the out of band signaling - you guessed correctly. The extra interrupt line is the touchpad IC (HLK H2168) to signal the keyboard IC (SH68F83) that there is something to be read from the touchpad IC. It was not needed in the captures.

I wrote some python to work with the CSVs saved out of DSView - and now understand the flashing protocol.

This helps a lot because, if there is ever an open sourced firmware for the SH68F83, it will need to have code to flash the touchpad IC. Going through the SH68F83 is the only way for the OS to flash the touchpad without physically attaching to that i2c bus.


Messages In This Thread
RE: Touchpad, Keyboard, I2C oh my. - by C_Elegans - 01-15-2020, 06:03 PM
RE: Touchpad, Keyboard, I2C oh my. - by C_Elegans - 01-15-2020, 06:33 PM
RE: Touchpad, Keyboard, I2C oh my. - by C_Elegans - 01-16-2020, 10:03 AM
RE: Touchpad, Keyboard, I2C oh my. - by C_Elegans - 01-16-2020, 12:01 PM
RE: Touchpad, Keyboard, I2C oh my. - by resistanceisfutile - 01-16-2020, 12:16 PM
RE: Touchpad, Keyboard, I2C oh my. - by akirakyle - 04-05-2020, 08:13 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Yet another new Pinebook keyboard problem MikoBob 3 386 09-11-2024, 07:05 AM
Last Post: MikoBob
  Pinebook Pro Revised Keyboard Firmware jackhumbert 73 145,779 09-13-2023, 03:43 AM
Last Post: k3dAR
  Separate ISO keyboard for PBP Besouro 0 998 06-04-2023, 02:51 PM
Last Post: Besouro
  Touchpad Issues - August 2022 Run SteveCaruso 5 3,637 12-14-2022, 11:00 PM
Last Post: doug
Information Keyboard Duplicate Keypress Fix RjraymondDuplicate 0 1,278 02-17-2022, 11:52 PM
Last Post: RjraymondDuplicate
  keyboard and usb ports not working User 24565 3 3,181 02-15-2022, 10:12 AM
Last Post: wdt
  Replacing the Keyboard gabb 6 7,389 01-11-2022, 07:39 AM
Last Post: Valenoern
  power on PBP if your keyboard is dead? stozi 0 1,526 11-29-2021, 01:55 PM
Last Post: stozi
  Replacement scissor switches (ANSI keyboard)? zackw 3 4,409 08-09-2021, 09:20 PM
Last Post: tllim
  Touchpad notchy on new 2021 pinebook pro Neilcob 21 22,462 07-28-2021, 09:14 AM
Last Post: dsimic

Forum Jump:


Users browsing this thread: 1 Guest(s)