NetBSD-Users archive

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

Re: web-camera



On Tue, 15 Jun 2021, Todd Gruhn wrote:

[  3.281559] uaudio0: Logitech (0x46d) product 0807 (0x807), rev
2.00/0.09, addr 1

My line, [  3.281559]. It says "product 0807". We have 2 different cameras?


Of course. Different models will have different product IDs.


[  2404.381560] audio1(uaudio0): trigger_input failed: errno=5
[  9483.551559] audio1(uaudio0): trigger_input failed: errno=5

The last block: (uaudio0): trigger_input failed . What caused this?


This is an I/O error from the webcam mic. If you want to help
investigate this for a PR later, recompile a GENERIC kernel after:

1. Uncommenting UAUDIO_DEBUG (line 76); and
2. Setting uaudiodebug (line 95) to, say, 8.

(Both in /usr/src/sys/dev/usb/uaudio.c)

But, for now, try a video capture after:

1. Connecting the webcam directly to your PC's USB ports (ie. not
   through a hub, etc.).

2. Next, disable the webcam mic before capturing video:
   sudo drvctl -d uaudio0

If 1. & 2. don't work:

3. Recompile a kernel after making changes as given; try a video capture;
   post the dmesg output.

-RVP


Home | Main Index | Thread Index | Old Index