https://rancher.com/ logo
#rancher-desktop
Title
# rancher-desktop
a

adamant-kite-43734

10/12/2022, 7:43 PM
This message was deleted.
f

fast-garage-66093

10/13/2022, 12:10 AM
I don't think this is possible right now; at least not in any reasonably easy way. You would need USB passthrough support from QEMU, and that has been notoriously difficult.
i

icy-parrot-30770

10/13/2022, 8:05 AM
Hi Jan, thank you very much for your response :) so as it seems difficult but not impossible, I will try to ;) after reading / watching some stuff I have installed lsusb via brew (brew install lsusb) "lsusb" command in terminal.app give the result : -> Bus 020 Device 008: ID 058f:6387 Alcor Micro, Corp. Mass Storage Serial: 4CB7B84B which is my usb 2 device -> so use of "ehci" (xhci for usb 3 devices) where is stored the script file (if any) that is used to boot the RD alpine VM ? where I would be able to insert (if possible) in it the command : (if i want to mount any device plugged on this specific plug) -device usb-ehci,id=ehci -device usb-host,bus=ehci.0,hostbus=20,hostaddr=8 or (if i want to mount only this specific device) -device usb-ehci,id=ehci -device usb-host,bus=ehci.0,vendorid=0x058f,productid=0x6387 best regards Olivier
f

fast-garage-66093

10/13/2022, 3:55 PM
You can put additional qemu option into the
QEMU_SYSTEM_X86_64
(or
QEMU_SYSTEM_AARCH64
) environment variable, that override the command used to start qemu. Since Rancher Desktop is normally launched via the Finder, you have to put it into the global launchd environment, e.g. (random sample from my shell history):
Copy code
/bin/launchctl setenv QEMU_SYSTEM_X86_64 "qemu-system-x86_64 -cpu host,host-cache-info=on"
When you are done with your experiments, you want to remove the setting again with
Copy code
/bin/launchctl unsetenv QEMU_SYSTEM_X86_64
Please let us know if you can actually make it work!
i

icy-parrot-30770

10/14/2022, 8:09 AM
thanks you very much !! I will let you know :)
9 Views