LinHES Forums http://forum.linhes.org/ |
|
LIRC problems Please help I am still a newbie :-) http://forum.linhes.org/viewtopic.php?f=2&t=5646 |
Page 1 of 1 |
Author: | pwfk [ Fri Aug 12, 2005 1:05 am ] |
Post subject: | LIRC problems Please help I am still a newbie :-) |
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 |
Author: | Xsecrets [ Fri Aug 12, 2005 1:32 am ] |
Post subject: | |
you need to reconfigure lirc to use the new module. R5A16 includes a script to do that for you, lirc-reconfig.sh |
Author: | pwfk [ Fri Aug 12, 2005 3:20 am ] |
Post subject: | |
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="" |
Author: | Xsecrets [ Fri Aug 12, 2005 9:03 am ] |
Post subject: | |
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. |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |