Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 May 2012 18:08:07 +0200
From:      Matthias Apitz <guru@unixarea.de>
To:        freebsd-multimedia@freebsd.org
Subject:   Re: Logitech HD Webcam Pro c910 && snd_uaudio does not work
Message-ID:  <20120516160807.GA2246@tinyCurrent>
In-Reply-To: <201205141721.25641.hselasky@c2i.net>
References:  <20120513155939.GA4313@tinyCurrent> <201205131911.18787.hselasky@c2i.net> <20120514051026.GA2711@tinyCurrent> <201205141721.25641.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help
El día Monday, May 14, 2012 a las 05:21:25PM +0200, Hans Petter Selasky escribió:

> > Hi,
> > The system where it does not work (r214444) does not have the usbdump
> > utility; is there any debug in snd_uaudio to enable?
> > Thanks
> 
> Yes,
> 
> hw.usb.uaudio.debug=15
> 
> If compiled with USB_DEBUG set.

This gives the following messages:

on plug-in:

May 16 18:00:36 tinyCurrent kernel: pcm1: <USB audio> on uaudio0
May 16 18:00:36 tinyCurrent kernel: uaudio_attach_sub: emulating master volume
May 16 18:00:36 tinyCurrent kernel: uaudio_mixer_init_sub: 
May 16 18:00:36 tinyCurrent kernel: uaudio_mixer_bsd2value: type=0x002 val=-18176 min=-18176 max=-4864 val=-18176
May 16 18:00:36 tinyCurrent kernel: uaudio_mixer_write_cfg_callback: 
May 16 18:00:36 tinyCurrent kernel: uaudio_mixer_write_cfg_callback: 
May 16 18:00:36 tinyCurrent kernel: uaudio_chan_init: endpoint=0x86,
speed=32000, iface=1 alt=3
May 16 18:00:36 tinyCurrent kernel: uaudio_chan_init: fps=1000 sample_rem=0
May 16 18:00:36 tinyCurrent root: /usr/local/etc/rc.d/webcamd: WARNING: failed to start webcamd
May 16 18:00:36 tinyCurrent root: Unknown USB device: vendor 0x046d product 0x0821 bus uhub4
May 16 18:00:37 tinyCurrent last message repeated 2 times

(now started in another window dd if=/dev/dsp1.0 of=/tmp/snd)


May 16 18:02:08 tinyCurrent kernel: uaudio_chan_record_callback: transferred 0 bytes
May 16 18:02:13 tinyCurrent last message repeated 623 times
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
May 16 18:02:13 tinyCurrent kernel: pcm1: chn_read(): pcm1:virtual:dsp1.vr0: record interrupt timeout, channel dead

Thanks

	matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <guru@unixarea.de> - w http://www.unixarea.de/
UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120516160807.GA2246>