78 Commits

Author SHA1 Message Date
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
mofeng-git
3ec872878e 修复 make run-nogpi 测试环境 2024-11-20 12:44:59 +00:00
mofeng-git
8f0a591c98 为测试环境添加国内镜像源 2024-09-11 10:31:54 +08:00
mofeng-git
6a966af5fb 将平台配置修改为 v2-hdmiusb-rpi4
Docker 构建时运行清理缓存的命令
2024-08-04 15:26:20 +08:00
mofeng-git
a5e5e2b76a Docker 构建时添加 npm 镜像源 2024-08-04 12:39:17 +08:00
mofeng-git
11943d0345 Docker 构建时添加 PyPi 镜像源 2024-08-04 12:32:17 +08:00
Maxim Devaev
5c77265d51 testenv: added deps for ustreamer building 2024-03-22 22:24:38 +02:00
Maxim Devaev
8d702f8cc2 kvmd-nginx-mkconf: Render nginx config with kvmd settings 2024-02-03 16:13:45 +02:00
Maxim Devaev
2d11b16c0c requires libgpiod>=2.1 2024-01-26 12:52:00 +02:00
Maxim Devaev
1c0b0bec41 testing with libgpiod 2.1 2024-01-14 22:50:50 +02:00
Maxim Devaev
e28dec4e33 libgpiod 2.x api 2024-01-14 22:25:09 +02:00
Maxim Devaev
7382b1ed12 workaround for legacy libgpiod 1.x 2024-01-09 00:03:14 +02:00
Maxim Devaev
2d0ffe6752 raspberrypi-utils 2023-10-22 07:14:06 +03:00
Maxim Devaev
2b0515dc55 cached /export/prometheus/metrics 2023-07-24 16:25:25 +03:00
Maxim Devaev
9879a9f05b fixed pip 2023-06-18 11:46:40 +03:00
Maxim Devaev
314459310a testenv: libgpiod from the repo 2023-04-20 19:30:16 +03:00
Maxim Devaev
1209ddeb8d ldap auth module 2023-04-19 23:40:36 +03:00
Maxim Devaev
26238e241e Issue #947: Improved layout handling and Unicode -> X11 keysyms translation 2023-03-23 11:50:22 +02:00
Maxim Devaev
2d772cc30e TOTP implementation 2023-01-22 23:03:23 +02:00
Maxim Devaev
e49f6e2969 added base-devel package to testenv 2022-12-21 22:05:53 +03:00
Maxim Devaev
dcd6c37503 using archlinux/archlinux:base for testenv 2022-12-21 21:59:52 +03:00
Maxim Devaev
b6b5290610 removed openssl-1.0 from testenv 2022-12-21 21:56:05 +03:00
Maxim Devaev
4c6511491e lint fix 2022-11-08 21:39:09 +03:00
Maxim Devaev
29bd1e2f6f static env 2022-11-07 16:17:13 +03:00
Maxim Devaev
4201206bd2 changed arch mirror 2022-09-12 13:24:23 +03:00
Maxim Devaev
0128145e99 lint fix 2022-08-30 07:56:57 +03:00
Maxim Devaev
4f9501a806 /api/msd/read: zstd supported 2022-08-14 21:03:45 +03:00
Maxim Devaev
9f4c241204 shellcheck 2022-06-24 16:05:10 +03:00
Maxim Devaev
53e64fe151 pst server 2022-06-15 15:58:29 +03:00
Maxim Devaev
d83e32fc51 using dbus_next 2022-04-23 18:28:13 +03:00
Maxim Devaev
e566364b75 fixed keyring in testenv 2022-04-23 16:04:50 +03:00
Maxim Devaev
486f1be986 get rid of the otg-unlock helper 2022-04-10 06:00:10 +03:00
Maxim Devaev
66e5aa49e0 fixed dockerfile 2022-04-01 06:18:05 +03:00
Maxim Devaev
3ab43edeb9 pikvm/kvmd#66: OCR API 2022-01-18 09:25:17 +03:00
Maxim Devaev
aef7a5a094 python update 2021-12-23 18:44:34 +03:00
Maxim Devaev
2db0656df3 unified udc code and automatic driver detection 2021-08-28 19:01:13 +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
19a68887e4 janus runner draft 2021-05-24 05:08:53 +03:00
Devaev Maxim
5eb0d71cfd dynamic import 2021-05-16 23:47:16 +03:00
Devaev Maxim
bbf6529510 janus stubs 2021-05-14 05:48:49 +03:00
Devaev Maxim
1ca341069d ipmi gpio driver uses ipmitool 2021-04-09 06:20:51 +03:00
Devaev Maxim
99a6e1644a npm workaround 2021-03-07 15:32:24 +03:00
Devaev Maxim
36e3013f18 fixed Makefile for vnc ssl 2021-02-15 05:51:42 +03:00
Devaev Maxim
13057e7d48 using archlinux/archlinux:base-devel 2021-01-25 12:19:38 +03:00
Devaev Maxim
573d622a44 systemd-tmpfiles hangs 2021-01-24 12:20:59 +03:00
Devaev Maxim
ebe40697a5 sink source for vnc 2021-01-22 04:26:04 +03:00
Devaev Maxim
ada307c624 fixed missing package 2020-10-17 19:10:22 +03:00
Devaev Maxim
751305828e use packages from the repo 2020-10-17 02:32:06 +03:00
Devaev Maxim
fd008fcda1 new attempt 2020-10-16 18:01:08 +03:00
Devaev Maxim
0e069de389 attempt to fix github actions 2020-10-16 17:01:00 +03:00