First make sure you have the tight port, and that it is also no assigned to a console in cmdline.txt. the pixhawk will allow you to set baud rate via parameters, then I use stty to set the RIP baud. Make sure you have permission. You can test with sudo cat /dev/ttyS0 (your port of course). Let me know if you have problems.