mmoller2k / pikeyd

Universal Raspberry Pi GPIO keyboard daemon
112 stars 36 forks source link

On RPi 3B+ with OSMC (2019.06-1 install. Kernel 4.14.78-4-osmc) #9

Open BenSeventy9 opened 5 years ago

BenSeventy9 commented 5 years ago

Can enyone help?

login as: osmc osmc@192.168.79.202's password: Linux osmc 4.14.78-4-osmc #1 SMP PREEMPT Wed Dec 12 17:58:11 UTC 2018 armv7l

The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Fri Jul 12 13:51:50 2019 from 192.168.79.112 osmc@osmc:~$ git clone git://github.com/mmoller2k/pikeyd Cloning into 'pikeyd'... remote: Enumerating objects: 161, done. remote: Total 161 (delta 0), reused 0 (delta 0), pack-reused 161 Receiving objects: 100% (161/161), 129.90 KiB | 0 bytes/s, done. Resolving deltas: 100% (102/102), done. osmc@osmc:~$ make -C pikeyd make: Entering directory '/home/osmc/pikeyd' arm-linux-gnueabihf-gcc -O2 -Wstrict-prototypes -Wmissing-prototypes -I/home/osmc/RPi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/arm-linux-gnueabihf/include -I/home/osmc/RPi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/arm-linux-gnueabihf/libc/usr/include -I/home/osmc/RPi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/lib/gcc/arm-linux-gnueabihf/4.7.2/include-fixed -I/home/osmc/RPi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/lib/gcc/arm-linux-gnueabihf/4.7.2/include -I/home/osmc/RPi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/lib/gcc/arm-linux-gnueabihf/4.7.2/finclude -c config.c -o config.o config.c: In function 'handle_iic_event': config.c:509:2: warning: implicit declaration of function 'sendKey' [-Wimplicit-function-declaration] sendKey(k, x); / switch is active low / ^~~ arm-linux-gnueabihf-gcc -O2 -Wstrict-prototypes -Wmissing-prototypes -I/home/osmc/RPi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/arm-linux-gnueabihf/include -I/home/osmc/RPi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/arm-linux-gnueabihf/libc/usr/include -I/home/osmc/RPi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/lib/gcc/arm-linux-gnueabihf/4.7.2/include-fixed -I/home/osmc/RPi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/lib/gcc/arm-linux-gnueabihf/4.7.2/include -I/home/osmc/RPi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/lib/gcc/arm-linux-gnueabihf/4.7.2/finclude -c pikeyd.c -o pikeyd.o pikeyd.c: In function 'main': pikeyd.c:40:9: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if(!strcmp(argv[i], "-d")){ ^~ pikeyd.c:45:7: warning: implicit declaration of function 'daemonKill' [-Wimplicit-function-declaration] daemonKill("/tmp/pikeyd.pid"); ^~~~~~ pikeyd.c:62:5: warning: implicit declaration of function 'daemonize' [-Wimplicit-function-declaration] daemonize("/tmp", "/tmp/pikeyd.pid"); ^~~~~ pikeyd.c:66:3: warning: implicit declaration of function 'init_config' [-Wimplicit-function-declaration] init_config(); ^~~ pikeyd.c:74:6: warning: implicit declaration of function 'init_uinput' [-Wimplicit-function-declaration] if(init_uinput() == 0){ ^~~ pikeyd.c:75:5: warning: implicit declaration of function 'sleep' [-Wimplicit-function-declaration] sleep(1); ^~~~~ pikeyd.c:85:2: warning: implicit declaration of function 'usleep' [-Wimplicit-function-declaration] usleep(4000); ^~ pikeyd.c:91:5: warning: implicit declaration of function 'close_uinput' [-Wimplicit-function-declaration] close_uinput(); ^~~~ arm-linux-gnueabihf-gcc -O2 -Wstrict-prototypes -Wmissing-prototypes -I/home/osmc/RPi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/arm-linux-gnueabihf/include -I/home/osmc/RPi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/arm-linux-gnueabihf/libc/usr/include -I/home/osmc/RPi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/lib/gcc/arm-linux-gnueabihf/4.7.2/include-fixed -I/home/osmc/RPi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/lib/gcc/arm-linux-gnueabihf/4.7.2/include -I/home/osmc/RPi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/lib/gcc/arm-linux-gnueabihf/4.7.2/finclude -c daemon.c -o daemon.o daemon.c: In function 'daemonize': daemon.c:138:3: warning: implicit declaration of function 'umask' [-Wimplicit-function-declaration] umask(027); ^~~~~ arm-linux-gnueabihf-gcc -O2 -Wstrict-prototypes -Wmissing-prototypes -I/home/osmc/RPi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/arm-linux-gnueabihf/include -I/home/osmc/RPi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/arm-linux-gnueabihf/libc/usr/include -I/home/osmc/RPi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/lib/gcc/arm-linux-gnueabihf/4.7.2/include-fixed -I/home/osmc/RPi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/lib/gcc/arm-linux-gnueabihf/4.7.2/include -I/home/osmc/RPi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/lib/gcc/arm-linux-gnueabihf/4.7.2/finclude -c keydefs.c -o keydefs.o arm-linux-gnueabihf-gcc -O2 -Wstrict-prototypes -Wmissing-prototypes -I/home/osmc/RPi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/arm-linux-gnueabihf/include -I/home/osmc/RPi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/arm-linux-gnueabihf/libc/usr/include -I/home/osmc/RPi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/lib/gcc/arm-linux-gnueabihf/4.7.2/include-fixed -I/home/osmc/RPi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/lib/gcc/arm-linux-gnueabihf/4.7.2/include -I/home/osmc/RPi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/lib/gcc/arm-linux-gnueabihf/4.7.2/finclude -c joy_RPi.c -o joy_RPi.o joy_RPi.c: In function 'joy_RPi_init': joy_RPi.c:153:7: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] close(GpioFile); ^~~~~ joy_RPi.c: In function 'joy_handle_repeat': joy_RPi.c:269:3: warning: implicit declaration of function 'get_last_key' [-Wimplicit-function-declaration] get_last_key(&ks); ^~~~ joy_RPi.c:282:7: warning: implicit declaration of function 'sendKey' [-Wimplicit-function-declaration] sendKey(ks.key, mxkey.value[idx]); ^~~ joy_RPi.c: In function 'joy_handle_event': joy_RPi.c:300:2: warning: implicit declaration of function 'send_gpio_keys' [-Wimplicit-function-declaration] send_gpio_keys(gpio_pin(Index), joy_data[Joystick].buttons[Index]); ^~~~~~ arm-linux-gnueabihf-gcc -O2 -Wstrict-prototypes -Wmissing-prototypes -I/home/osmc/RPi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/arm-linux-gnueabihf/include -I/home/osmc/RPi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/arm-linux-gnueabihf/libc/usr/include -I/home/osmc/RPi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/lib/gcc/arm-linux-gnueabihf/4.7.2/include-fixed -I/home/osmc/RPi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/lib/gcc/arm-linux-gnueabihf/4.7.2/include -I/home/osmc/RPi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/lib/gcc/arm-linux-gnueabihf/4.7.2/finclude -c iic.c -o iic.o iic.c: In function 'connect_iic': iic.c:51:8: warning: implicit declaration of function 'ioctl' [-Wimplicit-function-declaration] if ( ioctl(fd, I2C_SLAVE, devAddr) < 0 ){ ^~~~~ iic.c: In function 'poll_iic': iic.c:63:3: warning: implicit declaration of function 'get_xio_parm' [-Wimplicit-function-declaration] get_xio_parm(xio, &type, &chip_addr, &regno); ^~~~ iic.c:66:3: warning: implicit declaration of function 'write' [-Wimplicit-function-declaration] write(fd, buffer, 1); ^~~~~ iic.c:67:3: warning: implicit declaration of function 'read' [-Wimplicit-function-declaration] read(fd, buffer, 1); ^~~~ iic.c:69:3: warning: implicit declaration of function 'handle_iic_event' [-Wimplicit-function-declaration] handle_iic_event(xio, buffer[0]); ^~~~ iic.c: In function 'close_iic': iic.c:117:5: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] close(fd); ^~~~~ arm-linux-gnueabihf-gcc -O2 -Wstrict-prototypes -Wmissing-prototypes -I/home/osmc/RPi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/arm-linux-gnueabihf/include -I/home/osmc/RPi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/arm-linux-gnueabihf/libc/usr/include -I/home/osmc/RPi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/lib/gcc/arm-linux-gnueabihf/4.7.2/include-fixed -I/home/osmc/RPi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/lib/gcc/arm-linux-gnueabihf/4.7.2/include -I/home/osmc/RPi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/lib/gcc/arm-linux-gnueabihf/4.7.2/finclude -c uinput.c -o uinput.o uinput.c: In function 'test_uinput': uinput.c:103:9: warning: implicit declaration of function 'time' [-Wimplicit-function-declaration] srand(time(NULL)); ^~~~ arm-linux-gnueabihf-gcc -s config.o pikeyd.o daemon.o keydefs.o joy_RPi.o iic.o uinput.o -o pikeyd -L/home/osmc/RPi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/arm-linux-gnueabihf/lib -L/home/osmc/RPi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/arm-linux-gnueabihf/libc/lib -L/home/osmc/RPi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/arm-linux-gnueabihf/libc/lib/arm-linux-gnueabihf -L/home/osmc/RPi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/lib/gcc/arm-linux-gnueabihf/4.7.2 -L/home/osmc/RPi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/libexec/gcc/arm-linux-gnueabihf/4.7.2 make: Leaving directory '/home/osmc/pikeyd' osmc@osmc:~$