77 Commits

Author SHA1 Message Date
mofeng-git
2c056ca3e3 feat: merge upstream master - version 4.94
Merge upstream PiKVM master branch updates:

- Bump version from 4.93 to 4.94
- HID: improved jiggler pattern for better compatibility
- Streamer: major refactoring for improved performance and maintainability
- Prometheus: tidying GPIO channel name formatting
- Web: added __gpio-label class for custom styling
- HID: customizable /api/hid/print delay configuration
- ATX: independent power/reset regions for better control
- OLED: added --fill option for display testing
- Web: improved keyboard handling in modal dialogs
- Web: enhanced login error messages
- Switch: added heartbeat functionality
- Web: mouse touch code simplification and refactoring
- Configs: use systemd-networkd-wait-online --any by default
- PKGBUILD: use cp -r to install systemd units properly
- Various bug fixes and performance improvements
2025-08-21 11:26:59 +08:00
mofeng-git
187c713424 refactor: 完善代码质量检查和修复系统
主要改进:
- 添加 make tox-local 本地代码质量检查支持
- 创建 check-code.sh 脚本支持独立工具执行
- 修复 51+ flake8 代码风格问题(未使用导入、行尾空格、注释格式等)
- 解决 pylint 变量命名和日志格式问题
- 重构 make_image 方法解决 too-many-statements 警告
- 添加类型注解和修复方法签名不匹配问题
- 统一代码风格规范(引号使用、空格格式等)

工具配置:
- 更新 tox.ini 支持 Python 3.10 本地环境
- 添加缺失的核心依赖包定义
- 完善 Makefile 构建系统集成
2025-08-20 19:25:57 +08:00
mofeng-git
7116da2511 添加 otg 文件夹创建判断,避免文件夹存在导致程序退出 2025-03-11 12:52:19 +00:00
Maxim Devaev
182aa0e374 otg: renamed product, removed configuration name 2025-02-22 19:33:56 +02:00
mofeng-git
8c8bf35d0b fix 2025-02-02 07:08:40 +00:00
mofeng-git
06a64725be 修改源文件版权声明 2025-02-01 10:55:41 +00:00
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
2acd613a38 dvd support 2025-01-24 05:24:40 +02:00
Maxim Devaev
00ed5197b0 add some otg info 2025-01-20 02:16:55 +02:00
Maxim Devaev
f042ed38e0 usb microphone 2025-01-18 20:28:24 +02:00
Maxim Devaev
43e6cd3e26 usb: kvmd-otgconf now calculates endpoints before operation 2025-01-05 14:17:52 +02:00
Maxim Devaev
f9584929e3 usb: endpoints calculation 2025-01-04 18:27:17 +02:00
Maxim Devaev
aae529f40b split otg mouse start options 2024-12-27 05:42:23 +02:00
mofeng-git
eec64ef57c Merge remote-tracking branch 'upstream/master' 2024-11-20 15:18:34 +00:00
mofeng-git
433232c845 Revert "进一步的 kvmd 国际化(汉化)支持"
This reverts commit 5b25b3661f28deda2d836f970387465ebfd6896a.
2024-11-20 12:44:59 +00:00
mofeng-git
b419641251 Revert "进一步的 kvmd 国际化(汉化)支持,添加配置入口"
This reverts commit 35397c54143f3dba89bebc4e30bc09b0804b5798.
2024-11-20 12:44:59 +00:00
mofeng-git
507c46b986 MSD 支持运行目录存放镜像 2024-10-05 14:31:23 +00:00
Maxim Devaev
7a53f14456 refactoring 2024-09-18 04:37:43 +03:00
mofeng-git
35397c5414 进一步的 kvmd 国际化(汉化)支持,添加配置入口
yaml 配置示例:
```
languages:
    console: zh
    web: zh
```
2024-08-14 22:54:12 +08:00
mofeng-git
5b25b3661f 进一步的 kvmd 国际化(汉化)支持 2024-08-12 22:58:01 +08:00
Maxim Devaev
ce62d711c1 updated copyright date 2024-03-22 16:02:55 +02:00
Maxim Devaev
a834c89ef3 copyright update 2023-05-27 12:41:22 +03:00
Maxim Devaev
f652eca9c2 refactoring 2023-03-07 23:54:05 +02:00
Maxim Devaev
6c0f14cb9d Issue #933: Optional start for otg components 2023-02-26 00:45:40 +02:00
Maxim Devaev
2b728901f5 otg: optional components start 2023-02-26 00:40:25 +02:00
Maxim Devaev
ee3e224e39 new typing style 2022-09-04 18:08:40 +03:00
Maxim Devaev
a3b0b04763 log fix 2022-05-24 16:12:24 +03:00
Frank Zhang
d722c3fff7
Compatibility with old vanilla kernels (#88) 2022-05-24 16:05:49 +03:00
Maxim Devaev
b4aeb86649 refactoring 2022-04-18 12:46:18 +03:00
Maxim Devaev
e83764c501 optional serial number 2022-04-18 12:15:43 +03:00
Maxim Devaev
95928ea4d5 configurable usb device version and max power 2022-04-17 22:25:56 +03:00
Maxim Devaev
486f1be986 get rid of the otg-unlock helper 2022-04-10 06:00:10 +03:00
Maxim Devaev
bd8984dd06 otgconf gpio plugin 2022-04-02 10:39:50 +03:00
Maxim Devaev
b775239d72 refactoring 2022-03-31 16:17:52 +03:00
Maxim Devaev
ab09f88d80 renamed config_path to profile_path 2022-03-31 15:04:57 +03:00
Maxim Devaev
ecb585866c write otg metainfo 2022-03-31 09:58:11 +03:00
Maxim Devaev
686d6f7c2c refactoring 2022-03-31 08:27:55 +03:00
Maxim Devaev
94dca7d7c6 simplified find_udc() 2022-03-31 03:37:04 +03:00
Maxim Devaev
ed93f1f4d3 improved otgbind 2022-03-30 23:37:10 +03:00
Maxim Devaev
bdc2a317e5 refactoring 2022-01-20 09:59:05 +03:00
mfunkey
ba1f66db9c
RNDIS Version 5 for Windows XP, automatic driver load on Windows using ncm (#77)
* rndis version 5 implementation for windows xp

* make windows pick the ncm usb ethernet driver automatically
2022-01-20 09:44:46 +03:00
Maxim Devaev
1b3a2cc3f7 copyright bump 2022-01-07 16:39:02 +03:00
Maxim Devaev
a67c20be29 fix 2022-01-06 05:04:29 +03:00
mfunkey
04f9bbe568
Make kvmd-net start/stop work without error while changing configuration (#76) 2022-01-06 05:01:45 +03:00
Maxim Devaev
9f44a120a7 bump bcdDevice only for rndis 2022-01-06 02:32:10 +03:00
Maxim Devaev
f1662e2262 Improved RNDIS configuration
https://github.com/ev3dev/ev3-systemd/blob/ev3dev-jessie/scripts/ev3-usb.sh
d6679cebba
2022-01-04 21:38:19 +03:00
Maxim Devaev
8f11fa3b91 small rebranding 2021-09-08 06:47:54 +03:00
Maxim Devaev
066a2a4625 configurable bcdUSB 2021-08-31 18:12:47 +03:00
Maxim Devaev
2db0656df3 unified udc code and automatic driver detection 2021-08-28 19:01:13 +03:00
Maxim Devaev
3c59bdcea3 improved otg messages 2021-08-21 18:55:44 +03:00