Skip to content

Does not discover the device when running in container #213

@roman-rybalko

Description

@roman-rybalko

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions