Hmm weird,
i did a reinstallalion of libcec-dev. I'll crosscheck that.
Thx
Wolfgang
i did a reinstallalion of libcec-dev. I'll crosscheck that.
Thx
Wolfgang
Latest versions:
Server plugin: 0.5.1
MVP dongle: 0.5.2
Raspberry Pi client: 0.5.2
Windows client: 0.5.2-1
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menuremotelinux.cc: In member function 'int RemoteLinux::initCec()':
remotelinux.cc:134:34: error: invalid conversion from 'int (*)(void*, const cec_log_message&) {aka int (*)(void*, const CEC::cec_log_message&)}' to 'CEC::CBCecLogMessageType {aka int (*)(void*, CEC::cec_log_message)}' [-fpermissive]
remotelinux.cc:135:32: error: invalid conversion from 'int (*)(void*, const cec_keypress&) {aka int (*)(void*, const CEC::cec_keypress&)}' to 'CEC::CBCecKeyPressType {aka int (*)(void*, CEC::cec_keypress)}' [-fpermissive]
remotelinux.cc:136:31: error: invalid conversion from 'int (*)(void*, const cec_command&) {aka int (*)(void*, const CEC::cec_command&)}' to 'CEC::CBCecCommandType {aka int (*)(void*, CEC::cec_command)}' [-fpermissive]
remotelinux.cc:137:44: error: invalid conversion from 'int (*)(void*, const libcec_configuration&) {aka int (*)(void*, const CEC::libcec_configuration&)}' to 'CEC::CBCecConfigurationChangedType {aka int (*)(void*, CEC::libcec_configuration)}' [-fpermissive]
remotelinux.cc: In member function 'virtual UCHAR RemoteLinux::getButtonPress(int)':
remotelinux.cc:251:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
remotelinux.cc:279:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
make[2]: *** [remotelinux.o] Fehler 1
sudo apt-get install inputlirc
# Options to be passed to inputlirc.
# EVENTS="/dev/input/event0 /dev/input/event1"
EVENTS="/dev/input/by-id/usb-05a4_9881-event-kbd /dev/input/by-id/usb-05a4_9881-event-mouse"
OPTIONS="-g -c -m0"
sudo apt-get install lirc
# /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=true
#Try to load appropriate kernel modules
#LOAD_MODULES=true
# Run "lircd --driver=help" for a list of supported drivers.
DRIVER="UNCONFIGURED"
# usually /dev/lirc0 is the correct setting for systems using udev
DEVICE="none"
MODULES="none"
# Default configuration files for your hardware if any
LIRCD_CONF=""
LIRCMD_CONF=""
#
#
# To find out how to get a proper configuration file please read:
#
# /usr/share/doc/lirc/README.Debian
START_IREXEC=true
begin
prog = irexec
button = KEY_UP
config = echo "20" |nc -w0 -u 127.0.0.1 2000
end
begin
prog = irexec
button = KEY_DOWN
config = echo "21" |nc -w0 -u 127.0.0.1 2000
end
begin
prog = irexec
button = KEY_LEFT
config = echo "22" |nc -w0 -u 127.0.0.1 2000
end
begin
prog = irexec
button = KEY_RIGHT
config = echo "23" |nc -w0 -u 127.0.0.1 2000
end
begin
prog = irexec
button = CTRL_SHIFT_KEY_T
config = echo "56" |nc -w0 -u 127.0.0.1 2000
end
begin
prog = irexec
button = KEY_BACKSPACE
config = echo "31" |nc -w0 -u 127.0.0.1 2000
end
begin
prog = irexec
button = CTRL_KEY_M
config = echo "41" |nc -w0 -u 127.0.0.1 2000
end
begin
prog = irexec
button = CTRL_KEY_I
config = echo "46" |nc -w0 -u 127.0.0.1 2000
end
begin
prog = irexec
button = CTRL_KEY_E
config = echo "11" |nc -w0 -u 127.0.0.1 2000
end
begin
prog = irexec
button = KEY_ENTER
config = echo "37" |nc -w0 -u 127.0.0.1 2000
end
begin
prog = irexec
button = KEY_VOLUMEUP
config = echo "16" |nc -w0 -u 127.0.0.1 2000
end
begin
prog = irexec
button = KEY_VOLUMEDOWN
config = echo "17" |nc -w0 -u 127.0.0.1 2000
end
begin
prog = irexec
button = KEY_KP0
config = echo "0" |nc -w0 -u 127.0.0.1 2000
end
begin
prog = irexec
button = KEY_KP1
config = echo "1" |nc -w0 -u 127.0.0.1 2000
end
begin
prog = irexec
button = KEY_KP2
config = echo "2" |nc -w0 -u 127.0.0.1 2000
end
begin
prog = irexec
button = KEY_KP3
config = echo "3" |nc -w0 -u 127.0.0.1 2000
end
begin
prog = irexec
button = KEY_KP4
config = echo "4" |nc -w0 -u 127.0.0.1 2000
end
begin
prog = irexec
button = KEY_KP5
config = echo "5" |nc -w0 -u 127.0.0.1 2000
end
begin
prog = irexec
button = KEY_KP6
config = echo "6" |nc -w0 -u 127.0.0.1 2000
end
begin
prog = irexec
button = KEY_KP7
config = echo "7" |nc -w0 -u 127.0.0.1 2000
end
begin
prog = irexec
button = KEY_KP8
config = echo "8" |nc -w0 -u 127.0.0.1 2000
end
begin
prog = irexec
button = KEY_KP9
config = echo "9" |nc -w0 -u 127.0.0.1 2000
end
begin
prog = irexec
button = CTRL_SHIFT_KEY_B
config = echo "50" |nc -w0 -u 127.0.0.1 2000
end
begin
prog = irexec
button = CTRL_SHIFT_KEY_F
config = echo "52" |nc -w0 -u 127.0.0.1 2000
end
begin
prog = irexec
button = KEY_PREVIOUSSONG
config = echo "36" |nc -w0 -u 127.0.0.1 2000
end
begin
prog = irexec
button = KEY_NEXTSONG
config = echo "30" |nc -w0 -u 127.0.0.1 2000
end
begin
prog = irexec
button = KEY_PLAYPAUSE
config = echo "48" |nc -w0 -u 127.0.0.1 2000
end
begin
prog = irexec
button = KEY_HOMEPAGE
config = echo "59" |nc -w0 -u 127.0.0.1 2000
end
begin
prog = irexec
button = KEY_PAGEUP
config = echo "32" |nc -w0 -u 127.0.0.1 2000
end
begin
prog = irexec
button = KEY_PAGEDOWN
config = echo "33" |nc -w0 -u 127.0.0.1 2000
end
begin
prog = irexec
button = BTN_RIGHT
config = echo "13" |nc -w0 -u 127.0.0.1 2000
end
begin
prog = irexec
button = KEY_MUTE
config = echo "15" |nc -w0 -u 127.0.0.1 2000
end
begin
prog = irexec
button = KEY_KPASTERISK
config = echo "10" |nc -w0 -u 127.0.0.1 2000
end
begin
prog = irexec
button = KEY_NUMLOCK
config = echo "14" |nc -w0 -u 127.0.0.1 2000
end
begin
prog = irexec
button = ALT_META_KEY_ENTER
config = echo "18" |nc -w0 -u 127.0.0.1 2000
end
begin
prog = irexec
button = KEY_SLEEP
config = echo "61" |nc -w0 -u 127.0.0.1 2000
end
begin
prog = irexec
button = CTRL_KEY_R
config = echo "55" |nc -w0 -u 127.0.0.1 2000
end