Reply
 
Thread Tools Display Modes
  #1  
Old 01-12-2010, 04:07 PM
FitzLT FitzLT is offline
Junior Member
 
Join Date: Apr 2009
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default Sound Not Working--Duplicate Sound Devices
On the livedvd for PCBSD 8.0Beta, my laptop had sound. After the install, I did not have sound. When I typed "dmesg | grep pcm" in konsole, it shows there are two sets of the same sound card according to PCBSD. When I open KMixer, I have two set of "OSS Audio" tabs available--both with "Front" and "PCM" slide bars. I can individually set the settings for each "OSS Audio" tab, but no sound. Is there a way I can get PCBSD to recognize only one sound card instead of duplicates? Thank you for any help I receive.

/home/lawrence(27)% dmesg | grep pcm
pcm0: <HDA Realtek ALC268 PCM #0 Analog> at cad 0 nid 1 on hdac0
pcm1: <HDA NVidia MCP78 HDMI PCM #0 Digital> at cad 3 nid 1 on hdac0
pcm0: <HDA Realtek ALC268 PCM #0 Analog> at cad 0 nid 1 on hdac0
pcm1: <HDA NVidia MCP78 HDMI PCM #0 Digital> at cad 3 nid 1 on hdac0
Reply With Quote
  #2  
Old 01-14-2010, 04:22 PM
DeusEx DeusEx is offline
Junior Member
 
Join Date: Jan 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: Sound Not Working--Duplicate Sound Devices
I have the same problem..do you solve this problem???
Reply With Quote
  #3  
Old 01-15-2010, 01:24 PM
FitzLT FitzLT is offline
Junior Member
 
Join Date: Apr 2009
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: Sound Not Working--Duplicate Sound Devices
Unfortunately, I have not. I'm not sure how/what to remove to prevent PCBSD from seeing duplicate soundcards. I'll keep googling and post back when/if I find something.
Reply With Quote
  #4  
Old 01-27-2010, 05:33 PM
mark.doe mark.doe is offline
Junior Member
 
Join Date: Jan 2010
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: Sound Not Working--Duplicate Sound Devices
I heard that some ppl have had success with by disabling sound completely from /boot/loader.conf

oss_enable=NO
sound_enable=NO

and so forth... disable all..

because while booting the rc.conf is mostly loading PCBSD's Sound script and then loading the right kernel modules.

therefore enable this rcvar in /etc/rc.conf
# snddetect
snddetect_enable=YES

give feedback
Reply With Quote
  #5  
Old 02-04-2010, 03:15 PM
FitzLT FitzLT is offline
Junior Member
 
Join Date: Apr 2009
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: Sound Not Working--Duplicate Sound Devices
I apologize for responding so late--I have been offline for a little while. I was not able to find "oss_enable" or "sound_enable" in my /boot/loader.conf file. There was this:

# Load sound-support
sound_load="YES"
snd_uaudio_load="YES"

I changed those options to "NO", then navigated to /etc/rc.conf. Here I found this:

# Enable sound-support
snddetect_enable="YES"
mixer_enable="YES"

I kept these at "YES", saved both files and rebooted. I should mention that I am now using the Release Candidate. After logging in, I still do not have sound and mixer is still showing duplicate of "OSS-audio". In fact, one more was added. See below:

root@pcbsd-2800# dmesg | grep pcm
pcm0: <HDA Realtek ALC268 PCM #0 Analog> at cad 0 nid 1 on hdac0
pcm1: <HDA NVidia MCP78 HDMI PCM #0 Digital> at cad 3 nid 1 on hdac0
pcm0: <HDA Realtek ALC268 PCM #0 Analog> at cad 0 nid 1 on hdac0
pcm1: <HDA NVidia MCP78 HDMI PCM #0 Digital> at cad 3 nid 1 on hdac0
pcm0: <HDA Realtek ALC268 PCM #0 Analog> at cad 0 nid 1 on hdac0
pcm1: <HDA NVidia MCP78 HDMI PCM #0 Digital> at cad 3 nid 1 on hdac0

I have been trying to log onto Trac to post a bug report, but I need to verify my email address and I have not been receiving the verification email. I have already checked to see if the correct email address is in my profile. Any help would be appreciated.
Reply With Quote
  #6  
Old 02-12-2010, 05:11 AM
FitzLT FitzLT is offline
Junior Member
 
Join Date: Apr 2009
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: Sound Not Working--Duplicate Sound Devices
I wanted to show you all part of the output from 'dmesg':

hdac0: <Intel 82801I High Definition Audio Controller> mem 0xf2500000-0xf2503fff irq 22 at device 27.0 on pci0
hdac0: HDA Driver Revision: 20090624_0136
hdac0: [ITHREAD]
hdac0: HDA Codec #0: Realtek ALC268
hdac0: HDA Codec #1: Lucent/Agere Systems (Unknown)
hdac0: HDA Codec #3: NVidia MCP78 HDMI
pcm0: <HDA Realtek ALC268 PCM #0 Analog> at cad 0 nid 1 on hdac0
pcm1: <HDA NVidia MCP78 HDMI PCM #0 Digital> at cad 3 nid 1 on hdac0

Still have not found a solution yet. Will keep trying...
Reply With Quote
  #7  
Old 02-19-2010, 02:32 PM
segfault segfault is offline
Junior Member
 
Join Date: Jan 2010
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: Sound Not Working--Duplicate Sound Devices
So it's loading 2 sound cards, a Realet and NVidia?
Does your machine actually have 2 sound cards?

What does the following command output?
(May have to be run as root)
Code:
kldstat
This will display all modules currently being used by the kernel.
I am no expert but once I had similar issues with a network card that was being misdetected. It turned out the 2 modules were fighting over the same component and once I unloaded one of them it started to work properly.
Type:
Code:
kldunload
to unload a module.

More info:
http://www.freebsd.org/cgi/man.cgi?quer ... &sektion=8
Reply With Quote
  #8  
Old 02-21-2010, 02:58 AM
FitzLT FitzLT is offline
Junior Member
 
Join Date: Apr 2009
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: Sound Not Working--Duplicate Sound Devices
I'm not supposed to have two sound cards--I'm not sure why the Nvidia card is being detected as a sound card. It is an Nvidia GeForce 9600M GT and does not have any sound capabilities that I know of.

When I type "kldstat", I get this:

[lawrence@pcbsd-2939]/home/lawrence(15)% kldstat
Id Refs Address Size Name
1 100 0xffffffff80100000 d6b7c0 kernel
2 2 0xffffffff80e75000 ee88 ntfs.ko
3 1 0xffffffff80e84000 190250 zfs.ko
4 2 0xffffffff81015000 3858 opensolaris.ko
5 1 0xffffffff81019000 19738 geom_eli.ko
6 2 0xffffffff81033000 2a7d0 crypto.ko
7 3 0xffffffff8105e000 dc40 zlib.ko
8 1 0xffffffff8106c000 1e6e8 geom_journal.ko
9 1 0xffffffff8108b000 20b20 geom_mirror.ko
10 1 0xffffffff810ac000 3248 geom_uzip.ko
11 1 0xffffffff810b0000 e690 if_ipw.ko
12 1 0xffffffff810bf000 12628 if_wpi.ko
13 4 0xffffffff810d2000 757f0 sound.ko
14 1 0xffffffff81148000 13e38 snd_uaudio.ko
15 1 0xffffffff8115c000 19aa8 if_iwn.ko
16 1 0xffffffff81176000 ae08 mmc.ko
17 1 0xffffffff81181000 4090 mmcsd.ko
18 1 0xffffffff81186000 8178 sdhci.ko
19 1 0xffffffff8118f000 5298 scd.ko
20 5 0xffffffff81195000 6cb8 libiconv.ko
21 1 0xffffffff8119c000 2020 libmchain.ko
22 1 0xffffffff8119f000 1058 cd9660_iconv.ko
23 1 0xffffffff811a1000 1070 msdosfs_iconv.ko
24 1 0xffffffff811a3000 1020 ntfs_iconv.ko
25 2 0xffffffff811a5000 98c0 udf.ko
26 1 0xffffffff811af000 1008 udf_iconv.ko
27 1 0xffffffff811b1000 b280 tmpfs.ko
28 1 0xffffffff811bd000 d3cac8 nvidia.ko
29 3 0xffffffff81efa000 414b8 linux.ko
30 1 0xffffffff82022000 3a1e linprocfs.ko
31 1 0xffffffff82026000 4ac6 if_lagg.ko
32 1 0xffffffff8202b000 a237 ipfw.ko
33 1 0xffffffff82036000 13746 snd_hda.ko
34 1 0xffffffff8204a000 1fbe nullfs.ko

I only see the one sound driver loaded, so I'm not sure how to stop the OS from seeing Nvidia as a sound card. I will google and see what I can find. Thank you for the help.
Reply With Quote
  #9  
Old 02-24-2010, 06:52 PM
rusataev rusataev is offline
Junior Member
 
Join Date: Feb 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: Sound Not Working--Duplicate Sound Devices
Hi, FitzLT. I've been experiencing the same issue on my ASUS G50 laptop. I tested the OSS and here is what I got:
#osstest
Sound subsystem and version: FreeBSD native OSS ABI 800107 (0x00040000)
Platform: FreeBSD/amd64 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #10: Thu Jan 7 14:50:53 EST 2010 root@build8x64.pcbsd.org:/usr/obj/usr/pcbsd-build80/fbsd-source/8.0-src/sys/PCBSD
/dev/dsp0.p0 (audio engine 0): pcm0lay:dsp0.p0
- Performing audio playback test... /dev/dsp0.p0: Device busy
Can't open the device
/dev/dsp0.vp0 (audio engine 1): pcm0:virtual:dsp0.vp0
- Performing audio playback test...
<left> OK <right> OK <stereo> OK <measured srate 47993.00 Hz (-0.01%)>
/dev/dsp0.vp1 (audio engine 2): pcm0:virtual:dsp0.vp1
- Performing audio playback test...
<left> OK <right> OK <stereo> OK <measured srate 47993.00 Hz (-0.01%)>
/dev/dsp0.vp2 (audio engine 3): pcm0:virtual:dsp0.vp2
- Performing audio playback test...
<left> OK <right> OK <stereo> OK <measured srate 47993.00 Hz (-0.01%)>
/dev/dsp0.vp3 (audio engine 4): pcm0:virtual:dsp0.vp3
- Performing audio playback test...
<left> OK <right> OK <stereo> OK <measured srate 47993.00 Hz (-0.01%)>
/dev/dsp0.r0 (audio engine 5): pcm0:record:dsp0.r0
- Skipping input only device
/dev/dsp0.vr0 (audio engine 6): pcm0:virtual:dsp0.vr0
- Skipping input only device
/dev/dsp0.vr1 (audio engine 7): pcm0:virtual:dsp0.vr1
- Skipping input only device
/dev/dsp0.vr2 (audio engine 8): pcm0:virtual:dsp0.vr2
- Skipping input only device
/dev/dsp0.vr3 (audio engine 9): pcm0:virtual:dsp0.vr3
- Skipping input only device
/dev/dsp1.p0 (audio engine 10): pcm1lay:dsp1.p0
- Performing audio playback test... /dev/dsp1.p0: Device busy
Can't open the device
/dev/dsp1.vp0 (audio engine 11): pcm1:virtual:dsp1.vp0
- Performing audio playback test...
<left> OK <right> OK <stereo> OK <measured srate 47993.00 Hz (-0.01%)>
/dev/dsp1.vp1 (audio engine 12): pcm1:virtual:dsp1.vp1
- Performing audio playback test...
<left> OK <right> OK <stereo> OK <measured srate 45683.00 Hz (-4.83%)>
/dev/dsp2.p0 (audio engine 13): pcm2lay:dsp2.p0
- Performing audio playback test... /dev/dsp2.p0: Device busy
Can't open the device
/dev/dsp2.vp0 (audio engine 14): pcm2:virtual:dsp2.vp0
- Performing audio playback test...
<left> OK <right> OK <stereo> OK <measured srate 47993.00 Hz (-0.01%)>
/dev/dsp2.vp1 (audio engine 15): pcm2:virtual:dsp2.vp1
- Performing audio playback test...
<left> OK <right> OK <stereo> OK <measured srate 47990.00 Hz (-0.02%)>

*** Some errors were detected during the tests ***
Sound system seems to be dead. I'll be googling and if found anything I'll post here
Reply With Quote
  #10  
Old 02-24-2010, 08:10 PM
rusataev rusataev is offline
Junior Member
 
Join Date: Feb 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: Sound Not Working--Duplicate Sound Devices
Hi. I got the same problem after installing PC-BSD 8 on my ASUS g50 laptop. I tried to test OSS and here is what I got:
Code:
#osstest
Sound subsystem and version: OSS 4.2 (b 2002/201002091947) (0x00040100)
Platform: FreeBSD/amd64 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #10: Thu Jan  7 14:50:53 EST 2010     root@build8x64.pcbsd.org:/usr/obj/usr/pcbsd-build80/fbsd-source/8.0-src/sys/PCBSD


NOTICE! You don't have any audio devices available.
        It looks like your audio hardware was not recognized
        by OSS.

        If you have installed OSS just a moment ago then it may be necessary to.
        to rebot the system before trying to use the device(s).
The initial configuration at /boot/loader.conf is:
Code:
# Load sound-support
sound_load="YES"
snd_uaudio_load="YES"
Here is the log from /etc/rc.conf
Code:
# Enable sound-support
snddetect_enable="YES"
mixer_enable="YES"
oss_enable="YES"
The audio system works just fine under Windows 7 & Kubuntu 9.10
I have several items in sndstat:
Code:
#cat /dev/sndstat
FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
Installed devices:
pcm0: <HDA Realtek ALC663 PCM #0 Analog> at cad 0 nid 1 on hdac0 kld snd_hda [MPSAFE] (1p:4v/1r:4v channels duplex)
pcm1: <HDA Realtek ALC663 PCM #1 Digital> at cad 0 nid 1 on hdac0 kld snd_hda [MPSAFE] (1p:2v/0r:0v channels simplex)
pcm2: <HDA NVidia MCP78 HDMI PCM #0 Digital> at cad 2 nid 1 on hdac0 kld snd_hda [MPSAFE] (1p:3v/0r:0v channels simplex default)
I found the one who resolved the issue, here is the link
http://forums.freebsd.org/showpost.p...77&postcount=1
,but my laptop has another sound card than snd_es137x, it supposed to be snd_hda.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sound Not Working--Duplicate Sound Devices FitzLT General Bug Reports 0 02-05-2010 06:09 AM
get your sound working 100% Gauranteed!!! Ironrock Sound and Multimedia 0 04-09-2009 12:42 AM
Sound not working ATAQ General Questions 27 04-18-2007 09:36 PM
Onboard sound not working jonsnow7412 Sound and Multimedia 2 10-23-2006 06:14 PM
Sound card not working Stuart General Questions 4 05-10-2006 03:53 AM


All times are GMT. The time now is 07:48 AM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

Copyright 2005-2010, The PC-BSD Project. PC-BSD and the PC-BSD logo are registered trademarks of iXsystems.
All other content is freely available for sharing under the terms of the Creative Commons Attribution License.