RPLidar A2M12 does not work with Ardurover 4.5.7

We are working with Pixhawk Orange Plus running ardurover 4.5.7 and we cannot make our rplidar A2M12 to work. When connected to mission planner, in the Ctrl+F page the proximity sensor is shown as disabled. We did all the needed parameter changes the documentation suggests.
The rplidar seems to work on the Slamtec Robo studio. The Rx and Tx pins are connected fine. What could be the problem?