LIRC doesn't work anymore?
#1
Exclamation 
Hi People,

For 1 1/2 month ago i last reinstalled everything on the Asrock 330HT and everything was working fine until i reinstalled saturday 12 June.

A few months ago i installed evertying on my Asrock following this tutorial http://sourceforge.net/apps/phpbb/xci/vi...6cbd0c5139 with Ubuntu karmic minimal and the XCI.SH all-in-one script with XBMC live. Everything worked like a charm and the remote worked great aswel.

But recently i wanted to re-install everything again because some things in the installation got a mess due to configurations and test purposes. So yesterday i was following the same tutorial again and got everything installed and thought that the installation was working untill i wanted to control XBMC with the Asrock remote. I noticed that remote did not worked at all. So i ran the xci.sh script again and installed the LIRC drivers for the second time by the script. But still the remote wasn't working.

So i searched arround and found a post from Odoll http://forum.xbmc.org/showpost.php?p=549...tcount=295. It looks like there were a few updates in the past few month's that made the LIRC script, that is used in the XCI.SH script, not working properly. So i looked it up in the thread and found that a few other users are having similair problems. And so i followed the steps, posted in the above link, trying to reinstall the latest LIRC driver the same way as Odoll did. But still no succes.

When i try to restart the LIRC driver i get the following errors:
Code:
root@Mediacenter:~# sudo /etc/init.d/lirc restart
/etc/lirc/hardware.conf: 1: /etc/lirc/hardware.conf: Permission denied
/etc/lirc/hardware.conf: 1: /etc/lirc/hardware.conf: Permission denied
* Stopping execution daemon: irexec                                     [fail]
* Stopping remote control daemon(s): LIRC                               [fail]
/etc/lirc/hardware.conf: 1: /etc/lirc/hardware.conf: Permission denied
* Loading LIRC modules                                                  [ OK ]
* Unable to load LIRC kernel modules. Verify your
* selected kernel modules in /etc/lirc/hardware.conf
* Starting execution daemon: irexec                                     [fail]

This indicates that there's something wrong while trying to start the lirc driver. And that the lirc driver doesn't have acces to the hardware.conf wich looks like this:
Code:
# /etc/lirc/hardware.conf
#
#Chosen Remote Control
REMOTE="Nuvoton Transceivers/Remotes"
REMOTE_MODULES="lirc_dev lirc_wb677"
REMOTE_DRIVER=""
REMOTE_DEVICE="/dev/lirc0"
REMOTE_SOCKET=""
REMOTE_LIRCD_CONF="lirc_wb677/lircd.conf.wb677"
REMOTE_LIRCD_ARGS=""

#Chosen IR Transmitter
TRANSMITTER="None"
TRANSMITTER_MODULES=""
TRANSMITTER_DRIVER=""
TRANSMITTER_DEVICE=""
TRANSMITTER_SOCKET=""
TRANSMITTER_LIRCD_CONF=""
TRANSMITTER_LIRCD_ARGS=""

#Enable lircd
START_LIRCD="true"

#Don't start lircmd even if there seems to be a good config file
#START_LIRCMD="false"

#Try to load appropriate kernel modules
LOAD_MODULES="true"

# Default configuration files for your hardware if any
LIRCMD_CONF=""

#Forcing noninteractive reconfiguration
#If lirc is to be reconfigured by an external application
#that doesn't have a debconf frontend available, the noninteractive
#frontend can be invoked and set to parse REMOTE and TRANSMITTER
#It will then populate all other variables without any user input
#If you would like to configure lirc via standard methods, be sure
#to leave this set to "false"

I've searched arround allot but i cannot find any exact solution to the problem. If anyone could help me out than please feel free to comment.

Thanks return,
Fjerpje
Asrock ION 330HT, XBMCFreak Nuvoton 10.00 Experimental version 2
Reply
#2
The first line of your hardware.conf has this:
Code:
/etc/lirc/hardware.conf
# /etc/lirc/hardware.conf
#
#Chosen Remote Control

Your issue is the first line. Delete it. I'm guessing it was just like line two at one point, a comment with the file name, but the # got deleted. Make it look like this:
Code:
# /etc/lirc/hardware.conf
#
#Chosen Remote Control
Reply
#3
gsgleason Wrote:The first line of your hardware.conf has this:
Code:
/etc/lirc/hardware.conf
# /etc/lirc/hardware.conf
#
#Chosen Remote Control

Your issue is the first line. Delete it. I'm guessing it was just like line two at one point, a comment with the file name, but the # got deleted. Make it look like this:
Code:
# /etc/lirc/hardware.conf
#
#Chosen Remote Control

I'm sorry that wasn't the right hardware.conf. I've edited the hardware.conf shown in the post above and this is what my hardware.conf is now:

Code:
# /etc/lirc/hardware.conf
#
#Chosen Remote Control
REMOTE="Nuvoton Transceivers/Remotes"
REMOTE_MODULES="lirc_dev lirc_wb677"
REMOTE_DRIVER=""
REMOTE_DEVICE="/dev/lirc0"
REMOTE_SOCKET=""
REMOTE_LIRCD_CONF="lirc_wb677/lircd.conf.wb677"
REMOTE_LIRCD_ARGS=""

#Chosen IR Transmitter
TRANSMITTER="None"
TRANSMITTER_MODULES=""
TRANSMITTER_DRIVER=""
TRANSMITTER_DEVICE=""
TRANSMITTER_SOCKET=""
TRANSMITTER_LIRCD_CONF=""
TRANSMITTER_LIRCD_ARGS=""

#Enable lircd
START_LIRCD="true"

#Don't start lircmd even if there seems to be a good config file
#START_LIRCMD="false"

#Try to load appropriate kernel modules
LOAD_MODULES="true"

# Default configuration files for your hardware if any
LIRCMD_CONF=""

#Forcing noninteractive reconfiguration
#If lirc is to be reconfigured by an external application
#that doesn't have a debconf frontend available, the noninteractive
#frontend can be invoked and set to parse REMOTE and TRANSMITTER
#It will then populate all other variables without any user input
#If you would like to configure lirc via standard methods, be sure
#to leave this set to "false"
Asrock ION 330HT, XBMCFreak Nuvoton 10.00 Experimental version 2
Reply
#4
I just bought an alternative fix to the problem wich is: Conceptronic Lounge'n'LOOK Remote Control. It's a control based on radio frequency and has a few more options than the standard Asrock 330HT remote. I've read a few positive reviews about the Conceptronic Lounge'n'LOOK Remote Control so i hope this helps me out solving the "remote control not working problem" and the "exact aim to react" problem.

This doesn't mean the problem has been fixed for those who are having the same issue and for me using another remote.

So if someone knows a solution than please feel free to help out because others could be helped aswel.
Asrock ION 330HT, XBMCFreak Nuvoton 10.00 Experimental version 2
Reply
#5
Fjerpje Wrote:I'm sorry that wasn't the right hardware.conf. I've edited the hardware.conf shown in the post above and this is what my hardware.conf is now:

Code:
# /etc/lirc/hardware.conf
#
#Chosen Remote Control
REMOTE="Nuvoton Transceivers/Remotes"
REMOTE_MODULES="lirc_dev lirc_wb677"
REMOTE_DRIVER=""
REMOTE_DEVICE="/dev/lirc0"
REMOTE_SOCKET=""
REMOTE_LIRCD_CONF="lirc_wb677/lircd.conf.wb677"
REMOTE_LIRCD_ARGS=""

#Chosen IR Transmitter
TRANSMITTER="None"
TRANSMITTER_MODULES=""
TRANSMITTER_DRIVER=""
TRANSMITTER_DEVICE=""
TRANSMITTER_SOCKET=""
TRANSMITTER_LIRCD_CONF=""
TRANSMITTER_LIRCD_ARGS=""

#Enable lircd
START_LIRCD="true"

#Don't start lircmd even if there seems to be a good config file
#START_LIRCMD="false"

#Try to load appropriate kernel modules
LOAD_MODULES="true"

# Default configuration files for your hardware if any
LIRCMD_CONF=""

#Forcing noninteractive reconfiguration
#If lirc is to be reconfigured by an external application
#that doesn't have a debconf frontend available, the noninteractive
#frontend can be invoked and set to parse REMOTE and TRANSMITTER
#It will then populate all other variables without any user input
#If you would like to configure lirc via standard methods, be sure
#to leave this set to "false"

I find this hard to believe. The error states that line 1 of that file is not executable because of a permission problem. The issue was that you were telling it to execute that file, which was a mistake. The error can't be the same with the line commented out like it should be.
Reply
#6
gsgleason Wrote:I find this hard to believe. The error states that line 1 of that file is not executable because of a permission problem. The issue was that you were telling it to execute that file, which was a mistake. The error can't be the same with the line commented out like it should be.

I'm as amazed as you are and because i'm a total Linux newbee; i really don't know what to do. I just give you the errors as they appear on my screen copied from Putty.
Asrock ION 330HT, XBMCFreak Nuvoton 10.00 Experimental version 2
Reply

Logout Mark Read Team Forum Stats Members Help
LIRC doesn't work anymore?0