Pixhawk 4 mini and X8R Not working

I had a similar issue. Check out this post: PixHawk 4 Mini PX4IO not found