Sound recording on FreeBSD 5.1
Orion Hodson
hodson at icir.org
Wed Aug 27 12:22:33 PDT 2003
Stefan
The below is great. I have a feeling recording on the ich4 should work on
4.8R, the upcoming 4.9R, and also on -CURRENT. It's going to be a day or two
before I confirm this (work, social life, etc), but it'll save you a
potentially needless install.
Kind Regards
- Orion
/-- Stefan Schwarzer wrote:
| Orion, thanks for your reply!
|
| When I wrote the previous mail, I was at work, and had only limited
| info available. Sorry.
|
| By the way, the motherboard is an Asus P4G8X Deluxe.
|
| On Wed, 27 Aug 2003, Orion Hodson wrote:
| > /-- Stefan Schwarzer wrote:
| > | My current system is FreeBSD Release 5.1 with sound hardware RealTek
| > | 650LC AC97 on the motherboard. I can play sound fine, but I can't
| > | record anything (and am quite sure that I have set up everything
| > | correctly regarding the cabling and the mixer(8) settings). Is this
| > | known behaviour or is there even a patch? I tried recording with
| > | audio/gramofile from the ports collection.
| >
| > Can you also post the output of 'cat /dev/sndstat'? The AC97 codec is just
| > one component in your sound system and probably not related to the recordin
| g
| > problem.
|
| $ uname -a
| FreeBSD warpy.sschwarzer.net 5.1-RELEASE-p2 FreeBSD 5.1-RELEASE-p2 #17: Fri A
| ug 22 22:45:47 CEST 2003 root at warpy.sschwarzer.net:/usr/obj/usr/src/sys/W
| ARPY i386
|
| $ cat /dev/sndstat
| FreeBSD Audio Driver (newpcm)
| Installed devices:
| pcm0: <Intel 82801DB (ICH4)> at io 0x9800, 0x9400 irq 5 bufsz 16384 (1p/1r/0v
| channels duplex default)
|
| $ dmesg | grep pcm
| pcm0: <Intel 82801DB (ICH4)> port 0x9400-0x943f,0x9800-0x98ff mem 0xe1000000-
| 0xe10000ff,0xe1800000-0xe18001ff irq 5 at device 31.5 on pci0
| pcm0: <Avance Logic ALC650 AC97 Codec>
|
| > Can you provide some additional info about the recording problem? e.g. you'
| ve
| > checked the mixer rec input, mixer gain, but is any data is produced?
|
| $ mixer
| Mixer vol is currently set to 75:75
| Mixer pcm is currently set to 25:25
| Mixer speaker is currently set to 75:75
| Mixer line is currently set to 75:75
| Mixer mic is currently set to 0:0
| Mixer cd is currently set to 75:75
| Mixer rec 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
| Mixer video is currently set to 75:75
|
| $ mixer =rec mic
| Recording source: mic
|
| $ mixer
| Mixer vol is currently set to 75:75
| Mixer pcm is currently set to 25:25
| Mixer speaker is currently set to 75:75
| Mixer line is currently set to 75:75
| Mixer mic is currently set to 0:0
| Mixer cd is currently set to 75:75
| Mixer rec 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
| Mixer video is currently set to 75:75
|
| $ mixer mic 75
| Setting the mixer mic from 0:0 to 75:75.
|
| $ cp /dev/audio test.au # about 40 s
| ^C
|
| $ ls -l test.au
| -rw-r--r-- 1 schwa schwa 262144 Aug 27 20:41 test.au
|
| The file test.au consists of 262144 bytes with the value 0xFE.
|
| > If so, does it sound garbled, inaudible, etc...
|
| When I do
|
| $ cp test.au /dev/audio
|
| I hear nothing (silence) over the headphones.
|
| Stefan
|
More information about the freebsd-multimedia
mailing list