LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-10-2009, 02:21 PM   #1
mitchell2345
Member
 
Registered: Aug 2008
Posts: 55

Rep: Reputation: 16
Lirc + CentOS5 + rpmforge


Hi,

I upgraded to 5.3. to get yum to work i had to remove alot of atrpm's rpms. after getting tired of all the dependency conflictions with atrpms and rpmforge i started remove every package i can find from atrpms and installing the same one from rpmforge.

so far i have been pretty successful. I have only one package that i am having issues with. That being lirc. kinda a big one for mythtv.

i have the following packages installed from rpmforge.
[myth@mythtv ~]$ rpm -qa |grep lirc
lirc-0.6.6-4.el5.rf
dkms-lirc-0.8.2-1.nodist.rf

I saw dkms build the kernel module on reboot (man that is nicer than kmdl's) but when i start lirc it seg faults right away

[root@mythtv ~]# lircd -n
lircd 0.6.6: error in configfile line 1594931104:
lircd 0.6.6: unknown definiton or too few arguments: " ยห[ู* ยห[ู*"
lircd 0.6.6: reading of config file failed
lircd 0.6.6: Segmentation fault
[root@mythtv ~]#

lircd.conf file is simple and the same as before with atrpms rpms:
[root@mythtv ~]# cat /etc/lircd.conf
#
# RC-6 config file
#
# source: http://home.hccnet.nl/m.majoor/proje...te_control.htm
# http://home.hccnet.nl/m.majoor/pronto.pdf
#
# used by: Philips
#
#########
#
# Philips Media Center Edition remote control
# For use with the USB MCE ir receiver
#
# Dan Conti dconti|acm.wwu.edu
#
# Updated with codes for MCE 2005 Remote additional buttons
# *, #, Teletext, Red, Green, Yellow & Blue Buttons
# Note: TV power button transmits no code until programmed.
# Updated 12th September 2005
# Graham Auld - mce|graham.auld.me.uk
#
# Radio, Print, RecTV are only available on the HP Media Center remote control
#

begin remote

name mceusb
bits 16
flags RC6|CONST_LENGTH
eps 30
aeps 100

header 2667 889
one 444 444
zero 444 444
pre_data_bits 21
pre_data 0x37FF0
gap 105000
toggle_bit 22
rc6_mask 0x100000000


begin codes

Blue 0x00007ba1
Yellow 0x00007ba2
Green 0x00007ba3
Red 0x00007ba4
Teletext 0x00007ba5
Radio 0x00007baf
Print 0x00007bb1
Videos 0x00007bb5
Pictures 0x00007bb6
RecTV 0x00007bb7
Music 0x00007bb8
TV 0x00007bb9
Guide 0x00007bd9
LiveTV 0x00007bda
DVD 0x00007bdb
Back 0x00007bdc
OK 0x00007bdd
Right 0x00007bde
Left 0x00007bdf
Down 0x00007be0
Up 0x00007be1
Star 0x00007be2
Hash 0x00007be3
Replay 0x00007be4
Skip 0x00007be5
Stop 0x00007be6
Pause 0x00007be7
Record 0x00007be8
Play 0x00007be9
Rewind 0x00007bea
Forward 0x00007beb
ChanDown 0x00007bec
ChanUp 0x00007bed
VolDown 0x00007bee
VolUp 0x00007bef
More 0x00007bf0
Mute 0x00007bf1
Home 0x00007bf2
Power 0x00007bf3
Enter 0x00007bf4
Clear 0x00007bf5
Nine 0x00007bf6
Eight 0x00007bf7
Seven 0x00007bf8
Six 0x00007bf9
Five 0x00007bfa
Four 0x00007bfb
Three 0x00007bfc
Two 0x00007bfd
One 0x00007bfe
Zero 0x00007bff
end codes
end remote

The odd part is when i retry the to start lirc the too few arg symbols change but it always say line 1594931104.

i clearly dont have that many lines in the config. where is the issue?

Thanks,
Mitchell
 
Old 04-15-2009, 02:35 PM   #2
kentyler
Member
 
Registered: Dec 2008
Location: Newark Ohio
Distribution: Fedora Core
Posts: 270

Rep: Reputation: 38
You do not specify the config file on the command line, did you try that?

try to do dos2unix on the config file to clean any junk out of there that you might not see.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How To Add RPMForge Repo to RHEL5? carlosinfl Red Hat 3 10-12-2010 05:40 AM
VLC yum installed from rpmforge doesn't work ? utw-mephisto Linux - Software 2 02-19-2009 05:42 AM
help with rpmforge on centos JRink Linux - Newbie 1 11-29-2008 11:46 PM
Oracle 9i on Centos5 mago Linux - Server 1 08-18-2008 09:45 PM
Update fails, lirc, centos5 MonsterMaxx Fedora 3 08-14-2008 04:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration