Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

USB Passthrough to Containers #573

Open
emrainey opened this issue Sep 18, 2023 · 2 comments
Open

USB Passthrough to Containers #573

emrainey opened this issue Sep 18, 2023 · 2 comments
Labels
enhancement New feature or request feature_request New Feature Request for Finch

Comments

@emrainey
Copy link

What is the problem you're trying to solve?.
I need to share a USB device connected to my laptop to the software inside the container. There is no native support in Mac for this USB device and the vendor does not support it on Mac either. However, Linux does natively support the device. So I need to run some software in the container which connects to the device in Linux. In my specific case it is a CAN bus device of a particular type which is supported by the Linux kernel in SocketCAN. Mac does not have an equivalent replacement.

Describe the feature you'd like
I would like to be able to setup the device to be shared into the container like docker could do with the -dev flag or something similar with a setting in the finch.yaml to pass the USB IDs in to allow access to one specific device. This would imply that the underlying technology itself on Mac could share the device or make the device exclusively used inside the container.

Additional context
VirtualBox permits such a use by having a filter list based on the USB ID of the device.

@sam-berning sam-berning added enhancement New feature or request feature_request New Feature Request for Finch labels Sep 19, 2023
@AkihiroSuda
Copy link

AkihiroSuda commented Oct 1, 2023

POC PR (outdated):

@ballo
Copy link

ballo commented Jan 31, 2024

I also need this. Unfortunately, UTM's USB passthrough support is currently very buggy and unusable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature_request New Feature Request for Finch
Projects
None yet
Development

No branches or pull requests

4 participants