eclipse / mraa

Linux Library for low speed IO Communication in C with bindings for C++, Python, Node.js & Java. Supports generic io platforms, as well as Intel Edison, Intel Joule, Raspberry Pi and many more.
http://mraa.io
MIT License
1.37k stars 613 forks source link

Recent MRAA i2c bus 0 is no longer valid on edison #497

Closed jontrulson closed 8 years ago

jontrulson commented 8 years ago

With recent MRAA (5e867419bc0dd7c7ece48522ae1759de45812445) attempting to use i2c bus '0' on edison with the arduino breakout fails with the following in the syslog:

Apr 25 23:49:07 edison libmraa[400]: edison: Arduino board detected Apr 25 23:49:07 edison libmraa[400]: libmraa initialised for platform 'Intel Edison' of type 2 Apr 25 23:49:07 edison libmraa[400]: i2c_init: Selected bus 0 Apr 25 23:49:07 edison libmraa[400]: i2c0_init: Invalid i2c bus

Previously this would switch to the proper bus 6 on edison. This no longer seems to occur, and will break a lot of UPM drivers.

arfoll commented 8 years ago

thanks for the report, this has been rollbacked.