kvm/internal/native
Alex P 72966389d9 Update default EDID to JetKVM 1920x1080@60Hz with audio support
Changes default EDID to JetKVM branded display configuration:
- Display name: JetKVM
- Full HD resolution (1920x1080@60Hz)
- Digital RGB 8-bit color support
- CEA-861 extension with PCM audio capability
- Broader compatibility with source devices

This EDID declares audio support which may improve HDMI audio detection
on certain source hardware.
2025-11-21 17:35:03 +02:00
..
cgo Merge branch 'dev' into feat/audio-support 2025-11-20 23:47:44 +02:00
eez feat: refactoring network stack (#878) 2025-10-15 18:32:58 +02:00
proto feat: move native to a separate process, again (#964) 2025-11-19 16:02:37 +01:00
README.md feat: move native to a separate process, again (#964) 2025-11-19 16:02:37 +01:00
cgo_linux.go feat: move native to a separate process, again (#964) 2025-11-19 16:02:37 +01:00
cgo_notlinux.go feat: jetkvm native in cGo 2025-09-29 14:09:30 +02:00
chan.go feat: jetkvm native in cGo 2025-09-29 14:09:30 +02:00
ctrl.h feat: jetkvm native in cGo 2025-09-29 14:09:30 +02:00
display.go feat: jetkvm native in cGo 2025-09-29 14:09:30 +02:00
empty.go feat: move native to a separate process, again (#964) 2025-11-19 16:02:37 +01:00
grpc_client.go feat: handle grpc events (#986) 2025-11-20 16:07:50 +01:00
grpc_clientmethods.go feat: move native to a separate process, again (#964) 2025-11-19 16:02:37 +01:00
grpc_server.go feat: handle grpc events (#986) 2025-11-20 16:07:50 +01:00
grpc_servermethods.go feat: move native to a separate process, again (#964) 2025-11-19 16:02:37 +01:00
interface.go feat: move native to a separate process, again (#964) 2025-11-19 16:02:37 +01:00
log.go feat: jetkvm native in cGo 2025-09-29 14:09:30 +02:00
native.go feat: move native to a separate process, again (#964) 2025-11-19 16:02:37 +01:00
proxy.go feat: add failsafe reason for video max restart attempts reached (#991) 2025-11-20 17:32:54 +01:00
server.go feat: move native to a separate process, again (#964) 2025-11-19 16:02:37 +01:00
single.go feat: jetkvm native in cGo 2025-09-29 14:09:30 +02:00
video.go Update default EDID to JetKVM 1920x1080@60Hz with audio support 2025-11-21 17:35:03 +02:00

README.md

jetkvm-native

This component (internal/native/) acts as a bridge between Golang and native (C/C++) code. It manages spawning and communicating with a native process via sockets (gRPC and Unix stream).

For performance-critical operations such as video frame, a dedicated Unix socket should be used to avoid the overhead of gRPC and ensure low-latency communication.

Debugging

To enable debug mode, create a file called .native-debug-mode in the /userdata/jetkvm directory.

touch /userdata/jetkvm/.native-debug-mode

This will cause the native process to listen for SIGHUP signal and crash the process.

pgrep native | xargs kill -SIGHUP