Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Jun 2007 01:02:22 +0900
From:      Watanabe Kazuhiro <CQG00620@nifty.ne.jp>
To:        freebsd-multimedia <freebsd-multimedia@freebsd.org>
Subject:   Re: Problem recording, using <SiS 7012>
Message-ID:  <20070612160223.2289B3AE18@mail.asahi-net.or.jp>
In-Reply-To: <20070611171712.GC1461@ige.unicamp.br>
References:  <20070510115120.GB1716@ige.unicamp.br>	<20070602124938.8F5123E054@mail.asahi-net.or.jp>	<20070604140241.GA1474@ige.unicamp.br>	<20070605145944.B750E3C23C@mail.asahi-net.or.jp>	<20070605163410.GA1496@ige.unicamp.br>	<20070606162049.995E53DFA5@mail.asahi-net.or.jp>	<20070606172107.GA1475@ige.unicamp.br>	<20070607160336.CBCBA2D4CF@mail.asahi-net.or.jp>	<20070611124008.GA1461@ige.unicamp.br>	<20070611161051.EEA7F347C9@mail.asahi-net.or.jp>	<20070611171712.GC1461@ige.unicamp.br>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@nifty.ne.jp)



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