VIDIOC_STREAMON错误28,在我尝试在网络上使用常见解决方案后,设备上没有剩余空间

问题描述 投票:1回答:1

我有一个深度相机(XTION2)。我可以通过以下代码成功获取图像流:

roslaunch openni2_launch openni2.launch
rosrun image_view image_view image:=/camera/depth/image_raw

但当我尝试通过以下代码输出我的rgb图像流

roslaunch openni2_launch openni2.launch
rosrun image_view image_view image:=/camera/rgb/image_raw

我收到一条错误消息:

VIDIOC_STREAMON error 28, No space left on device

我尝试了一些常见的解决方案来解决这个问题:

sudo rmmod uvcvideo
sudo modprobe uvcvideo quirks=640

要么

sudo rmmod uvcvideo
sudo modprobe uvcvideo quirks=128

但它仍然无效。

我的ubuntu版本是“16.04”这是“lsusb”的输出

Bus 002 Device 032: ID 0b05:182c ASUSTek Computer, Inc. 
Bus 002 Device 031: ID 0b05:182d ASUSTek Computer, Inc. 
Bus 002 Device 030: ID 0bda:0401 Realtek Semiconductor Corp. 
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 0cf3:e007 Atheros Communications, Inc. 
Bus 001 Device 004: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 003: ID 0bda:5769 Realtek Semiconductor Corp. 
Bus 001 Device 011: ID 046d:c52f Logitech, Inc. Unifying Receiver
Bus 001 Device 016: ID 0bda:5401 Realtek Semiconductor Corp. RTL 8153 USB 3.0 hub with gigabit ethernet
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

当我插入我的xtion2相机时,这是“lsusb -t”的输出

/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 5000M
    |__ Port 1: Dev 30, If 0, Class=Hub, Driver=hub/4p, 5000M
        |__ Port 1: Dev 31, If 0, Class=Video, Driver=uvcvideo, 5000M
        |__ Port 1: Dev 31, If 1, Class=Video, Driver=uvcvideo, 5000M
        |__ Port 1: Dev 31, If 2, Class=Audio, Driver=snd-usb-audio, 5000M
        |__ Port 1: Dev 31, If 3, Class=Audio, Driver=snd-usb-audio, 5000M
        |__ Port 2: Dev 32, If 0, Class=Video, Driver=uvcvideo, 5000M
        |__ Port 2: Dev 32, If 1, Class=Video, Driver=uvcvideo, 5000M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/12p, 480M
    |__ Port 1: Dev 16, If 0, Class=Hub, Driver=hub/4p, 480M
    |__ Port 3: Dev 11, If 0, Class=Human Interface Device, Driver=usbhid, 12M
    |__ Port 3: Dev 11, If 1, Class=Human Interface Device, Driver=usbhid, 12M
    |__ Port 5: Dev 3, If 0, Class=Video, Driver=uvcvideo, 480M
    |__ Port 5: Dev 3, If 1, Class=Video, Driver=uvcvideo, 480M
    |__ Port 6: Dev 4, If 0, Class=Vendor Specific Class, Driver=rtsx_usb, 480M
    |__ Port 7: Dev 5, If 0, Class=Wireless, Driver=btusb, 12M
    |__ Port 7: Dev 5, If 1, Class=Wireless, Driver=btusb, 12M

任何人都可以帮我解决这个问题吗?请帮助我,非常感谢!

camera bandwidth depth uvc asus-xtion
1个回答
0
投票

我偶尔会解决这个问题。运行以下代码后

sudo rmmod uvcvideo
sudo modprobe uvcvideo quirks=640

我从usb 3端口通过usb2.0的端口将我的xtion2设备插入我的电脑,它突然工作了。我不知道为什么。

© www.soinside.com 2019 - 2024. All rights reserved.