View Single Post
Old 10-18-2021, 01:49 PM   #44
Renate
Onyx-maniac
Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.
 
Posts: 4,001
Karma: 18026955
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
Hmm, looking into this more I see that there are drivers for things that aren't even supposed to be in there. I knocked out a little utility for scanning I²C and correlating that with whether there is stuff in sysfs for it.
My Poke3 again:
Code:
Poke3:/data/local/tmp # ./i2cscan
/dev/i2c-2
/dev/i2c-4
  04  exists
  05  exists
  06  exists
  07  exists
  1f          qcom,camera  i2c_camera
  38  exists  focaltech (FocalTech touch screen controller)  fts_ts
/dev/i2c-6
  04  exists
  05  exists
  06  exists
  07  exists
  09          wacom (Wacom digitizer)
  38  exists  lm3630a (TI LED controller)  lm3630a_bl
/dev/i2c-8
  04  exists
  05  exists
  06  exists
  07  exists
  0b  exists  tc358762 (Toshiba display interface bridge)  tc358762
  68          tps6518x (TI Eink power management)  tps6518x
So we can see that neither a camera, a Wacom or a TPS exists although the drivers are there. The stuff on addresses 4-7 are probably bus expanders or something.

If you want to try this (please), just ADB it somewhere (I like /data/local/tmp), chmod 755 it and run it. This is not a zip file (just named that for upload). Just rename it i2cscan, don't unzip it.

Edit: Minor beauty enhancements to i2cscan, same functionality.
Attached Files
File Type: zip i2cscan.zip (9.6 KB, 402 views)

Last edited by Renate; 10-18-2021 at 03:35 PM.
Renate is offline   Reply With Quote