PDA

View Full Version : Sound problem


setevoy
10-30-2010, 05:17 PM
Hi there, sorry for my English (I'm from Ukraine) and if I post that in wrong forum.

I try to use PCBSD 8.1 first time as workstation, but have one little problem...
On my notebook I have panel with sensor buttons with leds like "play-next, play, pause" etc. Also, here are led "mute sound".

When PCBSD boot - this led (sound) are blue (normal - sound ON), but after boot-window, when desktop appears, this led becomes red (mute ON - sound OFF).

Notebook are HP dv6000 series. Nothing help to make mute OFF, or I just can't find it in a menu of KDE.

In System settings > Multimedia > Sound output > Music I see 3 devices - HDA Realtek ALC268 PCM 0/1/2 (Digital/Digital/Analog). Pressing button TEST - no any sound from speakers, led are red...

May be I'm stupid and hurried to wrote there - but I never see somenig like that situating using Ubuntu, Debian and Win XP/7 on this notebook...

Regards from Kiev.

Well... Today morning led are blue - but nothing change - no sound, no action when I press any buttons on panel :(

Ralph_Ellis
10-30-2010, 10:20 PM
Try editing your /boot/loader.conf and add the line

snd_hda_load="YES"

That should solve your problem. You could edit the file in a terminal as root using nano or use another editor as root by doing
kdesu nameofprogram

You could also try in a terminal
su
your root password
kldload snd_hda

If your sound turns on, you know that is the driver that you need.

setevoy
10-31-2010, 07:23 AM
No, dint help :(

Here is from my loader.conf:

# Load sound-support
#snd_hda_load="YES" //added as you recomend, than reboot - no sound
sound_load="YES" //this was in config, try to comment it and left only previouse - no sound
snd_uaudio_load="YES" //same like before

Try to:

[setevoy@pcbsd-4252] /home/setevoy# kldload snd_hda
kldload: can't load snd_hda: File exists

P.S. by the way. led on pannel are blue now after boot - but don't reaction on touch and still no sound...
May be trouble are not in sound driver...
[setevoy@pcbsd-4252] /home/setevoy# cat /dev/sndstat
FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386)
Installed devices:
pcm0: <HDA Realtek ALC268 PCM #0 Analog> (play/rec) default
pcm1: <HDA Realtek ALC268 PCM #1 Analog> (play)
pcm2: <HDA Realtek ALC268 PCM #2 Digital> (play)

Ralph_Ellis
10-31-2010, 10:52 AM
What I might try next is open the mixer icon on the bottom panel of your desktop.
Select Master Channel
If Volume is currently selected, choose PCM. If PCM is selected choose Volume.
Also turn up the volume to the highest level.
If the blue light is on, there may be some sound being produced but it may not be loud enough or the backend sound program might need to be changed.

If changing the volume does not help, you may wish to switch the backend sound program. I don't know how to do this in KDE4 but there is a KDE3 program that will do it.
In a terminal
su
your root password
pkg_add -r kdelibs3
pkg_add -r kdebase3
pkg_add -r kdeadmin3

After everything installs, exit as root and type in
kcontrol
Go though the menu and find the section for
Sound and Mulitmedia
Go to Hardware
Go to select the audio device
Try OSS and test the sound

setevoy
10-31-2010, 05:07 PM
Well:

If Volume is currently selected, choose PCM. If PCM is selected choose Volume.
Also turn up the volume to the highest level.
If the blue light is on, there may be some sound being produced but it may not be loud enough or the backend sound program might need to be changed.


No, don't help - all the same.

su
your root password
pkg_add -r kdelibs3
pkg_add -r kdebase3
pkg_add -r kdeadmin3


That I have:

[setevoy@pcbsd-4252] /home/setevoy# pkg_add -r kdelibs3
Error: Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.1-release/Latest/kdelibs3.tbz: File unavailable (e.g., file not found, no access)
pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.1-release/Latest/kdelibs3.tbz' by URL

I look at freshports.org and try for KDE4:
[setevoy@pcbsd-4252] /home/setevoy# pkg_add -r kdelibs4
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.1-release/Latest/kdelibs4.tbz... Done.
pkg_add: package 'kdelibs-4.4.5' or its older version already installed

So, trouble still are :(

Ralph_Ellis
11-01-2010, 12:49 AM
My end goal here is to change to backend sound system to OSS or something else that might be more compatibile with your system. Since the light is blue, I believe that the hda driver is compatible with your system.
We will try to build KDE3 the old fashioned way.
su
your root password
cd /usr/ports/x11-toolkits/qt33
make install clean FORCE_PKG_REGISTER="yes"
cd /usr/ports/x11/kdelibs3
make install clean FORCE_PKG_REGISTER="yes"
cd /usr/ports/x11/kdebase3
make install clean FORCE_PKG_REGISTER="yes"
cd /usr/ports/sysutils/kdeadmin3
make install clean FORCE_PKG_REGISTER="yes"
exit
kcontrol
Once you are in the kcontrol program, open Sound and Multimedia. Choose the Hardware tab. Change the backend from Autodetect to OSS.
Hope this helps.

Thourot
11-22-2010, 01:19 PM
thanks guys, these are useful info, i also have same problem with him