Lidar X4 doesn't work

Screenshot from 2022-02-04 08-41-50

  1. I install ydlidar_ros_driver follow this →
  2. When I use roslaunch, lidar stops working after running for a while. (The attached image is the error log for that situation)
  3. When lidar is connected to the USB port and the NANO is turned on, lidar is automatically started. In this case, the keyboard is not connected. If you want to use the keyboard, you need to disconnect and reconnect lidar. However, in this case, lidar does not work as roslaunch and shows the corresponding error log.
  4. If roslaunch fails, the ttyUSB port number jumps from 0 to 1 and again from 1 to 0.

Anyone can help me? When I searched, no one had the same problem as me. That’s why I came here to ask for help because I don’t have any information. please help me.

You can share the dmesg when the error happens so that we can know why the keyboard does not work when lidar is in use.

This is my dmesg

Please always share full log as a text file.

dmesg.txt (56.5 KB)
srr! This is my dmesg log

Is this still a jeston nano devkit?

I see some log that seems should not happen on devkit case.

[ 1.031496] tegra-xusb-padctl 7009f000.xusb_padctl: failed to setup XUSB ports: -517

Yes I use Jetson nano 2GB Devkit and I use 64GB sd card

Hi I’m waiting your awnser and I recognize that I flash Jetson NANO image not Jetson NANO 2GB Image on homepage So I flash 2GB image again and install ydlidar driver. And I get same error again here is my dmesg log Thank you so mach
dmesg2.txt (56.4 KB)

I don’t see any error from your latest dmesg. Are these your usb mouse and keyboard?

[ 2.389936] usb 1-3.2: new low-speed USB device number 5 using tegra-xusb
[ 2.415965] usb 1-3.2: New USB device found, idVendor=1a2c, idProduct=4d7e
[ 2.415971] usb 1-3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2.415975] usb 1-3.2: Product: USB Keyboard
[ 2.415978] usb 1-3.2: Manufacturer: SEMICO

[ 2.197950] usb 1-3.1: new low-speed USB device number 4 using tegra-xusb
[ 2.214237] systemd[1]: Detected architecture arm64.
[ 2.222105] usb 1-3.1: New USB device found, idVendor=18f8, idProduct=1286
[ 2.222109] usb 1-3.1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 2.222113] usb 1-3.1: Product: USB GAMING MOUSE

YES It is

There is no update from you for a period, assuming this is not an issue any more.
Hence we are closing this topic. If need further support, please open a new one.

Sorry for the late response, is this still an issue to support? Thanks

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.