No gpio ir recv module in 4.14 releases

Test and fix the Kernel 4.14 features

Moderators: mdrjr, odroid

No gpio ir recv module in 4.14 releases

Unread postby crazyquark » Wed Dec 20, 2017 7:01 am

Hi,

I upgraded today to 4.14 and noticed there is no gpio ir recv module for my cloudshell 2.
I really need that module for my setup so I downgraded to 4.9 for now.
crazyquark
 
Posts: 264
Joined: Thu Jan 15, 2015 4:22 pm
languages_spoken: english, french, romanian
ODROIDs: C1,C1+,C2,HC1,XU4

Re: No gpio ir recv module in 4.14 releases

Unread postby odroid » Wed Dec 20, 2017 9:52 am

We will try to implement the driver soon.
User avatar
odroid
Site Admin
 
Posts: 28510
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: No gpio ir recv module in 4.14 releases

Unread postby crazyquark » Wed Dec 20, 2017 3:03 pm

Cool, thank you!
crazyquark
 
Posts: 264
Joined: Thu Jan 15, 2015 4:22 pm
languages_spoken: english, french, romanian
ODROIDs: C1,C1+,C2,HC1,XU4

Re: No gpio ir recv module in 4.14 releases

Unread postby joy » Thu Dec 21, 2017 10:20 am

Hi crazyquark,

gpio-ir-recv module is included but,
gpioplug-ir-recv module isn't contained within the latest 4.14 release.

It will be merged in the next release soon
then, you can use IR function as you did with 4.9.y. ;)
I will share the version once it's done.
joy
 
Posts: 494
Joined: Fri Oct 02, 2015 1:44 pm
languages_spoken: english
ODROIDs: ODROID-C1+, XU4, X

Re: No gpio ir recv module in 4.14 releases

Unread postby crazyquark » Thu Dec 21, 2017 6:07 pm

Cool!
crazyquark
 
Posts: 264
Joined: Thu Jan 15, 2015 4:22 pm
languages_spoken: english, french, romanian
ODROIDs: C1,C1+,C2,HC1,XU4

Re: No gpio ir recv module in 4.14 releases

Unread postby joy » Wed Dec 27, 2017 8:33 am

Hello crazyquark,
A new package has been released and gpio ir-related commits are included.
Please update and upgrade kernel package.
Code: Select all
$ sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get dist-upgrade -y

If you meet a dialogue box, select "No" to process the kernel update.
And reboot.

The version should be 4.14.9-94.
Code: Select all
root@odroid:~# uname -a
Linux odroid 4.14.9-94 #1 SMP PREEMPT Tue Dec 26 18:42:25 UTC 2017 armv7l armv7l armv7l GNU/Linux
joy
 
Posts: 494
Joined: Fri Oct 02, 2015 1:44 pm
languages_spoken: english
ODROIDs: ODROID-C1+, XU4, X

Re: No gpio ir recv module in 4.14 releases

Unread postby crazyquark » Thu Jan 04, 2018 7:58 pm

Hi,

Just upgraded to 4.14.11-97 and the driver is indeed there.
I haven't tested the functionality yet as I am not in range of the IR sensor but I think it should work :).

Thank you!
crazyquark
 
Posts: 264
Joined: Thu Jan 15, 2015 4:22 pm
languages_spoken: english, french, romanian
ODROIDs: C1,C1+,C2,HC1,XU4

Re: No gpio ir recv module in 4.14 releases

Unread postby joy » Fri Jan 05, 2018 10:52 am

Hi.
Thank you for your response.
With the version, it should work.
If you have any issue about IR after upgrade, please let me know. :)
joy
 
Posts: 494
Joined: Fri Oct 02, 2015 1:44 pm
languages_spoken: english
ODROIDs: ODROID-C1+, XU4, X

Re: No gpio ir recv module in 4.14 releases

Unread postby crazyquark » Fri Jan 05, 2018 5:46 pm

Yup, it works.
Thank you.
crazyquark
 
Posts: 264
Joined: Thu Jan 15, 2015 4:22 pm
languages_spoken: english, french, romanian
ODROIDs: C1,C1+,C2,HC1,XU4

Re: No gpio ir recv module in 4.14 releases

Unread postby cera » Fri Jan 26, 2018 1:22 am

joy wrote:Hi crazyquark,

gpio-ir-recv module is included but,
gpioplug-ir-recv module isn't contained within the latest 4.14 release.

It will be merged in the next release soon
then, you can use IR function as you did with 4.9.y. ;)
I will share the version once it's done.


Hmm, why do you need gpioplug-ir-recv? You can use gpio-ir-recv alone with corresponding DTS entry:

Code: Select all
...
        ir_recv: ir-receiver {
                compatible = "gpio-ir-receiver";
                gpios = <&gpx2 0 GPIO_ACTIVE_LOW>;
        };
...
cera
 
Posts: 7
Joined: Tue May 16, 2017 6:38 pm
languages_spoken: english
ODROIDs: XU4

Re: No gpio ir recv module in 4.14 releases

Unread postby crazyquark » Tue Jan 30, 2018 12:02 am

Sorry, forgot to reply. The IR receiver works properly on kernel 4.14, no need for any extra modules.
crazyquark
 
Posts: 264
Joined: Thu Jan 15, 2015 4:22 pm
languages_spoken: english, french, romanian
ODROIDs: C1,C1+,C2,HC1,XU4

ir sensor on cloudshell

Unread postby Iraro » Tue Jun 05, 2018 8:37 pm

i am trying to configure my remote with the odroid xu4(+cloudshell) by lirc setup .the console tells me to" hold down an arbitary key " ,when i hold down my remote controller key.The ir sensor does not record my remote readings and in the console it displays "TimeOut ((10 sec),giving up).
I want to know whether my ir sensor in cloudshell is working or not ,how should i do so.
or please let me know i am doing something wrong?
Iraro
 
Posts: 14
Joined: Fri May 11, 2018 7:01 pm
languages_spoken: english

Re: No gpio ir recv module in 4.14 releases

Unread postby odroid » Tue Jun 05, 2018 8:42 pm

@Iraro,
Which Kernel version do you run on XU4?
User avatar
odroid
Site Admin
 
Posts: 28510
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: No gpio ir recv module in 4.14 releases

Unread postby Iraro » Tue Jun 05, 2018 8:46 pm

@odroid,
i am using 4.14.32+
Iraro
 
Posts: 14
Joined: Fri May 11, 2018 7:01 pm
languages_spoken: english

Re: No gpio ir recv module in 4.14 releases

Unread postby Iraro » Tue Jun 05, 2018 8:53 pm

version is v6.8
Last edited by Iraro on Wed Jun 06, 2018 7:54 pm, edited 1 time in total.
Iraro
 
Posts: 14
Joined: Fri May 11, 2018 7:01 pm
languages_spoken: english

Re: No gpio ir recv module in 4.14 releases

Unread postby odroid » Tue Jun 05, 2018 8:57 pm

Latest Kernel version in Ubuntu should be 4.14.47.
User avatar
odroid
Site Admin
 
Posts: 28510
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

updating the kernel version?

Unread postby Iraro » Wed Jun 06, 2018 5:01 pm

how should i update my kernel version?
Iraro
 
Posts: 14
Joined: Fri May 11, 2018 7:01 pm
languages_spoken: english

ir sensor on cloudshell

Unread postby Iraro » Wed Jun 06, 2018 6:51 pm

i am having another odroid in which the kernel version is (3.10.106+), and i am able to configure my ir remote effectively. But the odroid with the higher kernel version showing the same problem as narrated before to you . why is it so?
it will be better if you provide me the information to downgrade my kernel version or share me the link of the "Linux image of version 3.10.106+"
Iraro
 
Posts: 14
Joined: Fri May 11, 2018 7:01 pm
languages_spoken: english

Re: No gpio ir recv module in 4.14 releases

Unread postby rooted » Wed Jun 06, 2018 11:36 pm

Iraro wrote:how should i update my kernel version?
You have followed this guide to enable IR?

https://wiki.odroid.com/accessory/add-o ... _ir_sensor
User avatar
rooted
 
Posts: 5315
Joined: Fri Dec 19, 2014 9:12 am
Location: Gulf of Mexico, US
languages_spoken: english
ODROIDs: C1, C1+, C2
XU3 Lite, XU4
N1
VU7+
HiFi Shield 2
Smart Power (original)


Return to Linux Kernel 4.14 Debugging Party

Who is online

Users browsing this forum: rockla and 1 guest