This message was deleted.
# rancher-desktop
a
This message was deleted.
f
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
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
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
thanks you very much !! I will let you know :)