View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 4 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Fri Aug 12, 2005 1:05 am 
Offline
Joined: Thu Jul 14, 2005 12:43 am
Posts: 21
Location: Brechin, Scotland
I am fairly new to Linux however I have managed to get an almost fully working system with Knoppmyth R5A16, which appears to have LIRC included, I have Kworld DVB-t card and I have located the correct lircd.conf file and puyt it in /etc/lirc/ folder. I then tried /etc/init.d/lirc restart and its complains it did not have the correct kernel modules as below:-

Quote:
Stopping lirc daemon: lircmd lircd.
#####################################################
## I couldn't load the required kernel modules ##
## You should install lirc-modules-source to build ##
## kernel support for your hardware. ##
#####################################################
## If this message is not appropriate you may set ##
## LOAD_MODULES=false in /etc/lirc/hardware.conf ##
#####################################################
Starting lirc daemon:.



My hardware.conf file is as follows :-


Quote:
# /etc/lirc/hardware.conf
#
# Arguments which will be used when launching lircd
LIRCD_ARGS=""

#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

# Run "lircd --driver=help" for a list of supported drivers.
DRIVER="default"
# If DEVICE is set to /dev/lirc and devfs is in use /dev/lirc/0 will be
# automatically used instead
DEVICE="/dev/lirc"
MODULES="lirc_dev lirc_gpio"

# Default configuration files for your hardware if any
LIRCD_CONF="leadtek/lircd.conf.RM-0010"
LIRCMD_CONF="leadtek/lircmd.conf.RM-0010"


When I tried to modprobe the modules I get the following :_


Quote:
modprobe lirc_dev
modprobe lirc_gpio
FATAL: Error inserting lirc_gpio (/lib/modules/2.6.11.9-chw-2-kraxel1/misc/lirc_gpio.ko): Invalid request code


The lirc_gpio.ko file does exist.

Any help on this would be much appreciated, the remote control is the last thing I need to get working on my mythbox.

As I have the lircd.conf file for my remote is that all I need or do I need modules specific to the hardware?

Thanks in advance
Paul


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 12, 2005 1:32 am 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
you need to reconfigure lirc to use the new module. R5A16 includes a script to do that for you, lirc-reconfig.sh

_________________
Have a question search the forum and have a look at the KnoppMythWiki.

Xsecrets


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 12, 2005 3:20 am 
Offline
Joined: Thu Jul 14, 2005 12:43 am
Posts: 21
Location: Brechin, Scotland
I tried that, slected Kworld card from the list and it created the hard.conf file below, I added lirc_dev and lirc_gpio to /etc/modules but only lirc_dev is loaded, when I try modprobe I get the same error. Do I have to remake the kernel? I have been assuming that it would already contain all that lirc would need but I might be wrong.

Thanks for the assistance.

Quote:
# /etc/lirc/hardware.conf
#
# Arguments which will be used when launching lircd
LIRCD_ARGS=""

#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

# Run "lircd --driver=help" for a list of supported drivers.
DRIVER="default"
# If DEVICE is set to /dev/lirc and devfs is in use /dev/lirc/0 will be
# automatically used instead
DEVICE="/dev/lirc"
MODULES="lirc_dev lirc_gpio"

# Default configuration files for your hardware if any
LIRCD_CONF="kworld/lircd.conf.kworld"
LIRCMD_CONF=""


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 12, 2005 9:03 am 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
well if for some odd reason your install does not have the lirc_gpio module then you will have to recompile lirc from scratch with that module. I know for a fact that R5A16 is supposed to have it, as I use it with a Leadtek 2000 card and all I had to do was run that reconfigure script and find an appropriate config file.

_________________
Have a question search the forum and have a look at the KnoppMythWiki.

Xsecrets


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 20 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu