Nacho has quit [Ping timeout: 244 seconds]
apritzel has joined #linux-sunxi
NiteHawk has quit [Ping timeout: 248 seconds]
khuey is now known as khuey|away
khuey|away is now known as khuey
Nacho has joined #linux-sunxi
kaspter has joined #linux-sunxi
ssvb has quit [Read error: Connection reset by peer]
ssvb has joined #linux-sunxi
KotCzarny has quit [Ping timeout: 255 seconds]
Ueno_Otoko has quit [Ping timeout: 240 seconds]
apritzel has quit [Ping timeout: 248 seconds]
cnxsoft has joined #linux-sunxi
Nacho has quit [Ping timeout: 240 seconds]
<
hp197>
3am and im still lost
<
hp197>
tomorrow another day
<
hp197>
to say it in Dutch, i'll throw my towel in the ring
<
hp197>
[ 283.420752] pps pps0: Registered IRQ 79 as PPS source
<
hp197>
cat /proc/interrupts: 79: 0 0 sunxi_pio_edge 26 Edge pps.-1
<
hp197>
so kernel never received a single irq
<
hp197>
and yes, my pin receives irq's (every 1 sec exact)
<
hp197>
when I put the pin in gpio_in and while() over the value, I can see it change from 0 to 1 for a few moments
<
hp197>
so pin itself is properly setup
<
hp197>
cheers guys, sleep well
khuey is now known as khuey|away
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
ninolein_ has quit [Ping timeout: 240 seconds]
ninolein has joined #linux-sunxi
ganbold has quit [Quit: This computer has gone to sleep]
Nacho has joined #linux-sunxi
ganbold has joined #linux-sunxi
ganbold has quit [Remote host closed the connection]
ganbold has joined #linux-sunxi
Nacho has quit [Ping timeout: 250 seconds]
Nacho has joined #linux-sunxi
Ueno_Otoko has joined #linux-sunxi
p1u3sch1 has quit [Ping timeout: 276 seconds]
p1u3sch1_ has joined #linux-sunxi
[7] has quit [Disconnected by services]
TheSeven has joined #linux-sunxi
mpmctoo has joined #linux-sunxi
Nacho___ has joined #linux-sunxi
Nacho has quit [Ping timeout: 240 seconds]
rubensm has quit [Ping timeout: 265 seconds]
rubensm has joined #linux-sunxi
IgorPec has joined #linux-sunxi
khuey|away is now known as khuey
Ueno_Otoko has quit [Read error: No route to host]
reinforce has joined #linux-sunxi
khuey is now known as khuey|away
Gerwin_J has joined #linux-sunxi
KotCzarny has joined #linux-sunxi
alexst has joined #linux-sunxi
KotCzarny has quit [Ping timeout: 255 seconds]
alexst has quit [Ping timeout: 250 seconds]
IgorPec has quit [Ping timeout: 276 seconds]
nemunaire has quit [Quit: quit]
IgorPec has joined #linux-sunxi
cnxsoft1 has joined #linux-sunxi
cnxsoft has quit [Ping timeout: 240 seconds]
cnxsoft1 is now known as cnxsoft
yann|work has joined #linux-sunxi
IgorPec has quit [Read error: Connection reset by peer]
IgorPec has joined #linux-sunxi
yann|work has quit [Ping timeout: 244 seconds]
reev has quit [Ping timeout: 276 seconds]
reev has joined #linux-sunxi
FDCX has quit [Remote host closed the connection]
vagrantc has quit [Quit: leaving]
KotCzarny has joined #linux-sunxi
diego_r has joined #linux-sunxi
fl_0 has quit [Ping timeout: 240 seconds]
matthias_bgg has joined #linux-sunxi
fl_0 has joined #linux-sunxi
reinforce has quit [Ping timeout: 240 seconds]
fl_0 has quit [Client Quit]
fl_0 has joined #linux-sunxi
avph has quit [Ping timeout: 250 seconds]
matthias_bgg has quit [Quit: Leaving]
yann|work has joined #linux-sunxi
avph has joined #linux-sunxi
kaspter has quit [Ping timeout: 240 seconds]
kaspter has joined #linux-sunxi
reinforce has joined #linux-sunxi
apritzel has joined #linux-sunxi
nemunaire has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
NiteHawk has joined #linux-sunxi
reinforce has joined #linux-sunxi
cnxsoft has quit [Ping timeout: 248 seconds]
mzki has quit [Remote host closed the connection]
mzki has joined #linux-sunxi
jinzo has joined #linux-sunxi
Worf has joined #linux-sunxi
Worf has quit [Quit: Konversation terminated!]
FDCX has joined #linux-sunxi
antonva has left #linux-sunxi ["WeeChat 1.5-dev"]
alexst has joined #linux-sunxi
alexst has quit [Ping timeout: 250 seconds]
ssvb has quit [Remote host closed the connection]
keh has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
jinzo has quit [Quit: Leaving]
afaerber has quit [Quit: Ex-Chat]
gzamboni has quit [Ping timeout: 248 seconds]
gzamboni has joined #linux-sunxi
philippe_fouquet has joined #linux-sunxi
cnxsoft has quit [Remote host closed the connection]
p1u3sch1_ has quit [Ping timeout: 240 seconds]
matthias_bgg has joined #linux-sunxi
p1u3sch1 has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
philippe_fouquet has quit [Remote host closed the connection]
reinforce has quit [Quit: Leaving.]
Guest51259 is now known as atenart
afaerber has joined #linux-sunxi
hp197 has quit [Changing host]
hp197 has joined #linux-sunxi
<
WarheadsSE>
sheesh
<
hp197>
yeah, its quiet in here today...
arossdotme-planb has quit [Remote host closed the connection]
<
apritzel>
hp197: can you use any other pin to trigger a GPIO interrupt?
<
apritzel>
so that it's just port I that does not work?
<
hp197>
tried on PI15 as well without any succes
<
hp197>
so I dont believe its pin related
<
apritzel>
well, but maybe port related
<
apritzel>
can you try port C, for instance
<
apritzel>
PC 19-22 seem to be EINT capable too
<
hp197>
I dont think its on the breakout pins, so I have to hack into it, but that wont be a biggy
<
hp197>
according to that goide, PI19/20 are no int pins
<
hp197>
pdf datasheet also says no to pc19 & 20
<
hp197>
int0 starts from PH0
alexst has joined #linux-sunxi
<
apritzel>
right, so that's a bug in the Wiki then, I guess
<
hp197>
I hope its only in the wiki.... Let check source code real quick :p
<
apritzel>
mmh, even the manual seems to be contradictory here ;-)
<
topi`>
anyone with a Orange Pi PC and the Xunlong camera module? I cannot get mine to work.
<
topi`>
Feb 19 16:18:20 localhost kernel: [ 3337.914535] [VFE_ERR]input index(0) > dev->dev_qty(1)-1 invalid!, device_valid_flag[0] = 0
<
topi`>
this is the error I get after vfe_open
<
topi`>
and then it goes to vfe_close
<
apritzel>
hp197: on page 243 in my A20 manual there is a table with the multiplex functions, which marks those 4 pins a IRQ capable
<
apritzel>
but indeed the register description does not list EINTxx in the mux settings
<
hp197>
so which one is correct?
<
apritzel>
(that's what I meant yesterday about the quality of the manual)
<
apritzel>
who knows?
<
apritzel>
not even Allwinner, I guess ;-)
<
hp197>
trail and error :)
<
KotCzarny>
test and fix the wiki!
alexst has quit [Ping timeout: 255 seconds]
<
hp197>
the deeper you dig.....
<
apritzel>
my hunch is that they are EINTs, but AW did some copy & paste errors when creating the register descriptions
<
apritzel>
those register descriptions really ask for being copied (and screwed up on the way)
Shirasaka-Hazumi has quit [Ping timeout: 244 seconds]
<
hp197>
apritzel: Im looking now at the same manual as you do
<
hp197>
But if you look at port PH12 to PH15, you see that the same EINTxx are on the mux
reinforce has joined #linux-sunxi
<
hp197>
so either one of the two in that table is wrong
<
hp197>
(I dont believe they have the same int connected to different ports)
Shirasaka-Hazumi has joined #linux-sunxi
<
hp197>
apritzel: but back to the original problem....
<
hp197>
Even if I do connect the signal to PC19
<
hp197>
if I do not receive any interrupt, we now do not know if its due to the driver or due to mis documentation
<
hp197>
so, pins PC15 to PC19 are not proper interrupt test pins anymore
<
hp197>
(if I dont receive int signals on them)
<
topi`>
is there a way to verify the connection between the Orange PI and the camera module? Maybe the cable is bad?
philippe_fouquet has joined #linux-sunxi
<
apritzel>
hp197: I will try on my BananaPi tonight, apparently it does not have PC pins on headers, but PH and PI ones
philippe_fouquet has quit [Client Quit]
<
hp197>
i'll try as well on my ct with PC pins
vagrantc has joined #linux-sunxi
<
hp197>
apritzel: want to have more confusion?
apritzel has left #linux-sunxi [#linux-sunxi]
<
hp197>
2nd page, right bottom corner
<
hp197>
according to that sheet, all PH# portts all EINT ports
apritzel has joined #linux-sunxi
paulk-collins has joined #linux-sunxi
<
hp197>
and according this schematic, the pins im connected to on the connector
<
hp197>
are pin PH15
<
KotCzarny>
are eints limited in amount or anything?
<
hp197>
and PH16 (for what I think is pin PI14 and PI15)
<
hp197>
all these schematics and manuals are a miss and all contradicting to each other
<
apritzel>
KotCzarny: well, there is a limited number of them, yes
<
apritzel>
but the bigger problem is the overlap of EINT pins and those being exposed on headers
<
KotCzarny>
apritzel, i mean, can all of them be eints at once?
<
hp197>
there are probably 31 interupt pins on the A20
<
apritzel>
I think so
<
apritzel>
but out of those 31 there are only a very few exposed on headers, so in this respect they are a scarce resource
reinforce has quit [Quit: Leaving.]
<
hp197>
anyway, I will try and test pins PC19 and PC20 tonight
<
hp197>
and if they dont work, i'll try to hook it up onto one of the status leds
<
hp197>
they seem to be connected to the PH bank and most probably will have interrupts as well
reinforce has joined #linux-sunxi
dev1990 has joined #linux-sunxi
Andy-D has joined #linux-sunxi
arokux__ has joined #linux-sunxi
keh has quit [Quit: Wee... Chat]
JohnDoe6 has joined #linux-sunxi
JohnDoe_71Rus has quit [Ping timeout: 250 seconds]
diego_r has quit [Quit: Konversation terminated!]
yann|work has quit [Ping timeout: 244 seconds]
igraltist has quit [Remote host closed the connection]
JohnDoe6 has quit [Ping timeout: 244 seconds]
pekka30 has quit [Ping timeout: 248 seconds]
IgorPec has quit [Ping timeout: 250 seconds]
arokux__ has quit [Remote host closed the connection]
<
topi`>
should the camera module be visible on the i2c bus?
<
topi`>
I tried i2cdetect -y 0 but nothing :(
igraltist has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
pekka30 has joined #linux-sunxi
iamfrankenstein has quit [Ping timeout: 255 seconds]
<
hp197>
pc19 as irq pin:
<
hp197>
[ 4.873229] GPIO chip 1c20800.pinctrl: gpiochip_lock_as_irq: tried to flag a GPIO set as output for IRQ
<
hp197>
[ 4.882685] sun7i-a20-pinctrl 1c20800.pinctrl: unable to lock HW IRQ 12 for IRQ
<
hp197>
pin pc20 is allowed to go into irq mode, but no interrupts
<
hp197>
66: 0 0 sunxi_pio_edge 13 Edge pps.-1
<
hp197>
i'll try to hook it up onto one of the PH* ports later this evening
dlan has quit [*.net *.split]
BarthezZ has quit [*.net *.split]
speakman has quit [*.net *.split]
kelvan has quit [*.net *.split]
buZz has quit [*.net *.split]
ccaione has quit [*.net *.split]
jelle has quit [*.net *.split]
ornitorrincos has quit [*.net *.split]
BarthezZ has joined #linux-sunxi
buZz has joined #linux-sunxi
ccaione has joined #linux-sunxi
speakman has joined #linux-sunxi
speakman has quit [Changing host]
speakman has joined #linux-sunxi
kelvan has joined #linux-sunxi
dlan has joined #linux-sunxi
dlan has quit [Changing host]
dlan has joined #linux-sunxi
buZz is now known as Guest37444
jelle has joined #linux-sunxi
Guest37444 is now known as buZz
ornitorrincos has joined #linux-sunxi
zoobab has quit [*.net *.split]
diego71 has quit [*.net *.split]
Dan68 has quit [*.net *.split]
mozzwald has quit [*.net *.split]
fest has quit [*.net *.split]
jbrown has quit [*.net *.split]
fredy has quit [*.net *.split]
Uninstall has quit [*.net *.split]
joedj has quit [*.net *.split]
aep has quit [*.net *.split]
montjoie has quit [*.net *.split]
vickycq has quit [*.net *.split]
orly_owl has quit [*.net *.split]
orly_owl has joined #linux-sunxi
zoobab has joined #linux-sunxi
aep has joined #linux-sunxi
mozzwald has joined #linux-sunxi
diego71 has joined #linux-sunxi
montjoie has joined #linux-sunxi
jbrown has joined #linux-sunxi
joedj has joined #linux-sunxi
fredy has joined #linux-sunxi
Dan68 has joined #linux-sunxi
vickycq has joined #linux-sunxi
Uninstall has joined #linux-sunxi
Uninstall has quit [Changing host]
Uninstall has joined #linux-sunxi
fest has joined #linux-sunxi
IgorPec has joined #linux-sunxi
matthias_bgg has left #linux-sunxi ["Leaving"]
orly_owl_ has joined #linux-sunxi
apritzel has quit [Ping timeout: 248 seconds]
orly_owl has quit [Ping timeout: 244 seconds]
IgorPec has quit [Ping timeout: 240 seconds]
iamfrankenstein has joined #linux-sunxi
skoperst has joined #linux-sunxi
tkaiser has joined #linux-sunxi
<
tkaiser>
topi`: In case you're trying it with Armbian please be aware that I hadn't had the time to test the camera module.
<
tkaiser>
I realised that when I tested camera together with Orange Pi One I used an image from loboris.
<
tkaiser>
So I would suggest using his Ubuntu Mate 15.04 image for Orange Pi PC and try it
<
tkaiser>
Now afk, bye
orly_owl_ has quit [Quit: leaving]
orly_owl has joined #linux-sunxi
ricardocrudo has quit [Remote host closed the connection]
afaerber has quit [Quit: Ex-Chat]
MY123 has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
alexst has joined #linux-sunxi
IgorPec has joined #linux-sunxi
IgorPec has quit [Ping timeout: 244 seconds]
leio has quit [Ping timeout: 244 seconds]
leio has joined #linux-sunxi
mosterta has joined #linux-sunxi
jstein has joined #linux-sunxi
ricardocrudo has joined #linux-sunxi
zoobab has quit [Ping timeout: 276 seconds]
WarheadsSE has quit [Quit: WeeChat 1.4]
zoobab has joined #linux-sunxi
iamfrankenstein1 has joined #linux-sunxi
iamfrankenstein has quit [Ping timeout: 255 seconds]
iamfrankenstein1 is now known as iamfrankenstein
mossroy has joined #linux-sunxi
alexst has quit [Ping timeout: 252 seconds]
alexst has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
MY123 has quit [Quit: Leaving]
IgorPec has joined #linux-sunxi
<
zoobab>
trying to get USB-ethernet working in uboot
IgorPec has quit [Ping timeout: 250 seconds]
ricardocrudo has quit [Ping timeout: 248 seconds]
alexst has quit [Ping timeout: 240 seconds]
ricardocrudo has joined #linux-sunxi
Gerwin_J has quit [Ping timeout: 248 seconds]
zoobab has quit [Ping timeout: 276 seconds]
afaerber has joined #linux-sunxi
zoobab has joined #linux-sunxi
p1u3sch1 has quit [Ping timeout: 240 seconds]
p1u3sch1 has joined #linux-sunxi
jstein has quit [Remote host closed the connection]
IgorPec has joined #linux-sunxi
IgorPec has quit [Ping timeout: 250 seconds]
rubensm has quit [Remote host closed the connection]
alexst has joined #linux-sunxi
apritzel has joined #linux-sunxi
alexst has quit [Client Quit]
zoobab has quit [Ping timeout: 276 seconds]
mossroy has quit [Quit: Quitte]
p1u3sch1 has quit [Ping timeout: 252 seconds]
p1u3sch1 has joined #linux-sunxi
yann|work has joined #linux-sunxi
apritzel1 has joined #linux-sunxi
zoobab has joined #linux-sunxi
ricardocrudo has quit [Ping timeout: 240 seconds]
khuey|away is now known as khuey
ricardocrudo has joined #linux-sunxi
ricardocrudo has quit [Ping timeout: 240 seconds]
mosterta has quit [Read error: Connection reset by peer]
mzki has quit [Quit: leaving]
iamfrankenstein has quit [Quit: iamfrankenstein]
zoobab has quit [Ping timeout: 248 seconds]
apritzel1 has quit [Ping timeout: 248 seconds]
<
apritzel>
oh dear, you're going the extra mile for that interrupt, aren't you?
zoobab has joined #linux-sunxi
paulk-collins has quit [Ping timeout: 248 seconds]
vagrantc has joined #linux-sunxi
<
hp197>
(this was to check if it was good connected, this is out)
<
hp197>
[ 16.776499] pps pps0: PPS event at 1455925927.250443250
<
hp197>
[ 16.776528] pps pps0: capture assert seq #12
<
hp197>
[ 17.776509] pps pps0: PPS event at 1455925928.250449458
<
hp197>
[ 17.776540] pps pps0: capture assert seq #13
<
hp197>
[ 18.776496] pps pps0: PPS event at 1455925929.250450751
<
hp197>
[ 18.776526] pps pps0: capture assert seq #14
<
hp197>
[ 19.776509] pps pps0: PPS event at 1455925930.250451626
<
hp197>
[ 19.776538] pps pps0: capture assert seq #15
<
hp197>
[ 20.776505] pps pps0: PPS event at 1455925931.250448168
<
hp197>
[ 20.776537] pps pps0: capture assert seq #16
<
hp197>
[ 21.776504] pps pps0: PPS event at 1455925932.250452310
<
hp197>
I got IRQ's!
<
vagrantc>
at least you spared us the gory details! :)
<
hp197>
that means port PH7 irq works
<
hp197>
cool thing is that the green led now also flashes up on the pps signal
pmattern has joined #linux-sunxi
<
hp197>
even when the kernel is not loaded :p
<
hp197>
anyway, this probably also means that the pinctrl.c (and all the documentation) is wrong :(