Has anyone managed to get an envy24ht card working correctly, without resorting to OSS4? I think I've configured things correctly, but I get hugely distorted sound from mplayer, mpg123, flac123 etc. Speed/samplerate seems correct, but you can barely hear the real audio through the static/clipping.
The man page for snd_envy24ht indicates the device (M-Audio Revolution 7.1) is supported, and http://wiki.freebsd.org/soundsystem shows it should be working.
More info:-
I tried OSS4 (briefly) on a previous install, and it seemed to work well, but I'd prefer to use the official driver if possible. Can anyone confirm this is supposed to work, or see anything I have set up incorrectly?
The man page for snd_envy24ht indicates the device (M-Audio Revolution 7.1) is supported, and http://wiki.freebsd.org/soundsystem shows it should be working.
snd_envy24ht(4) already has support for more than 10 cards, including all cards made by Terratec and M-Audio that are based on VT172x.
More info:-
Code:
[mart@bsddesktop /usr/home/mart]$ uname -a
FreeBSD bsddesktop 7.0-RELEASE-p6 FreeBSD 7.0-RELEASE-p6 #0: Mon Nov 24 06:43:33 UTC 2008 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386
[mart@bsddesktop /usr/home/mart]$ cat /boot/loader.conf
snd_envy24ht_load="YES"
[mart@bsddesktop /usr/home/mart]$ cat /dev/sndstat
FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386)
Installed devices:
pcm0: <Envy24HT audio (M-Audio Revolution 7.1)> at io 0xdf80:32,0xdc00:128 irq 22 [GIANT] (1p:1v/3r:1v channels duplex default)
[mart@bsddesktop /usr/home/mart]$ mixer
Mixer vol is currently set to 100:100
Mixer treble is currently set to 0:0
Mixer synth is currently set to 0:0
Mixer pcm is currently set to 100:100
Mixer speaker is currently set to 0:0
Mixer line is currently set to 75:75
Mixer mic is currently set to 0:0
Mixer cd is currently set to 0:0
Mixer mix is currently set to 0:0
Recording source: mic
[mart@bsddesktop /usr/home/mart]$ sudo pciconf -vl
# <... snip ...>
pcm0@pci0:2:10:0:10class=0x040100 card=0x36301412 chip=0x17241412 rev=0x01 hdr=0x00
vendor = 'VIA Technologies Inc (Was: IC Ensemble Inc)'
device = 'VT1720/24 Envy24PT/HT PCI Multi-Channel Audio Controller'
class = multimedia
subclass = audio
[mart@bsddesktop /usr/home/mart]$ sudo cat /var/log/messages
# <... snip ...>
Dec 7 01:26:30 bsddesktop kernel: pcm0: <Envy24HT audio (M-Audio Revolution 7.1)> port 0xdf80-0xdf9f,0xdc00-0xdc7f irq 22 at device 10.0 on pci2
Dec 7 01:26:30 bsddesktop kernel: pcm0: [GIANT-LOCKED]
Dec 7 01:26:30 bsddesktop kernel: pcm0: [ITHREAD]
Dec 7 01:26:30 bsddesktop kernel: pcm0: system configuration
Dec 7 01:26:30 bsddesktop kernel: SubVendorID: 0x1412, SubDeviceID: 0x3630
Dec 7 01:26:30 bsddesktop kernel: XIN2 Clock Source: 49.152MHz(192kHz*256)
Dec 7 01:26:30 bsddesktop kernel: MPU-401 UART(s) #: not implemented
Dec 7 01:26:30 bsddesktop kernel: ADC #: 1
Dec 7 01:26:30 bsddesktop kernel: DAC #: 4
Dec 7 01:26:30 bsddesktop kernel: Multi-track converter type: I2S(with volume, 192KHz support, 24bit resolution, ID#0x0)
Dec 7 01:26:30 bsddesktop kernel: S/PDIF(IN/OUT): 0/1 ID# 0x00
Dec 7 01:26:30 bsddesktop kernel: GPIO(mask/dir/state): 0x3fff85/0x4000fa/0x72
I tried OSS4 (briefly) on a previous install, and it seemed to work well, but I'd prefer to use the official driver if possible. Can anyone confirm this is supposed to work, or see anything I have set up incorrectly?