WhyCan Forum

本站无需注册,无需积分,无需回复可下载所有资料,如果真的喜欢小站,请您注册之后请至少回复一个帖子激活Id,谢谢支持! 站长QQ: 516333132 (挖坑网/填坑网) admin@whycan.cn

您尚未登录。

#1 2019-08-18 11:34:19

BMN李
会员
注册时间: 2018-03-22
累计积分: 50

GET_DEF(PROBE) not supported是什么问题?

[ 1575.423473] uvcvideo: UVC non compliance - GET_DEF(PROBE) not supported. Enabling workaround.
[ 1580.423450] uvcvideo: Failed to query (129) UVC probe control : -110 (exp. 26).
[ 1580.423644] uvcvideo: Failed to initialize the device (-5).

离线

#2 2019-08-19 09:27:34

firstman
会员
注册时间: 2019-04-06
累计积分: 154

Re: GET_DEF(PROBE) not supported是什么问题?

https://e2e.ti.com/support/processors/f/791/t/483508?UVC-camera-non-compliance-for-AM335x

This issue is platform independent, not related to AM335x. This camera is not compliant with UVC Specs - GET_DEF(PROBE) is not supported, so that the UVCVIDEO driver is unable to enumerate this camera.

My only advice is to try the latest AM335x Processor SDK 2.0 (http://software-dl.ti.com/processor-sw/esd/PROCESSOR-SDK-LINUX-AM335X/latest/index_FDS.html), which uses kernel v4.1. If the newer kernel had any quirk added in UVCVIDEO driver to support this particular camera, it might work. If not, the only option you have is to pick other UVC-compliant cameras, since this one is not supported in Linux kernel.

此问题与平台无关,与AM335x无关。本相机不符合UVC规格 - 不支持GET_DEF(PROBE),因此UVCVIDEO驱动程序无法枚举此相机。

我唯一的建议是尝试最新的AM335x处理器SDK 2.0(http://software-dl.ti.com/processor-sw/esd/PROCESSOR-SDK-LINUX-AM335X/latest/index_FDS.html),它使用内核v4 0.1。如果较新的内核在UVCVIDEO驱动程序中添加任何怪癖来支持这个特定的相机,它可能会工作。如果没有,您唯一的选择是选择其他符合UVC标准的摄像机,因为Linux内核不支持此摄像机。

离线

#3 2019-08-19 09:40:23

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 7,403

Re: GET_DEF(PROBE) not supported是什么问题?

感觉是超时造成的: https://community.nxp.com/thread/315542

Hi Matthieu,

I know this post is quite old but I would like to help you with your question.

The problem is usually caused by a timeout event triggered on the host PC when the USB device is not able to configure itself on time. This is a known issue on some Ubuntu version were the timeout value is set to 1000ms, in the case of Windows drivers this timeout has been increased to 5000ms (see Bug #241753 “uvcvideo module randomly fails to load” : Bugs : “linux-ubuntu-modules-2.6.24” package : Ubuntu).

You may try to increase the timeout of your host PC or try to load the g_webcam module into the webcam test application so the application can configure the UVC device quickly.

Best Regards,

-Marco

问题通常是由USB设备无法按时配置时在主机PC上触发的超时事件引起的。这是一些Ubuntu版本的已知问题,超时值设置为1000ms,在Windows驱动程序的情况下,此超时已增加到5000ms(参见Bug#241753“uvcvideo模块随机无法加载”:错误:“linux- ubuntu-modules-2.6.24“package:Ubuntu)。

您可以尝试增加主机PC的超时或尝试将g_webcam模块加载到网络摄像头测试应用程序中,以便应用程序可以快速配置UVC设备。




看这样能否解决: https://bugs.launchpad.net/ubuntu/+source/linux-ubuntu-modules-2.6.24/+bug/241753

create /etc/modprobe.d/uvcvideo.conf and put the following line there:
options uvcvideo timeout=10000

after reboot you can use the following command to make sure parameter setup correctly:
cat /sys/module/uvcvideo/parameters/timeout

离线

页脚