Hello, I bought this 10 DOF sensor board (GY-87) containing MPU6050, HMC5883L and BMP180. This board connects the HMC to the auxiliary I2C of the MPU. As all the resources say, the MPU6050 can access a number of external sensors like a 3-axis magnetometer (like the HMC5883L).
I used this guy's sketch as some sort of Bus Pirate for I2C to access the MPU's registers. I managed to set the bypass mode for the auxiliary I2C bus (connected to the HMC). I configured the the HMC for continuous operation and made sure it works. Then I returned the auxiliary I2C bus to the MPU's control and set all the relevant registers of the MPU to try to get it to read the HMC sensor.
To no success up until now, whenever I read the MPU external sensor data registers, it returns zero. Please help.