NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: web-camera
On Wed, 16 Jun 2021, Todd Gruhn wrote:
Here are the results from the new kernel:
dmesg
...
[ 3.322560] uvideo0 at uhub1 port 6 configuration 1 interface 0:
vendor 046d (0x46d) product 0807 (0x807), rev 2.00/0.09, addr 1
[ 3.322560] video0 at uvideo0: vendor 046d (0x46d) product 0807
(0x807), rev 2.00/0.09, addr 1
[ 3.322560] uaudio0 at uhub1 port 6 configuration 1 interface 2
[ 3.322560] uaudio0: vendor 046d (0x46d) product 0807 (0x807), rev
2.00/0.09, addr 1
[ 3.322560] id 1: AC_INPUT type=UATI_MICROPHONE
[ 3.322560] cluster: bNrChannels=1 wChannelConfig=0x0000>
iChannelNames=0
[ 3.322560] input0: UATI_MICROPHONE
[ 3.322560] output: UAT_STREAM
[ 3.322560] id 3: AC_OUTPUT type=UAT_STREAM src=5
[ 3.332560] input0: UATI_MICROPHONE
[ 3.332560] output: UAT_STREAM
[ 3.332560] id 5: AC_FEATURE src=1
[ 3.332560] input0: UATI_MICROPHONE
[ 3.332560] output: UAT_STREAM
[ 3.332560] uaudio0: audio rev 1.00
[ 3.332560] uaudio0: 2 mixer controls
[ 3.332560] audio1 at uaudio0: capture
[ 3.332560] audio1: slinear_le:16 1ch 48000Hz, blk 11760 bytes
(122.5ms) for recording
[ 3.332560] spkr2 at audio1: PC Speaker (synthesized)
[ 3.332560] wsbell at spkr2 not configured
Not seeing all the debug messages. Did you set `uaudiodebug' to > 0?
[ 453.292560] audio1(uaudio0): trigger_input failed: errno=5
[ 453.372560] audio1(uaudio0): trigger_input failed: errno=5
[ 1334.022560] audio1(uaudio0): trigger_input failed: errno=5
[ 1334.062560] audio1(uaudio0): trigger_input failed: errno=5
[ 1895.002561] spkr2: detached
[ 1895.002561] audio1: detached
[ 1895.002561] uaudio0: detached
[ 1923.382561] video0: detached
GANDALF# drvctl -d uaudio0
drvctl -d uaudio0
drvctl: DRVDETACHDEV: Device not configured
Notice the last 3 lines of dmesg: Why did everything detach??
`drvctl -d uaudio0' will detach uaudio0 & its children audio1, spkr2.
A second `drvctl -d uaudio0' will then produce that `DRVDETACHDEV: Device
not configured' error.
But, neither should cause video0 to detach. You didn't unplug the webcam,
did you? Or, is that USB port wonky? Webcam cable/connector OK?
-RVP
Home |
Main Index |
Thread Index |
Old Index