Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access i2c from 64bit container #11

Open
smatton opened this issue Mar 18, 2020 · 4 comments
Open

Access i2c from 64bit container #11

smatton opened this issue Mar 18, 2020 · 4 comments
Labels

Comments

@smatton
Copy link

smatton commented Mar 18, 2020

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?

@sakaki-
Copy link
Owner

sakaki- commented Mar 28, 2020

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

@smatton
Copy link
Author

smatton commented Apr 5, 2020

Thanks the tutorial helps a lot.

@iwatake2222
Copy link

I would appreciate it if you could add explanation to use other devices such as raspi camera and USB camera.

@sakaki- sakaki- added the EOL label Oct 31, 2020
@sakaki-
Copy link
Owner

sakaki- commented Oct 31, 2020

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 ><

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants