Trying to get RTIMULibDemoGL to work for calibrating IMU (MPU9150)?

Hi,

I am trying to run the RTIMULibDemoGL program under Linux to calibrate a TinyShield ASD2612 9 axis IMU. This unit contains a MPU9150 IMU. I have got the Ardino code to work and display Acceleration, Gyro, Compass and Pose values in the Serial Monitor. However, when I run the RTIMULibDemoGL program, I cannot get it to recognise the IMU. I have tried various setting within the program such as different I2C Bus Type values and have also tried both Auto Detect & Invensense MPU9150 as the IMU Type. However, the console output either shows No IMU Detected (when Auto Detect is selected) or a message saying 'Failed to open I2C bus 0' and 'Failed to open I2C port - Failed to read fifo count'. If anyone has been successful in getting this program to work, please could you offer some help as to what I might be doing wrong?

Many Thanks

Andy.