# WP77 problems with SPI and i2c

**URL:** <https://forum.legato.io/t/wp77-problems-with-spi-and-i2c/3006>\
**Category:** Legato Application Framework\
**Created:** [February 1, 2018, 7:34pm UTC](https://forum.legato.io/t/wp77-problems-with-spi-and-i2c/3006 "2018-02-01T19:34:54Z")\
**Posts on this page:** 1\
**Showing post:** 17

<div class="post-metadata">

**Author:** ![senyberg](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/senyberg/32/316_2.png) [@senyberg](https://forum.legato.io/u/senyberg)\
**Post date:** [February 13, 2018, 9:51am UTC](https://forum.legato.io/t/wp77-problems-with-spi-and-i2c/3006/17 "2018-02-13T09:51:24Z")

</div>

Thank you @jyijyi very much! This solved the issue, now I can compile the drivers and find them under /sys/devices directory.

I did not have to change anything in `\linux_kernel_modules\mangoh\board_red_dv3.c.` or similar as you described. I pulled newest version from mangOH git, and there are no `i2c_get_adapter(0)` anymore. The `0` is replaced with some variable for each `i2c_get_adapter()`.

Is this something that will be fixed in later versions? Since I am working with both WP8548 and WP7702 I guess I need to change the `trigger.h` file accordingly to what module I am using?

---

_[View the full topic](https://forum.legato.io/t/wp77-problems-with-spi-and-i2c/3006)._
