Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Apr 2011 12:03:29 +0200
From:      Thierry Thomas <thierry@FreeBSD.org>
To:        Hans Petter Selasky <hselasky@c2i.net>, FreeBSD-gnats-submit@FreeBSD.org
Cc:        freebsd-multimedia@freebsd.org, bug-followup@freebsd.org
Subject:   Re: kern/152622: [pcm] uaudio recording problem
Message-ID:  <20110410100329.GC11620@graf.pompo.net>
In-Reply-To: <201104100900.31305.hselasky@c2i.net>
References:  <201104091330.p39DUIUL067012@freefall.freebsd.org> <201104100900.31305.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun 10 avr 11 at 9:00:31 +0200, Hans Petter Selasky <hselasky@c2i.net>
 wrote:

> Hi,

Hello,

> Compile kernel with "options USB_DEBUG".
> 
> Re-plug device after setting:
> 
> sysctl hw.usb.uaudio.debug=15
> 
> Upload dmesg.

Here is it:

Apr 10 12:00:01 graf kernel: ugen4.3: <vendor 0x046d> at usbus4
Apr 10 12:00:01 graf kernel: uaudio0: <vendor 0x046d product 0x0825, class 239/2, rev 2.00/0.10, addr 3> on usbus4
Apr 10 12:00:01 graf kernel: uaudio_chan_dump_ep_desc: endpoint=0xc73d3995 bLength=9 bDescriptorType=5 
Apr 10 12:00:01 graf kernel: bEndpointAddress=134 bmAttributes=0x5 
Apr 10 12:00:01 graf kernel: wMaxPacketSize=196 bInterval=4 
Apr 10 12:00:01 graf kernel: bRefresh=0 bSynchAddress=0
Apr 10 12:00:01 graf kernel: uaudio_chan_fill_info_sub: FREQ_CONTROL
Apr 10 12:00:01 graf kernel: uaudio_chan_fill_info_sub: Sample rate = 48000Hz, channels = 1, bits = 16, format = 16-bit S-LE PCM
Apr 10 12:00:01 graf kernel: uaudio_mixer_fill_info: found AC header, vers=100, len=29
Apr 10 12:00:01 graf kernel: uaudio_mixer_fill_info: Maximum ID=3
Apr 10 12:00:01 graf kernel: uaudio_mixer_fill_info: id 3:
Apr 10 12:00:01 graf kernel: uaudio_mixer_fill_info:  - AC_OUTPUT type=UAT_STREAM src=5
Apr 10 12:00:01 graf kernel: uaudio_mixer_fill_info: Inputs to this ID are:
Apr 10 12:00:01 graf kernel: uaudio_mixer_fill_info: Outputs from this ID are:
Apr 10 12:00:01 graf kernel: uaudio_mixer_fill_info: id 1:
Apr 10 12:00:01 graf kernel: uaudio_mixer_fill_info:  - AC_INPUT type=UATI_MICROPHONE
Apr 10 12:00:01 graf kernel: uaudio_mixer_dump_cluster: cluster: bNrChannels=0 iChannelNames=1 wChannelConfig=0x0000:
Apr 10 12:00:01 graf kernel: uaudio_mixer_fill_info: Inputs to this ID are:
Apr 10 12:00:01 graf kernel: uaudio_mixer_fill_info:   -- ID=1
Apr 10 12:00:01 graf kernel: uaudio_mixer_fill_info: Outputs from this ID are:
Apr 10 12:00:01 graf kernel: uaudio_mixer_fill_info: id=3 subtype=3
Apr 10 12:00:01 graf kernel: uaudio_mixer_add_output: bTerminalId=3 wTerminalType=0x0101 bAssocTerminal=1 bSourceId=5 iTerminal=0
Apr 10 12:00:01 graf kernel: uaudio_mixer_fill_info: id=1 subtype=2
Apr 10 12:00:01 graf kernel: uaudio_mixer_add_input: bTerminalId=1 wTerminalType=0x0201 bAssocTerminal=0 bNrChannels=1 wChannelConfig=0 iChannelNames=0
Apr 10 12:00:01 graf kernel: uaudio_attach: audio rev 1.00
Apr 10 12:00:01 graf kernel: uaudio_attach: 0 mixer controls
Apr 10 12:00:01 graf kernel: uaudio0: No playback!
Apr 10 12:00:01 graf kernel: uaudio0: Record: 48000 Hz, 1 ch, 16-bit S-LE PCM format
Apr 10 12:00:01 graf kernel: uaudio0: No midi sequencer
Apr 10 12:00:01 graf kernel: uaudio_attach: doing child attach
Apr 10 12:00:01 graf kernel: pcm1: <USB audio> on uaudio0
Apr 10 12:00:01 graf kernel: uaudio_attach_sub: emulating master volume
Apr 10 12:00:01 graf kernel: uaudio_mixer_init_sub: 
Apr 10 12:00:01 graf kernel: uaudio_chan_init: endpoint=0x86, speed=48000, iface=3 alt=4
Apr 10 12:00:01 graf kernel: uaudio_chan_init: fps=1000 sample_rem=0

Best regards,
-- 
Th. Thomas.



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