Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jun 2006 04:05:04 -0500
From:      "Matthew D. Fuller" <fullermd@over-yonder.net>
To:        Hans Petter Selasky <hselasky@c2i.net>
Cc:        freebsd-multimedia@freebsd.org
Subject:   Re: uaudio and MV100
Message-ID:  <20060620090504.GA83482@over-yonder.net>
In-Reply-To: <200606200647.09488.hselasky@c2i.net>
References:  <20060619180057.GA45446@over-yonder.net> <200606200647.09488.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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: <FORTEMEDIA FM1083, class 0/0, rev 1.10/0.01, addr 3> 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<CENTER> 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<CENTER> 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: <USB Audio> 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.



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