-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Realsense camera can not be recognised #5230
Comments
And the information of "dmesg" is : |
The highlighted error messages:
can indicate host controller issue. It doesn't necessary mean that the controller fails but you can try switching USB port/cable to mitigate the error. According to the log the UVC driver is properly patched and also loaded correctly, so the issue is probably elsewhere. Therefore please describe the issue with camera identification/streaming (follow up from the linked issue): rs-enumerate-devices -c
rs-depth
rs-capture |
@likestudy , based on the info provided we were able to reproduce it locally and unfortunately this is a software issue introduced in the latest v2.30 version. |
@ev-mp Thanks very much. But i can't find how to rollback to V2.29. As I follow https://github.com/IntelRealSense/librealsense/blob/master/doc/distribution_linux.md, I get the default version V2.30. And if I build from source code, i also can't find where to choose the version. |
@ev-mp. I find the link https://github.com/IntelRealSense/librealsense/releases/tag/v2.29.0. |
@ev-mp Thanks a lot for your help. As I rollback to V2.29, the camera can be detected by realsense-viewer. But I use a python script to get video stream, the "No device connected" error occured. lsusb | grep 8086 shows that: As I followed #962 solved this problem by following Intel® RealSense™ SDK for Linux, I get Fatal error: opencv/cv.h: no such file or directory and fatal error: librealsense/rs.hpp: no such file or directory |
hey, I have the same issue. Can I reach you and discuss with you a little bit? @likestudy |
@likestudy , please verify that the python package you use is also built with v2.29.
and the install one of the previous versions, like
When building from sources then you can also use git interface (if you using SCM) and checkout tag Edit:
Uses a reference to a deprecated SDK version that preceded both Librealsense2 and the legacy Librealsense1 SDKs. I understand that all the names sound similarly confusing, but the actual Librealsense2 Python documentation link is https://intelrealsense.github.io/librealsense/python_docs/_generated/pyrealsense2.html |
@fred-och-karlek Of course, if I can give you some help. |
@ev-mp Oh... Thank you very much, I can get the image after I installed the corresponding version of pyrealsense2. After I installed it from source on a computer, I can find realsense information using "modinfo uvcvideo |grep "version" and "dkms status". I can't find it on another computer. I will continue to check the possible reasons. |
For my problem, it is caused by the version, which was solved when using v2.29. |
Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):
All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)
Issue Description
The problem I meet is that after follow https://github.com/IntelRealSense/librealsense/blob/master/doc/distribution_linux.md. , the realsense-viewer can not recognize the camera.
The information by "modinfo uvcvideo | grep "version:" is:
version: 1.1.2.realsense-1.3.5
srcversion: 35CF6FF13E7340591034B90
And the output for "usb-devices" is :
T: Bus=04 Lev=02 Prnt=03 Port=00 Cnt=01 Dev#= 4 Spd=5000 MxCh= 0
D: Ver= 3.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS= 9 #Cfgs= 1
P: Vendor=8086 ProdID=0aa5 Rev=31.10
S: Manufacturer=Intel(R) RealSense(TM) Camera SR300
S: Product=Intel(R) RealSense(TM) Camera SR300
C: #Ifs= 5 Cfg#= 1 Atr=c0 MxPwr=0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=0e(video) Sub=01 Prot=00 Driver=uvcvideo
I: If#= 1 Alt= 0 #EPs= 1 Cls=0e(video) Sub=02 Prot=00 Driver=uvcvideo
I: If#= 2 Alt= 0 #EPs= 1 Cls=0e(video) Sub=01 Prot=00 Driver=uvcvideo
I: If#= 3 Alt= 0 #EPs= 1 Cls=0e(video) Sub=02 Prot=00 Driver=uvcvideo
I: If#= 4 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none)
output_realsense.txt
And i tried :
1"modinfo uvcvideo | grep ver" :
version: 1.1.2.realsense-1.3.5
description: USB Video Class driver
srcversion: 35CF6FF13E7340591034B90
vermagic: 4.10.0-28-generic SMP mod_unload
2\dmesg
[ 45.950452] ACPI Warning: _SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160930/nsarguments-95)
[ 45.950479] ACPI Warning: _SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160930/nsarguments-95)
[ 45.950489] ACPI Warning: _SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160930/nsarguments-95)
[ 45.950498] ACPI Warning: _SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160930/nsarguments-95)
[ 45.950516] ACPI Warning: _SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160930/nsarguments-95)
[ 45.950525] ACPI Warning: _SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160930/nsarguments-95)
[ 45.950533] ACPI Warning: _SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160930/nsarguments-95)
[ 45.978527] ACPI Warning: _SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160930/nsarguments-95)
[ 46.111905] nvidia-modeset: Allocated GPU:0 (GPU-5dae5250-fe36-47a7-863f-b9ba3a2f2010) @ PCI:0000:01:00.0
[ 46.112114] nvidia-modeset: WARNING: GPU:0: Correcting number of heads for current head configuration (0x03)
3\sudo apt-get install librealsense2-dkms
It shows the librealsense2-dkms is the newest version 1.3.5-0ubuntu1
4\reboot
After reboot and "realsense-viewer", the camera still can not be recognized.
rs-enumerate-devices -c
No device detected. Is it plugged in?
rs-depth
There are 0 connected RealSense devices.
rs-capture
RealSense error calling rs2_pipeline_start(pipe:0x1383940):
No device connected
Any advices will help me a lot. Thanks.
The text was updated successfully, but these errors were encountered: