From owner-freebsd-multimedia@FreeBSD.ORG Tue Jun 20 09:05:07 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 460C916A47C for ; Tue, 20 Jun 2006 09:05:07 +0000 (UTC) (envelope-from fullermd@over-yonder.net) Received: from mail.localelinks.com (web.localelinks.com [64.39.75.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC48943D48 for ; Tue, 20 Jun 2006 09:05:06 +0000 (GMT) (envelope-from fullermd@over-yonder.net) Received: from draco.over-yonder.net (adsl-072-148-013-213.sip.jan.bellsouth.net [72.148.13.213]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.localelinks.com (Postfix) with ESMTP id 257933E1; Tue, 20 Jun 2006 04:05:05 -0500 (CDT) Received: by draco.over-yonder.net (Postfix, from userid 100) id 6BF0461C52; Tue, 20 Jun 2006 04:05:04 -0500 (CDT) Date: Tue, 20 Jun 2006 04:05:04 -0500 From: "Matthew D. Fuller" To: Hans Petter Selasky Message-ID: <20060620090504.GA83482@over-yonder.net> References: <20060619180057.GA45446@over-yonder.net> <200606200647.09488.hselasky@c2i.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200606200647.09488.hselasky@c2i.net> X-Editor: vi X-OS: FreeBSD User-Agent: Mutt/1.5.11-fullermd.3 Cc: freebsd-multimedia@freebsd.org Subject: Re: uaudio and MV100 X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jun 2006 09:05:07 -0000 On Tue, Jun 20, 2006 at 06:47:08AM +0200 I heard the voice of Hans Petter Selasky, and lo! it spake thus: > > Meanwhile, what is written to dmsg, when you compile the kernel with > "options USB_DEBUG", run "sysctl hw.usb.uaudio.debug=15" and plug > your device ? uaudio0: on uhub0 uaudio_identify_ac: AC interface is 0 uaudio_identify_ac: found AC header, vers=100, len=74 id 1: AC_INPUT type=UATI_MICROPHONE cluster: bNrChannels=1 wChannelConfig=0x4
iChannelNames=0 input0: UATI_MICROPHONE output: UAT_STREAM id 2: AC_OUTPUT type=UAT_STREAM src=7 input0: UATI_MICROPHONE output: UAT_STREAM id 3: AC_FEATURE src=1 input0: UATI_MICROPHONE output: UAT_STREAM id 4: AC_INPUT type=UAT_STREAM cluster: bNrChannels=1 wChannelConfig=0x4
iChannelNames=0 input0: UAT_STREAM output: UATO_SPEAKER id 5: AC_OUTPUT type=UATO_SPEAKER src=6 input0: UAT_STREAM output: UATO_SPEAKER id 6: AC_FEATURE src=4 input0: UAT_STREAM output: UATO_SPEAKER id 7: AC_SELECTOR src=3 input0: UATI_MICROPHONE output: UAT_STREAM uaudio_identify_ac: id=1 subtype=2 uaudio_add_input: bTerminalId=1 wTerminalType=0x0201 bAssocTerminal=0 bNrChannels=1 wChannelConfig=4 iChannelNames=0 iTerminal=0 uaudio_identify_ac: id=2 subtype=3 uaudio_add_output: bTerminalId=2 wTerminalType=0x0101 bAssocTerminal=0 bSourceId=7 iTerminal=0 uaudio_identify_ac: id=3 subtype=6 uaudio_add_feature: ctl=1 fumask=0x0001 uaudio_feature_name: terminal_type=UATI_MICROPHONE uaudio_mixer_add_ctl: adding record.25 uaudio_mixer_add_ctl: wValue=0100 wIndex=0300 type=1 ctl='25' min=0 max=1 uaudio_add_feature: ctl=2 fumask=0x0002 uaudio_feature_name: terminal_type=UATI_MICROPHONE uaudio_mixer_add_ctl: adding record.7 uaudio_get: type=0xa1 req=0x82 wValue=0x0200 wIndex=0x0300 len=2 uaudio_get: val=57600 uaudio_get: type=0xa1 req=0x83 wValue=0x0200 wIndex=0x0300 len=2 uaudio_get: val=6144 uaudio_get: type=0xa1 req=0x84 wValue=0x0200 wIndex=0x0300 len=2 uaudio_get: val=256 uaudio_mixer_add_ctl: wValue=0200 wIndex=0300 type=2 ctl='7' min=-7936 max=6145 uaudio_add_feature: ctl=3 fumask=0x0004 uaudio_add_feature: ctl=4 fumask=0x0008 uaudio_add_feature: ctl=5 fumask=0x0010 uaudio_add_feature: ctl=6 fumask=0x0020 uaudio_add_feature: ctl=7 fumask=0x0040 uaudio_add_feature: ctl=8 fumask=0x0080 uaudio_add_feature: ctl=9 fumask=0x0100 uaudio_identify_ac: id=4 subtype=2 uaudio_add_input: bTerminalId=4 wTerminalType=0x0101 bAssocTerminal=0 bNrChannels=1 wChannelConfig=4 iChannelNames=0 iTerminal=0 uaudio_identify_ac: id=5 subtype=3 uaudio_add_output: bTerminalId=5 wTerminalType=0x0301 bAssocTerminal=0 bSourceId =6 iTerminal=0 uaudio_identify_ac: id=6 subtype=6 uaudio_add_feature: ctl=1 fumask=0x0001 uaudio_feature_name: terminal_type=UATO_SPEAKER uaudio_mixer_add_ctl: adding outputs.25 uaudio_mixer_add_ctl: wValue=0100 wIndex=0600 type=1 ctl='25' min=0 max=1 uaudio_add_feature: ctl=2 fumask=0x0002 uaudio_feature_name: terminal_type=UATO_SPEAKER uaudio_mixer_add_ctl: adding outputs.5 uaudio_get: type=0xa1 req=0x82 wValue=0x0200 wIndex=0x0600 len=2 uaudio_get: val=57600 uaudio_get: type=0xa1 req=0x83 wValue=0x0200 wIndex=0x0600 len=2 uaudio_get: val=6144 uaudio_get: type=0xa1 req=0x84 wValue=0x0200 wIndex=0x0600 len=2 uaudio_get: val=256 uaudio_mixer_add_ctl: wValue=0200 wIndex=0600 type=2 ctl='5' min=-7936 max=6145 uaudio_add_feature: ctl=3 fumask=0x0004 uaudio_add_feature: ctl=4 fumask=0x0008 uaudio_add_feature: ctl=5 fumask=0x0010 uaudio_add_feature: ctl=6 fumask=0x0020 uaudio_add_feature: ctl=7 fumask=0x0040 uaudio_add_feature: ctl=8 fumask=0x0080 uaudio_add_feature: ctl=9 fumask=0x0100 uaudio_identify_ac: id=7 subtype=5 uaudio_add_selector: bUnitId=7 bNrInPins=1 uaudio_feature_name: terminal_type=UATI_MICROPHONE uaudio_mixer_add_ctl: adding record.25 uaudio_mixer_add_ctl: wValue=0000 wIndex=0700 type=5 ctl='25' min=1 max=1 uaudio_identify: interface=1 offset=101 uaudio_identify: AS null alt=0 uaudio_identify: interface=1 offset=110 uaudio_process_as: asid: bTerminakLink=2 wFormatTag=1 uaudio_process_as: endpoint[0] bLength=9 bDescriptorType=5 bEndpointAddress=129 bmAttributes=0x5 wMaxPacketSize=16 bInterval=1 bRefresh=0 bSynchAddress=0 streadming_endpoint: offset=137 bLength=7 uaudio0: recording: 1ch, 16/16bit, pcm, 8000Hz uaudio_add_alt: adding alt=1, enc=6 uaudio_identify: interface=2 offset=153 uaudio_identify: AS null alt=0 uaudio_identify: interface=2 offset=162 uaudio0: ignored audio interface with 2 endpoints uaudio_identify_as: 1 alts available uaudio0: audio rev 1.00 uaudio0: 5 mixer controls uaudio_attach: doing audio_attach_mi pcm1: on uaudio0 pcm1: using a default buffer size of 16384 uaudio_bsd2value: type=002 val=191 min=-7936 max=6145 val'=2721 uaudio_set: type=0x21 req=0x01 wValue=0x0200 wIndex=0x0600 len=2, val=2721 uaudio_bsd2value: type=002 val=0 min=-7936 max=6145 val'=-7826 uaudio_set: type=0x21 req=0x01 wValue=0x0200 wIndex=0x0300 len=2, val=57710 uaudio_bsd2value: type=005 val=1 min=1 max=1 val'=1 uaudio_set: type=0x21 req=0x01 wValue=0x0000 wIndex=0x0700 len=1, val=1 uaudio0: uaudio_query_formats: found a native record channel (mono) fixed frequency (1 listed formats) 16bit 2bytes/subframe X 1 channels = 2 bytes per sample uaudio0: rec buf 0xc3a40000 -- Matthew Fuller (MF4839) | fullermd@over-yonder.net Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ On the Internet, nobody can hear you scream.