# Could not open file /dev/i2c-4 or /dev/i2c/4: No such file or directory

**URL:** <https://mangoh.discourse.group/t/could-not-open-file-dev-i2c-4-or-dev-i2c-4-no-such-file-or-directory/2320>\
**Category:** mangOH Green\
**Created:** [January 22, 2019, 7:31am UTC](https://mangoh.discourse.group/t/could-not-open-file-dev-i2c-4-or-dev-i2c-4-no-such-file-or-directory/2320 "2019-01-22T07:31:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![AkshayKulkarni](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/akshaykulkarni/32/721_2.png) [@AkshayKulkarni](https://mangoh.discourse.group/u/AkshayKulkarni)\
**Post date:** [January 22, 2019, 7:31am UTC](https://mangoh.discourse.group/t/could-not-open-file-dev-i2c-4-or-dev-i2c-4-no-such-file-or-directory/2320/1 "2019-01-22T07:31:29Z")

</div>

Hi there ,  
I was trying to run a legato application based on i2c and ended up with this error  
-\> **Could not open file /dev/i2c-4 or /dev/i2c/4: No such file or directory**  
but when i checked the /dev node there is a entry of i2c-4 .  
it could be good if someone helps me out in overcoming this issue or let me know the probable issue .

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [January 22, 2019, 9:44am UTC](https://mangoh.discourse.group/t/could-not-open-file-dev-i2c-4-or-dev-i2c-4-no-such-file-or-directory/2320/2 "2019-01-22T09:44:19Z")

</div>

you might try disable the sandbox feature of legato application first.

---

<div class="post-metadata">

**Author:** ![AkshayKulkarni](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/akshaykulkarni/32/721_2.png) [@AkshayKulkarni](https://mangoh.discourse.group/u/AkshayKulkarni)\
**Post date:** [January 22, 2019, 12:41pm UTC](https://mangoh.discourse.group/t/could-not-open-file-dev-i2c-4-or-dev-i2c-4-no-such-file-or-directory/2320/3 "2019-01-22T12:41:54Z")

</div>

Thanks for replying i was able to overcome the issue .
