Magum IOError13 in Udoo Neo

Discussion in 'UDOO NEO' started by RAW, May 29, 2020.

  1. RAW

    RAW New Member

    Joined:
    May 29, 2020
    Messages:
    2
    Likes Received:
    0
    Hello Guys,

    I am new to Udoo and trying to read 9 axis motion sensors values by using MAGUM python library. I followed the guide of installing required files and library however I am getting below error while trying to execute test.py

    udooer@udooneo:~/magum/test$ python test.py
    Traceback (most recent call last):
    File "test.py", line 1, in <module>
    from magum import Magum
    File "/home/udooer/.local/lib/python2.7/site-packages/magum-0.9.1-py2.7.egg/magum/__init__.py", line 3, in <module>
    from .magum import Magum
    File "/home/udooer/.local/lib/python2.7/site-packages/magum-0.9.1-py2.7.egg/magum/magum.py", line 31, in <module>
    class Magum:
    File "/home/udooer/.local/lib/python2.7/site-packages/magum-0.9.1-py2.7.egg/magum/magum.py", line 36, in Magum
    _i2cBus = smbus.SMBus(3) # open communication to I2C channel 4
    File "/home/udooer/.local/lib/python2.7/site-packages/smbus/smbus.py", line 56, in __init__
    self.open(bus)
    File "/home/udooer/.local/lib/python2.7/site-packages/smbus/smbus.py", line 83, in open
    raise IOError(e.errno)
    IOError: 13



    Can anyone please help?
     
  2. RAW

    RAW New Member

    Joined:
    May 29, 2020
    Messages:
    2
    Likes Received:
    0
    this issue is resolved by log in as a root
     
  3. waltervl

    waltervl UDOOer

    Joined:
    Dec 12, 2015
    Messages:
    2,312
    Likes Received:
    580

Share This Page