Closed SandW closed 8 years ago
Do you have a Windows machine handy to double check that the camera is working? Because the camera has so many additional steps on Ubuntu sometimes it's better to quickly sanity check that it's not the camera hardware (which happens on occasion... could also be USB cable, USB host controller, etc).
I can use the camera under Win10 using intel_rs_dcm_r200_2.1.24.6664 and intel_rs_sdk_runtime_8.0.24.6528. It works pretty well.
@SandW maybe try running the ./scripts/patch-uvcvideo-4.4.sh v4.4-wily
script again. Looks like that step might have failed without providing an obvious error.
The crashes from cpp-config-ui, while confusing to new users, are usually the result of altering R200_ controls that were only meant to be modified before or after streaming has started. Our example UI isn't smart enough to disable controls according to when they are available to set.
Thanks! I have followed your instructions. However, no image was shown in the cpp-config-ui after click start capture. It exited automatically after a few seconds. Then no device can be found. I plugged in the USB again and no device can be found, unless I reboot my PC.
(Before plug in the R200 and after the reinstallation) [ 18.585583] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A) [ 18.585584] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A) [ 18.773545] init: Failed to obtain startpar-bridge instance: Unknown parameter: INSTANCE [ 20.970631] init: cups main process (838) killed by HUP signal [ 20.970641] init: cups main process ended, respawning [ 23.246585] Bluetooth: Core ver 2.21 [ 23.246610] NET: Registered protocol family 31 [ 23.246612] Bluetooth: HCI device and connection manager initialized [ 23.246617] Bluetooth: HCI socket layer initialized [ 23.246620] Bluetooth: L2CAP socket layer initialized [ 23.246628] Bluetooth: SCO socket layer initialized [ 23.376344] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 23.376348] Bluetooth: BNEP filters: protocol multicast [ 23.376352] Bluetooth: BNEP socket layer initialized [ 23.445132] Bluetooth: RFCOMM TTY layer initialized [ 23.445138] Bluetooth: RFCOMM socket layer initialized [ 23.445144] Bluetooth: RFCOMM ver 1.11 [ 26.041531] r8169 0000:03:00.0 eth1: link down [ 26.041586] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready [ 26.927233] MAC Address = 48:8a:d2:08:d3:5d [ 26.931273] IPv6: ADDRCONF(NETDEV_UP): wlan3: link is not ready [ 26.938404] R8188EU: ERROR indicate disassoc [ 26.939179] IPv6: ADDRCONF(NETDEV_UP): wlan3: link is not ready [ 28.946347] R8188EU: ERROR assoc success [ 28.946376] IPv6: ADDRCONF(NETDEV_CHANGE): wlan3: link becomes ready [ 29.390529] audit_printk_skb: 15 callbacks suppressed [ 29.390534] audit: type=1400 audit(1458254470.303:17): apparmor="STATUS" operation="profile_replace" name="/sbin/dhclient" pid=988 comm="apparmor_parser" [ 29.390541] audit: type=1400 audit(1458254470.303:18): apparmor="STATUS" operation="profile_replace" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=988 comm="apparmor_parser" [ 29.390546] audit: type=1400 audit(1458254470.303:19): apparmor="STATUS" operation="profile_replace" name="/usr/lib/connman/scripts/dhclient-script" pid=988 comm="apparmor_parser" [ 29.390875] audit: type=1400 audit(1458254470.303:20): apparmor="STATUS" operation="profile_replace" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=988 comm="apparmor_parser" [ 29.390880] audit: type=1400 audit(1458254470.303:21): apparmor="STATUS" operation="profile_replace" name="/usr/lib/connman/scripts/dhclient-script" pid=988 comm="apparmor_parser" [ 29.391040] audit: type=1400 audit(1458254470.303:22): apparmor="STATUS" operation="profile_replace" name="/usr/lib/connman/scripts/dhclient-script" pid=988 comm="apparmor_parser" [ 29.391799] audit: type=1400 audit(1458254470.303:23): apparmor="STATUS" operation="profile_replace" name="/usr/lib/cups/backend/cups-pdf" pid=993 comm="apparmor_parser" [ 29.391806] audit: type=1400 audit(1458254470.303:24): apparmor="STATUS" operation="profile_replace" name="/usr/sbin/cupsd" pid=993 comm="apparmor_parser" [ 29.392139] audit: type=1400 audit(1458254470.303:25): apparmor="STATUS" operation="profile_replace" name="/usr/sbin/cupsd" pid=993 comm="apparmor_parser" [ 30.004495] audit: type=1400 audit(1458254470.915:26): apparmor="STATUS" operation="profile_load" name="/usr/sbin/tcpdump" pid=995 comm="apparmor_parser" [ 34.053290] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory [ 34.102456] NFSD: starting 90-second grace period (net ffffffff81ef05c0) [ 38.119886] init: plymouth-upstart-bridge main process ended, respawning [ 38.128717] init: plymouth-upstart-bridge main process (1454) killed by TERM signal [ 50.997289] audit_printk_skb: 123 callbacks suppressed [ 50.997293] audit: type=1400 audit(1458254491.911:68): apparmor="STATUS" operation="profile_replace" name="/usr/lib/cups/backend/cups-pdf" pid=2058 comm="apparmor_parser" [ 50.997298] audit: type=1400 audit(1458254491.911:69): apparmor="STATUS" operation="profile_replace" name="/usr/sbin/cupsd" pid=2058 comm="apparmor_parser" [ 50.997802] audit: type=1400 audit(1458254491.911:70): apparmor="STATUS" operation="profile_replace" name="/usr/sbin/cupsd" pid=2058 comm="apparmor_parser" [ 134.034979] systemd-hostnamed[2601]: Warning: nss-myhostname is not installed. Changing the local hostname might make it unresolveable. Please install nss-myhostname! [ 812.094184] media: Linux media interface: v0.10 [ 812.132627] Linux video capture interface: v2.00 [ 812.176129] uvcvideo: module verification failed: signature and/or required key missing - tainting kernel [ 812.176745] usbcore: registered new interface driver uvcvideo [ 812.176747] USB Video Class driver (1.1.1)
(After plug in R200) [ 23.376352] Bluetooth: BNEP socket layer initialized [ 23.445132] Bluetooth: RFCOMM TTY layer initialized [ 23.445138] Bluetooth: RFCOMM socket layer initialized [ 23.445144] Bluetooth: RFCOMM ver 1.11 [ 26.041531] r8169 0000:03:00.0 eth1: link down [ 26.041586] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready [ 26.927233] MAC Address = 48:8a:d2:08:d3:5d [ 26.931273] IPv6: ADDRCONF(NETDEV_UP): wlan3: link is not ready [ 26.938404] R8188EU: ERROR indicate disassoc [ 26.939179] IPv6: ADDRCONF(NETDEV_UP): wlan3: link is not ready [ 28.946347] R8188EU: ERROR assoc success [ 28.946376] IPv6: ADDRCONF(NETDEV_CHANGE): wlan3: link becomes ready [ 29.390529] audit_printk_skb: 15 callbacks suppressed [ 29.390534] audit: type=1400 audit(1458254470.303:17): apparmor="STATUS" operation="profile_replace" name="/sbin/dhclient" pid=988 comm="apparmor_parser" [ 29.390541] audit: type=1400 audit(1458254470.303:18): apparmor="STATUS" operation="profile_replace" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=988 comm="apparmor_parser" [ 29.390546] audit: type=1400 audit(1458254470.303:19): apparmor="STATUS" operation="profile_replace" name="/usr/lib/connman/scripts/dhclient-script" pid=988 comm="apparmor_parser" [ 29.390875] audit: type=1400 audit(1458254470.303:20): apparmor="STATUS" operation="profile_replace" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=988 comm="apparmor_parser" [ 29.390880] audit: type=1400 audit(1458254470.303:21): apparmor="STATUS" operation="profile_replace" name="/usr/lib/connman/scripts/dhclient-script" pid=988 comm="apparmor_parser" [ 29.391040] audit: type=1400 audit(1458254470.303:22): apparmor="STATUS" operation="profile_replace" name="/usr/lib/connman/scripts/dhclient-script" pid=988 comm="apparmor_parser" [ 29.391799] audit: type=1400 audit(1458254470.303:23): apparmor="STATUS" operation="profile_replace" name="/usr/lib/cups/backend/cups-pdf" pid=993 comm="apparmor_parser" [ 29.391806] audit: type=1400 audit(1458254470.303:24): apparmor="STATUS" operation="profile_replace" name="/usr/sbin/cupsd" pid=993 comm="apparmor_parser" [ 29.392139] audit: type=1400 audit(1458254470.303:25): apparmor="STATUS" operation="profile_replace" name="/usr/sbin/cupsd" pid=993 comm="apparmor_parser" [ 30.004495] audit: type=1400 audit(1458254470.915:26): apparmor="STATUS" operation="profile_load" name="/usr/sbin/tcpdump" pid=995 comm="apparmor_parser" [ 34.053290] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory [ 34.102456] NFSD: starting 90-second grace period (net ffffffff81ef05c0) [ 38.119886] init: plymouth-upstart-bridge main process ended, respawning [ 38.128717] init: plymouth-upstart-bridge main process (1454) killed by TERM signal [ 50.997289] audit_printk_skb: 123 callbacks suppressed [ 50.997293] audit: type=1400 audit(1458254491.911:68): apparmor="STATUS" operation="profile_replace" name="/usr/lib/cups/backend/cups-pdf" pid=2058 comm="apparmor_parser" [ 50.997298] audit: type=1400 audit(1458254491.911:69): apparmor="STATUS" operation="profile_replace" name="/usr/sbin/cupsd" pid=2058 comm="apparmor_parser" [ 50.997802] audit: type=1400 audit(1458254491.911:70): apparmor="STATUS" operation="profile_replace" name="/usr/sbin/cupsd" pid=2058 comm="apparmor_parser" [ 134.034979] systemd-hostnamed[2601]: Warning: nss-myhostname is not installed. Changing the local hostname might make it unresolveable. Please install nss-myhostname! [ 812.094184] media: Linux media interface: v0.10 [ 812.132627] Linux video capture interface: v2.00 [ 812.176129] uvcvideo: module verification failed: signature and/or required key missing - tainting kernel [ 812.176745] usbcore: registered new interface driver uvcvideo [ 812.176747] USB Video Class driver (1.1.1) [ 844.259000] usb 9-1: new SuperSpeed USB device number 2 using xhci_hcd [ 844.282055] usb 9-1: New USB device found, idVendor=8086, idProduct=0a80 [ 844.282063] usb 9-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 844.282068] usb 9-1: Product: Intel RealSense 3D Camera R200 [ 844.282072] usb 9-1: Manufacturer: Intel Corp [ 844.282076] usb 9-1: SerialNumber: SN_2451006186 [ 844.285658] uvcvideo: Found UVC 1.10 device Intel RealSense 3D Camera R200 (8086:0a80) [ 844.292545] uvcvideo: Found UVC 1.10 device Intel RealSense 3D Camera R200 (8086:0a80) [ 844.297375] uvcvideo: Unable to create debugfs 9-2 directory. [ 844.297688] input: Intel RealSense 3D Camera R200 as /devices/pci0000:00/0000:00:05.0/0000:04:00.0/usb9/9-1/9-1:1.2/input/input20 [ 844.299636] uvcvideo: Found UVC 1.10 device Intel RealSense 3D Camera R200 (8086:0a80) [ 844.304634] uvcvideo: Unable to create debugfs 9-2 directory. [ 844.304935] input: Intel RealSense 3D Camera R200 as /devices/pci0000:00/0000:00:05.0/0000:04:00.0/usb9/9-1/9-1:1.4/input/input21
$ ./cpp-alignimages rs.error: VIDIOC_REQBUFS error 19, No such device rs.error: VIDIOC_STREAMOFF error 19, No such device rs.error: VIDIOC_REQBUFS error 19, No such device rs.error: VIDIOC_REQBUFS error 19, No such device RealSense error calling rs_wait_for_frames(device:0x792a70): Timeout waiting for frames.
$ ./cpp-config-ui No device found. Is it plugged in?
$ sudo dmesg | tail -n 50 [ 1043.552182] [
] int_ret_from_sys_call+0x25/0x8f [ 1043.552186] ---[ end trace 4ac451095565ede6 ]--- [ 1043.552258] ------------[ cut here ]------------ [ 1043.552264] WARNING: CPU: 6 PID: 8211 at /home/kernel/COD/linux/fs/sysfs/group.c:237 sysfs_remove_group+0x8b/0x90() [ 1043.552267] sysfs group ffffffff81ec5e80 not found for kobject 'media2' [ 1043.552269] Modules linked in: uvcvideo(OE) videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_core v4l2_common videodev media rfcomm bnep bluetooth r8188eu(C) nfsd cfg80211 snd_usb_audio snd_usbmidi_lib joydev input_leds snd_hda_codec_hdmi nouveau snd_hda_codec_realtek snd_hda_codec_generic snd_hda_intel auth_rpcgss nfs_acl snd_hda_codec nfs snd_hda_core snd_hwdep lockd grace sunrpc kvm_amd kvm ttm fscache drm_kms_helper drm snd_pcm irqbypass snd_seq_midi snd_seq_midi_event i2c_algo_bit snd_rawmidi crct10dif_pclmul crc32_pclmul snd_seq aesni_intel eeepc_wmi fb_sys_fops asus_wmi syscopyarea aes_x86_64 sysfillrect sparse_keymap lrw sysimgblt video mxm_wmi gf128mul glue_helper snd_seq_device edac_mce_amd snd_timer ablk_helper edac_core snd cryptd serio_raw i2c_piix4 k10temp tpm_infineon fam15h_power soundcore 8250_fintek shpchp wmi mac_hid nls_iso8859_1 parport_pc ppdev lp parport hid_generic usbhid hid psmouse ahci r8169 libahci mii fjes [ 1043.552348] CPU: 6 PID: 8211 Comm: cpp-alignimages Tainted: G WC OE 4.4.0-040400-generic #201601101930 [ 1043.552351] Hardware name: To be filled by O.E.M. To be filled by O.E.M./M5A99X EVO R2.0, BIOS 2501 04/03/2014 [ 1043.552353] 0000000000000000 0000000070f592c1 ffff8801c1433bd8 ffffffff813c8d94 [ 1043.552358] ffff8801c1433c20 ffff8801c1433c10 ffffffff8107dba2 0000000000000000 [ 1043.552363] ffffffff81ec5e80 ffff8800d86e2090 ffff8800d89230a8 ffff880214b84cc0 [ 1043.552367] Call Trace: [ 1043.552372] [ ] dump_stack+0x44/0x60 [ 1043.552377] [ ] warn_slowpath_common+0x82/0xc0 [ 1043.552381] [ ] warn_slowpath_fmt+0x5c/0x80 [ 1043.552385] [ ] ? kernfs_find_and_get_ns+0x48/0x60 [ 1043.552390] [ ] sysfs_remove_group+0x8b/0x90 [ 1043.552395] [ ] dpm_sysfs_remove+0x57/0x60 [ 1043.552399] [ ] device_del+0x58/0x260 [ 1043.552404] [ ] device_unregister+0x1e/0x60 [ 1043.552410] [ ] media_devnode_unregister+0x42/0x50 [media] [ 1043.552416] [ ] media_device_unregister+0x53/0x60 [media] [ 1043.552422] [ ] uvc_delete+0x148/0x150 [uvcvideo] [ 1043.552428] [ ] uvc_release+0x23/0x30 [uvcvideo] [ 1043.552437] [ ] v4l2_device_release+0xcb/0x100 [videodev] [ 1043.552442] [ ] device_release+0x32/0x90 [ 1043.552447] [ ] kobject_release+0x7a/0x190 [ 1043.552451] [ ] kobject_put+0x27/0x50 [ 1043.552455] [ ] put_device+0x17/0x20 [ 1043.552465] [ ] v4l2_release+0x4d/0x80 [videodev] [ 1043.552469] [ ] fput+0xe4/0x220 [ 1043.552474] [ ] __ fput+0xe/0x10 [ 1043.552479] [] task_work_run+0x73/0x90 [ 1043.552483] [ ] exit_to_usermode_loop+0xc2/0xd0 [ 1043.552488] [ ] syscall_return_slowpath+0x4e/0x60 [ 1043.552493] [ ] int_ret_from_sys_call+0x25/0x8f [ 1043.552496] ---[ end trace 4ac451095565ede7 ]--- [ 1065.987526] usb 11-2: new SuperSpeed USB device number 2 using xhci_hcd [ 1066.010328] usb 11-2: New USB device found, idVendor=8086, idProduct=0a80 [ 1066.010335] usb 11-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 1066.010340] usb 11-2: Product: Intel RealSense 3D Camera R200 [ 1066.010344] usb 11-2: Manufacturer: Intel Corp [ 1066.010348] usb 11-2: SerialNumber: SN_2451006186 [ 1066.013926] uvcvideo: Found UVC 1.10 device Intel RealSense 3D Camera R200 (8086:0a80) [ 1066.020918] uvcvideo: Found UVC 1.10 device Intel RealSense 3D Camera R200 (8086:0a80) [ 1066.025841] uvcvideo: Unable to create debugfs 11-2 directory. [ 1066.026089] input: Intel RealSense 3D Camera R200 as /devices/pci0000:00/0000:00:07.0/0000:06:00.0/usb11/11-2/11-2:1.2/input/input22 [ 1066.027913] uvcvideo: Found UVC 1.10 device Intel RealSense 3D Camera R200 (8086:0a80) [ 1066.032906] uvcvideo: Unable to create debugfs 11-2 directory. [ 1066.033143] input: Intel RealSense 3D Camera R200 as /devices/pci0000:00/0000:00:07.0/0000:06:00.0/usb11/11-2/11-2:1.4/input/input23 $ ./cpp-config-ui rs.error: VIDIOC_REQBUFS error 19, No such device rs.error: VIDIOC_REQBUFS error 19, No such device RealSense error calling rs_wait_for_frames(device:0x832a00): Timeout waiting for frames.
$ ./cpp-alignimages No device detected. Is it plugged in?
$ ./cpp-config-ui No device found. Is it plugged in?
@SandW this sounds suspiciously like you're on hardware that is incompatible with the camera. I've never seen a case where a reboot is necessary to re-enumerate one of the cameras.
Have you tested in in NUC under Ubuntu 14.04? I can try my NUC.
My NUC running Ubuntu 14.04 works fine with the r200 and the f200.
@SandW we've found in a couple cases that sometimes these issues can be fixed by twiddling with BIOS settings like "USB Legacy Support" See this issue: #105
Thanks! I will try.
output msg of
dmesg | tail -n 50
After press the button of "start capture" in "cpp-config-ui", no depth image displayed, and it crashed after changing some parameters named with "R200_".
Depth image cannot be displayed in every app.
![Uploading Screenshot from 2016-03-11 12:19:31.png…](This is the image after running)
When I running the "cpp-alignimages", messages constantly showed in the terminal: