Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-09-04 | new typing style | Maxim Devaev | |
2022-07-22 | lint fix | Maxim Devaev | |
2022-07-22 | using usb codes instead of arduino cinstants | Maxim Devaev | |
2022-07-22 | renamed otg key to usb key | Maxim Devaev | |
2022-07-16 | vulture fix | Maxim Devaev | |
2022-06-08 | more options to edid editing | Maxim Devaev | |
2021-08-21 | lint fix | 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-08 | lint fixes | Devaev Maxim | |
2021-05-16 | dynamic import | Devaev Maxim | |
2021-04-17 | terminal window | Devaev Maxim | |
2021-02-16 | otgnet forwarding | Devaev Maxim | |
2020-12-02 | basic python 3.9 support | 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-10-10 | kvmd-otgnet | Devaev Maxim | |
2020-10-08 | lint fix | 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-13 | removed rpi.gpio | Devaev Maxim | |
2020-08-22 | lint fix | Devaev Maxim | |
2020-08-06 | refactoring | Devaev Maxim | |
2020-08-06 | ps2 | Devaev Maxim | |
2020-05-24 | share ClientSession via KvmdClientSession | Devaev Maxim | |
2020-05-11 | lint fixes | Devaev Maxim | |
2020-03-20 | vnc | Devaev Maxim | |
2019-11-14 | python == 3.8 | Devaev Maxim | |
2019-11-07 | otg msd and big refactoring | Devaev Maxim | |
2019-10-19 | fixed flake8 quotes linter | Devaev Maxim | |
2019-09-26 | otg keymap | Devaev Maxim | |
2019-09-26 | refactoring | Devaev Maxim | |
2019-09-26 | refactoring | Devaev Maxim | |
2019-07-13 | using js modules | Devaev Maxim | |
2019-05-01 | better setup.py | Devaev Maxim | |
2019-04-28 | ipmi bmc proxy | Devaev Maxim | |
2019-04-24 | ipad mouse buttons, keyboard refactoring | Devaev Maxim | |
2019-04-13 | refactoring | Devaev Maxim | |
2019-04-11 | omit __main__.py for coverage | Devaev Maxim | |
2019-04-06 | validators, tests | Devaev Maxim | |