maemish_ has quit [Quit: Connection closed for inactivity]
nmdv has joined #maemo-leste
nmdv has quit [Ping timeout: 246 seconds]
xmn has quit [Quit: ZZZzzz…]
xmn has joined #maemo-leste
<tmlind>
freemangordon: so my guess is chans 16 & 17 are for a separate adc added later on that can be muxed to the chan 1 & 2 output registers as requested
<tmlind>
i mean muxed to chan 0 & 1 output registers
<tmlind>
currently chan 16 & 17 adc is probably continuously sampling if it provides 4 samples at 250ms invervals, i don't think we manage the whatever bit enables/disables it
<tmlind>
hmm so maybe BATICON bit just enables/disables the continuous sampling for chan 16 & 17
<tmlind>
CON for CONtinuous?
<tmlind>
maybe CPCAP_BIT_RAND1 muxes between the chans 0 & 1 and chans 16 & 17 adc for the chan 0 & 1 output registers?
<tmlind>
freemangordon: thanks for the mc13892 coulomb counter calibration info
macros_ has quit [Ping timeout: 256 seconds]
macros_ has joined #maemo-leste
<tmlind>
hmm so mc13783ug.pdf "2.1 detailed block diagram" only shows adin5 being muxed out of the battery related lines, so maybe the only selection cpcap also has is between single channel mode and multi channel mode
<tmlind>
maybe in the multichannel mode the four sample pairs are only read when requested and not continuously.. reading values in a loop should provide some info on the time between samples
joerg has quit [Ping timeout: 255 seconds]
joerg has joined #maemo-leste
<tmlind>
freemangordon: so maybe what we really have for cpcap is this:
<tmlind>
multi-channel single read mode: enabled 8 adc inputs get read to the 8 output registers
<tmlind>
dual-channel multi read mode: two enabled adc inputs get read as four pairs to the 8 output registers, maybe only available for adc inputs 0 & 1
k1r1t0 has joined #maemo-leste
<freemangordon>
tmlind: exactly
<freemangordon>
and this seems to be controlled by CPCAP_BIT_RAND1
<freemangordon>
vendor kernel does not control CPCAP_BIT_ADAx either
freemangordon has quit [Ping timeout: 246 seconds]
freemangordon has joined #maemo-leste
freemangordon has quit [Client Quit]
freemangordon has joined #maemo-leste
freemangordon1 has joined #maemo-leste
freemangordon has quit [Read error: Connection reset by peer]
freemangordon1 is now known as freemangordon
<tmlind>
freemangordon: ok. i wonder if any two adc inputs can be selected in the dual-channel multi-read mode..
<freemangordon>
I can check, shell I?
<freemangordon>
to me the biggest issue is how to get that info out of the driver :D
<tmlind>
might be worth to verify to avoid more rewrites later on.. maybe email the iio folks, they may have some suggestions on getting 4 pairs of data?
<freemangordon>
ok
<tmlind>
the iio raw data should be really raw data i guess.. otherwise the speed of change information is lost with the four samples
<freemangordon>
you mean if we average?
<tmlind>
yeah
<freemangordon>
mhm
<freemangordon>
do you know what
<freemangordon>
...
<freemangordon>
what 'iio buffer' is?
<tmlind>
yeah maybe that works if it supports pairs
<tmlind>
never used it
<tmlind>
or maybe it just needs to be two iio_buffer instances?
<freemangordon>
why 2?
<tmlind>
one buffer for 4 voltage samples, one for 4 current samples
<freemangordon>
yes, got thta, but why now 1 buffer 8 samples?
<freemangordon>
have to check how als creates that buffer
<tmlind>
how do you know the type of the data?
<tmlind>
maybe there's some data type flag?
<freemangordon>
how do you know with 2 buffers either? sorry, I don;t know the API :)
<tmlind>
heh me neither :)
* freemangordon
boots d4 to see what als and others export
<freemangordon>
tmlind: hmm, INDIO_BUFFER_SOFTWARE is already set to the driver
<freemangordon>
I guess that's it
<tmlind>
ok
xmn has quit [Ping timeout: 276 seconds]
k1r1t0 has quit [Read error: Connection reset by peer]
Twig has joined #maemo-leste
akossh has joined #maemo-leste
uvos has joined #maemo-leste
<Wizzup>
morning
<freemangordon>
hi
<freemangordon>
tmlind: I am not convinced iio buffer is what we need, I'll just hack 8 shorts into 4 integers
maemish_ has joined #maemo-leste
<Wizzup>
uvos: freemangordon: did you guys talk about why our 6.1 kernel is still a -rc8 while the git is rebased on some stable?
<freemangordon>
nope
arno11 has joined #maemo-leste
nonsuch has joined #maemo-leste
<nonsuch>
Is there something wrong with the mailing list? I just tried subscribing, it told me I am already subscribed (I was), but the last message in my Inbox is from Feb 3rd. I can't see the archives* to check if the message I just sent arrived.
<Wizzup>
for me it sometimes just becomes unresponsive for 5-10s
<Wizzup>
like, scroll around, start xterm, do other things
<freemangordon>
Wizzup: sdcard on emmc?
<Wizzup>
freemangordon: swap on emmc yues
<freemangordon>
also, what is the swappiness?
<Wizzup>
I don't know what is swappiness, but mem used is 122M and swap is 28M
<Wizzup>
so I am nowhere near memory exhaustion
<freemangordon>
I see
<freemangordon>
IO then, most-probably
<arno11>
Wizzup: On mine really fast
<arno11>
and still responsive
<Wizzup>
freemangordon: it might just be something as silly as some blocking log function in h-d or elsewhere
<Wizzup>
that blocks on i/o
<freemangordon>
right
<Wizzup>
arno11: ok, I will try this U3 512GB microsd then
<arno11>
wow
<Wizzup>
I got it for my birthday last year, have to put it to use somehow :D
<Wizzup>
lol my lab psu at 3.8V is somehow 42% of battery on n900
Daanct12 has joined #maemo-leste
<arno11>
lol
<Wizzup>
ok, so I will dd this on the really fast card and see if it makes a difference then
<Wizzup>
at least the idle on the image is great
<Wizzup>
with the wire and other module blacklist changes
<arno11>
cool
<Wizzup>
nokia-modem not being autoloaded surprises me still though
Danct12 has quit [Ping timeout: 255 seconds]
* Wizzup
runs depmod
<sicelo>
bq27200 % is meaningless until a full cycle
elastic_dog has joined #maemo-leste
elastic_dog has quit [Killed (platinum.libera.chat (Nickname regained by services))]
<Wizzup>
sicelo: sure it is, it was just funny
<sicelo>
:-)
<Wizzup>
freemangordon: I am going to add conflicts to xorg legacy
<Wizzup>
ok?
<sicelo>
: Wizzup: so new image still idling at 50mA
<sicelo>
on N900, that is
<sicelo>
?
<Wizzup>
sicelo: yes
<arno11>
Wizzup: can't wait to see perfs on uSD 512 :)
mighty17[m] has quit [Quit: You have been kicked for being idle]
<Wizzup>
arno11: don't expect too much
<Wizzup>
iirc n900 is heavily gated by various hw things
<Wizzup>
like bus width
<arno11>
ok
<Wizzup>
on the d4 it can make a big diff with some hacks
<sicelo>
nice @ idle. will try image soon (in a couple of weeks)
<Wizzup>
I would try it on a battery but I found that ironically here I have only one n900 battery: the one in the one I use
<arno11>
ok lol
norayr has joined #maemo-leste
<Wizzup>
I ordered some
<Wizzup>
on friday
<Wizzup>
we'll see
norayr has left #maemo-leste [#maemo-leste]
Twig has quit [Ping timeout: 255 seconds]
Twig has joined #maemo-leste
<arno11>
Wizzup: btw not sure emmc swap will be faster than swap in U3 sd
<arno11>
what do u think?
Guest3 has joined #maemo-leste
Twig has quit [Max SendQ exceeded]
Twig has joined #maemo-leste
<Wizzup>
I think emmc swap should be faster
<Wizzup>
let me connect this one to wifi
<arno11>
ok
<Wizzup>
new sd card seems to make the difference so far
<Wizzup>
freemangordon: uvos: so for e960, I just remove the brown pcb thing from the eb41, desolder the wires, and connect it to the e960 wires?
<arno11>
no surprise :)
<Wizzup>
arno11: do the volume buttons work for you?
<arno11>
nope from the beginnig with beowulf lol
akossh has quit [Ping timeout: 265 seconds]
<Wizzup>
ok
<arno11>
Wizzup: should be interesting to run dd dev/zero command to compare i/o
Guest3 has quit [Quit: Client closed]
<Wizzup>
will do in a bit
<Wizzup>
uvos: how can I test your U3 hacks on d4?
Guest3 has joined #maemo-leste
<Guest3>
Can all packages of maemo-leste be found in Chimera 4.0?
<Wizzup>
almost all
akossh has joined #maemo-leste
Guest3 has quit [Quit: Client closed]
k1r1t0 has joined #maemo-leste
xmn has joined #maemo-leste
<buZz>
Wizzup: the ppl that promissed to edit the video havent :(
<buZz>
its just way too much material atm
<buZz>
one thing important on e960 removal of BMS : do NOT remove the tin strips that are spotwelded to the battery cell
<buZz>
i did on one of the two , and it keeps disconnecting, soldering to straight up lithium metal is practically impossible
<buZz>
maybe i'll get a new E960 , likely to happen faster than that i can fix our spotwelder @ hackerspace :)
akossh has quit [Ping timeout: 265 seconds]
<Wizzup>
buZz: ah so you don't have a working one?
<buZz>
well, it works until i shake it :D
<Wizzup>
arno11: well during expandcard.sh I turned off the power by accident and now one of the u3 cards doesn't respond :D
<arno11>
arghhh
<Wizzup>
well, we know that it is faster now
<arno11>
lol yes
<buZz>
u3 cards work faster in mapphones? :O
<Wizzup>
I'll leave it powered for a while, see if it recovers somehow
<Wizzup>
buZz: not at u3 speeds, but they will be seen I'm sure?
<Wizzup>
but this was n900
<buZz>
dont u3 cards support slower speeds anyway?
<Wizzup>
that was my point
<buZz>
ah ok :)
<Wizzup>
brb
maemish_ has joined #maemo-leste
akossh has joined #maemo-leste
arno11 has left #maemo-leste [#maemo-leste]
<freemangordon>
Wizzup: yes, and yes
<freemangordon>
beware what buZz said
<buZz>
i kinda wish that vendor would just sell me the loose cell without BMS attached :)
<buZz>
also, be careful when removing EB41 BMS, that flexcable is hella fragile
<freemangordon>
also, you will have to remove the black plastic that covers the original PCB, at least paritially
<buZz>
flexpcb*
<freemangordon>
buZz: what is the issue with the BMS? it is attached with a sticky tape
<buZz>
i dont know what you're asking?
<freemangordon>
"i kinda wish that vendor would just sell me the loose cell without BMS attached :)"
<buZz>
the flexpcb is the part of the BMS thats connecting to the phone
<buZz>
oh
<buZz>
yeah , saves effort? :D
<freemangordon>
yeah, a minut :p
<freemangordon>
*minute
<buZz>
their BMS looks -very much- like they use the same cells inside factory for multiple batteries
<freemangordon>
Wizzup: also, it is possible that there will be no voltage right after you solder pcb to the new cell. It will appear once you connect it to the device *and* attach a charger ;)
<freemangordon>
some protection circuitry it seems
<buZz>
yeah BMS often disable themselves when you do this kinda stuff
<buZz>
its even worse on laptop batteries :D
<freemangordon>
also, I used hot silicone to attach pcb to the cell
<buZz>
nice
<buZz>
something flexible will help yeah
<buZz>
i used kapton :)
* freemangordon
googles kapton
<buZz>
but yeah i'll have to redo it, guess i'll order one next paycheck :P
<buZz>
freemangordon: polyimide tape iirc
<freemangordon>
ah
<buZz>
the stuff you can poke with a solderiron and it wont melt
<buZz>
:)
<freemangordon>
that brown-orange transparent one I guess
<buZz>
yeah
<buZz>
they do make other colors, but that yellow stuff is very common
<Wizzup>
freemangordon: ok
<Wizzup>
I will first buy a solder iron here ;)
<freemangordon>
I used some as well, but glued pcb to the cell too
<buZz>
Wizzup: get a TS101
<freemangordon>
here? are you in BG?
<Wizzup>
HR
<freemangordon>
hmm?!?
<freemangordon>
what the?
<Wizzup>
croatia
<buZz>
i really like the TS100, TS101 is slightly improved grip and USB-C PD power added (next to DC barreljack)