NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: web-camera
I just discovered something:
drvctl -l -t
gives a list of devices in tree format. Here is the relevant part.
xhci0
usb0
uhub0
usb1
uhub1
uhub2
uhidev0
ukbd0
wskbd1
uhidev1
ums0
wsmouse0
uhid0
uhid1
uhid2
uhidev2
uhid3
uhid4
uhid5
uhid6
umass1
scsibus1
sd1
uvideo0
video0
uaudio0
audio1
spkr2
umass0
scsibus0
sd0
It is USB-3.0 . I thought I should mention that I tried this on
Windows 10.x . It works fine.
I got it for 2 USD, so I decided to test it first.
I compiled NetBSD-9-HEAD. It choked at the sat step where it stripped
stuff. Can I run
NetBSD-9-HEAD on a NetBSD-9.2 system?
On Wed, Jun 16, 2021 at 7:28 PM RVP <rvp%sdf.org@localhost> wrote:
>
> 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