I have nothing against any other Onyx, except for the fact I don't own it.
I only read on my Poke3 nowadays, but if someone has a question on something I do own, I can just reach into my crate of ereaders and dust one off.
Last night in the dark I found that I could barely read with the brightness set at 25%.
So, you're saying that 5% is seriously too bright?
Those commands were trying to figure out if the Poke2 uses the same LM3630A LED driver.
Then there is also the possibility that they are using that in linear mode (instead of exponential).
I can write code to poll the IC for what mode it's in, but you need root for that.
You could look through /sys/firmware/devicetree, but you need root for that.
If somebody has a rooted Poke2 we can try that.
Of course you could do it the easy way: extract the boot image, extract the kernel from that, detach the device tree from that, decompile it.
Edit: Well, this works fine. Anybody have a rooted Poke2?
Code:
Poke3:/data/local/tmp # ./lights
warm i2c-6 38
00 Control 06
01 Configuration 18
02 Boost Control 58
03 Brightness A 00
04 Brightness B a9
05 Current A 0a
06 Current B 0a
07 On/Off Ramp 0a
08 Run Ramp 0a
09 Interrupt Status 02
0a Interrupt Enable 00
0b Fault Status 00
0f Software Reset 00
12 PWM Out Low 00
13 PWM Out High 00
1f Revision 02
50 Filter Strength 00
white i2c-6 38