Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-08-14 | refactoring | Maxim Devaev | |
2021-08-14 | Implement button push using servo motors controlled via pwm (#55) | Shantur Rathore | |
1. Add to /boot/config.txt ``` dtoverlay=pwm ``` 2. Create /etc/udev/rules.d/99-kvmd-pwm.rules ``` SUBSYSTEM=="pwm*", ACTION=="add", RUN+="/bin/chgrp -R kvmd /sys%p", RUN+="/bin/chmod -R g=u /sys%p" SUBSYSTEM=="pwm*", ACTION=="change", ENV{TRIGGER}!="none", RUN+="/bin/chgrp -R kvmd /sys%p", RUN+="/bin/chmod -R g=u /sys%p" ``` 3. Connect Servo motor like SG90 PWM connection to RPi GPIO18, +5V and GND to a 5V and GND pin on header 4. Add to /etc/kvmd/override.yaml ``` kvmd: gpio: drivers: servo1: type: pwm pwm_chip: 0 # PWM Chip Number pwm_period: 20000000 # Servo Motor SG90 Period in nano-seconds duty_cycle_push: 1500000 # Servo Motor SG90 duty_cycle for pushing button duty_cycle_release: 1000000 # Servo Motor SG90 duty_cycle for releasing button scheme: short_press: driver: servo1 pin: 0 # Pin number is the PWM channel number on the PWM Chip mode: output switch: false pulse: delay: 0.5 max_delay: 2 long_press: driver: servo1 pin: 0 # Pin number is the PWM channel number on the PWM Chip mode: output switch: false pulse: delay: 2 max_delay: 2 extra_long_press: driver: servo1 pin: 0 # Pin number is the PWM channel number on the PWM Chip mode: output switch: false pulse: delay: 10 max_delay: 20 view: header: title: Controls table: - ["#Servo - Short Press", "short_press|Press"] - ["#Servo - Long Press", "long_press|Press"] - ["#Servo - Extra Long Press", "extra_long_press|Press"] ``` | |||
2021-07-08 | lint fixes | Devaev Maxim | |
2021-06-08 | lint fix | Devaev Maxim | |
2021-05-24 | janus runner draft | Devaev Maxim | |
2021-05-16 | dynamic import | Devaev Maxim | |
2021-05-14 | janus stubs | Devaev Maxim | |
2021-04-17 | clean yaml error message | Devaev Maxim | |
2021-04-17 | terminal window | Devaev Maxim | |
2021-04-09 | ipmi gpio driver uses ipmitool | Devaev Maxim | |
2021-03-07 | npm workaround | Devaev Maxim | |
2021-02-18 | ustreamer == 3.17 | Devaev Maxim | |
2021-02-16 | otgnet forwarding | Devaev Maxim | |
2021-02-15 | fixed Makefile for vnc ssl | Devaev Maxim | |
2021-02-06 | refactored streamer params, added h264 gop | Devaev Maxim | |
2021-01-28 | h264_bitrate streamer param | Devaev Maxim | |
2021-01-25 | using archlinux/archlinux:base-devel | Devaev Maxim | |
2021-01-24 | systemd-tmpfiles hangs | Devaev Maxim | |
2021-01-22 | sink source for vnc | Devaev Maxim | |
2021-01-14 | v3 usb breaker | Devaev Maxim | |
2021-01-07 | update copy | Devaev Maxim | |
2020-12-25 | configurable gpio devices | Devaev Maxim | |
2020-12-02 | stop signals propagation in 3.9 | Devaev Maxim | |
2020-12-02 | basic python 3.9 support | Devaev Maxim | |
2020-11-23 | refactoring | Devaev Maxim | |
2020-11-22 | refactoring | Devaev Maxim | |
2020-11-12 | software cs | Devaev Maxim | |
2020-11-11 | another try | Devaev Maxim | |
2020-11-11 | kvmd spi driver | Devaev Maxim | |
2020-11-11 | renamed serial keymap codes to mcu | Devaev Maxim | |
2020-11-03 | Relative (#18) | Maxim Devaev | |
* refactoring * basic relative mouse mode | |||
2020-10-17 | fixed missing package | Devaev Maxim | |
2020-10-17 | use packages from the repo | Devaev Maxim | |
2020-10-16 | new attempt | Devaev Maxim | |
2020-10-16 | attempt to fix github actions | Devaev Maxim | |
2020-10-16 | PR #15: https for local run | Devaev Maxim | |
2020-10-15 | Merge branch 'confirm' into master | Devaev Maxim | |
2020-10-13 | typing fixes | Devaev Maxim | |
2020-10-11 | service --run | Devaev Maxim | |
2020-10-10 | kvmd-otgnet | Devaev Maxim | |
2020-10-09 | otgnet stubs | Devaev Maxim | |
2020-10-08 | lint fix | Devaev Maxim | |
2020-10-03 | common env variables | Devaev Maxim | |
2020-10-02 | added tests | Devaev Maxim | |
2020-09-30 | ignored protected-access for _unpack() | Devaev Maxim | |
2020-09-30 | moved otg devices configs to their own section | Devaev Maxim | |
2020-09-22 | confirmations for gpio | Devaev Maxim | |
2020-09-13 | removed rpi.gpio | Devaev Maxim | |
2020-09-12 | libgpiod initials | Devaev Maxim | |
2020-09-10 | changed separator | Devaev Maxim | |