I tested on the latest mainline kernel and still have the same issue:

jlquinn@cerberus:~$ v4l2-ctl --device /dev/video0 --stream-mmap 
--stream-to=frame.raw --stream-count=1
                VIDIOC_STREAMON returned -1 (Protocol error)
jlquinn@cerberus:~$ uname -a
Linux cerberus 6.15.0-061500rc7-generic #202505182143 SMP PREEMPT_DYNAMIC Sun 
May 18 22:13:39 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-hwe-6.11 in Ubuntu.
https://bugs.launchpad.net/bugs/2110582

Title:
  Protocol error when capturing from UVC webcam

Status in linux-hwe-6.11 package in Ubuntu:
  New

Bug description:
  jlquinn@cerberus:~/sw/src/libcamera$ lsb_release -rd
  No LSB modules are available.
  Description:  Ubuntu 24.04.2 LTS
  Release:      24.04
  jlquinn@cerberus:~/sw/src/libcamera$ apt-cache policy 
linux-image-6.11.0-25-generic
  linux-image-6.11.0-25-generic:
    Installed: 6.11.0-25.25~24.04.1
    Candidate: 6.11.0-25.25~24.04.1
    Version table:
   *** 6.11.0-25.25~24.04.1 500
          500 http://us.archive.ubuntu.com/ubuntu noble-updates/main amd64 
Packages
          500 http://security.ubuntu.com/ubuntu noble-security/main amd64 
Packages
          100 /var/lib/dpkg/status

  
  Hi.  I started trying to track this down in libcamera, but was directed here. 
 The bug report there is https://bugs.libcamera.org/show_bug.cgi?id=270 and 
they suggested I report to linux-media and linux-usb lists.  I'm reporting here 
first, since I'm running a stock Ubuntu kernel.

  My webcam does not work for video capture, though audio does work.

  jlquinn@cerberus:~/Videos/junk1$ v4l2-ctl --device /dev/video0 --stream-mmap 
--stream-to=frame.raw --stream-count=1
                VIDIOC_STREAMON returned -1 (Protocol error)

  According to the reply from the libcamera folks, this should save a
  frame to file.

  When I plug the camera in, I get the following in my log:

  May 13 14:56:25 cerberus kernel: usb 3-11.3: new high-speed USB device number 
61 using xhci_hcd
  May 13 14:56:25 cerberus kernel: usb 3-11.3: New USB device found, 
idVendor=26e0, idProduct=6230, bcdDevice= 1.00
  May 13 14:56:26 cerberus kernel: usb 3-11.3: New USB device strings: Mfr=2, 
Product=1, SerialNumber=3
  May 13 14:56:26 cerberus kernel: usb 3-11.3: Product: L01 HD Webcam  
  May 13 14:56:26 cerberus kernel: usb 3-11.3: Manufacturer: Sonix Technology 
Co., Ltd.
  May 13 14:56:26 cerberus kernel: usb 3-11.3: SerialNumber: SN0001
  May 13 14:56:26 cerberus kernel: usb 3-11.3: Found UVC 1.00 device L01 HD 
Webcam   (26e0:6230)
  May 13 14:56:26 cerberus kernel: usb 3-11.3: Failed to query (GET_INFO) UVC 
control 5 on unit 1: 0 (exp. 1).
  May 13 14:56:26 cerberus kernel: usb 3-11.3: Failed to query (GET_INFO) UVC 
control 7 on unit 1: 0 (exp. 1).
  May 13 14:56:26 cerberus kernel: usb 3-11.3: Failed to query (GET_INFO) UVC 
control 9 on unit 1: 0 (exp. 1).
  May 13 14:56:26 cerberus kernel: usb 3-11.3: Failed to query (GET_INFO) UVC 
control 10 on unit 1: 0 (exp. 1).
  May 13 14:56:26 cerberus kernel: usb 3-11.3: Failed to query (GET_INFO) UVC 
control 12 on unit 1: 0 (exp. 1).
  May 13 14:56:26 cerberus kernel: usb 3-11.3: Failed to query (GET_INFO) UVC 
control 14 on unit 1: 0 (exp. 1).
  May 13 14:56:26 cerberus kernel: usb 3-11.3: Failed to query (GET_INFO) UVC 
control 16 on unit 1: 0 (exp. 1).
  May 13 14:56:26 cerberus kernel: usb 3-11.3: 3:1: cannot get freq at ep 0x84
  May 13 14:56:26 cerberus mtp-probe[372881]: checking bus 3, device 61: 
"/sys/devices/pci0000:00/0000:00:14.0/usb3/3-11/3-11.3"
  May 13 14:56:26 cerberus mtp-probe[372881]: bus: 3, device: 61 was not an MTP 
device
  May 13 14:56:26 cerberus pipewire[15704]: spa.v4l2: '/dev/video0' 
VIDIOC_QUERYCTRL: Broken pipe
  May 13 14:56:26 cerberus kernel: usb 3-11.3: Failed to query (GET_DEF) UVC 
control 12 on unit 1: 0 (exp. 3).
  May 13 14:56:26 cerberus kernel: usb 3-11.3: Failed to query (GET_DEF) UVC 
control 12 on unit 1: 0 (exp. 3).
  May 13 14:56:26 cerberus pipewire[15704]: spa.v4l2: '/dev/video0' 
VIDIOC_QUERYCTRL: Broken pipe
  May 13 14:56:26 cerberus mtp-probe[372924]: checking bus 3, device 61: 
"/sys/devices/pci0000:00/0000:00:14.0/usb3/3-11/3-11.3"
  May 13 14:56:26 cerberus kernel: usb 3-11.3: Failed to query (GET_DEF) UVC 
control 12 on unit 1: 0 (exp. 3).
  May 13 14:56:26 cerberus mtp-probe[372924]: bus: 3, device: 61 was not an MTP 
device
  May 13 14:56:26 cerberus wireplumber[30571]: 
<WpPortalPermissionStorePlugin:0x6347b33119e0> Failed to call Lookup: 
GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for camera
  May 13 14:56:26 cerberus pipewire[15704]: [38:31:25.985697810] [15704]  INFO 
Camera camera_manager.cpp:284 libcamera v0.2.0
  May 13 14:56:26 cerberus kernel: usb 3-11.3: Failed to query (GET_DEF) UVC 
control 12 on unit 1: 0 (exp. 3).
  May 13 14:56:26 cerberus kernel: usb 3-11.3: 3:1: cannot get freq at ep 0x84
  May 13 14:56:26 cerberus kernel: usb 3-11.3: 3:1: cannot get freq at ep 0x84
  May 13 14:56:26 cerberus wireplumber[30571]: 
<WpPortalPermissionStorePlugin:0x6347b33119e0> Failed to call Lookup: 
GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for camera

  
  When I run the v4l2-ctl command, the following gets added to my log:
  May 13 14:57:06 cerberus kernel: usb 3-11.3: Failed to query (GET_DEF) UVC 
control 12 on unit 1: 2 (exp. 3).

  ProblemType: Bug
  DistroRelease: Ubuntu 24.04
  Package: linux-image-6.11.0-25-generic 6.11.0-25.25~24.04.1
  ProcVersionSignature: Ubuntu 6.11.0-25.25~24.04.1-generic 6.11.11
  Uname: Linux 6.11.0-25-generic x86_64
  ApportVersion: 2.28.1-0ubuntu3.5
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: ubuntu:GNOME
  Date: Tue May 13 14:49:54 2025
  InstallationDate: Installed on 2020-05-29 (1810 days ago)
  InstallationMedia: Ubuntu 18.04.3 LTS "Bionic Beaver" - Release amd64 
(20190805)
  MachineType: Supermicro X10DAi
  ProcEnviron:
   LANG=en_US.UTF-8
   PATH=(custom, no user)
   SHELL=/bin/bash
   TERM=xterm-256color
   XDG_RUNTIME_DIR=<set>
  ProcFB: 0 amdgpudrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.11.0-25-generic 
root=/dev/mapper/ubuntu--vg-root ro
  RelatedPackageVersions:
   linux-restricted-modules-6.11.0-25-generic N/A
   linux-backports-modules-6.11.0-25-generic  N/A
   linux-firmware                             20240318.git3b128b60-0ubuntu2.11
  RfKill:
   
  SourcePackage: linux-hwe-6.11
  UpgradeStatus: Upgraded to noble on 2025-05-01 (13 days ago)
  dmi.bios.date: 12/16/2019
  dmi.bios.release: 5.11
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 3.2
  dmi.board.asset.tag: To be filled by O.E.M.
  dmi.board.name: X10DAI
  dmi.board.vendor: Supermicro
  dmi.board.version: 1.01
  dmi.chassis.asset.tag: To be filled by O.E.M.
  dmi.chassis.type: 3
  dmi.chassis.vendor: To be filled by O.E.M.
  dmi.chassis.version: To be filled by O.E.M.
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvr3.2:bd12/16/2019:br5.11:svnSupermicro:pnX10DAi:pvr123456789:rvnSupermicro:rnX10DAI:rvr1.01:cvnTobefilledbyO.E.M.:ct3:cvrTobefilledbyO.E.M.:sku083615D9:
  dmi.product.family: SMC X10
  dmi.product.name: X10DAi
  dmi.product.sku: 083615D9
  dmi.product.version: 123456789
  dmi.sys.vendor: Supermicro

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-hwe-6.11/+bug/2110582/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to