Reply
 
Thread Tools Display Modes
  #1  
Old 02-24-2012, 01:10 PM
goraxmax goraxmax is offline
Senior Member
 
Join Date: Jul 2011
Posts: 125
Thanks: 10
Thanked 3 Times in 3 Posts
Default no sound in pc-bsd
Hello,
i've just installed pc-bsd 9 (go out linux ), without problems,
except the fact i have not sound

i tried "kldload snd_driver" (in root)=>no results

just below the result of

cat /dev/sndstat



FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
Installed devices:
pcm0: <HDA ATI RS690/780 HDMI PCM #0 HDMI> (play)
pcm1: <HDA Realtek ALC892 PCM #0 Analog> (play/rec) default
pcm2: <HDA Realtek ALC892 PCM #1 Analog> (play/rec)
pcm3: <HDA Realtek ALC892 PCM #2 Digital> (play/rec)
pcm4: <HDA Realtek ALC892 PCM #3 Digital> (play)

any idea?

Thanks for your responses
goraxmax
Reply With Quote
  #2  
Old 03-08-2012, 10:42 AM
Alvin Alvin is offline
Member
 
Join Date: Feb 2012
Location: Flanders
Posts: 73
Thanks: 1
Thanked 6 Times in 5 Posts
Send a message via ICQ to Alvin Send a message via Skype™ to Alvin
Default
I have the same problem.

Code:
# cat /dev/sndstat 
FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
Installed devices:
pcm0: <HDA NVidia GT220 HDMI PCM #0 DisplayPort> (play)
pcm1: <HDA NVidia GT220 HDMI PCM #0 DisplayPort> (play)
pcm2: <HDA NVidia GT220 HDMI PCM #0 DisplayPort> (play)
pcm3: <HDA NVidia GT220 HDMI PCM #0 DisplayPort> (play)
pcm4: <HDA Realtek ALC662 PCM #0 Analog> (play/rec) default
pcm5: <HDA Realtek ALC662 PCM #1 Analog> (play/rec)
pcm6: <HDA Realtek ALC662 PCM #2 Digital> (play)
pcm7: <HDA Intel Ibex Peak HDMI PCM #0 DisplayPort> (play)
Phonon lists only 'default audio device'.

What would be the procedure to find out why the sound device is not recognized?
Reply With Quote
  #3  
Old 03-08-2012, 10:58 AM
Alvin Alvin is offline
Member
 
Join Date: Feb 2012
Location: Flanders
Posts: 73
Thanks: 1
Thanked 6 Times in 5 Posts
Send a message via ICQ to Alvin Send a message via Skype™ to Alvin
Default
Found it. I didn't know phonon only lists the 'default' device. My headset was plugged in the front, so I needed to change the default device from pcm4 to pcm5:

Code:
# sysctl hw.snd.default_unit=5
Reply With Quote
  #4  
Old 03-10-2012, 09:40 PM
nemysis nemysis is offline
Senior Member
 
Join Date: Sep 2011
Posts: 168
Thanks: 4
Thanked 9 Times in 8 Posts
Smile
Perhaps can this helps someone to adjust fast automaticaly default Sound Unit


I have switched full to Bourne shell from Bash and here is new Version

cat /home/bin/headset
#!/bin/sh

# Author nemysis

echo ""
echo "$0"
echo ""

echo ""
echo You are `whoami`
echo""
echo "Start this as root!"
echo ""

# Without root no chance
euid=`ps -o uid= $$`
if [ $euid -ne 0 ]
then
echo "This script needs root privileges. Aborting now..."
echo ""
exit 1
fi


echo ""
echo -n "Which Sound Device would You use? Please use only Number."
echo ""
echo ""
cat /dev/sndstat
echo ""
read HEADPHONES

echo ""
echo ""
echo -n "Would You adjust Sound Device for Headphones? (y,n)"
echo ""
echo ""
read SOUNDDEVICE
if [ "${SOUNDDEVICE}" = "Y" -o "${SOUNDDEVICE}" = "y" ]
then
sysctl hw.snd.default_unit=$HEADPHONES
else
echo ""
echo "Sound Device for Headphones isn't adjusted"
echo ""
fi

echo ""
cat /dev/sndstat
echo ""
playsound /usr/local/share/sounds/local/bounce.wav
echo ""


playsound is from FreeBSD Port audio/sdl_sound

/usr/local/share/sounds/local/bounce.wav is from FreeBSD Port net-im/gajim


Please look http://forums.pcbsd.org/showthread.php?t=16034 this is fast the same as here.

Last edited by nemysis; 04-24-2012 at 08:22 PM.
Reply With Quote
  #5  
Old 03-18-2012, 11:32 AM
goraxmax goraxmax is offline
Senior Member
 
Join Date: Jul 2011
Posts: 125
Thanks: 10
Thanked 3 Times in 3 Posts
Default
I re installed PC-BSD (with an other CD), and sound card was immediatly recognised

thanks a lot
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


All times are GMT. The time now is 01:38 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.