Acces sensors value from mangOH Red


I have a mangOH-red board, with WP7702 module.
I would like to access the value of my gyroscope sensor (for then push it on a Cloud).
By checking the RedSensorToCloud, I saw that the value could be read through this path:

However, it looks like this does not exist in my system:
root@swi-mdm9x28-wp:/sys/bus/i2c/devices# ls -al
drwxr-xr-x 2 root root 0 Jan 6 00:57 .
drwxr-xr-x 4 root root 0 Jan 6 00:57 …
lrwxrwxrwx 1 root root 0 Jan 6 00:58 4-001a -> …/…/…/devices/78b8000.i2c/i2c-4/4-001a
lrwxrwxrwx 1 root root 0 Jan 6 00:58 4-003a -> …/…/…/devices/78b8000.i2c/i2c-4/4-003a
lrwxrwxrwx 1 root root 0 Jan 6 00:58 i2c-4 -> …/…/…/devices/78b8000.i2c/i2c-4

My firmware version:
SWI9X06Y_02.32.02.00 c2e98c jenkins 2019/08/30 07:28:21
My legato version:

Do you have any ideas where I can find documentation to know how to access those info for this sensor and any another sensors ?

Any tips would be appreciated, thanks !

Did you switch on the switch 3 of sw401?
Did you compile the mangoh source?

Thanks for your answer.

The switch 3 is on.
I did not had to setup the toolchain manually on my Linux because I went for VSCode. I succeed to update/push new firmware to my board with it.

Do you think the issue might come from VSCode ?

Ok, I think I see why I do not have those paths.
The “default.sdef” used in the basic system definition generated by VSCode does not include all the drivers right ?
I am cloning the mangOH source and will push it to my board.

Correct, you need to compile mangoh source