add video dependency for osx module + better debug when SPI failed