我正在使用HDMI到USB捕获设备,linux将其设置为/dev/video0 0。它工作起来像一个网络摄像头,但从HDMI捕捉。它使用vmlinuz-5.0.0-32-泛型内核工作得很好。在更新到vmlinuz-5.0.0-47通用内核后,v4l2不会设置/dev/视频设备。重新启动vmlinuz-5.0.0-32通用内核后,设备再次完美工作。硬件信息:计算机是一个ASUSM4A88T-M主板,没有安装其他pci卡,运行LinuxMint19.3,64位。
新内核(vmlinuz-5.0.0-47-泛型) v4l2-ctl -所有显示.
Failed to open /dev/video0: No such file or directory与旧内核(vmlinuz-5.0.0-32-泛型) v4l2-ctl -所有显示.
Driver Info (not using libv4l2):
Driver name : uvcvideo
Card type : UVC Camera (534d:2109): USB Vid
Bus info : usb-0000:00:12.2-4
Driver version: 5.0.21
Capabilities : 0x84A00001
Video Capture
Metadata Capture
Streaming
Extended Pix Format
Device Capabilities
Device Caps : 0x04200001
Video Capture
Streaming
Extended Pix Format
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
Width/Height : 1920/1080
Pixel Format : 'MJPG'
Field : None
Bytes per Line : 0
Size Image : 4147200
Colorspace : sRGB
Transfer Function : Default (maps to sRGB)
YCbCr/HSV Encoding: Default (maps to ITU-R 601)
Quantization : Default (maps to Full Range)
Flags :
Crop Capability Video Capture:
Bounds : Left 0, Top 0, Width 1920, Height 1080
Default : Left 0, Top 0, Width 1920, Height 1080
Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 1920, Height 1080
Selection: crop_bounds, Left 0, Top 0, Width 1920, Height 1080
Streaming Parameters Video Capture:
Capabilities : timeperframe
Frames per second: 30.000 (30/1)
Read buffers : 0
brightness 0x00980900 (int) : min=-128 max=127 step=1 default=-11 value=-11
contrast 0x00980901 (int) : min=0 max=255 step=1 default=148 value=148
saturation 0x00980902 (int) : min=0 max=255 step=1 default=180 value=180
hue 0x00980903 (int) : min=-128 max=127 step=1 default=0 value=0有什么方法可以让它在新内核中工作吗?
作为一种解决办法,我可以设置我的PC来启动旧内核,但是这是一个开发人员想知道的问题吗?这样就可以纠正它了吗?
发布于 2021-04-29 14:16:07
我有另一台PC与相同的操作系统运行5.3.0-28内核,问题得到了解决。
https://unix.stackexchange.com/questions/610106
复制相似问题