Open smatton opened 4 years ago
Hi,
as this may be of general interest, I've written up a short tutorial on the project's open wiki about this, here.
The linked article covers the case of allowing the container access to a specific device (here, /dev/i2c-1
) which is present when the container is started. There's a slightly different procedure required to allow access to devices on a bus (e.g. USB), as the device nodes for these get dynamically created on device hotplug, and may not exist at container boot. I'll try to write up that modified variant in the next week or so and will post again in this issue when done.
hth, sakaki
Thanks the tutorial helps a lot.
I would appreciate it if you could add explanation to use other devices such as raspi camera and USB camera.
31 Oct 2020: sadly, due to legal obligations arising from a recent change in my 'real world' job, I must announce I am standing down as maintainer of this project with immediate effect. For the meantime, I will leave the repo up (for historical interest, and since the Debian package is still in the official Raspbian repos); however, there will be no further updates to the underlying OS images etc., nor will I be accepting / actioning further pull requests or bug reports from this point. Email requests for support will also have to be politely declined, so, please treat this as an effective EOL notice.
For further details, please see my post here.
With sincere apologies, sakaki ><
How can I access i2c from 64 bit terminal. I can access in the 32bit terminal by enabling it using raspi-config, but not sure how to expose them in 64 bit OS? Also in general how to access peripherals, like USB?