Skip to content

Kernel 5.15.5+ names all video devices "Video Capture X" #92

@HikariKnight

Description

@HikariKnight

Distribution (run cat /etc/os-release):

NAME="Pop!_OS"
VERSION="21.04"
ID=pop
ID_LIKE="ubuntu debian"
PRETTY_NAME="Pop!_OS 21.04"
VERSION_ID="21.04"
HOME_URL="https://pop.system76.com"
SUPPORT_URL="https://support.system76.com"
BUG_REPORT_URL="https://github.com/pop-os/pop/issues"
PRIVACY_POLICY_URL="https://system76.com/privacy"
VERSION_CODENAME=hirsute
UBUNTU_CODENAME=hirsute
LOGO=distributor-logo-pop-os

Related Application and/or Package Version (run apt policy $PACKAGE NAME):

linux-image-5.15.5-76051505-generic:
  Installed: 5.15.5-76051505.202111250933~1638201579~21.04~09f1aa7
  Candidate: 5.15.5-76051505.202111250933~1638201579~21.04~09f1aa7
  Version table:
 *** 5.15.5-76051505.202111250933~1638201579~21.04~09f1aa7 1001
       1001 http://ppa.launchpad.net/system76/pop/ubuntu hirsute/main amd64 Packages
        100 /var/lib/dpkg/status
linux-modules-5.15.5-76051505-generic:
  Installed: 5.15.5-76051505.202111250933~1638201579~21.04~09f1aa7
  Candidate: 5.15.5-76051505.202111250933~1638201579~21.04~09f1aa7
  Version table:
 *** 5.15.5-76051505.202111250933~1638201579~21.04~09f1aa7 1001
       1001 http://ppa.launchpad.net/system76/pop/ubuntu hirsute/main amd64 Packages
        100 /var/lib/dpkg/status

Issue/Bug Description:
The newest kernel seems to rename all webcam/video peripherals to "Video Capture X", the name is not given sequentially and is the same number across devices.
As an example my Elgato Camlink 4K and Trust HD Webcam gets renamed to "Video Capture 3" while my Avermedia LGP2 gets renamed to "Video Capture 4" on any computer with pop os it gets connected to.

I suspect the kernels built in video4linux2 module for some reason sets the ID_V4L_PRODUCT value to "Video Capture X" instead of the name of the device (ID_MODEL?)

image

Steps to reproduce (if you know):
Update to Kernel 5.15.5-76051505 and reboot to use it.
Switching back to the older kernel will fix the device names again.

Expected behavior:
Video devices to be named normally like this
kernel_5 13 0-7620

and not like this
kernel_5 15 5-76051505

Other Notes:
I had a laptop that was not fully updated yet and updated everything except the kernel packages and rebooted to see if it was a kernel problem or not before taking the pictures, it turned out to only happen in the new kernel and not the old kernel when i tested.

To make the issue worse, the kernel seems to not dynamically create the names "Video Capture 1", "Video Capture 2", etc.
The name seems to be hard coded for the devices as several devices will appear as "Video Capture 3" for instance on my desktop computer which has multiple cameras connected.
image
image
image

Example image from discord, showing how confusing it will look for the end user to select the "correct" device to use
image

Hopefully this will be enough info to get this corrected 😃

Metadata

Metadata

Assignees

No one assigned

    Labels

    upstreamIssue is present in upstream Linux on other distributions (not just Ubuntu)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions