Hi,
Try to record from /dev/oss/oss_hdaudio0/pcmin1 ossrecord -d /dev/oss/oss_hdaudio0/pcmin1 foo.wav Now run ossxmix and see if the vu meters work pcmin1 is controlled by record mix5 which seems to be the internal mics regards Dev Mazumdar --------------------------- 4Front Technologies 9826 Beverlywood Street Los Angeles, CA 90064, USA Tel: (310) 202 8530 Fax: (310) 202 0496 Wannabe Tsotsi wrote: > Hi Dev, > > Should have posted this info at the start, this is from a standard OSS > 4.2 source build/install. > > $ ossinfo -v4 > Version info: OSS 4.2 (b 2002/201003121938) (0x00040100) GPL > Platform: Linux/i686 2.6.32-trunk-686 #1 SMP Sun Jan 10 06:32:16 UTC > 2010 (debian) > > Number of audio devices: 6 > Number of audio engines: 10 > Number of MIDI devices: 0 > Number of mixer devices: 1 > > > Device objects > 0: osscore0 OSS core services > 1: oss_hdaudio0 Intel HD Audio interrupts=505 (505) > HD Audio controller Intel HD Audio > Vendor ID 0x8086293e > Subvendor ID 0x14c0004b > Codec 0: Unknown (0x10ec0272/0x14c0004b) > Codec 2: Unknown (0x80862802/0x80860101) > 2: oss_usb0 USB audio core services > > MIDI devices (/dev/midi*) > > Mixer devices > 0: High Definition Audio 0x10ec027 (Mixer 0 of device object 1) > Device file /dev/oss/oss_hdaudio0/mix0, Legacy device /dev/mixer0 > Priority: 10 > Caps: > Device handle: PCI004b14c0-0000:00:1b.0-mx01 > Device priority: 10 > > > Audio devices > HD Audio play pcm1 /dev/oss/oss_hdaudio0/pcm0 (device index 0) > Legacy device /dev/dsp0 > Caps: DUPLEX TRIGGER MMAP > Modes: IN/OUT > Out engine 1: 0/HD Audio play pcm1 > Available for use > Engine 2: 6/HD Audio play pcm1 (vmix) > Available for use > Engine 3: 7/HD Audio play pcm1 (vmix) > Available for use > Engine 4: 8/HD Audio play pcm1 (vmix) > Available for use > Engine 5: 9/HD Audio play pcm1 (vmix) > Available for use > Input formats (0x00001010): > AFMT_S16_LE - 16 bit signed little endian > AFMT_S32_LE - 32 bit signed little endian > Output formats (0x00001010): > AFMT_S16_LE - 16 bit signed little endian > AFMT_S32_LE - 32 bit signed little endian > Device handle: PCI004b14c0-0000:00:1b.0-au01 > Related mixer dev: 0 > Sample rate source: 0 > Preferred channel configuration: Not indicated > Supported number of channels (min - max): 2 - 8 > Native sample rates (min - max): 44100 - 192000 (44100,48000,96000,192000) > HW Type: Not indicated. > Minimum latency: Not indicated > > HD Audio play pcm2 /dev/oss/oss_hdaudio0/pcm1 (device index 1) > Legacy device /dev/dsp1 > Caps: TRIGGER MMAP > Modes: OUTPUT > Out engine 1: 1/HD Audio play pcm2 > Available for use > Input formats (0x00001010): > AFMT_S16_LE - 16 bit signed little endian > AFMT_S32_LE - 32 bit signed little endian > Output formats (0x00001010): > AFMT_S16_LE - 16 bit signed little endian > AFMT_S32_LE - 32 bit signed little endian > Device handle: PCI004b14c0-0000:00:1b.0-au02 > Related mixer dev: 0 > Sample rate source: 0 > Preferred channel configuration: Not indicated > Supported number of channels (min - max): 2 - 2 > Native sample rates (min - max): 44100 - 192000 (44100,48000,96000,192000) > HW Type: Not indicated. > Minimum latency: Not indicated > > HD Audio play pcm3 /dev/oss/oss_hdaudio0/pcm2 (device index 2) > Legacy device /dev/dsp2 > Caps: TRIGGER MMAP > Modes: OUTPUT > Out engine 1: 2/HD Audio play pcm3 > Available for use > Input formats (0x00001010): > AFMT_S16_LE - 16 bit signed little endian > AFMT_S32_LE - 32 bit signed little endian > Output formats (0x00001010): > AFMT_S16_LE - 16 bit signed little endian > AFMT_S32_LE - 32 bit signed little endian > Device handle: PCI004b14c0-0000:00:1b.0-au03 > Related mixer dev: 0 > Sample rate source: 0 > Preferred channel configuration: Not indicated > Supported number of channels (min - max): 2 - 2 > Native sample rates (min - max): 44100 - 192000 (44100,48000,96000,192000) > HW Type: Not indicated. > Minimum latency: Not indicated > > HD Audio play spdifout /dev/oss/oss_hdaudio0/spdout0 (device index 3) > Legacy device /dev/dsp3 > Caps: TRIGGER MMAP > Modes: OUTPUT > Out engine 1: 3/HD Audio play spdifout > Available for use > Input formats (0x00001410): > AFMT_S16_LE - 16 bit signed little endian > AFMT_AC3 - AC3 (Dolby Digital) encoded audio > AFMT_S32_LE - 32 bit signed little endian > Output formats (0x00001410): > AFMT_S16_LE - 16 bit signed little endian > AFMT_AC3 - AC3 (Dolby Digital) encoded audio > AFMT_S32_LE - 32 bit signed little endian > Device handle: PCI004b14c0-0000:00:1b.0-au04 > Related mixer dev: 0 > Sample rate source: 0 > Preferred channel configuration: Not indicated > Supported number of channels (min - max): 2 - 2 > Native sample rates (min - max): 32000 - 192000 > (32000,44100,48000,88200,96000,176400,192000) > HW Type: Not indicated. > Minimum latency: Not indicated > > HD Audio rec mix6 /dev/oss/oss_hdaudio0/pcmin0 (device index 4) > Legacy device /dev/dsp4 > Caps: DUPLEX TRIGGER MMAP > Modes: IN/OUT > In engine 1: 4/HD Audio rec mix6 > Available for use > Engine 2: 6/HD Audio play pcm1 (vmix) > Available for use > Engine 3: 7/HD Audio play pcm1 (vmix) > Available for use > Engine 4: 8/HD Audio play pcm1 (vmix) > Available for use > Engine 5: 9/HD Audio play pcm1 (vmix) > Available for use > Input formats (0x00001010): > AFMT_S16_LE - 16 bit signed little endian > AFMT_S32_LE - 32 bit signed little endian > Output formats (0x00001010): > AFMT_S16_LE - 16 bit signed little endian > AFMT_S32_LE - 32 bit signed little endian > Device handle: PCI004b14c0-0000:00:1b.0-au05 > Related mixer dev: 0 > Sample rate source: 0 > Preferred channel configuration: Not indicated > Supported number of channels (min - max): 2 - 2 > Native sample rates (min - max): 44100 - 192000 (44100,48000,96000,192000) > HW Type: Not indicated. > Minimum latency: Not indicated > > HD Audio rec mix5 /dev/oss/oss_hdaudio0/pcmin1 (device index 5) > Legacy device /dev/dsp5 > Caps: TRIGGER MMAP > Modes: INPUT > In engine 1: 5/HD Audio rec mix5 > Available for use > Input formats (0x00001010): > AFMT_S16_LE - 16 bit signed little endian > AFMT_S32_LE - 32 bit signed little endian > Output formats (0x00001010): > AFMT_S16_LE - 16 bit signed little endian > AFMT_S32_LE - 32 bit signed little endian > Device handle: PCI004b14c0-0000:00:1b.0-au06 > Related mixer dev: 0 > Sample rate source: 0 > Preferred channel configuration: Not indicated > Supported number of channels (min - max): 2 - 2 > Native sample rates (min - max): 44100 - 192000 (44100,48000,96000,192000) > HW Type: Not indicated. > Minimum latency: Not indicated > > > Nodes > /dev/dsp -> /dev/oss/oss_hdaudio0/pcm0 > /dev/dsp_in -> /dev/oss/oss_hdaudio0/pcm0 > /dev/dsp_out -> /dev/oss/oss_hdaudio0/pcm0 > /dev/dsp_ac3 -> /dev/oss/oss_hdaudio0/spdout0 > /dev/dsp_mmap -> /dev/oss/oss_hdaudio0/pcm0 > /dev/dsp_multich -> /dev/oss/oss_hdaudio0/pcm0 > > $ ossmix > Selected mixer 0/High Definition Audio 0x10ec0272 > Known controls are: > codec1.jack.int-speaker.mode <mix2|mix3|input> (currently mix2) > codec1.jack.int-speaker.mute ON|OFF (currently OFF) > codec1.jack.pink.mode <mix4|input> (currently mix4) > codec1.jack.pink [<leftvol>:<rightvol>] (currently 29.9:29.9 dB) > codec1.jack.pink.mute ON|OFF (currently OFF) > codec1.jack.pink.pcm3 [<leftvol>:<rightvol>] (currently 51.9:51.9 dB) > codec1.jack.pink.pcm3-mute ON|OFF (currently OFF) > codec1.jack.pink.mix1-mute ON|OFF (currently OFF) > codec1.jack.green.mode <mix2|mix3|mix4> (currently mix2) > codec1.jack.green.mute ON|OFF (currently OFF) > codec1.record.mix6.mute.mix4 ON|OFF (currently OFF) > codec1.record.mix6.mute.int-spe ON|OFF (currently OFF) > codec1.record.mix6.mute.mix1 ON|OFF (currently OFF) > codec1.record.mix6 [<leftvol>:<rightvol>] (currently 38.9:38.9 dB) > codec1.record.mix5.mute.mix4 ON|OFF (currently OFF) > codec1.record.mix5.mute.int-spe ON|OFF (currently OFF) > codec1.record.mix5.mute.mix1 ON|OFF (currently OFF) > codec1.record.mix5.mute.int-mic ON|OFF (currently OFF) > codec1.record.mix5 [<leftvol>:<rightvol>] (currently 38.9:38.9 dB) > codec1.misc.pcm1 [<leftvol>:<rightvol>] (currently 51.9:51.9 dB) > codec1.misc.pcm2 [<leftvol>:<rightvol>] (currently 51.9:51.9 dB) > codec1.misc.mix4 [<leftvol>:<rightvol>] (currently 38.9:38.9 dB) > codec1.misc.int-speaker [<leftvol>:<rightvol>] (currently 38.9:38.9 dB) > codec1.misc.pcm1-mute ON|OFF (currently OFF) > codec1.misc.mix1-mute1 ON|OFF (currently OFF) > codec1.misc.mix2 <pcm1|mix1> (currently pcm1) > codec1.misc.pcm2-mute ON|OFF (currently OFF) > codec1.misc.mix1-mute2 ON|OFF (currently OFF) > codec1.misc.mix3 <pcm2|mix1> (currently pcm2) > codec3.jack.int-digout.mute ON|OFF (currently OFF) > vmix0-enable ON|OFF (currently ON) > vmix0-rate <decimal value> (currently 48000) (Read-only) > vmix0-channels <Stereo|Multich> (currently Stereo) > vmix0-src <Fast|High|OFF> (currently Fast) > vmix0-outvol <monovol> (currently 25.0 dB) > vmix0-invol <monovol> (currently 25.0 dB) > vmix0.pcm6 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB) > vmix0.pcm7 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB) > vmix0.pcm8 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB) > vmix0.pcm9 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB) > > > ------------------------------------------------------------------------ > *From:* Dev Mazumdar <d...@opensound.com> > *To:* Discussion mailing list for developers of OSS > <oss-devel@mailman.opensound.com> > *Sent:* Fri, 12 March, 2010 18:11:23 > *Subject:* Re: [oss-devel] no digital mic audio with ALC272 and OSS 4.2 > > Hi Wannabe, > > If you can post the output from ossinfo and the output from ossmix we > can check to see which device you may need to use. > > > regards > Dev Mazumdar > > --------------------------- > 4Front Technologies > > 9826 Beverlywood Street > Los Angeles, CA 90064, USA > Tel: (310) 202 8530 > Fax: (310) 202 0496 > > Wannabe Tsotsi wrote: > > Hi, > > > > I'm having difficulty getting the internal digital mic working on an > > ALC272 hdaudio based platform with OSS 4.2(2002) running Debian Squeeze > > (2.6.32-trunk-i686). > > > > The mic is integrated with SuYin CN1316 camera. > > > > I've tried using generic hda, creating a remap function and crafting a > > mixer init function using mixgen output. > > > > MIX ADC mixer (NID 0x22) connection list contains the DMIC1/2 pin widget > > (NID 0x12) and the ossmixer output shows the d-mic input. > > > > The DMIC1/2 connection list is empty, is this significant ? > > > > I'm using snoopy to examine widgets and connection lists. > > > > External mic, headphone and internal speaker work fine. > > > > The DMIC1/2 works with the Debian Squeeze default ALSA installation > > despite the fact that the /proc info also shows DMIC1/2 NID 0x12 has no > > connection list. > > > > I'd appreciate any thoughts and ideas anyone may have WRT solving this. > > > > > > > > > > _______________________________________________ > > oss-devel mailing list > > oss-devel@mailman.opensound.com <mailto:oss-devel@mailman.opensound.com> > > http://mailman.opensound.com/mailman/listinfo/oss-devel > _______________________________________________ > oss-devel mailing list > oss-devel@mailman.opensound.com <mailto:oss-devel@mailman.opensound.com> > http://mailman.opensound.com/mailman/listinfo/oss-devel > > > > _______________________________________________ > oss-devel mailing list > oss-devel@mailman.opensound.com > http://mailman.opensound.com/mailman/listinfo/oss-devel _______________________________________________ oss-devel mailing list oss-devel@mailman.opensound.com http://mailman.opensound.com/mailman/listinfo/oss-devel