WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Additional kernel modules?  (Read 4764 times)

Offline bulmers

  • Newbie
  • *
  • Posts: 4
Additional kernel modules?
« on: April 08, 2015, 05:22:00 PM »
Hi all,

just started with my Pi B+ and piCore 6.0. Following an article in a german computer magazine and the lot of tips in this forum I already managed to add a mpd-Server to my piCore-SSH base installation.
I also have an old remote control with an USB-dongle at hand. It works on my Ubuntu by simply loading two kernel modules (lirc_dev, ati_remote) and starting lircd. However they are not present at runtime. As a newbee to piCore I have no idea if and how they could be added. Can someone give me some advice please?.

Regards
  Thomas

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Additional kernel modules?
« Reply #1 on: April 09, 2015, 02:51:41 AM »
Install rc-3.12.36-piCore+.tcz which provides these kernel modules.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline bulmers

  • Newbie
  • *
  • Posts: 4
Re: Additional kernel modules?
« Reply #2 on: April 09, 2015, 04:41:06 AM »
Szia Béla,

I tried that first, but tce didn't know about any package named rc-3.12.36-piCore+. tce-load tried to download something but failed. Other packages are working fine. Do I need to connect to another repo?

Üdv Kölnböl
  Thomas

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Additional kernel modules?
« Reply #3 on: April 09, 2015, 04:53:10 AM »
Szia Thomas,

I just uploaded it to the main repo, repo.tinycorelinux.net Mirrors synced in 24-48 hours. Also repo tools are caching the repo info for 6 hours locally to reduce network traffic. Reboot and check you are using the main repo (it is in Germany, so must be the fastest for you). Than it must be visible.

Regards... Béla
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline bulmers

  • Newbie
  • *
  • Posts: 4
Re: Additional kernel modules?
« Reply #4 on: April 10, 2015, 03:21:57 PM »
Thanks Béla, it found and loaded the modules properly.

Regards
  thomas

Offline jgrulich

  • Sr. Member
  • ****
  • Posts: 341
    • GRULICH DESIGN - R&D Lab.
Re: Additional kernel modules?
« Reply #5 on: April 18, 2015, 10:32:31 AM »
Hi Thomas,

have you already installed the IR Remote and bring it working?
I've tried to do so, but even I have rc package and lirc-pri working I only see in the /dev/lirc0 that the receiver is working, nothing more. Don't know how to identify the proper module for my remote and how to load it to have it in the /device directory. I've found that there is some additional package to record the ir commands and pair them with the keyboard. But the package is not available in the repo, probably it has different name, or need to be added.

Regards,

Jan

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Additional kernel modules?
« Reply #6 on: April 18, 2015, 10:48:39 AM »
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline jgrulich

  • Sr. Member
  • ****
  • Posts: 341
    • GRULICH DESIGN - R&D Lab.
Re: Additional kernel modules?
« Reply #7 on: April 18, 2015, 10:57:57 AM »
Hi Béla,

I'don't have issue with DT config, I've lirc enabled and configured correctly and I may see the /dev/lirc0 is changing when I press the IR button. HW is working well. I need to software to either record the button commands and to pair them with the keyboard keys like e virtual keyboard, or to somehow use one from the list of already implemented modules. There is large database of standard IR remotes to many of TV PC cards, but I have nice simple remote from the car MP3 player which is not listed.
I've found the tutorial which uses the utility for recording and pairing, but not listed in the repo.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Additional kernel modules?
« Reply #8 on: April 18, 2015, 11:07:26 AM »
I've found the tutorial which uses the utility for recording and pairing, but not listed in the repo.

Which utility?
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline jgrulich

  • Sr. Member
  • ****
  • Posts: 341
    • GRULICH DESIGN - R&D Lab.
Re: Additional kernel modules?
« Reply #9 on: April 18, 2015, 11:18:14 AM »
I've used this: http://ozzmaker.com/2013/10/24/how-to-control-the-gpio-on-a-raspberry-pi-with-an-ir-remote/
But there is no /etc/lirc/hardware.conf file to be modified and irrecord -d /dev/lirc0 ~/lircd.conf is not working too hence the irrecord is not available.

Offline jgrulich

  • Sr. Member
  • ****
  • Posts: 341
    • GRULICH DESIGN - R&D Lab.
Re: Additional kernel modules?
« Reply #10 on: April 18, 2015, 11:49:42 AM »
I've created the /etc/lirc/hardware.conf and put it to the backup to restore it during startup.
When I used lsmod , the lirc_rpi and lirc_dev and rc_core are loaded, but no lirc damon to restart
Code: (bash) [Select]
sudo /etc/init.d/lirc stop
sudo /etc/init.d/lirc start

Offline jgrulich

  • Sr. Member
  • ****
  • Posts: 341
    • GRULICH DESIGN - R&D Lab.
Re: Additional kernel modules?
« Reply #11 on: April 18, 2015, 12:29:45 PM »
Seems that in the rc-kernel.tcz are only the kernel modules, but not the user files and utilities like in lirc package for Rasbian.
I was trying to find any kind of lirc, or ir something via the tce, but nothing found. Please be so kind and provide some help how to locate, load and bring them working.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Additional kernel modules?
« Reply #12 on: April 19, 2015, 02:37:32 AM »
lirc.trcz added to repo.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."