[Bug 219683] Noname webcam used to work, but not anymore.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

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




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux