<MoeIcenowy>
(148 is in a room with air-conditioner
al1o has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mpmc has quit [Ping timeout: 244 seconds]
<MoeIcenowy>
I guessed that the value can be calculated by (raw_data / divisor + minus - 273.15
<MoeIcenowy>
(0 degrees celsius is equal to 273.15 degrees kalvin
IgorPec10 has quit [Ping timeout: 276 seconds]
<MoeIcenowy>
(raw_data / divisor - minus + 273.15) *
<MoeIcenowy>
will a fully-burned A33 running at 1.008GHz heat to only 42 degrees celsius?
mpmc has joined #linux-sunxi
IgorPec has joined #linux-sunxi
<jelle>
wens: yeah it's not that hard, just wondering how to really test it
keh has quit [Quit: Wee... Chat]
<MoeIcenowy>
wens: should the pll2 driver have a compatible of "sun6i-a31-pll2-clk"?
<MoeIcenowy>
(a31 have the same pll2 register map with a23/33
<MoeIcenowy>
and the ths driver have "sun8i-a23-ths", "sun8i-a33-ths"?
<wens>
MoeIcenowy: doesn't the datasheet have the conversion formula?
<wens>
jelle: flip the board around and see updates :)
<jelle>
wens: yeah that works :-)
<wens>
jelle: iirc there's a userspace program that continuously displays/updates the values
<jelle>
wens: I'll go bother the iio framework ml :-)
<wens>
so you can see changes in real time
<wens>
MoeIcenowy: yes to both questions
<jelle>
wens: well I'm just fetching the /sys/ entry of the iio driver
<MoeIcenowy>
wens: ok thanks
<MoeIcenowy>
the user manual does conatin a formula
<MoeIcenowy>
and I missed it
<jelle>
sadly I don't have a data sheet for the dmard09 so I don't know if it has another way to fetch the data
<MoeIcenowy>
wens: however the datasheet says nonsense
<MoeIcenowy>
Tem=(Dig-1665)/6.18 Celsius degree
hansg has joined #linux-sunxi
hansg has quit [Client Quit]
Guest74185 has quit [Excess Flood]
fredy has joined #linux-sunxi
<wens>
what's the raw value you're getting?
Mr__Anderson has quit [Remote host closed the connection]
kaspter has joined #linux-sunxi
premoboss has joined #linux-sunxi
kaspter has quit [Remote host closed the connection]
kaspter has joined #linux-sunxi
apritzel has joined #linux-sunxi
<KotCzarny>
moe: 1665/6.18==269
<KotCzarny>
basic math
<KotCzarny>
and kernel formula just upped the offset up a few tenths
DullTube has joined #linux-sunxi
ricardocrudo has joined #linux-sunxi
kaspter has quit [Read error: Connection reset by peer]
matthias_bgg has joined #linux-sunxi
Mr__Anderson has joined #linux-sunxi
matthias_bgg has quit [Ping timeout: 240 seconds]
matthias_bgg has joined #linux-sunxi
matthias_bgg_ has joined #linux-sunxi
popolon has joined #linux-sunxi
enrico_ has joined #linux-sunxi
<MoeIcenowy>
wens: I have made a sun8iw3 ths driver
<MoeIcenowy>
but I cannoe ensure its quality...
<MoeIcenowy>
should I firstly send it as a RFC PATCH?
matthias_bgg__ has joined #linux-sunxi
afaerber_ has joined #linux-sunxi
agraf` has joined #linux-sunxi
matthias_bgg_ has quit [Ping timeout: 240 seconds]
afaerber has quit [Ping timeout: 250 seconds]
matthias_bgg has quit [Ping timeout: 264 seconds]
agraf has quit [Ping timeout: 260 seconds]
matthias_bgg has joined #linux-sunxi
<speakman>
morning folks
<speakman>
Can someone confirm that interrupts and wakeup-gpios will be pointing to PI10? https://dpaste.de/NcVs/raw
kaspter has joined #linux-sunxi
paulk-collins has joined #linux-sunxi
<KotCzarny>
maybe battery is really bad?
kaspter has quit [Ping timeout: 244 seconds]
<speakman>
If a driver allocates a gpio (for interrupt) then I shouldn't be able to export that gpio using /sys/class/gpio/export right?
matthias_bgg has quit [Ping timeout: 240 seconds]
matthias_bgg__ has quit [Ping timeout: 276 seconds]
<speakman>
Is Linux 4.3 too old maybe?
IgorPec has quit [Ping timeout: 244 seconds]
vagrantc has quit [Quit: leaving]
<speakman>
I can't believe it's so difficult do debug interrupts. Do any of you have any ideas how to find out if an external interrupt is even working? if the pin is muxed as it should?
Da_Coynul has joined #linux-sunxi
<_stephan>
speakman, maybe a trace_printk in the interrupt handler
cnxsoft has quit [Read error: Connection reset by peer]
cnxsoft has joined #linux-sunxi
<speakman>
_stephan: everyhing is pointing to the interrupt handler never get called :(
<speakman>
_stephan: but I will add it, just to be sure.
agraf` is now known as agraf
Da_Coynul has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Da_Coynul has joined #linux-sunxi
Da_Coynul has quit [Ping timeout: 260 seconds]
matthias_bgg__ has joined #linux-sunxi
matthias_bgg has joined #linux-sunxi
kaspter has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
reinforce has joined #linux-sunxi
lemonzest has joined #linux-sunxi
IgorPec has joined #linux-sunxi
staplr has joined #linux-sunxi
fire219 has joined #linux-sunxi
staplr has quit [Remote host closed the connection]
pietrushnic has quit [Ping timeout: 250 seconds]
Mr__Anderson has quit [Remote host closed the connection]
Amit_T has quit [Ping timeout: 276 seconds]
vagrantc has joined #linux-sunxi
matthias_bgg has quit [Ping timeout: 264 seconds]
matthias_bgg__ has quit [Ping timeout: 264 seconds]
matthias_bgg__ has joined #linux-sunxi
matthias_bgg has joined #linux-sunxi
tithrion has joined #linux-sunxi
<speakman>
mripard: there?
_stephan has quit [Quit: Ex-Chat]
<mripard>
yes
<jmcneill>
how is a83t ethernet performance on linux?
FergusL has quit [Ping timeout: 258 seconds]
drax has joined #linux-sunxi
drax has quit [Client Quit]
<montjoie>
good but could be better
IgorPec has quit [Ping timeout: 252 seconds]
<montjoie>
jmcneill: for 100 tx: 80 rx:90
vagrantc has quit [Ping timeout: 260 seconds]
<jmcneill>
what do you use to test? i've been using iperf3 on freebsd for lack of better ideas
<montjoie>
for giga, tx:400Mo/s rx:700Mo/s in my memory
DullTube has quit [Quit: Leaving]
<montjoie>
jmcneill: iperf
<jmcneill>
2 or 3? and what settings?
<speakman>
mripard: I just solved my external interrupt issues on A20. I have tested a bounch of different pins (which has EINT mode) but third times as a charm. Only PH pins seems to work when on vanilla kernel.
<speakman>
mripard: other people seem to be having similar problems and they were refering to you on the Olimex forum, so I thought I'd just give you a hint. :)
<montjoie>
jmcneill: net-misc/iperf-3.0.12
<jmcneill>
any specific settings for the test?
<montjoie>
both tcp and udp
<montjoie>
trying 2 or 3 client paralell
<jmcneill>
I seem to cap out around 380tx/400rx with tcp
<montjoie>
jmcneill: do you are full interupt or BSD could do the same than linuxNAPI
<montjoie>
because without NAPI I got the same numbers
<jmcneill>
could be it then, I haven't implemented polling yet
<montjoie>
I think polling is really necessary for >=1000Mbit/s cards
<jmcneill>
I am doing some interrupt mitigation for tx already
<jmcneill>
setting TX_INT_CTL on every 64th descriptor and relying on TX_BUF_UA_INT_EN
<montjoie>
jmcneill: good idea
<jmcneill>
it makes a big difference
<jmcneill>
also discovered magic undocumented TX_NEXT_FRM bit in the a83t bsp this morning, another big win
<speakman>
mripard: "i discovered that the example works if i use a EINT up to EINT21 in PH port (as the one described in the example page..) but it doesn't work on EINT between EINT22 and EINT31 in PI port."
vagrantc has joined #linux-sunxi
vagrantc has quit [Changing host]
vagrantc has joined #linux-sunxi
MoeIcenowy has quit [K-Lined]
dearfibonacci has quit [Quit: Leaving]
diego71 has quit [Ping timeout: 240 seconds]
dearfibonacci has joined #linux-sunxi
diego71 has joined #linux-sunxi
MoeIcenowy has joined #linux-sunxi
vagrantc has quit [Ping timeout: 260 seconds]
MoeIcenowy has quit [K-Lined]
<mripard>
speakman: weird :/
matthias_bgg__ has quit [Quit: Leaving]
matthias_bgg has quit [Ping timeout: 246 seconds]
<speakman>
mripard: yepp, it took me some days to figure out :/
<speakman>
mripard: And it's just like that; PI10 does not work at all (but no warnings or any other indications) but PH9 works out of the box.
nove has joined #linux-sunxi
cnxsoft has quit [Quit: cnxsoft]
dearfibonacci has quit [Quit: Leaving]
premoboss has quit [Remote host closed the connection]
<speakman>
Hm. I use "devtmpfs" on /dev to make it simple. Now, with Linux 4.3, the /dev/input/ directory is gone. Do you guys know if there has been some changes since 3.4?
Amit_T has joined #linux-sunxi
MoeIcenowy has joined #linux-sunxi
matthias_bgg has joined #linux-sunxi
IgorPec has joined #linux-sunxi
Gerwin_J has quit [Quit: Gerwin_J]
matthias_bgg_ has joined #linux-sunxi
matthias_bgg has quit [Quit: Leaving]
matthias_bgg_ has quit [Remote host closed the connection]
JohnDoe_71Rus has joined #linux-sunxi
<speakman>
Trying to get LCD working on mainline kernel. How do I specify timing and resolution parameters? can't find much on linux-sunxi.org
<speakman>
And why is there no /dev/input/ dir? How can I reach my touchscreen etc?
<speakman>
(I'm using tslib)
jernej has joined #linux-sunxi
<wens>
speakman: did you enable "event interface" under input devices?
<wens>
CONFIG_INPUT_EVDEV
<wens>
speakman: as for lcd timings, see drivers/gpu/drm/panel/panel-simple.c and Documentation/devicetree/bindings/display/panel/simple-panel.txt
cptG_ has joined #linux-sunxi
cptG has quit [Ping timeout: 264 seconds]
Mr__Anderson has joined #linux-sunxi
Nacho has quit [Ping timeout: 276 seconds]
Nacho has joined #linux-sunxi
phipli has joined #linux-sunxi
staplr has joined #linux-sunxi
Mr__Anderson has quit [Remote host closed the connection]
Netlynx has joined #linux-sunxi
zuikis has joined #linux-sunxi
ricardocrudo has quit [Remote host closed the connection]
staplr has quit [Ping timeout: 244 seconds]
staplr has joined #linux-sunxi
tithrion_ has joined #linux-sunxi
lemonzest has quit [Quit: Leaving]
tithrion has quit [Ping timeout: 260 seconds]
alexxy has quit [Quit: No Ping reply in 180 seconds.]
alexxy has joined #linux-sunxi
apritzel has quit [Ping timeout: 244 seconds]
alexxy has quit [Excess Flood]
alexxy has joined #linux-sunxi
staplr has quit [Ping timeout: 276 seconds]
enrico_ has quit [Quit: Bye]
IgorPec has quit [Ping timeout: 240 seconds]
tsuggs has quit [Ping timeout: 244 seconds]
FergusL has joined #linux-sunxi
Amit_T has quit [Quit: Page closed]
arossdotme-planb has joined #linux-sunxi
arossdotme has quit [Ping timeout: 244 seconds]
IgorPec has joined #linux-sunxi
staplr has joined #linux-sunxi
afaerber_ has quit [Quit: Ex-Chat]
Netlynx has quit [Quit: Leaving]
jstein_ has joined #linux-sunxi
jstein_ is now known as jstein
Mr__Anderson has joined #linux-sunxi
apritzel has joined #linux-sunxi
apritzel has quit [Ping timeout: 244 seconds]
jstein_ has joined #linux-sunxi
jstein is now known as Guest30726
jstein_ is now known as jstein
zuikis has left #linux-sunxi [#linux-sunxi]
Guest30726 has quit [Ping timeout: 260 seconds]
IgorPec has quit [Ping timeout: 258 seconds]
Nacho has quit [Quit: No Ping reply in 180 seconds.]