jonwil has joined #neo900
tomeff has quit [Quit: tomeff]
louisdk has quit [Ping timeout: 240 seconds]
modem_ has quit [Quit: Quitte]
jonsger has quit [Ping timeout: 252 seconds]
Axel_H has quit [Ping timeout: 248 seconds]
Axel_H has joined #neo900
<Oksana> >> in former times, the third contact was an NTC to test battery temperature. Seems that's not exactly the case anymore for BL-5J << Is it possible to bring this practice back? Would Neo900 be compatible with it? Would it help to charge battery in 30C without frying the battery? How difficult is it to make "smart", open-hardware battery compatible with N900-Neo900? /The smart charger chip...
<Oksana> ...is BQ24297, right? Opening the data sheet, wondering how helpful it is... /
<Oksana> What are HDQ and BSI?
<DocScrutinizer05> HDQ is a onewire bidir data bus protocol (see bq27000, _not_ bq27200), BSI is Nokia's 'Battery Size Indicator'
<DocScrutinizer05> and no, we didn't have a NTC in battery that's used for temperature sensing in N900, so we won't try to come up with this in Neo900
<DocScrutinizer05> even while BL-5J actually has a NTC or PTC (can't recall) on BSI, we will not try to invent a 'new' scheme for temperature management around it
<DocScrutinizer05> it also seems that, since N900 doesn't use the battery internal NTC (dunno about other devices using same battery), there are batteries out there labeled "compatible to N900" which actually don't have a NTC but instead have a simple resistor
<DocScrutinizer05> using such a battery in a new design like you suggest would actually be dangerous
<wpwrak> DocScrutinizer05: i think Oksana is just looking for more ways to stop charging, not to charge more aggressively
<wpwrak> (30 C ? what's that ? winter ?)
<Oksanaa> wpwrak: I am actually looking for ways to charge safely while ambient temperatures are high
<Oksanaa> 26°C-30°C is common temperature around here, and cautious DT-33 battery chargers do not want to charge. So retreating to air-conditioned building is the least-annoying option
<wpwrak> Oksanaa: yup, and "safely" in this case means "cut back if anything seems amiss, even if finns wouldn't consider this a possibly risky scenario", right ?
<Oksanaa> And yes, 3-contact charger would have to be fail-safed against simple-resistor batteries
<wpwrak> (dt-33) ah, interesting
<wpwrak> okay, so you're seeking the gap between (hopefully) overly cautious critters and the real boundaries
<wpwrak> and the finns were playing it safe then :)
<DocScrutinizer05> as the name BSI already suggests, the resistance value on that contact isn't standardized but individual at least for different battery types. So any general purpose charger with ability to charge different battery types can not make any use of the NTC on 3rd contact
<Oksanaa> Yes. Something akin to "charge battery while there is no damage to battery"
<wpwrak> maybe we should add a smoke detector and a little halon bottle ... :)
<wpwrak> Oksanaa: have you ever has trouble with batteries violently misbehaving ? or are you more concerned about accelerated aging ?
<wpwrak> #s/has/had/
<Oksanaa> I have about one or two aged-or-something not-full-capacity batteries, and about four nice-capacity batteries
<DocScrutinizer05> anyway Neo900 won't behave like DT-33
<Oksanaa> I am more concerned (currently) with refusing-to-charge situation
<Oksanaa> Because it has better positioned battery temperature sensor?
<DocScrutinizer05> I don't know, I never looked into a DT-33
<Oksanaa> Like, ideally positioned sensor would cut-off charging around 45?
<DocScrutinizer05> yes, and right now the internal temperature of my N900 is pretty much identical to room temperature
<DocScrutinizer05> which means there's not much heating it up except the battery charging itself
<DocScrutinizer05> which doesn't happen right now since it's unplugged
<DocScrutinizer05> so sensor is expected to actually show the battery cell temperature
<wpwrak> DocScrutinizer05: hmm, do we have a battery spec sheet around somewhere ? maybe from gta02 ?
<DocScrutinizer05> I posted it a few hours ago, no
<wpwrak> i kinda wonder how high they can go. 45 C would seem low.
<DocScrutinizer05> 45° is from that one
<DocScrutinizer05> iirc
<wpwrak> ah yes, that's the one. thanks !
<DocScrutinizer05> [2016-02-13 Sat 16:09:36] <DocScrutinizer05> for some background see http://people.openmoko.org/joerg/battery/PACK950925.pdf specifically page 64 for allowable cell temperature range
<wpwrak> indeed, 45 C
<DocScrutinizer05> temp range for charging is very narrow
<DocScrutinizer05> well, not THAT narrow, given that safety range ends at 60°C already
<wpwrak> indeed. maybe an external battery then: http://www.digikey.com/product-detail/en/TL-5930%2FF/439-1028-ND/512530
<DocScrutinizer05> huh?
<wpwrak> that one's supposed to be good for up to 85 C. not sure if i believe it.
<DocScrutinizer05> depends on separator
<wpwrak> but it would be very interesting to watch someone try to take that firecracker through airport security ;-)
<Oksana> Hmm... Looking it up, and yes, I did get this 45 value from the pdf file :-) It's also mentioned here: https://en.wikipedia.org/wiki/Lithium-ion_battery#Extreme_temperatures
<DocScrutinizer05> it's pretty common
<DocScrutinizer05> also the 60°C, while batteries tend to actually runaway at 70°C
<DocScrutinizer05> some might need more to go poooof
<DocScrutinizer05> I wouldn't bet on it
<wpwrak> yes, looked at a pack from panasonic. 45 C, too
<DocScrutinizer05> it's mainly defined by cell chemistry I guess, so you'll find similar specs on all LiIon of that type
<wpwrak> open letter: "dear battery industry, please make batteries also us down in the south can charge."
<DocScrutinizer05> while the safety limit is defined by separator as well
<DocScrutinizer05> I think you actually _may_ charge them at >45° but not at rate
<DocScrutinizer05> and possibly not up to final voltage
<Oksana> firecracker: A tad bulky, cylindrical (I can guess that it is better battery shape, given how most battery types are cylindrical), very nice temperature range (-55 ºC to +85 ºC), is 3.6V good enough compatibility with 3.7V (how much current would N900-Neo900 typically draw from the battery? discharge plots are funny) and voltage increases with temperature (nice)
Humpelstilzchen has quit [Ping timeout: 240 seconds]
<wpwrak> hmm, this suggests that it's mainly a question of battery life: https://en.wikipedia.org/wiki/Lithium-ion_battery#Extreme_temperatures
Defiant has joined #neo900
quatrox has quit [Remote host closed the connection]
<DocScrutinizer05> sorry, this cell is not for phones etc, way too high Z
<Oksana> Z? Impedance? Aka, not correct current despite similar voltage?
<DocScrutinizer05> yes, doesn't provide sufficient current
<DocScrutinizer05> "similar voltage" - I see the voltage drops to as low as 3.2V with a mere 100mA
<wpwrak> doesn't actually say. but yes, 500 mA pulse current is lame.
<Oksana> Rechargeability No What?!
<wpwrak> (V/T) ah, there it is. suckish indeed.
<DocScrutinizer05> maximum pulse current: 500mA. We need 2A or more
<DocScrutinizer05> (3.2V) "Discharge Characteristics" @ 33R|100mA
<DocScrutinizer05> this is a completely different cell chemistry
<wpwrak> yeah, modem's greedy. 2 A for it alone.
<DocScrutinizer05> evidently different since it's a primary cell, no accu
<DocScrutinizer05> not rechargeable, for utility metering purposes
<DocScrutinizer05> meant to power your average animal tracker necklace
<DocScrutinizer05> or your alarm system
<DocScrutinizer05> generally systems that need to run for several years unattended
<wpwrak> yeah, it's all wrong :(
<DocScrutinizer05> 5000h æ 4mA
<DocScrutinizer05> 1800h@10mA
<wpwrak> perfect for smartwatches :)
<DocScrutinizer05> yep
<DocScrutinizer05> I guess they are meant for operation hour counters etc
<Oksana> smartwatches... Of that size :-/ It would only fit inside the "human" hand, not inside smartwatch itself
<DocScrutinizer05> 80000h@0.2mA
<DocScrutinizer05> ideal for some humble hour counter LCD circuit
<DocScrutinizer05> almost 10 years
<DocScrutinizer05> exactly the type of device you expect to find at emergency power generators etc
<DocScrutinizer05> this type of "smart"watch
<DocScrutinizer05> smart enough to tell personal when to change the oil of the engine etc
<DocScrutinizer05> on your car you look at the odometer for that, on stationary engines you got a hour counter
<DocScrutinizer05> well actually contenporary cars might as well have a 'smart'watch with a battery like that, and tell you when to change oil in plaintext on the dashboard display
<Oksana> Nice... To survive extreme temperatures, Nickel Metal Hydride is recommended instead of LiIon: http://www.batterypoweronline.com/images/PDFs_articles_whitepaper_appros/MicroPowerBatteriesExtreme.pdf Charge cut-off at 60C? https://en.wikipedia.org/wiki/Nickel%E2%80%93metal_hydride_battery#.CE.94T_temperature_charging_method
<DocScrutinizer05> yes, NiMH are more resiliant regarding temperature. Ask speedevil who did high altitude balloon stuff with cameras etc
<DocScrutinizer05> OUCH!! >>A single cell driving a load or a cell connected in parallel to other cells cannot suffer from polarity reversal, because no other cells are present.[citation needed]<< citation: Aristoteles
<Oksana> What does it even mean? /Not going to mix up + and - terminals, regardless of what is written; some electronics would get fried by such carelessness/
<wpwrak> DocScrutinizer05: i have a more daring conjecture: no cell in parallel to no other cell can also never suffer from reversal ;-)
<DocScrutinizer05> the reversal happens on deep discharge, so yes
<DocScrutinizer05> Oksana: it's about cell damage by deep discharge of stacks
<DocScrutinizer05> \o/ xiangfu finished CNY :-)
DocScrutinizer05 has quit [Disconnected by services]
DocScrutinizer05 has joined #neo900
arossdotme-planb has quit [Ping timeout: 272 seconds]
arossdotme-planb has joined #neo900
sparetire has quit [Quit: sparetire]
pagurus has quit [Ping timeout: 240 seconds]
xman has joined #neo900
Oksanaa has quit [Ping timeout: 256 seconds]
ecloud has quit [*.net *.split]
demure has quit [*.net *.split]
ShadowJK has quit [*.net *.split]
zrafa_ has quit [*.net *.split]
Sicelo has quit [*.net *.split]
ShadowJK has joined #neo900
zrafa has joined #neo900
Sicelo has joined #neo900
Sicelo has quit [Changing host]
Sicelo has joined #neo900
Zero_Chaos has quit [*.net *.split]
nf` has quit [*.net *.split]
modem has quit [*.net *.split]
Xiaoman has quit [*.net *.split]
Zero_Chaos has joined #neo900
demure has joined #neo900
sparetire_ has joined #neo900
modem has joined #neo900
ecloud has joined #neo900
Xiaoman has joined #neo900
freemangordon1 has joined #neo900
freemangordon has quit [Quit: Leaving.]
Oksanaa has joined #neo900
Wizzup has quit [Read error: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number]
Wizzup has joined #neo900
xman has quit [Quit: Leaving.]
panais has joined #neo900
Oksanaa has quit [Quit: Lost terminal]
nf` has joined #neo900
mzki has joined #neo900
Arch-KT is now known as Arch-TK
qwazix has quit [Ping timeout: 276 seconds]
qwazix has joined #neo900
tomeff has joined #neo900
opa-ben has joined #neo900
ecloud has quit [Changing host]
ecloud has joined #neo900
jonwil has quit [Quit: ChatZilla 0.9.92 [SeaMonkey 2.39/20151103191810]]
qwazix has quit [Ping timeout: 276 seconds]
opa-ben has quit [Quit: Leaving.]
qwazix has joined #neo900
jonsger has joined #neo900
opa-ben has joined #neo900
jonwil has joined #neo900
ecloud has quit [Ping timeout: 272 seconds]
ecloud has joined #neo900
Kabouik_ has quit [Read error: Connection reset by peer]
Kabouik has joined #neo900
illwieckz has joined #neo900
trx has joined #neo900
jonsger1 has joined #neo900
jonsger has quit [Ping timeout: 240 seconds]
jonsger1 is now known as jonsger
jonsger1 has joined #neo900
jonsger has quit [Ping timeout: 240 seconds]
jonsger1 is now known as jonsger
louisdk has joined #neo900
n9mx has joined #neo900
jonwil has quit [Quit: ChatZilla 0.9.92 [SeaMonkey 2.39/20151103191810]]
n9mx has left #neo900 [#neo900]
jonsger has quit [Ping timeout: 250 seconds]
sparetire has joined #neo900
tomeff has quit [Quit: tomeff]
trx has quit [Ping timeout: 260 seconds]
trx has joined #neo900
trx has joined #neo900
Arch-KT has joined #neo900
Arch-TK has quit [Quit: I hate quit messages with fucking URLs in them.]
chainsawbike has quit [Ping timeout: 248 seconds]
chainsawbike has joined #neo900
xman has joined #neo900
tomeff has joined #neo900
Pali has joined #neo900
jonsger has joined #neo900
louisdk has quit [Ping timeout: 240 seconds]
freemangordon1 has quit [Quit: Leaving.]
freemangordon has joined #neo900
pagurus has joined #neo900
jonsger has quit [Ping timeout: 240 seconds]
paulk-collins has joined #neo900
Kabouik_ has joined #neo900
Kabouik has quit [Ping timeout: 250 seconds]
jonsger has joined #neo900
jonsger has quit [Quit: jonsger]
jonsger has joined #neo900
lobito has joined #neo900
lobito1 has quit [Ping timeout: 276 seconds]
trx has quit [Ping timeout: 252 seconds]
SylvieLorxu has joined #neo900
trx has joined #neo900
trx has joined #neo900
rjeffries has joined #neo900
jonsger has quit [Quit: jonsger]
jonsger has joined #neo900
freemangordon has quit [Read error: No route to host]
freemangordon has joined #neo900
<robotanarchy_> can someone tell me, which one the GSM modem is? https://paste.geekify.de/p5umrnjvq/itzbq6/raw
louisdk has joined #neo900
<robotanarchy_> ...if it is there at all
<DocScrutinizer05> nope, isn't
<DocScrutinizer05> modem in N900 is connected via SSI/HSI and shows up as a network interface
<DocScrutinizer05> module cmt_speech 8952 1 is the kernel module for audio
<DocScrutinizer05> here's all from lsmod:
<DocScrutinizer05> ssi_mcsaab_imp 11316 0
<DocScrutinizer05> phonet 15336 22 pn_pep,ssi_mcsaab_imp
<DocScrutinizer05> cmt_speech 8952 1
<robotanarchy_> DocScrutinizer05: thanks! modprobe phonet and modprobe cmt_speech worked, and now I have more devices
<robotanarchy_> 2: upnlink0: <POINTOPOINT,NOARP> mtu 65541 qdisc noop state DOWN group default qlen 1
<robotanarchy_> link/phonet 1b peer 00
<robotanarchy_> that seems to be it
<robotanarchy_> from ip a
<DocScrutinizer05> yep
SylvieLorxu has quit [Quit: ZNC - http://znc.in]
<DocScrutinizer05> now you 'just' need some ISI-driver
<robotanarchy_> Where can I find the best patched kernel btw? right now I run https://github.com/pali/linux-n900 4.4-rc7, as it was recommended in the debian900 config file
<DocScrutinizer05> ask freemangordon
<DocScrutinizer05> and/or Pali
<DocScrutinizer05> generally you're prolly more on-topic in #maemo
<Pali> yes, this is last tree with n900 patches which we have
<Wizzup> robotanarchy_: cool, so that is (modem) works in 4.4-rc7
<bencoh> what about v4.5-rc1?
<Pali> modem should work
<Wizzup> It didn't work yet in 4.1-rcX
<Pali> modem is part of mainline kernel btw
<Pali> with cmt audio too!
<Wizzup> I tried it in 4.1, didn't work, but it seems 4.4. may give me better luck
<Wizzup> Pali: so I guess maemo can almost run on it, too?
<Wizzup> I recall FMG was doing some work on the userspace part
<Pali> yes, patched! maemo works (somehow) on that linux-n900 tree
<Wizzup> cool.
<robotanarchy_> bencoh: thanks! I didn't try the 4.5-rc1 branch yet, as it is not the default on that github page :p
<robotanarchy_> 4.4.-rc7 was just the first one I saw
<robotanarchy_> Pali: also thanks for the elinux.org link
<Wizzup> I should build 4.4-rc7
<Wizzup> I have my test n900 with me :)
<Wizzup> Pali: also, jw, any news on that audio race condition problem?
pagurus has quit [Remote host closed the connection]
<Wizzup> I know you CC'd me at some point
<Wizzup> bencoh: also wondering how he managed to make a call, old pulseaudio?
<bencoh> dunno
<robotanarchy_> DocScrutinizer05: I'll ask in #maemo next time, thanks for the hint. So... after looking through all /dev/ entries, I actually do not have a new device. although there are SSI related modules active: https://paste.geekify.de/pfwye2bax
<DocScrutinizer05> sorry, I'm at my wisdom's end
<DocScrutinizer05> I guess network devices like NIC or HSI-modem don't show up as devices but rather under ifconfig as network interfaces
Arch-KT is now known as Arch-TK
<DocScrutinizer05> doesn't make much sense in a UNIX perspective, but I actually wouldn't know which /dev device is my ethernet NIC either
<DocScrutinizer05> /dev/net/* ?
<robotanarchy_> there's only /dev/net/tun, which is some fake device, that also openvpn uses, right?
<DocScrutinizer05> prolly right
<DocScrutinizer05> I have no clue here
<robotanarchy_> okay, thanks anyway :)
<DocScrutinizer05> yw
Pali has quit [Read error: Connection reset by peer]
opa-ben has quit [Quit: Leaving.]
<bencoh> don't you need phonet?
<bencoh> hmm, maybe not
<robotanarchy_> bencoh: I am not sure to be honest
<bencoh> ENV{INTERFACE}=="phonet[0-9]*", RUN+="/lib/phonet-utils/netif-up $env{INTERFACE}"
<bencoh> I see that in udev rules
<bencoh> and netif-up basically runs phonet -a "$ADDR" -i "$IFACE" || exit $?
<bencoh> ip link set dev "$IFACE" up || ifconfig "$IFACE" up
<bencoh> phonet -a "$ADDR" -i "$IFACE" || exit $?
<bencoh> ip link set dev "$IFACE" up || ifconfig "$IFACE" up
<bencoh> woops, sorry for the double-paste
<bencoh> so yeah, you need phonet to set the link up
<robotanarchy_> bencoh: where's phonet usually packaged in? debian doesn't seem to have it packed
<freemangordon> robotanarchy_: it is part of the kernel
<bencoh> freemangordon: the userland?
<freemangordon> phonet
<freemangordon> is a .ko
<bencoh> I'm talking about the phonet userland util used in maemo
<bencoh> don't we need it on mainline/linux-n900?
<freemangordon> oh, it is sscd iirc
<bencoh> ah?
<bencoh> I wonder why the udev rule is needed then
<robotanarchy_> freemangordon: what does sscd mean?
<freemangordon> bencoh: because it uses AF_PHONET socket :)
<freemangordon> robotanarchy_: "Daemon for controlling cellular modem"
<DocScrutinizer05> prolly SSI connection||control daemon
<freemangordon> robotanarchy_: closed source, won't find it in debian
<DocScrutinizer05> the ISI thing
<DocScrutinizer05> basically
<DocScrutinizer05> [2016-02-15 Mon 22:05:26] <DocScrutinizer05> now you 'just' need some ISI-driver
<DocScrutinizer05> you might find some ISI stuff in ofono and FSO
<bencoh> freemangordon: do we really need sscd outside of maemo?
<DocScrutinizer05> bencoh: for N900 yes
<bencoh> hmm
<robotanarchy_> DocScrutinizer05: oh, I thought isi was a typo and you ment ssi >_<
<DocScrutinizer05> well, or something similar
<bencoh> pavel doesn't mention it
<bencoh> I guess ofono does all the needed stuff (for phone)
<bencoh> but what about modem?
<DocScrutinizer05> ofono has an interface for ISI
<bencoh> yeah, isimodem
<bencoh> ah, looks like ofono/isimodem has some gprs function... dunno if it really works
<DocScrutinizer05> prolly gprs is the simplest part
<DocScrutinizer05> aiui it just opens a virtual channel on SSI for the data
<DocScrutinizer05> dunno if that's PPPoE or whatever protocol
<bencoh> certainly not oE :)
<DocScrutinizer05> PPPoI ;-)
<robotanarchy_> FSO doesn't have anything ISI related from what I can find (site:freesmartphone.org ISI). So I guess ofono is really needed :p
<robotanarchy_> found something interesting here: http://lwn.net/Articles/592485/ " # provide cmt device for ofono
<robotanarchy_> ln -sf /sys/bus/hsi/n900-modem /dev/cmt
<robotanarchy_> I'll try that after rebooting, because I unloaded some modules and can't reload them for some reason
<robotanarchy_> there is /sys/bus/hsi/devices/n900-modem/. I'll play around with that tormorrow or so
illwieckz has quit [Ping timeout: 260 seconds]
tomeff has quit [Read error: Connection reset by peer]
tomeff has joined #neo900
paulk-collins has quit [Quit: Quitte]
illwieckz has joined #neo900
tomeff has quit [Ping timeout: 248 seconds]
tomeff has joined #neo900
louisdk has quit [Ping timeout: 260 seconds]
mzki has quit [Ping timeout: 240 seconds]
pagurus has joined #neo900
louisdk has joined #neo900
mzki has joined #neo900
louisdk has quit [Ping timeout: 250 seconds]
tomeff has quit [Ping timeout: 250 seconds]
tomeff has joined #neo900
raoulzecat has joined #neo900
jonsger has quit [Ping timeout: 250 seconds]
<DocScrutinizer05> robotanarchy_: I don't see any 'modem' in my maemo fremantle system in /sys, however there's /sys/bus/ssi/*
<DocScrutinizer05> maemo kernel doesn't have hsi yet
Kabouik_ has quit [Read error: Connection reset by peer]
<DocScrutinizer05> on newer kernels hsi module handles ssi too