Gyro don't work on D456
I'm trying to use the Realsense D456 camera IMU, but the realsense viewer shows that the gyro is not working. It says 09:56:15 [Warn] ./src/linux/backend-hid.h:68 - write_fs_attribute Could not change to gyro_3d-dev0 : path /sys/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.5/0003:8086:0B5C.000C/HID-SENSOR-200076.41.auto/iio:device10/trigger/current_trigger and 09:56:15 [Warn] ./src/linux/backend-hid.h:68 - write_fs_attribute Could not change 0 to 1 : path /sys/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.5/0003:8086:0B5C.000C/HID-SENSOR-200076.41.auto/iio:device10/buffer/enable and 09:56:15 [Warn] ./src/linux/backend-hid.cpp:740 - HID set_power 1 failed for /sys/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.5/0003:8086:0B5C.000C/HID-SENSOR-200076.41.auto/iio:device10/buffer/enable and 09:56:35 [Warn] ./src/linux/backend-hid.cpp:641 - iio_hid_sensor: Frames didn't arrive within the predefined interval
In addition, dmesg always shows the following line when turning on the gyro: hid-sensor-hub 0003:8086:0B5C.000C: No report with id 0xffffffff found
Accelometer and other sensors are working.
Using ROS, I also get information from the accelerometer, but not from the gyro. Several different USB3.0 cables have been used as cables, and also the original cable.
Hi @laidovaldvee Which RealSense SDK (librealsense) version and camera firmware driver version are you using, please?
You can find the firmware version in the RealSense Viewer by clicking on the 'Info' button at the top of the Viewer's options side-panel.
If i start realsense-viewer with sudo rights, then it opens version 2.56.5, but with user rights then version 2.56.4. Camera firmware is 5.17.0.10
Thanks very much for the information.
Have you installed librealsense on your computer more than once recently? If so then ideally previous installations of librealsense should be removed before installing it again in order to avoid the possibility of conflicts between multiple versions of librealsense on the same computer.
Thanks to the ChatGPT at least reason was found. Reason is Dell Latidude E5300 2-in-1 hardware. Specifically, the IMU in the computer, which can rotate the screen correctly in tablet mode. Thats why i have multiple accel and gyros under /sys/bus/iio/devices device4 and device1 was laptop gyro and accel and device 10 and 9 was camera gyro and accel. When unbind laptop IMU and reconnect realsense, gyro starts working. After reboot same situation. How to solve this permanently?
The IMU screen rotation function can be disabled in Ubuntu's settings. There is also a keyboard shortcut to toggle rotation on and off, Super + O (the letter O).
The Super key is often the one on the bottom left corner of keyboards next to Alt with four squares on it, resembling the Windows logo.
Please check if the RealSense IMU starts working if screen rotation is turned off.
In regard to disabling the built-in IMU permanently, that might involve creating an udev rule to do so. The udev rules handle device access permissions.