Closed ravijo closed 5 years ago
@ravijo hello,
After updating the system you also need to specify the kernel to boot with - it is possible that it is predefined with the system you run to select 4.4.0-148. Using a 3rd-party tool, such as grub-customizer
can be useful to manually pre-select the boot kernel version.
But before doing that - we recommend to use DKMS package whenever applicable as this a robust industrial solution compared to patching the kernel manually. Follow the Debian installation and run
sudo apt install librealsense2-dkms
This will deploy and install both the kernel patches and the udev-rules
required by the SDK.
Hi @ev-mp
Thanks for the quick response.
After updating the system you also need to specify the kernel to boot with - it is possible that it is predefined with the system you run to select 4.4.0-148. Using a 3rd-party tool, such as
grub-customizer
can be useful to manually pre-select the boot kernel version.
I understand. Well, the kernel before was 3.13.0-165-generic. As per the pre-requirements for librealsense, I upgraded the kernel to 4.4.0-148 by using command line. (This time I didn’t use grub-customizer
). However, I agree with you that I didn’t manually select the kernel during boot process. I believe it automatically executes the latest version. That is why uname -r
is showing 4.4.0-148-generic
. Isn’t it?
But before doing that - we recommend to use DKMS package whenever applicable as this a robust industrial solution compared to patching the kernel manually.
I tried it in the first place. Unfortunately, while registering the server's public key, it shows timed out. It is probably due to the firewall. I am so sorry that I don’t have credentials for bypassing this firewall (this is why I changed git://
to https://
in the patch script as mentioned above).
Thanks again.
@ravijo hello, using proxy does not require credential, just getting the corporate proxy server url:port should suffice. There are additional method to handle firewall-related issues - see the troubleshooting link mentioned in the installation guide.
I will provide a direct download link for convenience - http://realsense-hw-public.s3-eu-west-1.amazonaws.com/Debian/apt-repo/pool/xenial/main/librealsense2-dkms_1.3.5-0ubuntu1_all.deb
Note that this is for xenial
only. Install with sudo dpkg -i <filename>
and update
Hi @ev-mp
The installation worked. Please see below-
ravi@lab:~/Desktop$ sudo dpkg -i librealsense2-dkms_1.3.5-0ubuntu1_all.deb
[sudo] password for ravi:
Selecting previously unselected package librealsense2-dkms.
(Reading database ... 572225 files and directories currently installed.)
Preparing to unpack librealsense2-dkms_1.3.5-0ubuntu1_all.deb ...
Unpacking librealsense2-dkms (1.3.5-0ubuntu1) ...
Setting up librealsense2-dkms (1.3.5-0ubuntu1) ...
Loading new librealsense2-dkms-1.3.5 DKMS files...
First Installation: checking all kernels...
Building only for 4.4.0-148-generic
Building initial module for 4.4.0-148-generic
Done.
uvcvideo:
Running module version sanity check.
- Original module
- Installation
- Installing to /lib/modules/4.4.0-148-generic/updates/dkms/
videodev.ko:
Running module version sanity check.
- Original module
- Installation
- Installing to /lib/modules/4.4.0-148-generic/updates/dkms/
hid-sensor-accel-3d.ko:
Running module version sanity check.
- Original module
- Installation
- Installing to /lib/modules/4.4.0-148-generic/updates/dkms/
hid-sensor-gyro-3d.ko:
Running module version sanity check.
- Original module
- Installation
- Installing to /lib/modules/4.4.0-148-generic/updates/dkms/
depmod....
DKMS: install completed.
Loading the modified modules into kernel... complete
Current status:
bbswitch, 0.7, 3.13.0-164-generic, x86_64: installed
bbswitch, 0.7, 3.13.0-165-generic, x86_64: installed
bbswitch, 0.7, 3.13.0-170-generic, x86_64: installed
bbswitch, 0.7, 4.2.0-42-generic, x86_64: installed
bbswitch, 0.7, 4.4.0-148-generic, x86_64: installed
librealsense2-dkms, 1.3.5, 4.4.0-148-generic, x86_64: installed
nvidia-384, 384.130, 3.13.0-164-generic, x86_64: installed
nvidia-384, 384.130, 3.13.0-165-generic, x86_64: installed
nvidia-384, 384.130, 3.13.0-170-generic, x86_64: installed
nvidia-384, 384.130, 4.2.0-42-generic, x86_64: installed
nvidia-384, 384.130, 4.4.0-148-generic, x86_64: installed
mod: videodev version: realsense2-dkms
mod: uvcvideo version: 1.1.2.realsense-1.3.5
mod: hid_sensor_gyro_3d version: realsense2-dkms
mod: hid_sensor_accel_3d version: realsense2-dkms
However, realsense-viewer
is not working as expected. Please see below-
ravi@lab:~/Desktop$ realsense-viewer
23/09 22:35:47,023 ERROR [140076101125888] (types.h:304) get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: No such device
23/09 22:35:47,734 ERROR [140076117911296] (types.h:304) map_device_descriptor Cannot open '/dev/video0 Last Error: No such file or directory
23/09 22:35:47,734 ERROR [140076117911296] (error-handling.cpp:68) Error during polling error handler: map_device_descriptor Cannot open '/dev/video0 Last Error: No such file or directory
23/09 22:35:48,734 ERROR [140076117911296] (types.h:304) get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:35:48,734 ERROR [140076117911296] (error-handling.cpp:68) Error during polling error handler: get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:35:48,921 WARNING [140076403246976] (fw-update-device.cpp:52) DFU - failed to detach device
23/09 22:35:48,921 WARNING [140076403246976] (rs.cpp:281) null pointer passed for argument "device"
23/09 22:35:49,735 ERROR [140076117911296] (types.h:304) get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:35:49,735 ERROR [140076117911296] (error-handling.cpp:68) Error during polling error handler: get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:35:50,735 ERROR [140076117911296] (types.h:304) get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:35:50,735 ERROR [140076117911296] (error-handling.cpp:68) Error during polling error handler: get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:35:51,735 ERROR [140076117911296] (types.h:304) get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:35:51,735 ERROR [140076117911296] (error-handling.cpp:68) Error during polling error handler: get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:35:52,736 ERROR [140076117911296] (types.h:304) get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:35:52,736 ERROR [140076117911296] (error-handling.cpp:68) Error during polling error handler: get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:35:53,736 ERROR [140076117911296] (types.h:304) get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:35:53,736 ERROR [140076117911296] (error-handling.cpp:68) Error during polling error handler: get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:35:54,736 ERROR [140076117911296] (types.h:304) get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:35:54,736 ERROR [140076117911296] (error-handling.cpp:68) Error during polling error handler: get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:35:55,736 ERROR [140076117911296] (types.h:304) get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:35:55,737 ERROR [140076117911296] (error-handling.cpp:68) Error during polling error handler: get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:35:56,737 ERROR [140076117911296] (types.h:304) get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:35:56,737 ERROR [140076117911296] (error-handling.cpp:68) Error during polling error handler: get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:35:57,737 ERROR [140076117911296] (types.h:304) get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:35:57,737 ERROR [140076117911296] (error-handling.cpp:68) Error during polling error handler: get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:35:58,737 ERROR [140076117911296] (types.h:304) get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:35:58,738 ERROR [140076117911296] (error-handling.cpp:68) Error during polling error handler: get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:35:59,738 ERROR [140076117911296] (types.h:304) get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:35:59,738 ERROR [140076117911296] (error-handling.cpp:68) Error during polling error handler: get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:00,738 ERROR [140076117911296] (types.h:304) get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:00,738 ERROR [140076117911296] (error-handling.cpp:68) Error during polling error handler: get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:01,738 ERROR [140076117911296] (types.h:304) get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:01,738 ERROR [140076117911296] (error-handling.cpp:68) Error during polling error handler: get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:02,739 ERROR [140076117911296] (types.h:304) get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:02,739 ERROR [140076117911296] (error-handling.cpp:68) Error during polling error handler: get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:03,739 ERROR [140076117911296] (types.h:304) get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:03,739 ERROR [140076117911296] (error-handling.cpp:68) Error during polling error handler: get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:04,739 ERROR [140076117911296] (types.h:304) get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:04,739 ERROR [140076117911296] (error-handling.cpp:68) Error during polling error handler: get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:05,739 ERROR [140076117911296] (types.h:304) get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:05,739 ERROR [140076117911296] (error-handling.cpp:68) Error during polling error handler: get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:06,740 ERROR [140076117911296] (types.h:304) get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:06,740 ERROR [140076117911296] (error-handling.cpp:68) Error during polling error handler: get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:07,740 ERROR [140076117911296] (types.h:304) get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:07,740 ERROR [140076117911296] (error-handling.cpp:68) Error during polling error handler: get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:08,740 ERROR [140076117911296] (types.h:304) get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:08,740 ERROR [140076117911296] (error-handling.cpp:68) Error during polling error handler: get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:09,740 ERROR [140076117911296] (types.h:304) get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:09,741 ERROR [140076117911296] (error-handling.cpp:68) Error during polling error handler: get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:10,741 ERROR [140076117911296] (types.h:304) get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:10,741 ERROR [140076117911296] (error-handling.cpp:68) Error during polling error handler: get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:11,741 ERROR [140076117911296] (types.h:304) get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:11,741 ERROR [140076117911296] (error-handling.cpp:68) Error during polling error handler: get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:12,742 ERROR [140076117911296] (types.h:304) get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:12,742 ERROR [140076117911296] (error-handling.cpp:68) Error during polling error handler: get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:13,742 ERROR [140076117911296] (types.h:304) get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:13,742 ERROR [140076117911296] (error-handling.cpp:68) Error during polling error handler: get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:14,742 ERROR [140076117911296] (types.h:304) get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:14,742 ERROR [140076117911296] (error-handling.cpp:68) Error during polling error handler: get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:15,742 ERROR [140076117911296] (types.h:304) get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:15,743 ERROR [140076117911296] (error-handling.cpp:68) Error during polling error handler: get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:16,743 ERROR [140076117911296] (types.h:304) get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:16,743 ERROR [140076117911296] (error-handling.cpp:68) Error during polling error handler: get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:17,743 ERROR [140076117911296] (types.h:304) get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:17,743 ERROR [140076117911296] (error-handling.cpp:68) Error during polling error handler: get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:18,743 ERROR [140076117911296] (types.h:304) get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:18,743 ERROR [140076117911296] (error-handling.cpp:68) Error during polling error handler: get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:19,744 ERROR [140076117911296] (types.h:304) get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:19,744 ERROR [140076117911296] (error-handling.cpp:68) Error during polling error handler: get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:20,744 ERROR [140076117911296] (types.h:304) get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:20,744 ERROR [140076117911296] (error-handling.cpp:68) Error during polling error handler: get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:21,744 ERROR [140076117911296] (types.h:304) get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:21,744 ERROR [140076117911296] (error-handling.cpp:68) Error during polling error handler: get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:22,744 ERROR [140076117911296] (types.h:304) get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:22,745 ERROR [140076117911296] (error-handling.cpp:68) Error during polling error handler: get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:23,745 ERROR [140076117911296] (types.h:304) get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:23,745 ERROR [140076117911296] (error-handling.cpp:68) Error during polling error handler: get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:24,745 ERROR [140076117911296] (types.h:304) get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:24,745 ERROR [140076117911296] (error-handling.cpp:68) Error during polling error handler: get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:25,745 ERROR [140076117911296] (types.h:304) get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:25,745 ERROR [140076117911296] (error-handling.cpp:68) Error during polling error handler: get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:26,746 ERROR [140076117911296] (types.h:304) get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:26,746 ERROR [140076117911296] (error-handling.cpp:68) Error during polling error handler: get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:27,746 ERROR [140076117911296] (types.h:304) get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:27,746 ERROR [140076117911296] (error-handling.cpp:68) Error during polling error handler: get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:28,746 ERROR [140076117911296] (types.h:304) get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:28,746 ERROR [140076117911296] (error-handling.cpp:68) Error during polling error handler: get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:29,656 ERROR [140076101125888] (types.h:304) get_dev_capabilities: Cannot open '/dev/video0 Last Error: Permission denied
23/09 22:36:29,657 ERROR [140076101125888] (types.h:304) get_dev_capabilities: Cannot open '/dev/video1 Last Error: Permission denied
23/09 22:36:29,657 ERROR [140076101125888] (types.h:304) get_dev_capabilities: Cannot open '/dev/video2 Last Error: Permission denied
23/09 22:36:29,746 ERROR [140076117911296] (types.h:304) get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:29,746 ERROR [140076117911296] (error-handling.cpp:68) Error during polling error handler: get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:30,747 ERROR [140076117911296] (types.h:304) get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:30,747 ERROR [140076117911296] (error-handling.cpp:68) Error during polling error handler: get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:31,747 ERROR [140076117911296] (types.h:304) get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:31,747 ERROR [140076117911296] (error-handling.cpp:68) Error during polling error handler: get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:32,747 ERROR [140076117911296] (types.h:304) get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:32,747 ERROR [140076117911296] (error-handling.cpp:68) Error during polling error handler: get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:33,748 ERROR [140076117911296] (types.h:304) get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:33,748 ERROR [140076117911296] (error-handling.cpp:68) Error during polling error handler: get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:34,748 ERROR [140076117911296] (types.h:304) get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:34,748 ERROR [140076117911296] (error-handling.cpp:68) Error during polling error handler: get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:35,748 ERROR [140076117911296] (types.h:304) get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:35,748 ERROR [140076117911296] (error-handling.cpp:68) Error during polling error handler: get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:36,749 ERROR [140076117911296] (types.h:304) get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:36,749 ERROR [140076117911296] (error-handling.cpp:68) Error during polling error handler: get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:37,749 ERROR [140076117911296] (types.h:304) get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:37,749 ERROR [140076117911296] (error-handling.cpp:68) Error during polling error handler: get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:38,749 ERROR [140076117911296] (types.h:304) get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:38,749 ERROR [140076117911296] (error-handling.cpp:68) Error during polling error handler: get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:39,750 ERROR [140076117911296] (types.h:304) get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
23/09 22:36:39,750 ERROR [140076117911296] (error-handling.cpp:68) Error during polling error handler: get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Bad file descriptor
If you notice carefully, you can see the following error Cannot open '/dev/video0 Last Error: Permission denied
Do I need to manually set permissions to the device? Can you please help?
@ravijo , you need to install device permissions - udev-rules
- follow the installation guide here
Run Intel Realsense permissions script located from librealsense root directory: ./scripts/setup_udev_rules.sh
Then reconnect the camera to make sure the're applied
@ev-mp It worked. Thank you very much.
Issue Description
The process of applying a patch on kernel modules is failing. Please note that I have already run
sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade
and updated boot bysudo update-grub && sudo reboot
multiple times. Please see below the output reported at the terminal-Please note that due to some issue (maybe the firewall),
git://
was showing connection timed out. Therefore, I modified the line number 56 of patch-realsense-ubuntu-lts.sh as shown below:Possible Culprit
I see the following line
HEAD is now at 1296204 UBUNTU: Ubuntu-4.4.0-164.192
in the output ofpatch-realsense-ubuntu-lts.sh
.The cloned kernel belongs to the version
4.4.0-164.192
. However, my kernel is a little bit different. See below-Additional Info.
modinfo uvcvideo
CMake version
dmesg
Any workaround, please?