WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11570
Re: lirc / irda-utils
« Reply #15 on: December 26, 2011, 01:21:42 PM »
Hi mb
Quote
If it is allowed I can send you my upgraded lirc.tcz..
Quote
I can't see how anyone would have a problem with that..
It's OK for you to PM AmatCoder with your email address so that he can send it to you.
What is not allowed is posting extensions or binaries (executable files) to the forum.
AmatCoder is free to submit it to the repository if he feels it's stable enough for testing.

Offline mb

  • Jr. Member
  • **
  • Posts: 69
Re: lirc / irda-utils
« Reply #16 on: December 26, 2011, 01:37:51 PM »
ok well perhaps you could upload it to mediafire or something and PM me a link please AmatCoder. Perhaps also submit it to the repository if you are up for it.

It would be nice to allow attachments that expire (say after a week, or 5 downloads) on the forums.. its a bit of an annoying extra step.

Offline AmatCoder

  • Full Member
  • ***
  • Posts: 179
    • AmatCoder Projects
Re: lirc / irda-utils
« Reply #17 on: December 26, 2011, 02:01:12 PM »
ok well perhaps you could upload it to mediafire or something and PM me a link please AmatCoder.
Done.

AmatCoder is free to submit it to the repository if he feels it's stable enough for testing.
I'm waiting for a response from the extension maintainer as stated here: http://forum.tinycorelinux.net/index.php/topic,5287.0.html

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11570
Re: lirc / irda-utils
« Reply #18 on: December 26, 2011, 02:14:31 PM »
Give it a couple of days. In addition to accepting new additions to the repository, Jason maintains
well over 300 extensions of his own, some of which he may still be in the process of migrating
to the 4.x repository.

Offline AmatCoder

  • Full Member
  • ***
  • Posts: 179
    • AmatCoder Projects
Re: lirc / irda-utils
« Reply #19 on: December 26, 2011, 02:35:06 PM »
Oh, I'm talking about extension maker (Thomas Genty) who made 0.8.7 for 3.x. From link above:

"When updating an extension originally made by someone else, one needs to contact the original extension maker with the intention to update or fix it."

I have not an answer so I have not sent the file to Jason yet.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11570
Re: lirc / irda-utils
« Reply #20 on: December 26, 2011, 02:46:28 PM »
Hi AmatCoder
Sorry about that, I misunderstood. Had I reread a few posts back I would have realized what you
were referring to.


Offline mb

  • Jr. Member
  • **
  • Posts: 69
Re: lirc / irda-utils
« Reply #21 on: December 26, 2011, 07:39:15 PM »
Thanks again AmatCoder, although i am still having problems.

I deleted the lirc* from .../tce/optional, and installed the one provided, however, 'ls /dev/li*' still comes up blank.. and the associated problems mentioned before. modprobe lirc_sir still returns the same, too. i tried running tce-load -i again on lirc.tcz, but it just told me it was already installed. lirc is also in my onboot.lst

Offline AmatCoder

  • Full Member
  • ***
  • Posts: 179
    • AmatCoder Projects
Re: lirc / irda-utils
« Reply #22 on: December 27, 2011, 09:09:02 AM »
Yes, start-up script is not provided, you need do it yourself... Example:
Code: [Select]
sudo mkdir /var/run/lirc
sudo ln -s /var/run/lirc/lircd /dev/lirc
sudo lircd -n -H [yourdriver] -d [yourdevice] [yourlircd.conf]

You don't need modprobing lirc_sir. It's included in kernel since 2.6.38.

Offline mb

  • Jr. Member
  • **
  • Posts: 69
Re: lirc / irda-utils
« Reply #23 on: December 28, 2011, 01:40:43 PM »
Still not there yet..
if i include '-H lirc_sir' or '-H sir' in the startup script i'm told 'no such driver'.. if i omit the -H flag it doesn't complain.. until i run mode2 which returns 'WARNING: Failed to initialize hardware' and doesn't react to remote commands.

I would normally have ran the included setup.sh which would configure the irq/address and all the rest.. but i'm not sure how i should be doing that here?? ..

Offline AmatCoder

  • Full Member
  • ***
  • Posts: 179
    • AmatCoder Projects
Re: lirc / irda-utils
« Reply #24 on: December 28, 2011, 02:54:22 PM »
Please paste here output from:
Code: [Select]
modinfo lirc_sir
Code: [Select]
dmesg | tail
Code: [Select]
lsmod | grep ir

Offline mb

  • Jr. Member
  • **
  • Posts: 69
Re: lirc / irda-utils
« Reply #25 on: December 28, 2011, 03:13:00 PM »
thanks for the help...
Quote from: modinfo lirc_sir
filename:       lirc_sir
Quote from: dmesg | tail
found SMC SuperIO Chip (devid=0x7a rev=00 base=0x002e): LPC47N227
smsc_superio_flat(): fir: 0x230, sir: 0x3f8, dma: 01, irq: 4, mode: 0x0e
smsc_ircc_present: can't get sir_base of 0x3f8
intel_rng: Firmware space is locked read-only. If you can't or
intel_rng: don't want to disable this in firmware setup, and if
intel_rng: you are certain that your system has a functional
intel_rng: RNG, try using the 'no_fwh_detect' option.
EXT4-fs (sda3): warning: maximal mount count reached, running e2fsck is recommended
EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: (null)
lib80211_crypt: registered algorithm 'TKIP'
Quote from: modinfo lirc_sir
irtty_sir              12288  2
sir_dev                16384  1 irtty_sir
firewire_ohci          24576  0
firewire_core          32768  1 firewire_ohci
irda                   65536  1 sir_dev

Offline AmatCoder

  • Full Member
  • ***
  • Posts: 179
    • AmatCoder Projects
Re: lirc / irda-utils
« Reply #26 on: December 28, 2011, 03:35:17 PM »
lirc_sir does not seems loaded...
Do you load irda-3.0.3-tinycore.tcz? Remember that it is incompatible with lirc_sir module...

Offline mb

  • Jr. Member
  • **
  • Posts: 69
Re: lirc / irda-utils
« Reply #27 on: December 28, 2011, 04:11:49 PM »
yes, you are correct. now;


modinfo lirc_sir hasn't changed..

dmesg | tail;
intel8x0: clocking to 48000
firewire_core: created device fw0: GUID 00023f4453001a99, S400
ACPI: EC: GPE storm detected, transactions will use polling mode
intel_rng: Firmware space is locked read-only. If you can't or
intel_rng: don't want to disable this in firmware setup, and if
intel_rng: you are certain that your system has a functional
intel_rng: RNG, try using the 'no_fwh_detect' option.
EXT4-fs (sda3): warning: maximal mount count reached, running e2fsck is recommended
EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: (null)
lib80211_crypt: registered algorithm 'TKIP'


lsmod | grep ir;
firewire_ohci          24576  0
firewire_core          32768  1 firewire_ohci

e: i'm not quite sure if my device in the lirc command is meant to be /dev/ttyS0 or /dev/lirc ..
wth the first - mode2;
mode2: could not get file information for /dev/lirc
mode2: default_init(): No such file or directory

or with /dev/lirc it says accepted new device, but shows nothing when i shoot the remote at the irda port.
« Last Edit: December 28, 2011, 04:16:05 PM by mb »

Offline AmatCoder

  • Full Member
  • ***
  • Posts: 179
    • AmatCoder Projects
Re: lirc / irda-utils
« Reply #28 on: December 28, 2011, 04:31:40 PM »
I need complete dmesg output. Please attach it here.

Offline mb

  • Jr. Member
  • **
  • Posts: 69
Re: lirc / irda-utils
« Reply #29 on: December 28, 2011, 04:44:38 PM »
ok, here we are..