Hi Venu:

Ok, things are better than I thought.
Remove your microphone from the MIC-IN jack
run  sdtaudiocontrol -ac
Then set the MASTER GAIN for MASTER INPUT
Then go to the Record panel.  The MIC radiobox should be greyed out. 
Then plug your microphone into the MIC-IN (black port). The MIC radio 
box should then appear selectable if the system detects the microphone 
has been placed in the mic in jack. Move the record gain slider to 100. 
Also, check and make sure that mute is off. Now try recording.

Here is some pertinent info from man sdtaudiocontrol:

Record Panel
      Input Ports
           The Master Input port  list  selects  the  audio  input
           port.   There  is  a  radiobox for each available input
           port provided by your  hardware  configuration.   Typi-
           cally,   available  input ports include Microphone, and
           Line in, although some systems  also  support  Internal
           CD.  If a control is present but disabled (greyed-out),
           this indicates that  the  corresponding  port  is  sup-
           ported,  but  not  modifiable;  this  can  happen,  for
           instance, when the audio device detects that  a  micro-
           phone  has  not  been plugged into the microphone input
           jack.  In general, input ports are mutually  exclusive;
           that is, audio signal on only one port is recorded.

Record Gain
           This slider adjusts the recording  gain  level  in  the
           range 0 to 100.

The Master audio controls affect all audio programs  on  the
      specified  audio  device; for instance, adjusting the Master
      Playback volume instantly changes the audio hardware  output
      volume.   The  Application  audio controls affect individual
      audio channels;  for  instance,  adjusting  the  Application
      Playback  volume  changes  an audio channel's output volume.
      Furthermore, the audio control detects audio  state  changes
      made by other programs, and updates its display accordingly,
      so that it stays synchronized with the current device confi-
      guration.

      The ports available to choose from under the  Master  Output
      and  Master  Input  audio port list will change depending on
      the system hardware configuration.


Sean


  On 2008年10月20日 21:40, Venu C wrote:
> --- Sean McEnroe <[EMAIL PROTECTED]> wrote:
> 
>> The amp circuit on some HD audio chips (Nvidia) is
>> notorious for low 
>> power audio recording even with 20dB power boost. A
>> powered microphone 
>> is required to do recording as The on board preamp
>> circuit is 
>> insufficient. Venu can you borrow a powered
>> Microphone and try test 
>> again ? Otehr option is to run Windows and see if it
>> works w/o powered 
>> microphone.
> 
>   Powered Microphone, yet to be tried.
>> Let's back up a bit. Does audioplay work using the
>> sample file say 
>> space.au ok on the internal speaker ? I want to make
>> sure that the audio 
> 
>   Yes, it does.
> 
>> codec is working at least for output. Also, are you
>> sure the mic jack is 
>> in the correct slot (what color is the inside of the
>> jack port red or 
>> green or white ?)
> 
>   The audio input has three ports:
> 
>    Black: MIC-IN
>    Green: LINE-IN
>    Red:  CD-IN
> 
> The following I have tried with default options does
> work, MIC is working fine with "line" port.
> 
> Microphone testing:
> ---------------
> 
> a. mic   connected to  LINE-IN *did work*
> 
> # audiorecord -p line -t 20 lineoutputfile.au
> # audioplay lineoutputfile.au
> 
> b. mic   connected  to MIC-IN didnot work
> 
> # audiorecord -p mic -t 30 testmic_0.au
> # audioplay testmic_0.au
> 
> c. mic   connected to  CD-IN  didnot work
> 
> #  audiorecord -p internal-cd -t 30 testmiccd.au
> # audioplay testmiccd.au
> 
> CD testing:
> --------
> 
> a. CD connected to CD-IN did *work*
> 
> #  audiorecord -p internal-cd -t 30 testcd.au
> # audioplay testcd.au
> 
> b. CD connected to LINE-IN did *work*
> # audiorecord -p line -t 30 testcdline.au
> # audioplay testcdline.au
> 
> 
> c. CD connected to MIC-IN didnot work
>       (audiorecord hung: couldnot Ctrl-C or kill -9
> didnot work)
> 
> # audiorecord -p mic -t 30 test-cd-using-mic-in.au
> ^C
> 
> Thanks,
> Venu.
>> -Sean
>>
>> also check test is to run windows on same platformOn
>> 2008年10月17日 
>> 18:16, Garrett D'Amore wrote:
>>> Venu Chennupati wrote:
>>>> Hi Sean,
>>>>
>>>>     I have Intel HD audio controller(0x8086,
>> 0x811b), by trying the 
>>>> suggested
>>>> commands I am not able to all kinds of sounds.
>> Not able to hear my 
>>>> voice, but able to
>>>> hear knoking microphose and air blow sounds are
>> audiable through the 
>>>> speaker while
>>>> recording.
>>>>   
>>> Two thoughts:
>>>
>>> 1) Make sure you use a decent quality microphone.
>>> 2) (This is for Sun audio folks) Perhaps the 20dB
>> micboost needs to be 
>>> enabled?
>>>
>>>    -- Garrett
>>>> Thanks,
>>>> Venu.
>>>>
>>>> Sean McEnroe wrote:
>>>>  
>>>>> Hi Venu:
>>>>>
>>>>> Garrett is right.
>>>>>
>>>>> For best results use
>>>>> audiorecord -v 80 -b 50 -m 80 -p mic -c 2 -s
>> 48000 -e linear -t 60 
>>>>> micoutputfile
>>>>>
>>>>> then use audioplay -v 80 -b 50 -p speaker
>> micoutputfile
>>>>> to listen to your recording.
>>>>>
>>>>>
>>>>> This will record stereo 48KHz (not 44.1Khz)
>> nicely for 60 seconds on 
>>>>> most SUN HW as default is only uLAW 8Khz mono.
>> Results go into 
>>>>> micoutputfile which defaults to a .au file. the
>> -e linear uses PCM 
>>>>> Pulse Code Modulation recording. Most SUN audio
>> chips support 48Khz 
>>>>> as their native sampling frequency.
>>>>> man audiorecord for other file options.
>>>>>
>>>>> PS
>>>>> audiorecord assumes audio device is /dev/audio
>> if yo want a different 
>>>>> audio device use the -dev switch to specify.b
>> Also, the -m is to 
>>>>> listen (monitor) your recording on the monitor
>> speaker (usually the 
>>>>> internal speaker) omit if you do not wish to
>> monitor.
>>>>>
>>>>> -Sean McEnroe
>>>>>
>>>>> On 2008年10月16日 19:10, Garrett D'Amore
>> wrote:
>>>>>    
>>>>>> Try the CLI tool "audiorecord".  I find it
>> works pretty well.
>>>>>>     -- Garrett
>>>>>>
>>>>>> Venu Chennupati wrote:
>>>>>>      
>>>>>>> Any  idea on how to test audio using
>> microphone. My question is 
>>>>>>> generic,
>>>>>>> not specifc to to the pci8086,7270.
>>>>>>>
>>>>>>> On neveda build 100, I tried to record using
>> "Sound recorder" tool 
>>>>>>> available under
>>>>>>> All Applications/Sound & Video. Record from
>> input is availabe as 
>>>>>>> 'Gain' and 'Screen'
>>>>>>> I tried to record using input 'Gain' and
>> played back. Nothing 
>>>>>>> making sense heard.
>>>>>>>
>>>>>>> Also I tried "cat test.oga > /dev/audio" (
>> test.oga is recorded 
>>>>>>> file using above method)
>>>>>>>
>>>>>>> I hear noice from audio output. Is there any
>> better way to test 
>>>>>>> audio input working?
>>>>>>>
>>>>>>>
>>>>>>> ---
>>>>>>> # prtconf -D | grep audio
>>>>>>>         pci8086,7270, instance #0 (driver
>> name: audiohd)
>>>>>>>
>>>>>>>           pci8086,7270, instance #0
>>>>>>>             System software properties:
>>>>>>>                 name='play-interrupts'
>> type=int items=1
>>>>>>>                     value=000000af
>>>>>>>                 name='record-interrupts'
>> type=int items=1
>>>>>>>                     value=000000af
>>>>>>>             Driver properties:
>>>>>>>                 name='fm-errcb-capable'
>> type=boolean dev=none
>>>>>>>                 name='fm-ereport-capable'
>> type=boolean dev=none
>>>>>>>             Hardware properties:
>>>>>>>                 name='pci-msi-capid-pointer'
>> type=int items=1
>>>>>>>                     value=00000060
>>>>>>>                 name='acpi-namespace'
>> type=string items=1
>>>>>>>                     value='\_SB_.PCI0.HDEF'
>>>>>>>                 name='assigned-addresses'
>> type=int items=5
>>>>>>>                    
>> value=8300d810.00000000.fdff4000.00000000.00004000
>>>>>>>                 name='reg' type=int items=10
>>>>>>>                     
>>>>>>>
> value=0000d800.00000000.00000000.00000000.00000000.0300d810.
>>>>>>> 00000000.00000000.00000000.00004000
>>>>>>>                 name='compatible' type=string
>> items=13
>>>>>>> @
>>>>>>> @
>>>>>>>                    
>> value='pciex8086,811b.8086.7270.6' + 
>>>>>>> 'pciex8086,811b.8086.72
>>>>>>> 70' + 'pciex8086,811b.6' + 'pciex8086,811b' +
>> 'pciexclass,040300' + 
>>>>>>> 'pciexclass,
>>>>>>> 0403' + 'pci8086,811b.8086.7270.6' +
>> 'pci8086,811b.8086.7270' + 
>>>>>>> 'pci8086,7270' +
>>>>>>>  'pci8086,811b.6' + 'pci8086,811b' +
>> 'pciclass,040300' + 
>>>>>>> 'pciclass,0403'
>>>>>>>                 name='model' type=string
>> items=1
>>>>>>>                     value='Mixed Mode device'
>>>>>>>                 name='power-consumption'
>> type=int items=2
>>>>>>>                     value=00000001.00000001
>>>>>>>                 name='devsel-speed' type=int
>> items=1
>>>>>>>                     value=00000000
>>>>>>>                 name='interrupts' type=int
>> items=1
>>>>>>>                     value=00000001
>>>>>>>                 name='subsystem-vendor-id'
>> type=int items=1
>>>>>>>                     value=00008086
>>>>>>>                 name='subsystem-id' type=int
>> items=1
>>>>>>>                     value=00007270
>>>>>>>                 name='unit-address'
>> type=string items=1
>>>>>>>                     value='1b'
>>>>>>>                 name='class-code' type=int
>> items=1
>>
> === message truncated ===
> 
> 


-- 


Sean McEnroe
張 天鶴
ショ一ン
マッケンロ一


        
Systems Group系统部
Phone電話 x66667 / +1.508.449.4167
Mobile 手機 +1.508.330.4963
Email 電郵
[EMAIL PROTECTED]
山高水尽疑无路, 柳暗花明又一村


_______________________________________________
driver-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/driver-discuss

Reply via email to