![]() So the device path, that we need to mount to the container, should be /dev/bus/usb/001/020. The bus and device numbers are what we are looking for now, they can guide us to the correct device path beneath /dev. ![]() ![]() So, I look specifically at the “Canon, Inc.” In my case, I want to pass through my Canon MP printer to the container. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Here is the output of my case: Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 013: ID 045e:0800 Microsoft Corp. Note: lsusb will not work inside the container because there are no devices there yet lsusb could be used to find the connecting USB devices. So first we need to locate the device we want to pass through. We also need to “allow” the container to do so as well. However, it doesn’t mean the container can mingle with the device just yet. The idea of USB pass through to an LXC container can be done by “mounting” the device inside the container space.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |