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

Does not discover the device when running in container #213

Open
roman-rybalko opened this issue Mar 15, 2024 · 0 comments
Open

Does not discover the device when running in container #213

roman-rybalko opened this issue Mar 15, 2024 · 0 comments

Comments

@roman-rybalko
Copy link

I'm running Flashtool 0.9.36.0 in a LXC privileged container. I've noticed that the device is not discovered when re-connected. When running Flashtool on a bare metal host the device is re-discovered as expected.

Debugging the issue I've found that libusb_get_device_list() does not return the recently connected devices. There is an issue on that. The suggested solution is rebuild libusb without udev support. I've rebuilt libusb without udev and that helped - Flashtool now discovers reconnecting device inside lxc container.

Is udev support is mandatory for libusb built for Flashtool? I don't see any difference without udev, everything works as expected.

NB: ./configure --enable-udev=no

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant