mofeng-git
7b3335ea94
Add support for PiKVM Switch and related features
...
This commit introduces several new components and improvements:
- Added Switch module with firmware update and configuration support
- Implemented new media streaming capabilities
- Updated various UI elements and CSS styles
- Enhanced keyboard and mouse event handling
- Added new validators and configuration options
- Updated Python version support to 3.13
- Improved error handling and logging
2025-02-01 01:08:36 +00:00
Maxim Devaev
3552fc06ad
edidconf: DTD serial support
2024-02-13 21:52:09 +02:00
Maxim Devaev
e140b4f29d
improved outout puf kvmd-otgconf --make-gpio-config
2023-08-09 22:54:49 +03:00
Maxim Devaev
be25f5a026
removed relay msd
2022-11-21 07:19:35 +03:00
Maxim Devaev
0e0fe28cf6
lint fix
2022-07-22 06:55:13 +03:00
Maxim Devaev
f277160396
using usb codes instead of arduino cinstants
2022-07-22 05:46:57 +03:00
Maxim Devaev
867412a6cd
renamed otg key to usb key
2022-07-22 04:36:54 +03:00
Maxim Devaev
734ee8a4ed
vulture fix
2022-07-16 23:10:55 +03:00
Maxim Devaev
3ee0c41726
more options to edid editing
2022-06-08 15:19:32 +03:00
Maxim Devaev
7d89a54572
refactoring
2021-08-14 02:01:37 +03:00
Shantur Rathore
e4903c5184
Implement button push using servo motors controlled via pwm ( #55 )
...
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-08-14 01:14:22 +03:00
Devaev Maxim
70fb46d428
otgnet forwarding
2021-02-16 08:10:10 +03:00
Devaev Maxim
0140cba0dc
software cs
2020-11-12 18:33:35 +03:00
Devaev Maxim
a8a075c203
another try
2020-11-11 22:24:25 +03:00
Devaev Maxim
aaef672ac2
kvmd spi driver
2020-11-11 22:24:25 +03:00
Devaev Maxim
e54449fd8e
renamed serial keymap codes to mcu
2020-11-11 22:24:25 +03:00
Devaev Maxim
f6ea1eda45
kvmd-otgnet
2020-10-10 16:06:06 +03:00
Devaev Maxim
5ed0c27f1f
removed rpi.gpio
2020-09-13 21:43:52 +03:00
Devaev Maxim
bf510f4ff3
refactoring
2020-08-06 11:10:37 +03:00
Devaev Maxim
1196285045
ps2
2020-08-06 07:03:29 +03:00
Devaev Maxim
d61471d3a3
share ClientSession via KvmdClientSession
2020-05-24 03:00:29 +03:00
Devaev Maxim
d5ae32b132
vnc
2020-03-20 03:07:27 +03:00
Devaev Maxim
10f8c2b335
otg msd and big refactoring
2019-11-07 01:27:07 +03:00
Devaev Maxim
31c17bb583
otg keymap
2019-09-26 10:26:21 +03:00
Devaev Maxim
5e1e3cdf64
refactoring
2019-09-26 04:23:50 +03:00
Devaev Maxim
2f767573d3
refactoring
2019-09-26 03:19:24 +03:00
Devaev Maxim
f1c86cca4f
better setup.py
2019-05-01 09:08:16 +03:00
Devaev Maxim
0bde12e24d
ipmi bmc proxy
2019-04-28 08:31:37 +03:00
Devaev Maxim
0c82937d3c
refactoring
2019-04-13 06:18:33 +03:00
Devaev Maxim
1d75b738a0
validators, tests
2019-04-06 08:04:26 +03:00