Portál AbcLinuxu, 7. května 2025 00:48
lircd -H dev/input -d /dev/input/event5vše jede, jak má, stejně tak s přepínačem
-n
(nodaemon). Pokud však použiji příkaz
/etc/init.d/lirc starttak to nenaskočí (
* Starting remote control daemon(s) : LIRC [fail]
). V logu nic není, ani nevím, jak kde co nastavit, aby byl třeba ukecanější.
Netuší prosím někdo, co s tím? Používám Debian Testing (Wheeze).
Ještě přikládám /etc/lirc/hardware.conf:
# /etc/lirc/hardware.conf REMOTE="Leadtek dtv2000h y04g0051" REMOTE_MODULES="" REMOTE_DRIVER="dev/input" #REMOTE_DEVICE="/dev/input/dtv2000h_remote" REMOTE_DEVICE="/dev/input/event5" REMOTE_LIRCD_CONF="/etc/lirc/lircd.conf" REMOTE_LIRCD_ARGS="" #Chosen IR Transmitter TRANSMITTER="None" TRANSMITTER_MODULES="" TRANSMITTER_DRIVER="" TRANSMITTER_DEVICE="" 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" FORCE_NONINTERACTIVE_RECONFIGURATION="true" START_LIRCMD="true"
Řešení dotazu:
# /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 #Don't start irexec, even if a good config file seems to exist. #START_IREXEC=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 udev is in use /dev/lirc0 will be # automatically used instead DEVICE="/dev/lirc0" MODULES="lirc_dev lirc_serial" # Default configuration files for your hardware if any LIRCD_CONF="/etc/lirc/lircd.conf" LIRCMD_CONF=""
/etc/lirc/hardware.conf
:
# /etc/lirc/hardware.conf REMOTE="Leadtek dtv2000h y04g0051" REMOTE_MODULES="" REMOTE_DRIVER="dev/input" REMOTE_DEVICE="/dev/input/event5" REMOTE_LIRCD_CONF="/etc/lirc/lircd.conf" REMOTE_LIRCD_ARGS="" #Try to load appropriate kernel modules LOAD_MODULES="true" #Enable lircd START_LIRCD="true" # Run "lircd --driver=help" for a list of supported drivers. DRIVER="dev/input" # If DEVICE is set to /dev/lirc and udev is in use /dev/lirc0 will be # automatically used instead DEVICE="/dev/input/event5" # Default configuration files for your hardware if any LIRCD_CONF="/etc/lirc/lircd.conf" #LIRCMD_CONF="/etc/lirc/lircmd.conf" #Chosen IR Transmitter TRANSMITTER="None" TRANSMITTER_MODULES="" TRANSMITTER_DRIVER="" TRANSMITTER_DEVICE="" TRANSMITTER_LIRCD_CONF="" TRANSMITTER_LIRCD_ARGS="" #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="true" #START_LIRCMD="true"
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.