please choosego to mobile | Continue to access the PC version
View: 10653|Reply: 5

orange pi 3.4.39 missing GPIO interrupts in (kernel space) irq_handler

[Copy link]

1

threads

3

posts

15

credits

Novice

Rank: 1

credits
15
Published in 2015-10-16 18:34:34 | Show all floors |Read mode
Hi guys,
             I have played lot more with rpi board & now i am moving to new Orange pi. i have installed 3.4.39 with Lbubutu (LXDE). i have wriiten GPIO interrupt driver on rpi for my 26bit-RF reader. I am able to receive properly all 26 bits in irqreturn_t irq_handler(kernel space) on rpi. But when i have run same module on Orangepi its receives only 13 to 15 interrupts . Is this problem of interrupt jitter? Is i have to enable any CONFIG from sun8iw7p1smp_defconfig? Or is I have to add any patch like rt_kernel PREEMPT_RT?

thanks & regards,
Sandip.

18

threads

303

posts

9650

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9650
Published in 2015-10-18 13:53:10 | Show all floors

1

threads

3

posts

15

credits

Novice

Rank: 1

credits
15
 Author| Published in 2015-10-19 15:29:46 | Show all floors
hiii jacer,
                Thanks for ur reply. nice post & its worked perfectly. but  I have to do poll for my reader input as of ur code. is there any solution for my above post, where i can use it as a interrupt...in a kernel module?
thnk u once again for ur post...
              

18

threads

303

posts

9650

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9650
Published in 2015-10-19 16:09:30 | Show all floors
sphonala replied at 2015-10-19 15:29
hiii jacer,
                Thanks for ur reply. nice post & its worked perfectly. but  I have to do ...

As I mentioned, it is from two authors which is two versions. You can click the link to find the author and ask him/her directly.

1

threads

3

posts

15

credits

Novice

Rank: 1

credits
15
 Author| Published in 2015-10-26 18:47:53 | Show all floors
is any one have any solution for my above post..........?:hope:

0

threads

5

posts

33

credits

Novice

Rank: 1

credits
33
Published in 2016-6-24 14:03:38 | Show all floors
ditto... i really need to be able to use the interrupts for input from a wireless key fob..  unfortunatly it only send out singnals as the buttons are pressed and the output is brief (250ms or so..) and I don't want to be polling every 1/4 of a second! I guess I will look into how to buid a hardware 'toggle' type of device that could be polled every second or two.. even if I get something like that to work it seems  avery bad solution..
[url=http://shotout.hol.es/]http://shotout.hol.es/
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list