New: Noname web used to work
https://bugzilla.kernel.org/show_bug.cgi?id=219683
Bug ID: 219683
Summary: Noname web used to work
Product: Drivers
Version: 2.5
Hardware: All
OS: Linux
Status: NEW
Severity: blocking
Priority: P3
Component: USB
Assignee: [email protected]
Reporter: [email protected]
Regression: NoCreated attachment 307477
--> https://bugzilla.kernel.org/attachment.cgi?id=307477&action=edit
lsusb -D output for WebCAM
Hi,
I have a noname camera that used to work perfectly (1c3f:2002).
Since I migrated recently to kernel 6.12, it doesnt work anymore, but the microphone works.
Log when it use to work:
Apr 10 17:05:17 pierre kernel: usb 1-1: new high-speed USB device number 2 using xhci_hcd Apr 10 17:05:17 pierre kernel: usb 1-1: config 1 interface 0 altsetting 0 endpoint 0x83 has an invalid bInterval 32, changing to 9 Apr 10 17:05:17 pierre kernel: usb 1-1: New USB device found, idVendor=1c3f, idProduct=2002, bcdDevice= 1.00 Apr 10 17:05:17 pierre kernel: usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 Apr 10 17:05:17 pierre kernel: usb 1-1: Product: WEB CAM Apr 10 17:05:17 pierre kernel: usb 1-1: Manufacturer: WCM_USB Apr 10 17:05:22 pierre kernel: usb 1-1: Warning! Unlikely big volume range (=5120), cval->res is probably wrong. Apr 10 17:05:22 pierre kernel: usb 1-1: [5] FU [Mic Capture Volume] ch = 1, val = 7680/12800/1 Apr 10 17:05:22 pierre kernel: usb 1-1: Found UVC 1.00 device WEB CAM (1c3f:2002) Apr 10 17:05:22 pierre kernel: usb 1-1: UVC non compliance - GET_DEF(PROBE) not
supported. Enabling workaround.
Log Now :
janv. 11 18:01:42 pierre.fonteny kernel: usb 3-1: new high-speed USB device number 2 using xhci_hcd
janv. 11 18:01:42 pierre.fonteny kernel: usb 3-1: config 1 interface 0 altsetting 0 endpoint 0x83 has an invalid bInterval 32, changing to 9 janv. 11 18:01:42 pierre.fonteny kernel: usb 3-1: New USB device found, idVendor=1c3f, idProduct=2002, bcdDevice= 1.00
janv. 11 18:01:42 pierre.fonteny kernel: usb 3-1: New USB device strings:
Mfr=1, Product=2, SerialNumber=0
janv. 11 18:01:42 pierre.fonteny kernel: usb 3-1: Product: WEB CAM janv. 11 18:01:42 pierre.fonteny kernel: usb 3-1: Manufacturer: WCM_USB janv. 11 18:01:46 pierre.fonteny kernel: usb 3-1: Found multiple Units with ID 5
janv. 11 18:01:47 pierre.fonteny kernel: usb 3-1: Warning! Unlikely big volume range (=5120), cval->res is probably wrong.
janv. 11 18:01:47 pierre.fonteny kernel: usb 3-1: [5] FU [Mic Capture Volume] ch = 1, val = 7680/12800/1
Difference is :
janv. 11 18:01:46 pierre.fonteny kernel: usb 3-1: Found multiple Units with ID 5
There are effectively two parts bunitid 5, one for the image, one for the sound
But only the second is taken into account, so only the sound works.
Regards
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
[Bug 219683] Noname webcam used to work, but not anymore.
https://bugzilla.kernel.org/show_bug.cgi?id=219683
--- Comment #1 from Pierre Juhen ([email protected]) --- /dev/video[0-1] don't appear.
The webcam is not linked to uvcvideo (whih is modprobed, anyhow).
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
[Bug 219683] Noname webcam used to work, but not anymore.
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=219683
--- Comment #2 from Pierre Juhen ([email protected]) --- Analog error debated here :
https://forum.manjaro.org/t/suggestions-for-a-recently-broken-webcam/172105
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
[Bug 219683] Noname webcam used to work, but not anymore.
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=219683
--- Comment #3 from Pierre Juhen ([email protected]) --- So the problem lies here in uvc_driver.
struct uvc_entity *uvc_entity_by_id(struct uvc_device *dev, int id)
{
struct uvc_entity *entity;
list_for_each_entry(entity, &dev->entities, list) {
if (entity->id == id)
return entity;
}
return NULL;
}The UVC spec says :
Each Unit and Terminal WITHIN THE VIDEO FUNCTION function is assigned a unique identification number, the
Unit ID (UID) or Terminal ID (TID), contained in the bUnitID or bTerminalID field of the
descriptor, but the control includes also sound function, that explains why the issue occurs.
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
[Bug 219683] Noname webcam used to work, but not anymore.
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=219683
--- Comment #4 from Pierre Juhen ([email protected]) --- Test shoud be limited to BFunction Class = 14 for Video.
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
[Bug 219683] Noname webcam used to work, but not anymore.
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=219683
--- Comment #5 from Pierre Juhen ([email protected]) --- SHouldnt be the "list" word be replaced by "chain" in :
list_for_each_entry(entity, &dev->entities, list)
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
[Bug 219683] Noname webcam used to work, but not anymore.
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=219683
Artem S. Tashkinov ([email protected]) changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|USB |webcam
Assignee|[email protected] |v4l-dvb_webcam@kernel-bugs.
|nel.org |osdl.org
Product|Drivers |v4l-dvbSignature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.