summaryrefslogtreecommitdiff
path: root/testenv/linters
AgeCommit message (Collapse)Author
2024-12-17switchMaxim Devaev
2024-11-02lint fixMaxim Devaev
2024-09-16refactoringMaxim Devaev
2024-08-27testenv: restored eslintMaxim Devaev
2024-02-13edidconf: DTD serial supportMaxim Devaev
2023-08-09improved outout puf kvmd-otgconf --make-gpio-configMaxim Devaev
2023-05-04python 3.11 fixesMaxim Devaev
2023-04-19ldap auth moduleMaxim Devaev
2023-04-13lint fixesMaxim Devaev
2023-04-13Remove unused items (#128)Adam Outler
* Remove unused items These items are called out as inactive or removed from pylint. * Allow inspection of additional packages By adding these package inspections, the pylint warnings are reduced. This brings us to a smaller list of items which do not comply with current PEPs. https://hackedyour.info/58KO86fiiL4wiV5r * Lint problems discussed with lead * Add comma to end of line
2022-11-21removed relay msdMaxim Devaev
2022-11-18web: forced quote-propsMaxim Devaev
2022-09-04new typing styleMaxim Devaev
2022-07-22lint fixMaxim Devaev
2022-07-22using usb codes instead of arduino cinstantsMaxim Devaev
2022-07-22renamed otg key to usb keyMaxim Devaev
2022-07-16vulture fixMaxim Devaev
2022-06-08more options to edid editingMaxim Devaev
2021-08-21lint fixMaxim Devaev
2021-08-14refactoringMaxim Devaev
2021-08-14Implement 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-08lint fixesDevaev Maxim
2021-05-16dynamic importDevaev Maxim
2021-04-17terminal windowDevaev Maxim
2021-02-16otgnet forwardingDevaev Maxim
2020-12-02basic python 3.9 supportDevaev Maxim
2020-11-12software csDevaev Maxim
2020-11-11another tryDevaev Maxim
2020-11-11kvmd spi driverDevaev Maxim
2020-11-11renamed serial keymap codes to mcuDevaev Maxim
2020-10-10kvmd-otgnetDevaev Maxim
2020-10-08lint fixDevaev Maxim
2020-09-30ignored protected-access for _unpack()Devaev Maxim
2020-09-30moved otg devices configs to their own sectionDevaev Maxim
2020-09-13removed rpi.gpioDevaev Maxim
2020-08-22lint fixDevaev Maxim
2020-08-06refactoringDevaev Maxim
2020-08-06ps2Devaev Maxim
2020-05-24share ClientSession via KvmdClientSessionDevaev Maxim
2020-05-11lint fixesDevaev Maxim
2020-03-20vncDevaev Maxim
2019-11-14python == 3.8Devaev Maxim
2019-11-07otg msd and big refactoringDevaev Maxim
2019-10-19fixed flake8 quotes linterDevaev Maxim
2019-09-26otg keymapDevaev Maxim
2019-09-26refactoringDevaev Maxim
2019-09-26refactoringDevaev Maxim
2019-07-13using js modulesDevaev Maxim
2019-05-01better setup.pyDevaev Maxim
2019-04-28ipmi bmc proxyDevaev Maxim