epsilonrt / piduino

Arduino API on Pi boards, the best of both worlds !
https://epsilonrt.fr/2019/01/piduino/
GNU Lesser General Public License v3.0
29 stars 7 forks source link

Unable to enumerate i2c, spi on Ubuntu #1

Closed epsilonrt closed 5 years ago

epsilonrt commented 5 years ago

Unable to enumerate i2c, spi on Ubuntu Xenial and Bionic. pinfo doesn't list i2c-buses and spi-buses

epsilonrt commented 5 years ago

The detection requires the opening of the file / dev and thus the permissions to do it. You must be part of a group with the necessary permissions. The most reliable solution for listing i2c and spi buses is udev. It is therefore necessary to switch the detection of i2c and spi buses on udev.

epsilonrt commented 5 years ago

Fixe by v0.3.20