updates
This commit is contained in:
parent
1c3e3cd31c
commit
70df984fba
@ -2,8 +2,8 @@
|
||||
|
||||
use anyhow::Result;
|
||||
use std::time::Duration;
|
||||
use tokio::{sync::mpsc, task::JoinHandle};
|
||||
use tokio_stream::wrappers::ReceiverStream;
|
||||
use tokio::{sync::mpsc, sync::broadcast, task::JoinHandle};
|
||||
use tokio_stream::wrappers::{ReceiverStream, BroadcastStream};
|
||||
use tonic::Request;
|
||||
use tracing::{info, warn, error};
|
||||
use navka_common::navka::{relay_client::RelayClient, HidReport};
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
# install-client.sh - install and setup all client related apps and environments
|
||||
set -euo pipefail
|
||||
|
||||
ORIG_USER=${SUDO_USER:-$(id -un)}
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
# install-server.sh - install and setup all server related apps and environments
|
||||
set -euo pipefail
|
||||
ORIG_USER=${SUDO_USER:-$(id -un)}
|
||||
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
# Proven Pi-5 configfs gadget: HID keyboard+mouse + stereo UAC2
|
||||
# Still need Web Cam Support
|
||||
# navka-core.sh - background stealth daemon to present gadget as usb hub of genuine devices
|
||||
# Proven Pi-5 configfs gadget: HID keyboard+mouse
|
||||
# Still need Web Cam Support + stereo UAC2
|
||||
|
||||
# navka-core – one-shot gadget bring-up for Pi-5 / Arch-ARM
|
||||
set -euo pipefail
|
||||
@ -23,7 +24,7 @@ if [[ -d $G ]]; then
|
||||
sleep 0.2
|
||||
find "$G/configs" -type l -delete 2>/dev/null || true
|
||||
rm -rf "$G/functions"/* 2>/dev/null || true
|
||||
rmdir "$G" || true
|
||||
sudo rmdir "$G" || true
|
||||
fi
|
||||
|
||||
# 5) Create gadget (boot-keyboard + UAC2 mic/spkr, 500 mA max)
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
//! navka-server — receive HidReport and write to /dev/hidg0
|
||||
// main.rs
|
||||
#![forbid(unsafe_code)]
|
||||
|
||||
use std::{pin::Pin, sync::Arc};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user