sound works randomly
Mehul Ved
mehul.n.ved at gmail.com
Sun Jan 13 13:39:59 PST 2008
Hi,
I have a Via8233 onboard sound card. After reading a few docs and
installing oss, I got sound to work but the problem is that it works
sometimes and just doesn't work other times. This only happens with
FreeBSD, with linux it's working fine all the time so I believe I can
rule out hardware problems.
Here is the sound card information that might be useful
--------------------------------------------
pciconf -lv
pcm0 at pci0:17:5: class=0x040100 card=0x04301462 chip=0x30591106 rev=0x60 hdr=0x00
vendor = 'VIA Technologies Inc'
device = 'VT8233/33A/8235/8237 AC97 Enhanced Audio Controller'
class = multimedia
subclass = audio
--------------------------------------------
--------------------------------------------
kldstat
Id Refs Address Size Name
1 16 0xc0400000 33e03c kernel
2 1 0xc073f000 1ada4 linux.ko
3 1 0xc075a000 6170 snd_via8233.ko
4 2 0xc0761000 22b88 sound.ko
5 1 0xc0784000 693310 nvidia.ko
6 1 0xc0e18000 59f20 acpi.ko
7 2 0xc6191000 79000 osscore.ko
8 1 0xc6211000 5000 via8233.ko
9 1 0xc6227000 2000 vmix.ko
-------------------------------------------
-------------------------------------------
/etc/rc.conf
oss_enable="YES"
-------------------------------------------
-------------------------------------------
/boot/loader.conf
snd_via8233_load="YES"
-------------------------------------------
-------------------------------------------
cat /dev/sndstat
FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0: <VIA VT8237> at io 0xe700 irq 22 kld snd_via8233 (5p/1r/0v
channels duplex default)
-------------------------------------------
cat <some audio> > /dev/dsp doesn't return any sound.
-------------------------------------------
ossdetect -v
Detected VIA VT8233/8235/8237
Detected OSS Transparent Virtual Mixing Architecture
-------------------------------------------
-------------------------------------------
ossinfo -v
Version info: OSS 4.0 (b071114/200801041811) (0x00040003) CDDL
Platform: FreeBSD/i386 6.2-RELEASE FreeBSD 6.2-RELEASE #3: Sun Jan 6
14:16:34 IST 2008
root at bsd.mehulved.com:/usr/obj/usr/src/sys/MYKERNEL (bsd.mehulved.com)
Number of audio devices: 0
Number of audio engines: 0
Number of MIDI devices: 0
Number of mixer devices: 0
Device objects
0: vmix0 OSS transparent virtual support
MIDI devices (/dev/midi*)
Mixer devices (/dev/mixer*)
Audio devices
--------------------------------------------
--------------------------------------------
osstest -v
Sound subsystem and version: OSS 4.0 (b071114/200801041811) (0x00040003)
Platform: FreeBSD/i386 6.2-RELEASE FreeBSD 6.2-RELEASE #3: Sun Jan 6
14:16:34 IST 2008
root at bsd.mehulved.com:/usr/obj/usr/src/sys/MYKERNEL
NOTICE! You don't have any audio devices available.
It looks like your audio hardware was not recognized
by OSS. Please contact 4Front technologies for help
(http://www.opensound.com/support.cgi). Don't forget to
include your soundon.log file to the support request.
--------------------------------------------
--------------------------------------------
ossmix
SNDCTL_MIX_NREXT: Device not configured
--------------------------------------------
I also checked
--------------------------------
fstat | grep dsp
--------------------------------
and killed any process if they were running.
None of it helped. All of a sudden again I have sound working right now.
Any other info will be needed?
Some links I refered to are
1)http://bsdtips.utcorp.net/mediawiki/index.php/Setting_up_your_sound_card
2)http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-setup.html
and some forums
More information about the freebsd-multimedia
mailing list