mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-03-29 22:56:45 +08:00
feat(hid): 增加 HID 后端健康检查与错误码上报,完善前端掉线恢复状态同步及错误提示展示
This commit is contained in:
@@ -361,6 +361,17 @@ export default {
|
||||
reconnectingDesc: 'Attempting to reconnect (attempt {attempt})',
|
||||
recovered: 'HID Recovered',
|
||||
recoveredDesc: '{backend} HID device reconnected successfully',
|
||||
errorHints: {
|
||||
udcNotConfigured: 'Target host has not finished USB enumeration yet',
|
||||
hidDeviceMissing: 'HID gadget device node is missing, try restarting HID service',
|
||||
portNotFound: 'Serial port not found, check CH9329 wiring and device path',
|
||||
noResponse: 'No response from CH9329, check baud rate and power',
|
||||
protocolError: 'CH9329 replied with invalid protocol data',
|
||||
healthCheckFailed: 'Background health check failed',
|
||||
ioError: 'I/O communication error detected',
|
||||
otgIoError: 'OTG link is unstable, check USB cable and host port',
|
||||
ch9329IoError: 'CH9329 serial link is unstable, check wiring and power',
|
||||
},
|
||||
},
|
||||
audio: {
|
||||
// Device monitoring
|
||||
@@ -812,6 +823,7 @@ export default {
|
||||
networkError: 'Network Error',
|
||||
disconnected: 'Disconnected',
|
||||
availability: 'Availability',
|
||||
errorCode: 'Error Code',
|
||||
hidUnavailable: 'HID Unavailable',
|
||||
sampleRate: 'Sample Rate',
|
||||
channels: 'Channels',
|
||||
|
||||
Reference in New Issue
Block a user