public inbox for linux-usb@vger.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@kernel.org
To: linux-usb@vger.kernel.org
Subject: [Bug 219683] Noname webcam used to work, but not anymore.
Date: Sun, 12 Jan 2025 13:51:48 +0000	[thread overview]
Message-ID: <bug-219683-208809-TAabGeYvSq@https.bugzilla.kernel.org/> (raw)
In-Reply-To: <bug-219683-208809@https.bugzilla.kernel.org/>

https://bugzilla.kernel.org/show_bug.cgi?id=219683

--- Comment #3 from Pierre Juhen (pierre.juhen@orange.fr) ---
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.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

  parent reply	other threads:[~2025-01-12 13:51 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-11 18:37 [Bug 219683] New: Noname web used to work bugzilla-daemon
2025-01-12  9:57 ` [Bug 219683] Noname webcam used to work, but not anymore bugzilla-daemon
2025-01-12 11:23 ` bugzilla-daemon
2025-01-12 13:51 ` bugzilla-daemon [this message]
2025-01-12 13:55 ` bugzilla-daemon
2025-01-12 14:27 ` bugzilla-daemon
2025-01-12 14:47 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-219683-208809-TAabGeYvSq@https.bugzilla.kernel.org/ \
    --to=bugzilla-daemon@kernel.org \
    --cc=linux-usb@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox