RPLidar A1M8 with Raspberry Pi 5

Hello,
I just received my order of RPLidar A1M8 (Order ID:#318297). I checked with Slamtec whether their product works with Raspberry Pi 5 and they confirmed it should work. However, the Lidar is not communicating with the Pi. I got these errors: [ 158.789493] usb 2-1: cp210x converter now attached to ttyUSB0
[ 271.619752] cp210x ttyUSB0: failed set request 0x12 status: -110
[ 474.884454] cp210x ttyUSB0: failed set request 0x12 status: -110
[ 510.724473] cp210x ttyUSB0: failed set request 0x12 status: -110
[ 518.592502] cp210x ttyUSB0: cp210x converter now disconnected from ttyUSB0
[ 521.295706] usb 4-1: cp210x converter now attached to ttyUSB0
[ 1463.419523] cp210x ttyUSB0: failed set request 0x12 status: -19
[ 1463.425496] cp210x ttyUSB0: failed set request 0x0 status: -19
[ 1463.431762] cp210x ttyUSB0: cp210x converter now disconnected from ttyUSB0
Reading the raw data has no input shown.
and reading using ROS driver gives me various errors such [sllidar_node]: Can not start scan: 80008002! and sometimes when I run it publish data but there are inf values in the data.
How these issues can be solved?
Thank you.