We are in the process of containerizing our development server and have a need to access the opal kelly device from the container. The container is CentOS 8 running on a CentOS 8 host. The driver (libokFrontPanel.so) loads fine so I don’t believe there is a dependency issue. A simple from the container
printf(“FrontPanel DLL loaded. Version: %s\n”, okFrontPanel_GetAPIVersionString());
FrontPanel DLL loaded. Version: 5.2.3
which confirms the library is loading and LD_LIBRARY_PATH is correct.
lsusb identifies the device:
Bus 001 Device 002: ID 151f:002c Opal Kelly Incorporated XEM6001
Identical result from inside the container. We have tried just about everything that we can think of but are unable to access the USB device. From the host a small demo app to prove that access is there runs without a problem. Same app in the container does not find any devices. Test line is
We have tried volume mounting /dev and also /dev/bus/usb with and without --priviledged but nothing makes any difference. Granting priviledged should make everything accessible. The rules file is installed into udev on both host and container. We did see one example of needing to specify a new udev rule to allow access to USB devices but this was geared towards ttyUSB which does not exist as this is a raw usb item.
Could anyone offer any guidance on how to get FrontPanel access?