WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: lirc / irda-utils  (Read 10840 times)

Offline AmatCoder

  • Full Member
  • ***
  • Posts: 179
    • AmatCoder Projects
Re: lirc / irda-utils
« Reply #30 on: December 28, 2011, 05:58:47 PM »
Yes, lirc_sir is missing.
I send you a PM with lirc_modules-3.0.3-tinycore.tcz extension compiled by me. Load it and try:
Code: [Select]
sudo modprobe lirc_dev
sudo modprobe lirc_sir
« Last Edit: December 28, 2011, 06:07:08 PM by AmatCoder »

Offline mb

  • Jr. Member
  • **
  • Posts: 69
Re: lirc / irda-utils
« Reply #31 on: December 28, 2011, 06:28:21 PM »
Thanks again..  modprobe returns nothing in both cases.

Offline AmatCoder

  • Full Member
  • ***
  • Posts: 179
    • AmatCoder Projects
Re: lirc / irda-utils
« Reply #32 on: December 28, 2011, 06:38:04 PM »
But is it working?

dmseg should return something like:
Code: [Select]
lirc_dev: IR Remote Control driver registered, major 61
lirc_dev: lirc_register_driver: sample_rate: 0
lirc_sir: I/O port 0x03e8, IRQ 4.
lirc_sir: Installed.

Offline mb

  • Jr. Member
  • **
  • Posts: 69
Re: lirc / irda-utils
« Reply #33 on: December 28, 2011, 06:53:16 PM »
yes i think so;
dmesg | grep lirc
lirc_dev: IR Remote Control driver registered, major 250
platform lirc_dev.0: lirc_dev: driver lirc_sir registered at minor = 0
lirc_sir: I/O port 0x03e8, IRQ 4.
lirc_sir: Installed.

i still can't use -H (lirc_)sir with lircd, and 'mode2' still doesn't return anything.. but i'm connecting via ssh so i'll have to see if that is the same with a display connected- which i'll do shortly.

Offline mb

  • Jr. Member
  • **
  • Posts: 69
Re: lirc / irda-utils
« Reply #34 on: December 28, 2011, 08:54:36 PM »
no difference with display.

Offline AmatCoder

  • Full Member
  • ***
  • Posts: 179
    • AmatCoder Projects
Re: lirc / irda-utils
« Reply #35 on: December 29, 2011, 11:49:26 AM »
i still can't use -H (lirc_)sir with lircd, and 'mode2' still doesn't return anything..
Your driver should be 'default'. See:
http://www.lirc.org/html/table.html#@hw-irda

Summarizing, it should work with:
Code: [Select]
tce-load -i lirc-modules-3.0.3-tinycore
tce-load -i lirc
modprobe lirc_sir                            <- it may need 'modprobe lirc_dev' before and/or irda-modules after...
install -d /var/run/lirc
ln -s /var/run/lirc/lircd /dev/lirc          <- some distros use /dev/lircd (?)
lircd -H default -d /dev/lirc0
mode2

If not, try reading this:
http://www.thinkwiki.org/wiki/How_to_make_use_of_IrDA#LIRC_and_IrDA

Particularly 'Configuring lirc_sir' chapter...