Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

D435i accelero not working #2965

Closed
kevindehecker opened this issue Dec 26, 2018 · 20 comments
Closed

D435i accelero not working #2965

kevindehecker opened this issue Dec 26, 2018 · 20 comments
Assignees

Comments

@kevindehecker
Copy link
Contributor


Required Info
Camera Model D435i
Firmware Version 05.10.13.00
Operating System & Version Ubuntu 16
Kernel Version (Linux Only) 4.13.0-43-generic
Platform PC
SDK Version 2.17.0

Issue Description

I just tried my new D435i, but I when I enable the motion sensor from the realsense viewer, it gives me errors. The gyro and the camera sensors seem to work, but the accelero times out. Tried rebooting and the lot, but no progress...

Any ideas? Should I send it back for a replacement?

realsense-viewer 
 26/12 16:04:02,057 WARNING [139816209475328] (types.cpp:57) OpCodes do not match! Sent 79 but received -21!
 26/12 16:04:02,069 WARNING [139816209475328] (sensor.cpp:338) Unregistered Media formats : [ UYVY ]; Supported: [ ]
 26/12 16:04:07,190 WARNING [139816209475328] (types.cpp:57) set_pu(id=3) failed! Last Error: Input/output error
 26/12 16:04:07,191 WARNING [139816209475328] (sensor.cpp:722) Exception was thrown when inspecting properties of a sensor
 26/12 16:04:12,290 WARNING [139816209475328] (types.cpp:57) set_pu(id=9) failed! Last Error: Input/output error
 26/12 16:04:12,290 WARNING [139816209475328] (sensor.cpp:722) Exception was thrown when inspecting properties of a sensor
 26/12 16:06:29,022 WARNING [139816083650304] (backend-hid.cpp:595) iio_hid_sensor: Frames didn't arrived within 5 seconds
 26/12 16:06:34,026 WARNING [139816083650304] (backend-hid.cpp:595) iio_hid_sensor: Frames didn't arrived within 5 seconds
 26/12 16:06:39,031 WARNING [139816083650304] (backend-hid.cpp:595) iio_hid_sensor: Frames didn't arrived within 5 seconds
 26/12 16:06:44,032 WARNING [139816083650304] (backend-hid.cpp:595) iio_hid_sensor: Frames didn't arrived within 5 seconds
 26/12 16:06:49,038 WARNING [139816083650304] (backend-hid.cpp:595) iio_hid_sensor: Frames didn't arrived within 5 seconds
 26/12 16:06:54,039 WARNING [139816083650304] (backend-hid.cpp:595) iio_hid_sensor: Frames didn't arrived within 5 seconds
 26/12 16:06:59,044 WARNING [139816083650304] (backend-hid.cpp:595) iio_hid_sensor: Frames didn't arrived within 5 seconds
 26/12 16:07:04,047 WARNING [139816083650304] (backend-hid.cpp:595) iio_hid_sensor: Frames didn't arrived within 5 seconds
 26/12 16:07:09,048 WARNING [139816083650304] (backend-hid.cpp:595) iio_hid_sensor: Frames didn't arrived within 5 seconds
 26/12 16:07:14,053 WARNING [139816083650304] (backend-hid.cpp:595) iio_hid_sensor: Frames didn't arrived within 5 seconds
 26/12 16:07:19,058 WARNING [139816083650304] (backend-hid.cpp:595) iio_hid_sensor: Frames didn't arrived within 5 seconds
 26/12 16:07:24,063 WARNING [139816083650304] (backend-hid.cpp:595) iio_hid_sensor: Frames didn't arrived within 5 seconds
 26/12 16:07:29,066 WARNING [139816083650304] (backend-hid.cpp:595) iio_hid_sensor: Frames didn't arrived within 5 seconds
 26/12 16:07:34,071 WARNING [139816083650304] (backend-hid.cpp:595) iio_hid_sensor: Frames didn't arrived within 5 seconds
 26/12 16:07:39,072 WARNING [139816083650304] (backend-hid.cpp:595) iio_hid_sensor: Frames didn't arrived within 5 seconds

image

@dorodnic
Copy link
Contributor

Do you have a windows machine to compare to?
This can be unit-flaw, but we need to rule out issues with HID-IIO Linux driver.
Did you install librealsense via apt-get, including librealsense-dkms package?

@kevindehecker
Copy link
Contributor Author

OK, connected it to a Windows pc... That works! So something with the HID-IIO Linux driver, apparently. No idea how to proceed though, any tips?

Did you install librealsense via apt-get, including librealsense-dkms package?

Yes.

@dorodnic
Copy link
Contributor

@ev-mp do you have recommended troubleshooting steps for HID kernel modules?
I'd suggest checking the status of hid_sensor_accel_3d using modinfo hid_sensor_accel_3d; reinstalling librealsense dpkg and (maybe already done) restarting the PC.
Also, please share dmesg log when connecting the camera and when starting streaming.

@kevindehecker
Copy link
Contributor Author

Yes, tried rebooting and apt removing and re installing librealsense dkms stuff... Didn't work.

Output of dmesg (cleared it before plugging in)

[27936.430505] ACPI Error: [SPRT] Namespace lookup failure, AE_ALREADY_EXISTS (20170531/dswload2-346)
[27936.430515] ACPI Exception: AE_ALREADY_EXISTS, During name lookup/catalog (20170531/psobject-252)
[27936.430519] ACPI Error: Method parse/execution failed \_GPE.XTBT, AE_ALREADY_EXISTS (20170531/psparse-550)
[27936.430526] ACPI Error: Method parse/execution failed \_GPE.XTBT, AE_ALREADY_EXISTS (20170531/psparse-550)
[27936.430533] ACPI Error: Method parse/execution failed \_GPE._E42, AE_ALREADY_EXISTS (20170531/psparse-550)
[27936.430540] ACPI Exception: AE_ALREADY_EXISTS, while evaluating GPE method [_E42] (20170531/evgpe-646)
[27936.585482] pci 0000:06:00.0: [8086:1576] type 01 class 0x060400
[27936.585656] pci 0000:06:00.0: supports D1 D2
[27936.585657] pci 0000:06:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[27936.585993] pci 0000:07:00.0: [8086:1576] type 01 class 0x060400
[27936.586226] pci 0000:07:00.0: supports D1 D2
[27936.586227] pci 0000:07:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[27936.586367] pci 0000:07:01.0: [8086:1576] type 01 class 0x060400
[27936.586557] pci 0000:07:01.0: supports D1 D2
[27936.586558] pci 0000:07:01.0: PME# supported from D0 D1 D2 D3hot D3cold
[27936.586673] pci 0000:07:02.0: [8086:1576] type 01 class 0x060400
[27936.586870] pci 0000:07:02.0: supports D1 D2
[27936.586871] pci 0000:07:02.0: PME# supported from D0 D1 D2 D3hot D3cold
[27936.587023] pci 0000:06:00.0: PCI bridge to [bus 07-3e]
[27936.587033] pci 0000:06:00.0:   bridge window [mem 0xd4000000-0xea0fffff]
[27936.587040] pci 0000:06:00.0:   bridge window [mem 0x90000000-0xb1ffffff 64bit pref]
[27936.587097] pci 0000:07:00.0: PCI bridge to [bus 08]
[27936.587108] pci 0000:07:00.0:   bridge window [mem 0xea000000-0xea0fffff]
[27936.587170] pci 0000:07:01.0: PCI bridge to [bus 09-3d]
[27936.587180] pci 0000:07:01.0:   bridge window [mem 0xd4000000-0xe9efffff]
[27936.587187] pci 0000:07:01.0:   bridge window [mem 0x90000000-0xb1ffffff 64bit pref]
[27936.587262] pci 0000:3e:00.0: [8086:15b5] type 00 class 0x0c0330
[27936.587302] pci 0000:3e:00.0: reg 0x10: [mem 0xe9f00000-0xe9f0ffff]
[27936.587477] pci 0000:3e:00.0: supports D1 D2
[27936.587479] pci 0000:3e:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[27936.587663] pci 0000:07:02.0: PCI bridge to [bus 3e]
[27936.587674] pci 0000:07:02.0:   bridge window [mem 0xe9f00000-0xe9ffffff]
[27936.587709] pci_bus 0000:07: Allocating resources
[27936.587744] pci 0000:07:01.0: bridge window [io  0x1000-0x0fff] to [bus 09-3d] add_size 1000
[27936.587755] pci 0000:07:02.0: bridge window [io  0x1000-0x0fff] to [bus 3e] add_size 1000
[27936.587757] pci 0000:07:02.0: bridge window [mem 0x00100000-0x000fffff 64bit pref] to [bus 3e] add_size 200000 add_align 100000
[27936.587768] pci 0000:06:00.0: bridge window [io  0x1000-0x0fff] to [bus 07-3e] add_size 2000
[27936.587772] pci 0000:06:00.0: BAR 13: no space for [io  size 0x2000]
[27936.587773] pci 0000:06:00.0: BAR 13: failed to assign [io  size 0x2000]
[27936.587775] pci 0000:06:00.0: BAR 13: no space for [io  size 0x2000]
[27936.587776] pci 0000:06:00.0: BAR 13: failed to assign [io  size 0x2000]
[27936.587780] pci 0000:07:02.0: BAR 15: no space for [mem size 0x00200000 64bit pref]
[27936.587781] pci 0000:07:02.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
[27936.587782] pci 0000:07:01.0: BAR 13: no space for [io  size 0x1000]
[27936.587784] pci 0000:07:01.0: BAR 13: failed to assign [io  size 0x1000]
[27936.587785] pci 0000:07:02.0: BAR 13: no space for [io  size 0x1000]
[27936.587786] pci 0000:07:02.0: BAR 13: failed to assign [io  size 0x1000]
[27936.587789] pci 0000:07:02.0: BAR 15: no space for [mem size 0x00200000 64bit pref]
[27936.587790] pci 0000:07:02.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
[27936.587792] pci 0000:07:02.0: BAR 13: no space for [io  size 0x1000]
[27936.587793] pci 0000:07:02.0: BAR 13: failed to assign [io  size 0x1000]
[27936.587794] pci 0000:07:01.0: BAR 13: no space for [io  size 0x1000]
[27936.587795] pci 0000:07:01.0: BAR 13: failed to assign [io  size 0x1000]
[27936.587797] pci 0000:07:00.0: PCI bridge to [bus 08]
[27936.587803] pci 0000:07:00.0:   bridge window [mem 0xea000000-0xea0fffff]
[27936.587814] pci 0000:07:01.0: PCI bridge to [bus 09-3d]
[27936.587819] pci 0000:07:01.0:   bridge window [mem 0xd4000000-0xe9efffff]
[27936.587824] pci 0000:07:01.0:   bridge window [mem 0x90000000-0xb1ffffff 64bit pref]
[27936.587831] pci 0000:07:02.0: PCI bridge to [bus 3e]
[27936.587837] pci 0000:07:02.0:   bridge window [mem 0xe9f00000-0xe9ffffff]
[27936.587847] pci 0000:06:00.0: PCI bridge to [bus 07-3e]
[27936.587852] pci 0000:06:00.0:   bridge window [mem 0xd4000000-0xea0fffff]
[27936.587857] pci 0000:06:00.0:   bridge window [mem 0x90000000-0xb1ffffff 64bit pref]
[27936.589278] xhci_hcd 0000:3e:00.0: xHCI Host Controller
[27936.589285] xhci_hcd 0000:3e:00.0: new USB bus registered, assigned bus number 3
[27936.590489] xhci_hcd 0000:3e:00.0: hcc params 0x200077c1 hci version 0x110 quirks 0x00009810
[27936.590614] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
[27936.590616] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[27936.590617] usb usb3: Product: xHCI Host Controller
[27936.590619] usb usb3: Manufacturer: Linux 4.13.0-43-generic xhci-hcd
[27936.590620] usb usb3: SerialNumber: 0000:3e:00.0
[27936.591110] hub 3-0:1.0: USB hub found
[27936.591121] hub 3-0:1.0: 2 ports detected
[27936.591202] xhci_hcd 0000:3e:00.0: xHCI Host Controller
[27936.591206] xhci_hcd 0000:3e:00.0: new USB bus registered, assigned bus number 4
[27936.591209] xhci_hcd 0000:3e:00.0: Host supports USB 3.1 Enhanced SuperSpeed
[27936.591239] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003
[27936.591240] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[27936.591241] usb usb4: Product: xHCI Host Controller
[27936.591244] usb usb4: Manufacturer: Linux 4.13.0-43-generic xhci-hcd
[27936.591245] usb usb4: SerialNumber: 0000:3e:00.0
[27936.591353] hub 4-0:1.0: USB hub found
[27936.591361] hub 4-0:1.0: 2 ports detected
[27936.937417] usb 4-1: new SuperSpeed USB device number 2 using xhci_hcd
[27936.958157] usb 4-1: New USB device found, idVendor=8086, idProduct=0b3a
[27936.958163] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[27936.958168] usb 4-1: Product: Intel(R) RealSense(TM) Depth Camera 435i
[27936.958172] usb 4-1: Manufacturer: Intel(R) RealSense(TM) Depth Camera 435i
[27936.958175] usb 4-1: SerialNumber: 845523050576
[27936.959779] uvcvideo: Found UVC 1.50 device Intel(R) RealSense(TM) Depth Camera 435i (8086:0b3a)
[27936.961658] uvcvideo: Unable to create debugfs 4-2 directory.
[27936.961826] uvcvideo 4-1:1.0: Entity type for entity Intel(R) RealSense(TM) Depth Ca was not initialized!
[27936.961831] uvcvideo 4-1:1.0: Entity type for entity Processing 2 was not initialized!
[27936.961835] uvcvideo 4-1:1.0: Entity type for entity Intel(R) RealSense(TM) Depth Ca was not initialized!
[27936.961839] uvcvideo 4-1:1.0: Entity type for entity Camera 1 was not initialized!
[27936.962048] input: Intel(R) RealSense(TM) Depth Ca as /devices/pci0000:00/0000:00:1d.6/0000:06:00.0/0000:07:02.0/0000:3e:00.0/usb4/4-1/4-1:1.0/input/input35
[27936.962765] uvcvideo: Found UVC 1.50 device Intel(R) RealSense(TM) Depth Camera 435i (8086:0b3a)
[27936.963649] uvcvideo: Unable to create debugfs 4-2 directory.
[27936.963793] uvcvideo 4-1:1.3: Entity type for entity Processing 7 was not initialized!
[27936.963797] uvcvideo 4-1:1.3: Entity type for entity Extension 8 was not initialized!
[27936.963801] uvcvideo 4-1:1.3: Entity type for entity Camera 6 was not initialized!
[27937.025157] hid-sensor-hub 0003:8086:0B3A.0007: No report with id 0xffffffff found
[27937.025550] hid-sensor-hub 0003:8086:0B3A.0007: No report with id 0xffffffff found
[27937.085292] hid-sensor-hub 0003:8086:0B3A.0007: No report with id 0xffffffff found
[27937.086015] hid-sensor-hub 0003:8086:0B3A.0007: No report with id 0xffffffff found
[27937.769403] hid-sensor-hub 0003:8086:0B3A.0007: No report with id 0xffffffff found
[27941.193298] hid-sensor-hub 0003:8086:0B3A.0007: No report with id 0xffffffff found
[27943.833112] hid-sensor-hub 0003:8086:0B3A.0007: No report with id 0xffffffff found
[27943.853969] uvcvideo: Failed to query (GET_CUR) UVC control 1 on unit 3: -32 (exp. 1024).
[27943.949117] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27944.000113] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27944.051169] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27944.102158] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27944.153165] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27944.204205] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27944.255238] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27944.306252] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27944.357284] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27944.408284] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27944.459296] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27944.510242] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27944.561197] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27944.612219] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27944.663218] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27944.714268] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27944.765292] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27944.816312] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27944.867301] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27944.918245] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27944.969241] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27945.020275] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27945.071314] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27945.122305] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27945.173348] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27945.224377] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27945.275420] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27945.326460] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27945.377381] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27945.428307] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27945.479249] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27945.530207] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27945.581109] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27945.632067] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27945.683005] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27945.733934] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27945.784875] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27945.835879] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27945.886854] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27945.937892] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27945.988927] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27946.039953] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27946.090942] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27946.141987] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27946.192967] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27946.243971] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27946.294955] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27946.345970] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27946.396927] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27946.447851] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27946.498814] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27946.549739] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27946.600684] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27946.651620] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27946.702583] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27946.753613] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27946.804621] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27946.855651] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27946.906692] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27946.957713] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27947.008736] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27947.059744] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27947.110767] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27947.161795] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27947.212783] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27947.263697] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27947.314638] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27947.337217] hid-sensor-hub 0003:8086:0B3A.0007: No report with id 0xffffffff found
[27947.365604] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27947.416571] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27947.467579] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27947.518625] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27947.569583] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27947.620605] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27947.671618] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27947.722671] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27947.773710] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27947.824707] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27947.875737] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27947.926752] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27947.977777] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27948.028705] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27948.079727] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27948.130640] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27948.181691] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27948.232709] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27948.283697] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27948.334711] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27948.385768] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27948.436803] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27948.487854] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27948.538912] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27948.589998] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27948.641026] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27948.692042] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27948.743073] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27948.794055] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27948.845091] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27948.896076] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27948.947145] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27948.998117] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[27949.055507] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27949.106391] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27949.157339] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27949.208261] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27949.259174] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27949.310113] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27949.361049] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27949.411996] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27949.462876] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27949.513831] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27949.564762] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27949.615664] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27949.666565] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27949.717442] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27949.768316] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27949.819148] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27949.870083] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27949.920961] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27949.971921] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27950.022774] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27950.073623] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27950.124557] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27950.175466] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27950.226353] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27950.277243] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27950.328079] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27950.378965] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27950.429878] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27950.480705] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27950.531521] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27950.582347] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27950.633183] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27950.684005] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27950.734805] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27950.785599] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27950.836415] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27950.887277] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27950.938204] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27950.989119] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27951.039936] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27951.090851] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27951.141759] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27951.192675] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27951.243590] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27951.294477] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27951.345332] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27951.396234] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27951.447096] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27951.498002] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27951.548917] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27951.599842] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27951.650761] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27951.701679] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27951.752587] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27951.803526] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27951.854432] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27951.905328] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27951.956144] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27952.007081] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27952.057962] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27952.108870] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27952.159679] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27952.210493] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27952.261414] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27952.312318] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27952.363214] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27952.414158] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27952.465067] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27952.515972] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27952.566866] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27952.617753] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27952.668640] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27952.719583] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27952.770490] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27952.821418] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27952.872332] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27952.923252] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27952.974148] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27953.025062] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27953.075973] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27953.126902] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27953.177815] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27953.228720] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27953.279624] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27953.330547] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27953.381376] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27953.432271] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27953.483159] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27953.534060] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27953.584960] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27953.635866] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27953.686703] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27953.737549] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27953.788457] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27953.839389] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27953.890213] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27953.941129] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27953.992031] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27954.042921] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27954.093820] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[27960.377109] hid-sensor-hub 0003:8086:0B3A.0007: No report with id 0xffffffff found
[27982.153114] hid-sensor-hub 0003:8086:0B3A.0007: No report with id 0xffffffff found

@kevindehecker
Copy link
Contributor Author

modinfo hid_sensor_accel_3d
filename:       /lib/modules/4.13.0-43-generic/updates/dkms/hid-sensor-accel-3d.ko
version:        realsense2-dkms
license:        GPL
author:         Srinivas Pandruvada <srinivas.pandruvada@intel.com>
description:    HID Sensor Accel 3D
srcversion:     FE3CC9E192E8D3DD00ADAA4
alias:          platform:HID-SENSOR-20007b
alias:          platform:HID-SENSOR-200073
depends:        hid-sensor-trigger,industrialio,hid-sensor-hub,industrialio-triggered-buffer,hid-sensor-iio-common
name:           hid_sensor_accel_3d
vermagic:       4.13.0-43-generic SMP mod_unload

@ev-mp
Copy link
Collaborator

ev-mp commented Dec 27, 2018

Hello @kevindehecker, I'm trying to reproduce the issue with 4.13.-043, so far with no success.
I also noted that dmesg log you posted is full of HW errors with uvcvideo, which may indicate that there is a broader HW-related issue.
Therefore I ask you perform the following:

  1. Verify that the accel's selected format is MOTION_XYZ32F.
  2. Run rs-capture demo to confirm the absence of accel readings.
  3. Switch USB port/External USB hub on the linux PC
  4. Record and publish hid debug with 30-40 messages with Accel&Gyro configuration enabled:

sudo su
cat /sys/kernel/debug/hid/*8086*/events > log.txt

@kevindehecker
Copy link
Contributor Author

  1. MOTION_XYZ32F confirmed:
    image

  2. Output of rs-capture

$ ./rs-capture 
RealSense error calling rs2_pipeline_wait_for_frames(pipe:0x20f9340):
    Frame didn't arrived within 5000
  1. Another usb port (directly in laptop with official cable, as always): same problem
$ realsense-viewer 
 27/12 16:53:07,641 WARNING [140249788667648] (types.cpp:57) OpCodes do not match! Sent 79 but received -21!
 27/12 16:53:07,701 WARNING [140249788667648] (sensor.cpp:338) Unregistered Media formats : [ UYVY ]; Supported: [ ]
 27/12 16:53:12,829 WARNING [140249788667648] (types.cpp:57) set_pu(id=3) failed! Last Error: Input/output error
 27/12 16:53:12,830 WARNING [140249788667648] (sensor.cpp:722) Exception was thrown when inspecting properties of a sensor
 27/12 16:53:17,930 WARNING [140249788667648] (types.cpp:57) set_pu(id=9) failed! Last Error: Input/output error
 27/12 16:53:17,930 WARNING [140249788667648] (sensor.cpp:722) Exception was thrown when inspecting properties of a sensor
 27/12 16:53:26,313 WARNING [140249665627904] (backend-hid.cpp:595) iio_hid_sensor: Frames didn't arrived within 5 seconds
$ dmesg
[29384.770460] usb 2-1: new SuperSpeed USB device number 6 using xhci_hcd
[29384.791461] usb 2-1: New USB device found, idVendor=8086, idProduct=0b3a
[29384.791467] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[29384.791471] usb 2-1: Product: Intel(R) RealSense(TM) Depth Camera 435i
[29384.791474] usb 2-1: Manufacturer: Intel(R) RealSense(TM) Depth Camera 435i
[29384.791477] usb 2-1: SerialNumber: 845523050576
[29384.793164] uvcvideo: Found UVC 1.50 device Intel(R) RealSense(TM) Depth Camera 435i (8086:0b3a)
[29384.795656] uvcvideo: Unable to create debugfs 2-6 directory.
[29384.795802] uvcvideo 2-1:1.0: Entity type for entity Intel(R) RealSense(TM) Depth Ca was not initialized!
[29384.795807] uvcvideo 2-1:1.0: Entity type for entity Processing 2 was not initialized!
[29384.795810] uvcvideo 2-1:1.0: Entity type for entity Intel(R) RealSense(TM) Depth Ca was not initialized!
[29384.795814] uvcvideo 2-1:1.0: Entity type for entity Camera 1 was not initialized!
[29384.796039] input: Intel(R) RealSense(TM) Depth Ca as /devices/pci0000:00/0000:00:14.0/usb2/2-1/2-1:1.0/input/input46
[29384.796841] uvcvideo: Found UVC 1.50 device Intel(R) RealSense(TM) Depth Camera 435i (8086:0b3a)
[29384.797936] uvcvideo: Unable to create debugfs 2-6 directory.
[29384.798087] uvcvideo 2-1:1.3: Entity type for entity Processing 7 was not initialized!
[29384.798090] uvcvideo 2-1:1.3: Entity type for entity Extension 8 was not initialized!
[29384.798093] uvcvideo 2-1:1.3: Entity type for entity Camera 6 was not initialized!
[29384.858315] hid-sensor-hub 0003:8086:0B3A.000B: No report with id 0xffffffff found
[29384.858976] hid-sensor-hub 0003:8086:0B3A.000B: No report with id 0xffffffff found
[29384.918460] hid-sensor-hub 0003:8086:0B3A.000B: No report with id 0xffffffff found
[29384.919331] hid-sensor-hub 0003:8086:0B3A.000B: No report with id 0xffffffff found
[29385.522766] hid-sensor-hub 0003:8086:0B3A.000B: No report with id 0xffffffff found
[29388.410183] hid-sensor-hub 0003:8086:0B3A.000B: No report with id 0xffffffff found
[29388.432060] uvcvideo: Failed to query (GET_CUR) UVC control 1 on unit 3: -32 (exp. 1024).
[29388.488977] uvcvideo: Failed to query (GET_CUR) UVC control 1 on unit 3: -32 (exp. 1024).
[29388.569004] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29388.620027] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29388.671098] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29388.722051] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29388.773059] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29388.824048] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29388.875010] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29388.925991] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29388.976957] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29389.027990] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29389.079006] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29389.126254] hid-sensor-hub 0003:8086:0B3A.000B: No report with id 0xffffffff found
[29389.129990] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29389.181025] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29389.232131] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29389.283181] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29389.334086] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29389.385062] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29389.436123] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29389.487036] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29389.537977] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29389.588893] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29389.639823] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29389.690759] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29389.741721] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29389.792765] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29389.843794] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29389.894795] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29389.945882] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29389.996957] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29390.048009] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29390.099072] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29390.150115] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29390.201201] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29390.252227] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29390.303242] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29390.354272] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29390.405225] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29390.456151] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29390.507112] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29390.558090] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29390.609085] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29390.660120] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29390.711215] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29390.762303] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29390.813368] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29390.864435] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29390.915510] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29390.966524] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29391.017546] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29391.068620] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29391.119683] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29391.170743] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29391.221802] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29391.272895] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29391.324007] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29391.374921] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29391.425869] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29391.476972] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29391.527970] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29391.579015] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29391.629973] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29391.681010] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29391.732064] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29391.783136] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29391.834149] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29391.885136] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29391.936177] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29391.987249] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29392.038292] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29392.089311] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29392.140344] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29392.191358] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29392.198456] hid-sensor-hub 0003:8086:0B3A.000B: No report with id 0xffffffff found
[29392.242368] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29392.293489] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29392.344534] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29392.395544] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29392.446634] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29392.497746] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29392.548813] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29392.599824] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29392.650822] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29392.701848] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29392.752825] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29392.803764] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29392.854701] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29392.905646] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29392.956622] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29393.007623] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29393.058743] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29393.109752] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29393.160780] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29393.211792] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29393.262806] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29393.313823] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29393.364816] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29393.415920] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29393.466947] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29393.518000] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29393.569018] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29393.620034] uvcvideo: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4).
[29393.678102] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29393.729097] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29393.779992] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29393.830919] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29393.881845] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29393.932771] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29393.983708] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29394.034655] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29394.085582] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29394.136471] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29394.187350] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29394.238213] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29394.289089] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29394.340055] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29394.390888] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29394.441862] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29394.492841] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29394.543839] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29394.594855] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29394.645864] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29394.696845] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29394.747849] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29394.798841] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29394.849747] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29394.900609] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29394.951544] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29395.002416] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29395.053405] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29395.104375] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29395.155295] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29395.206213] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29395.257132] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29395.308012] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29395.358965] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29395.409888] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29395.460852] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29395.511808] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29395.562757] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29395.613628] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29395.664550] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29395.715461] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29395.766444] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29395.817315] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29395.868185] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29395.919113] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29395.970093] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29396.021074] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29396.072047] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29396.123021] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29396.173983] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29396.224827] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29396.275765] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29396.326730] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29396.377692] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29396.428683] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29396.479636] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29396.530596] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29396.581486] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29396.632359] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29396.683358] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29396.734291] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29396.785274] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29396.836196] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29396.887122] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29396.938068] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29396.988968] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29397.039854] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29397.090853] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29397.141873] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29397.192821] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29397.243783] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29397.294815] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29397.345804] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29397.396688] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29397.447601] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29397.498593] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29397.549574] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29397.600446] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29397.651325] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29397.702227] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29397.753134] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29397.804087] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29397.854975] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29397.905810] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29397.956640] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29398.007478] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29398.058341] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29398.109262] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29398.160222] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29398.211132] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29398.262085] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29398.313017] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29398.363863] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29398.414692] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29398.465643] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29398.516598] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29398.567429] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29398.618395] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29398.669292] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29398.720154] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).
[29401.130166] hid-sensor-hub 0003:8086:0B3A.000B: No report with id 0xffffffff found
[29412.162221] hid-sensor-hub 0003:8086:0B3A.000B: No report with id 0xffffffff found
  1. Run rs-capture several times, also the realsense-viewer once:
    log.txt

@ev-mp
Copy link
Collaborator

ev-mp commented Dec 30, 2018

@kevindehecker , the log confirm that no Accel data is transmitted.
Please rerun the realsense-viewer with IMU preset and collect D435i FW logs by running rs-fw-logger > fw.log (in a new console window).

@kevindehecker
Copy link
Contributor Author

fw.log

@icarpis
Copy link
Contributor

icarpis commented Jan 1, 2019

@kevindehecker, please try to enable the Accel streaming manually by the lines below.
Use these lines right after you enable the Accel streaming using realsense-viewer.

sudo su
echo 1 > /sys/bus/iio/devices/iio:device0/buffer/enable

@kevindehecker
Copy link
Contributor Author

@icarpis I get bash: echo: write error: Invalid argument

@ev-mp
Copy link
Collaborator

ev-mp commented Jan 3, 2019

@kevindehecker , we've managed to reproduce it with a NUC running Ubuntu 16 with kernel 4.4.0-138.
Then it was resolved by reinstalling the kernel:

sudo apt install --reinstall linux-image-4.13.0-43-generic linux-image-extra-4.13.0-43-generic linux-headers-4.13.0-43 linux-headers-4.13.0-43-generic

Please run and update. You can also remove librealsense2-dkms package before trying, but that's optional.

@kevindehecker
Copy link
Contributor Author

@ev-mp no such luck for me. Gave it a good couple of reinstalls, reboots, and the likes.... but no.

However, I also tried with 4.10.1-041001-generic which I still had installed coincidentally. With this both the accel and the gyro work nicely! Of course, there are reasons for me using 4.13.0-43-generic as it's the only one I know that solves a couple of problems specific to my hardware under Ubuntu 16.

I'm now thinking of upgrading to 18 though, unless you think it's worth your time to solve this problem?

@kevindehecker
Copy link
Contributor Author

BTW, same for 4.4.0.141-generic.

@ev-mp
Copy link
Collaborator

ev-mp commented Jan 6, 2019

@kevindehecker, thanks for the feedback.
We're looking into this and will update accordingly

@ev-mp ev-mp added the bug label Jan 6, 2019
@icarpis
Copy link
Contributor

icarpis commented Jan 7, 2019

@kevindehecker, I have managed to solve that issue by updating manually the Accel trigger index:
echo accel_3d-dev0 > /sys/bus/iio/devices/iio:device0/trigger/current_trigger

@RealSenseCustomerSupport
Copy link
Collaborator


James L Scaife, Jan 28, 3:55 PM

We continue to look into this issue.

@bperseghetti
Copy link

@RealSense-Customer-Engineering @RealSenseCustomerSupport Had this same issue on 16.04 kernel 4.15.0-43-generic on a Dell Precision 7510 (i7-6920HQ), was temporarily solved with @icarpis solution. However, has to be rerun every time the camera is connected and before running the relasense-viewer. If not run it results in the error:

realsense-viewer
30/01 13:31:11,499 WARNING [140389294343936] (types.cpp:57) hwmon command 0x4f failed. Error type: No data to return (-21).
30/01 13:31:11,522 WARNING [140389294343936] (sensor.cpp:338) Unregistered Media formats : [ UYVY ]; Supported: [ ]
30/01 13:31:16,643 WARNING [140389294343936] (types.cpp:57) set_pu(id=3) failed! Last Error: Input/output error
30/01 13:31:16,643 WARNING [140389294343936] (sensor.cpp:725) Exception was thrown when inspecting properties of a sensor
30/01 13:31:21,738 WARNING [140389294343936] (types.cpp:57) set_pu(id=9) failed! Last Error: Input/output error
30/01 13:31:21,738 WARNING [140389294343936] (sensor.cpp:725) Exception was thrown when inspecting properties of a sensor
30/01 13:31:28,736 WARNING [140388455151360] (backend-hid.h:89) write_fs_arithmetic Could not change 0 to 1 : path /sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.5/0003:8086:0B3A.0005/HID-SENSOR-200073.1.auto/iio:device0/buffer/enable
30/01 13:31:28,736 WARNING [140388455151360] (backend-hid.cpp:692) HID set_power 1 failed for /sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.5/0003:8086:0B3A.0005/HID-SENSOR-200073.1.auto/iio:device0/buffer/enable
30/01 13:31:33,736 WARNING [140388446758656] (backend-hid.cpp:598) iio_hid_sensor: Frames didn't arrived within 5 seconds
30/01 13:31:38,738 WARNING [140388446758656] (backend-hid.cpp:598) iio_hid_sensor: Frames didn't arrived within 5 seconds
30/01 13:31:43,743 WARNING [140388446758656] (backend-hid.cpp:598) iio_hid_sensor: Frames didn't arrived within 5 seconds

When I run echo accel_3d-dev0 > /sys/bus/iio/devices/iio:device0/trigger/current_trigger after plugging in the camera but before running realsense-viewer, I get this in the terminal after I run the viewer:

realsense-viewer
30/01 13:38:49,729 WARNING [139781548918528] (types.cpp:57) hwmon command 0x4f failed. Error type: No data to return (-21).
30/01 13:38:49,855 WARNING [139781548918528] (sensor.cpp:338) Unregistered Media formats : [ UYVY ]; Supported: [ ]
30/01 13:38:54,980 WARNING [139781548918528] (types.cpp:57) set_pu(id=3) failed! Last Error: Input/output error
30/01 13:38:54,980 WARNING [139781548918528] (sensor.cpp:725) Exception was thrown when inspecting properties of a sensor
30/01 13:39:00,075 WARNING [139781548918528] (types.cpp:57) set_pu(id=9) failed! Last Error: Input/output error
30/01 13:39:00,075 WARNING [139781548918528] (sensor.cpp:725) Exception was thrown when inspecting properties of a sensor

Below are the settings being used when that is run (just the defaults). Would be nice to know why it is still getting errors.
Stereo - 1280x720, 30 FPS, Z16
RGB - 1280x720, 30 FPS, RGB8
Accel - MOTION_XYZ32F, 63 FPS
Gyro - MOTION_XYZ32F, 200 FPS

@dorodnic
Copy link
Contributor

@kevindehecker @bperseghetti - a fix has been merged into v2.18.1 release, could you please confirm this resolved the issue for you.

@kevindehecker
Copy link
Contributor Author

Yes! Works perfectly now. Thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants