Category : linux-device-driver

I know similar question had already been answered, and I studied dilligently. I believe, I have tried nearly all possible combinations, without success: sudo docker run –device /dev/ttyAMA0:/dev/ttyAMA0 –device /dev/mem:/dev/mem –device /dev/gpiomem:/dev/gpiomem –privileged my_image_name /bin/bash I have also refered to the docker manual and tried also with –cap-add=SYS_ADMIN sudo docker run –cap-add=SYS_ADMIN –device /dev/ttyAMA0:/dev/ttyAMA0 –device ..

Read more

When I run sudo apt install linux-modules-extra-$(uname -r) in a Docker container based on a Ubuntu 20.04 on a single board computer running Ubuntu 18.04, I get the following errors: E: Unable to locate package linux-modules-extra-4.15.0-143-generic E: Couldn’t find any package by glob ‘linux-modules-extra-4.15.0-143-generic’ E: Couldn’t find any package by regex ‘linux-modules-extra-4.15.0-143-generic’ To me, this ..

Read more