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.
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