mirror of
https://github.com/pikvm/pikvm.git
synced 2026-03-02 18:16:56 -05:00
Switch between Arduino HiD and OTG over Webinterface possible? #284
Labels
No labels
component:documentation
help wanted
resolution:delayed
resolution:duplicate
resolution:fixed
resolution:invalid
resolution:rejected
resolution:wontfix
success story
type:bug
type:bug
type:feature
type:question
type:question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/pikvm-pikvm#284
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @semool on GitHub (Jun 28, 2021).
Originally assigned to: @mdevaev on GitHub.
First, great Software. I have build me a v2 Version with an rpi4-4GB and its working great on my three Nuc Systems (a Proxmox Cluster).
But i have another "old" Machine for Testing things and OTG isnt working (only detecting MSD in Bios). After consulting the Pages on github i have build a Arduino HiD for this Machine and with this second USB Cable the Keyboard is working after is switching the HiD Mode in override.yaml.
Great so far, but... all three Nuc Machines and the old one are connected to a ezcoo switch.When i control the old machine i must switch to Arduino HiD. I have made me a small script which is working for this:
It is possible to add a Button in the Webif to make this switch? Eventually without a kvmd restart?
Edit:
Eventually with an extension to the ezcoo Code? So that when i switch to this port its automaticly changed to the Arduino HiD and back to otg on the Ports where not have set "hid: arduino"?!
@mdevaev commented on GitHub (Jun 28, 2021):
Hi! Thanks.
You definitely can't do that. As you yourself point out, this requires a restart. During the restart, all internal mechanisms and data structures are reinitialized. Moreover, your script will only work if the last HID mode was OTG before rebooting, since it requires special settings for the USB controller.
@semool commented on GitHub (Jun 29, 2021):
Ok thank you. Then i will wait and buy a v3 when its available for the ezcoo switch and the v2 moves over to the old machine.
@mdevaev commented on GitHub (Jun 29, 2021):
Welcome