Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-08-15 | Merge branch 'servo' | Maxim Devaev | |
2021-08-15 | minor servo fixes | Maxim Devaev | |
2021-08-15 | Implement servo angles (#58) | Shantur Rathore | |
/etc/kvmd/override.yaml ``` kvmd: gpio: drivers: servo1: type: servo chip: 0 # PWM Chip Number period: 20000000 # Servo Motor SG90 Period in nano-seconds duty_cycle_min: 350000 # Servo Motor SG90 duty_cycle for -90 degrees duty_cycle_max: 2350000 # Servo Motor SG90 duty_cycle for +90 degrees angle_max: 90 # Servo Motor SG90 angle at duty_cycle_max angle_min: -90 # Servo Motor SG90 angle at duty_cycle_min angle_push: 45 # Servo Motor SG90 angle to push button angle_release: 20 # Servo Motor SG90 angle to release 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-08-14 | fixed pikvm/pikvm#159: workaround for windows 98 absolute mouse bug | Maxim Devaev | |
2021-08-14 | servo template | Maxim Devaev | |
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-27 | /msd/write_remote handle | Maxim Devaev | |
2021-07-24 | dual mouse mode | Maxim Devaev | |
2021-07-24 | disabled instead of empty string | Maxim Devaev | |
2021-07-23 | refactoring | Maxim Devaev | |
2021-07-23 | rewrite otg hid | Maxim Devaev | |
2021-07-23 | fixed process waiting | Maxim Devaev | |
2021-07-17 | moved wol to gpio | Devaev Maxim | |
2021-07-08 | lint fixes | Devaev Maxim | |
2021-06-08 | pikvm/pikvm#321: server-side uploading counters | Devaev Maxim | |
2021-05-26 | sync | Devaev Maxim | |
2021-05-26 | speed up msd | Devaev Maxim | |
2021-05-25 | reduced spi freq to 100k | Devaev Maxim | |
2021-05-25 | pikvm/pikvm#208: permanent image | Devaev Maxim | |
2021-05-19 | tesmart state_poll=10 | Devaev Maxim | |
2021-05-18 | async timeouts | Devaev Maxim | |
2021-05-18 | fix socket timeout/zero based issues in tesmart (#49) | David Shay | |
2021-05-17 | fixed bt hid | Devaev Maxim | |
2021-05-16 | tesmart: check channel after switching | Devaev Maxim | |
2021-05-16 | tesmart rewrite | Devaev Maxim | |
2021-05-14 | Plugin support for TESMART switch - tesmart.py (#47) | David Shay | |
2021-05-09 | new protocol for ezcoo usb3 | Devaev Maxim | |
2021-04-22 | tuned mcu timings | Devaev Maxim | |
2021-04-14 | https://bugs.archlinux.org/task/70438 | Devaev Maxim | |
2021-04-09 | refactoring | Devaev Maxim | |
2021-04-09 | ipmi gpio driver uses ipmitool | Devaev Maxim | |
2021-04-09 | async gpio plugins | Devaev Maxim | |
2021-04-09 | ipmi pseudo-gpio driver | Devaev Maxim | |
2021-03-26 | fixed mouse remap | Devaev Maxim | |
2021-02-05 | reset mcu hid before the loop | Devaev Maxim | |
2021-01-23 | refactoring | Devaev Maxim | |
2021-01-07 | update copy | Devaev Maxim | |
2020-12-29 | instant reset | Devaev Maxim | |
2020-12-29 | relay msd fixes | Devaev Maxim | |
2020-12-26 | otgbind pseudo-gpio plugin | Devaev Maxim | |
2020-12-25 | configurable gpio devices | Devaev Maxim | |
2020-12-25 | api refactoring | Devaev Maxim | |
2020-12-24 | hid set_connected api | Devaev Maxim | |
2020-12-21 | refactoring | Devaev Maxim | |
2020-12-03 | serial fixes | Devaev Maxim | |
2020-12-02 | refactoring | Devaev Maxim | |
2020-12-02 | stop signals propagation in 3.9 | Devaev Maxim | |
2020-12-02 | hid busy flag | Devaev Maxim | |
2020-12-01 | simplified outputs api | Devaev Maxim | |