Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Nov 2020 16:08:22 +0100
From:      Hans Petter Selasky <hps@selasky.org>
To:        Thomas Steen Rasmussen <thomas@gibfest.dk>
Cc:        usb@freebsd.org
Subject:   Re: webcamd, usb and two webcams - only one works
Message-ID:  <638a1059-f8dc-59c5-21ff-aabc380cac28@selasky.org>
In-Reply-To: <13180470-0336-b115-ce31-bc392ff8da76@gibfest.dk>
References:  <c11c1a2f-306f-3cd9-825f-4c39fd250d50@gibfest.dk> <9a382539-c90d-91b9-bfac-f36c0f19d3f7@selasky.org> <723be24d-b2fe-85df-4961-5483004050e8@gibfest.dk> <f49afce8-e055-d432-b374-4af10bf7d70e@selasky.org> <cdadc525-e4f9-6cde-26f3-15d7594bd5ee@gibfest.dk> <6c527c1f-62a6-3089-50b8-02cda74b4eb1@selasky.org> <13180470-0336-b115-ce31-bc392ff8da76@gibfest.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
On 11/26/20 3:38 PM, Thomas Steen Rasmussen wrote:
> I tried swapping the webcams around, the error is always with the second 
> webcam connected (so video2), regardless of which webcam it is.

Hi,

Might be a bug in the XHCI controller driver or XHCI HW, that the 
isochronous transactions don't get scheduling time.

Do you have the possibility to test on another computer running FreeBSD?

There is a debug knob for the XHCI controller,

sysctl hw.usb.xhci.debug

Try flipping it to 17 for a second while in the "timeout" state, and 
then flip it back to 0. Prints end up in dmesg and /var/log/messages . 
It might sched some more details into the exact XHCI error code.

--HPS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?638a1059-f8dc-59c5-21ff-aabc380cac28>