Problem recording, using <SiS 7012>
CQG00620 at nifty.ne.jp
Tue Jun 12 16:02:25 UTC 2007
At Mon, 11 Jun 2007 14:17:12 -0300,
Ricardo Campos Passanezi wrote:
> On Tue, Jun 12, 2007 at 01:10:51AM +0900, Watanabe Kazuhiro wrote:
> > At Mon, 11 Jun 2007 09:40:08 -0300,
> > Ricardo Campos Passanezi wrote:
> > > On Fri, Jun 08, 2007 at 01:03:36AM +0900, Watanabe Kazuhiro wrote:
> > > >
> > > > Will you show me the output of "dmesg | grep pcm" and
> > > > "pciconf -lv | grep pcm" ?
> > >
> > > # dmesg | grep pcm
> > > pcm0: <SiS 7012> port 0xb800-0xb8ff,0xb400-0xb47f irq 18 at device 2.7
> > > on pci0
> > > pcm0: <Analog Devices AD1986 AC97 Codec>
> > >
> > > # pciconf -lv | grep pcm
> > > pcm0 at pci0:2:7: class=0x040100 card=0x818f1043 chip=0x70121039 rev=0xa0
> > > hdr=0x00
> > >
> > > Didn't work again...
> > >
> > > --
> > > Ricardo Campos Passanezi
> > Hmmm... Can you record a sound with the PCM device from analog inputs
> > other than the microphone input (line, cd, etc.)?
> sorry about my ignorance, but how do i test this?
For example, if you want to record a sound from an audio CD analog
output, try the following commands. In this procedure we choose
ports/audio/wavplay as a recording and playback software.
$ mixer =rec cd # Select CD as an input source.
$ cdcontrol play # Start playback of the audio CD.
$ wavrec -S -s 44100 -b 16 -t 10 test.wav
# Record a sound (from the CD drive).
# Duration: 10 secs.
$ cdcontrol stop # Stop the CD.
$ wavplay test.wav # Play the test WAV file.
Of course you have already to connect the analog audio cable from the
CD/DVD drive to the audio CD input pinhead.
> > Do "mixer igain 100" have no effect? Note that the value other than
> > 100 (from 0 to 99) doesn't make sense.
> I'm testing with:
> # mixer
> Mixer vol is currently set to 75:75
> Mixer pcm is currently set to 80:80
> Mixer speaker is currently set to 75:75
> Mixer line is currently set to 75:75
> Mixer mic is currently set to 75:75
> Mixer cd is currently set to 75:75
> Mixer rec is currently set to 75:75
> Mixer igain is currently set to 100:100
> Mixer ogain is currently set to 0:0
> Mixer line1 is currently set to 75:75
> Mixer phin is currently set to 0:0
> Mixer phout is currently set to 0:0
> Recording source: mic
OK. These settings may be good.
Watanabe Kazuhiro (CQG00620 at nifty.ne.jp)
More information about the freebsd-multimedia