rellla changed the topic of #linux-sunxi to: Allwinner/sunxi /development discussion - did you try looking at our wiki? https://linux-sunxi.org - Don't ask to ask. Just ask and wait! - https://github.com/linux-sunxi/ - Logs at http://irclog.whitequark.org/linux-sunxi - *only registered users can talk*
Andy-D has quit [Ping timeout: 264 seconds]
\\Mr_C\\ has joined #linux-sunxi
t0dd1v has joined #linux-sunxi
AneoX_ has joined #linux-sunxi
AneoX has quit [Ping timeout: 264 seconds]
reinforce has quit [Quit: Leaving.]
xes has quit [Ping timeout: 245 seconds]
xes has joined #linux-sunxi
embed-3d has quit [Remote host closed the connection]
embed-3d has joined #linux-sunxi
qeed has joined #linux-sunxi
nuuuciano has joined #linux-sunxi
embed-3d has quit [Ping timeout: 264 seconds]
anarsoul|2 has quit [Ping timeout: 252 seconds]
embed-3d has joined #linux-sunxi
victhor has quit [Remote host closed the connection]
chewitt has joined #linux-sunxi
embed-3d has quit [Ping timeout: 252 seconds]
leviathan has joined #linux-sunxi
embed-3d has joined #linux-sunxi
t0dd1v has quit [Quit: Connection closed for inactivity]
t0dd1v has joined #linux-sunxi
dddddd has quit [Remote host closed the connection]
stellirin has quit [Quit: The Lounge - https://thelounge.github.io]
stellirin has joined #linux-sunxi
chewitt has quit [Ping timeout: 264 seconds]
chewitt has joined #linux-sunxi
qeed has quit [Read error: Connection reset by peer]
qeed has joined #linux-sunxi
stellirin has quit [Quit: The Lounge - https://thelounge.github.io]
stellirin has joined #linux-sunxi
t0dd1v has quit [Quit: Connection closed for inactivity]
selfbg has joined #linux-sunxi
IgorPec has joined #linux-sunxi
Mr__Anderson has joined #linux-sunxi
airwind has joined #linux-sunxi
tllim has quit [Read error: Connection reset by peer]
IgorPec has quit [Ping timeout: 268 seconds]
nuuuciano has quit [Ping timeout: 252 seconds]
koty0f has quit [Remote host closed the connection]
tllim has joined #linux-sunxi
akaizen has quit [Ping timeout: 252 seconds]
akaizen has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
hipboi has quit [Quit: This computer has gone to sleep]
Andy-D has joined #linux-sunxi
IgorPec has joined #linux-sunxi
akaizen has quit [Ping timeout: 272 seconds]
f11f12 has joined #linux-sunxi
clemens3 has joined #linux-sunxi
marble_visions has joined #linux-sunxi
marble_visions has quit [Remote host closed the connection]
marble_visions has joined #linux-sunxi
arete74 has joined #linux-sunxi
tllim has quit [Ping timeout: 252 seconds]
Mandragor has joined #linux-sunxi
akaizen has joined #linux-sunxi
tllim has joined #linux-sunxi
tllim has quit [Client Quit]
megi has joined #linux-sunxi
dev1990 has joined #linux-sunxi
msimpson has joined #linux-sunxi
mavkhimenia has joined #linux-sunxi
yann has quit [Ping timeout: 240 seconds]
tnovotny has joined #linux-sunxi
paulliu has joined #linux-sunxi
hitech95 has joined #linux-sunxi
megi has quit [Ping timeout: 268 seconds]
yann has joined #linux-sunxi
foxx_ has joined #linux-sunxi
m4ssi has joined #linux-sunxi
pgreco has quit [Ping timeout: 264 seconds]
pgreco has joined #linux-sunxi
mavkhimenia has quit [Ping timeout: 252 seconds]
f11f12 has quit [Quit: f11f12]
pgreco has quit [Ping timeout: 246 seconds]
pgreco has joined #linux-sunxi
mavkhimenia has joined #linux-sunxi
The_Loko has joined #linux-sunxi
hitech95 has quit [Ping timeout: 252 seconds]
mavkhimenia has quit [Remote host closed the connection]
megi has joined #linux-sunxi
mavkhimenia has joined #linux-sunxi
nuuuciano has joined #linux-sunxi
mavkhimenia has quit [Ping timeout: 240 seconds]
mavkhimenia has joined #linux-sunxi
hipboi has joined #linux-sunxi
\\Mr_C\\ has quit [Quit: (Read error: Connection reset by beer)]
gnufan has left #linux-sunxi [#linux-sunxi]
hitech95 has joined #linux-sunxi
Gerwin_J has quit [Ping timeout: 264 seconds]
t0dd1v has joined #linux-sunxi
aalm has quit [Quit: xyz 2.2]
s_frit has quit [Ping timeout: 240 seconds]
gnufan has joined #linux-sunxi
lurchi_ has joined #linux-sunxi
lurchi_ has quit [Ping timeout: 272 seconds]
hipboi has quit [Quit: This computer has gone to sleep]
reinforce has joined #linux-sunxi
kaspter has quit [Read error: Connection reset by peer]
t0dd1v has quit [Quit: Connection closed for inactivity]
lurchi_ has joined #linux-sunxi
kaspter has joined #linux-sunxi
enrico__ has quit [Quit: Bye]
enrico__ has joined #linux-sunxi
selfbg has quit [Remote host closed the connection]
hitech95 has quit [Ping timeout: 264 seconds]
tuxillo has quit [Ping timeout: 264 seconds]
aalm has joined #linux-sunxi
tuxillo has joined #linux-sunxi
mavkhimenia has quit [Remote host closed the connection]
mavkhimenia has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
wasutton3_mobile has joined #linux-sunxi
tnovotny has quit [Quit: Leaving]
Andy-D has quit [Remote host closed the connection]
tllim has joined #linux-sunxi
lurchi__ has joined #linux-sunxi
lurchi_ has quit [Ping timeout: 246 seconds]
m4ssi has quit [Remote host closed the connection]
aalm has quit [Remote host closed the connection]
aalm has joined #linux-sunxi
vagrantc has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 268 seconds]
Putti has joined #linux-sunxi
yann has quit [Ping timeout: 272 seconds]
msimpson has quit [Quit: Leaving]
jaganteki has joined #linux-sunxi
netlynx has joined #linux-sunxi
netlynx has joined #linux-sunxi
netlynx has quit [Changing host]
lurchi__ has joined #linux-sunxi
mavkhimenia has quit [Remote host closed the connection]
Andy-D has joined #linux-sunxi
mavkhimenia has joined #linux-sunxi
mavkhimenia has quit [Ping timeout: 264 seconds]
lurchi__ has quit [Ping timeout: 250 seconds]
jaganteki has quit [Ping timeout: 256 seconds]
lurchi__ has joined #linux-sunxi
jaganteki has joined #linux-sunxi
dlan has quit [Ping timeout: 246 seconds]
dlan has joined #linux-sunxi
hitech95 has joined #linux-sunxi
anarsoul|2 has joined #linux-sunxi
clemens3 has quit [Remote host closed the connection]
Putti has quit [Remote host closed the connection]
leviathan has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
mavkhimenia has joined #linux-sunxi
<quark_> anarsoul|2: axp803 cells have already axp221-pek, or what you mean?
<anarsoul|2> oh, do they?
<quark_> [root@arm64efi ~]# grep pek /proc/interrupts
<quark_> 181: 0 0 0 0 axp803 26 Edge axp20x-pek-dbr
<quark_> 182: 0 0 0 0 axp803 27 Edge axp20x-pek-dbf
<anarsoul|2> these are interrupts
<quark_> just tested and interrupt counter increases and shutdown is started if I press power button
<anarsoul|2> yeah, it's here
<anarsoul|2> it just doesn't enable wake up on the interrupt
nuuuciano has quit [Remote host closed the connection]
<quark_> AXP803 seems to have event timer which can trigger interrupt
<quark_> is that what you are looking for? AXP803 GPIO's in Pinebook or Pine64-LTS are not connected to anywhere
nuuuciano has joined #linux-sunxi
lurchi__ has quit [Quit: Konversation terminated!]
lurchi_ has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
<anarsoul|2> quark_: no
<anarsoul|2> quark_: see drivers/input/misc/axp20x-pek.c
<anarsoul|2> grep for enable_irq_wake
<anarsoul|2> I need the same for axp803
Andy-D has quit [Ping timeout: 252 seconds]
Andy-D has joined #linux-sunxi
<anarsoul|2> and code to clear pending interrupt in axp20x_pek_resume_noirq()
<quark_> ah. so you want use power button to resume from suspend
lurchi_ has quit [Ping timeout: 264 seconds]
<anarsoul|2> yes
tuxillo has quit [Ping timeout: 252 seconds]
gnarface has quit [Ping timeout: 244 seconds]
netlynx has quit [Quit: Ex-Chat]
gnarface has joined #linux-sunxi
gnarface is now known as Guest50545
Gerwin_J has quit [Quit: Gerwin_J]
jstein_ has joined #linux-sunxi
jstein_ is now known as jstein
<anarsoul|2> quark_: testing 'git send-email'? :)
<anarsoul|2> quark_: don't forget to add my 'Tested-by' to your patches
lurchi_ has joined #linux-sunxi
<anarsoul|2> quark_: (all but sopine dts change - I don't have sopine, so can't test it)
<quark_> anarsoul|2: yep. sorry for spam :) I did add tag for those patches which are not modified.
<anarsoul|2> quark_: no worries at all
<quark_> do you have some AXP813 device? I don't so just have hope it works same way as AXP803
<quark_> I'm testing these with Pine64-LTS which is almost same as sopine-baseboard
<anarsoul|2> quark_: nope, I have pine-h64 which has AXP805
<anarsoul|2> quark_: then you should probably enable it to pine64-lts dts, not for sopine?
<quark_> in 4.20 pine64-lts dts just includes sopine-baseboard
mavkhimenia has quit [Remote host closed the connection]
<anarsoul|2> yes, but you still can add individual nodes to sun50i-a64-pine64-lts.dts
<quark_> I have check schematic and connections for AXP803 is same for both sopine-baseboard and pine64-lts
<anarsoul|2> should be the same, but it's worth checking
<quark_> btw did you try to increase charging current to 2.8A with pinebook? with 10000mAh battery it should be able to charge with 2.8A current
<anarsoul|2> quark_: I tried 2A, works fine
<anarsoul|2> haven't tried 2.8A since my adapter is 3A only
<quark_> but that is 5V. 5V*3A = 15W Li-on 4.2V*2.8A = 11.8W
<anarsoul|2> quark_: I thought it's input current limit
<anarsoul|2> not output
<quark_> yep there is two limits. charging current limit to battery and then input current limit for ACIN
<anarsoul|2> I think I changed input current limit for ACIN
<anarsoul|2> quark_: I can try again tonight
<quark_> from axp20x-battery you can set and monitor those values
<quark_> POWER_SUPPLY_VOLTAGE_NOW=4143000
<quark_> POWER_SUPPLY_CONSTANT_CHARGE_CURRENT_MAX=2800000
<quark_> POWER_SUPPLY_CONSTANT_CHARGE_CURRENT=2800000
<quark_> POWER_SUPPLY_CURRENT_NOW=2000
<anarsoul|2> yeah, I monitored POWER_SUPPLY_CURRENT_NOW
<anarsoul|2> I didn't notice POWER_SUPPLY_CONSTANT_CHARGE_CURRENT_MAX
<quark_> yep that have be increased first
<anarsoul|2> what's default limit?
chewitt has quit [Ping timeout: 268 seconds]
<quark_> hmm. might be that default MAX is 2A and CHARGE_CURRENT is 1.2A
foxx_ has quit [Ping timeout: 272 seconds]
<quark_> if you only connect one cheap Li-on cell then charging 2A you might get some problems :)
<quark_> even with 1A per cell, normal cells get quite hot when charging
<quark_> pinebook 10000mAh battery most likely have 4-6 cells
IgorPec has quit [Ping timeout: 252 seconds]
tuxillo has joined #linux-sunxi
<quark_> Standard charge 0.2CA which means 2A because battery capasity is 10000mAh
<quark_> Max charge rate is 0.5CA so 5A
<quark_> for battery life it might be better just use max 2A charging current for pinebook.
t0dd1v has joined #linux-sunxi
jaganteki has quit [Ping timeout: 256 seconds]
hitech95 has quit [Ping timeout: 246 seconds]
wasutton3_mobile has quit [Ping timeout: 240 seconds]
dddddd has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
IgorPec has joined #linux-sunxi
jtf has quit [Ping timeout: 260 seconds]
jtf has joined #linux-sunxi
victhor has joined #linux-sunxi
IgorPec has quit [Ping timeout: 252 seconds]
muvlon has joined #linux-sunxi
Guest50545 has left #linux-sunxi [#linux-sunxi]
gnarface has joined #linux-sunxi
lurchi_ is now known as lurchi__
t0dd1v has quit [Quit: Connection closed for inactivity]
duncan^ has quit [Quit: Hwyl fawr, fy nghariad]
s_frit has joined #linux-sunxi
The_Loko has quit [Read error: Connection reset by peer]
duncan^ has joined #linux-sunxi
t0dd1v has joined #linux-sunxi
dev1990 has quit [Quit: Konversation terminated!]
s_frit has quit [Remote host closed the connection]
s_frit has joined #linux-sunxi
Andy-D has quit [Ping timeout: 246 seconds]