Date: Mon, 14 Jan 2008 02:45:22 +0530 From: "Mehul Ved" <mehul.n.ved@gmail.com> To: freebsd-multimedia@freebsd.org Subject: sound works randomly Message-ID: <c1e7523f0801131315y768b1dceu52b3804a8526087c@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
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@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@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@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c1e7523f0801131315y768b1dceu52b3804a8526087c>