You are not logged in.

#1 2011-08-06 10:07:41

dancer69
Banned
Registered: 2011-08-05
Posts: 66

[HELP] lirc configuration

Hello,
I'm trying to configure lirc for my device(pinnacle usb 330e remote) and I have some problems.
I've successfully configure it on different distros(ubuntu, fedora, opensuse, mint) several times but on arch my configuration doesn't work.
I can successfully run

lircd -H devinput -d /dev/input/event15

end the remote work fine, but when I'm running the daemon doesn't work.
my configuration file(which work fine on other distros/installations) seems to be wrong.

# /etc/lirc/hardware.conf
#
#Chosen Remote Control
REMOTE="em28xx"
REMOTE_MODULES="lirc_dev"
REMOTE_DRIVER="dev/input"
REMOTE_DEVICE="phys="usb-0000:00:1d.7-3/input0""
REMOTE_SOCKET="/var/run/lirc/lircd"
REMOTE_LIRCD_CONF="etc/lirc/lircd.conf"
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"
#LIRCD_ARGS="-H devinput -d /dev/input/event15" 
#Don't start lircmd even if there seems to be a good config file
#START_LIRCMD=true
#Don't start irexec, even if a good config file seems to exist.
START_IREXEC="true" 

#Try to load appropriate kernel modules
LOAD_MODULES="true" 
# Run "lircd --driver=help" for a list of supported drivers.
# If DEVICE is set to /dev/lirc and devfs is in use /dev/lirc/0 will be
# automatically used instead
#DEVICE=""
#MODULES="" 
# 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"
FORCE_NONINTERACTIVE_RECONFIGURATION="false"
START_LIRCMD=""

I've tried to change:
lirc_dev to evdev and to devinput
dev/input to devinput
uncomment the LIRCARGS
but nothing works

Last edited by dancer69 (2011-08-06 11:11:25)

Offline

#2 2011-08-06 10:13:35

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [HELP] lirc configuration

You need to edit you post and use [ code ] tags https://bbs.archlinux.org/help.php#bbcode

like this

(if you hit 'quote' on my post you will see how I've done it)


Do you have those config files

REMOTE_SOCKET="/var/run/lirc/lircd"
REMOTE_LIRCD_CONF="etc/lirc/lircd.conf"

?
I'm not sure, but on Arch we ship

/etc/conf.d/lircd.conf
/etc/rc.d/lircd

Have you read https://wiki.archlinux.org/index.php/Lirc ?

Last edited by karol (2011-08-06 10:18:22)

Offline

#3 2011-08-06 11:18:44

dancer69
Banned
Registered: 2011-08-05
Posts: 66

Re: [HELP] lirc configuration

Sorry about the CODE tag. I thought that it didn't supported because in all other forums there are buttons for this stuff.
I didn't know about conf.d, I found that rc.d used instead of init.d but I thought that lirc uses the /etc/lirc folder.
I'll try it.

EDIT:
Yes, that solve it. Thanks

Last edited by dancer69 (2011-08-06 14:34:33)

Offline

Board footer

Powered by FluxBB