LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 06-29-2008, 08:35 PM   #1
flashl
Member
 
Registered: Mar 2005
Posts: 44

Rep: Reputation: 15
unable to solve fedora 9 pulseaudio hda_intel sound problem


Any help appreciated, been on this for several days. Yesterday, for a brief moment pulseaudio server activated but dropped.

hardware info:
Code:
lspci | grep -i audio
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02)

lspci -s 00:1b.0 -vn
00:1b.0 0403: 8086:284b (rev 02)
	Subsystem: 8086:2113
	Flags: bus master, fast devsel, latency 0, IRQ 22
	Memory at 90320000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: [50] Power Management version 2
	Capabilities: [60] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
	Capabilities: [70] Express minime Complex Integrated Endpoint, MSI 00
	Kernel driver in use: HDA Intel
	Kernel modules: snd-hda-intel

lspci -n | grep 00:1b.0
00:1b.0 0403: 8086:284b (rev 02)
cat /etc/modprobe.conf:

alias snd-card-0 snd-hda-intel
options snd_hda_intel model=mbp3
options snd-card-0 index=0
options snd-hda-intel index=0

/var/log/messages:

Code:
Jun 29 20:20:04 roxie pulseaudio[4232]: main.c: PolicyKit grants us acquire-high-priority privilige.
Jun 29 20:20:04 roxie pulseaudio[4232]: main.c: PolicyKit grants us acquire-real-time privilige.
Jun 29 20:20:04 roxie pulseaudio[4232]: main.c: We're in the group 'pulse-rt', allowing real-time and high-priority scheduling.
Jun 29 20:20:04 roxie pulseaudio[4232]: core-util.c: Successfully gained nice level -11.
Jun 29 20:20:04 roxie pulseaudio[4232]: main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
Jun 29 20:20:04 roxie pulseaudio[4232]: main.c: RLIMIT_RTPRIO failed: Operation not permitted
Jun 29 20:20:04 roxie pulseaudio[4232]: main.c: Root priviliges required.
Note: regarding 'root priviliges' have set <sound> 0666 root in access file

pulseaudio -vv
I: core-util.c: Successfully gained nice level -11.
E: main.c: daemon startup failed.

Again, thanks for any help.
 
Old 06-30-2008, 11:28 AM   #2
flashl
Member
 
Registered: Mar 2005
Posts: 44

Original Poster
Rep: Reputation: 15
Ok, pulseaudio server now consistently starts upon bootup or gnome login. The reason the pulseaudio daemon failed to startup was this entry in default.pa:

# Load audio drivers statically
load-module module-alsa-sink sink device=dmix

commenting the module-alsa-sink entry in /etc/pulse/default.pa allows the pulseaudio server to startup.

Now, the soundserver starts but there is no sound. Checking PulseAudio Volume Control-->Output Devices, there are two entries:

1. ALSA PCM on front:0 (STAC92xx Analog) via DMA
2. Simultaneous output to ALSA PCM on front:0 (STAC92xx Analog) via DMA

Selecting any sound app and using PulseAudio Volume Meter shows #1 Output Device in use, but there is no sound.

Following instructions in PerfectSetup, /etc/asound.conf contains:

Code:
pcm.pulse {
type pulse
}

ctl.pulse {
type pulse
}

# Optional, set defaults

pcm.!default {
type pulse
}

ctl.!default {
type pulse
}
Devices at GNOME-->Preferences-->Hardware-->Sound are set to PulseAudio Sound Server

What else am I missing?
 
Old 06-30-2008, 05:52 PM   #3
flashl
Member
 
Registered: Mar 2005
Posts: 44

Original Poster
Rep: Reputation: 15
This probably is not the best solution, but, I have sound!

Code:
cat /etc/asound.conf
# This following device can fool some applications into using pulseaudio
pcm.dsp1 {
type plug
slave.pcm "pulse"
}

ctl.mixer0 {
type hw
card 0
}

pcm.pulse {
type pulse
}

ctl.pulse {
type pulse
}

# Optional, set defaults

pcm.!default {
type pulse
}

ctl.!default {
type pulse
}
=====================================
Code:
cat /etc/pulse/default.pa
#------------------------------------------------------------------------------
#------------------------------------------------------------------------------
#!/usr/bin/pulseaudio -nF

#
# This file is part of pulseaudio.
#
# pulseaudio is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# pulseaudio is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with pulseaudio; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.


# Load audio drivers statically

load-module module-null-sink

# Load audio drivers automatically on access

# ALSA
add-autoload-sink output module-alsa-sink sink_name=output device=dmix
add-autoload-source input module-alsa-source source_name=input

# OSS
add-autoload-sink output module-oss device="/dev/dsp" sink_name=output source_name=input
add-autoload-source input module-oss device="/dev/dsp" source_name=input sink_name=output

# Load several protocols
load-module module-esound-protocol-tcp auth-ip-acl=127.0.0.1;192.168.2.0/16
load-module module-native-protocol-tcp auth-ip-acl=127.0.0.1;192.168.2.0/16

load-module module-esound-protocol-unix
load-module module-native-protocol-unix
load-module module-simple-protocol-unix


# Load the CLI module
load-module module-cli

# Make some devices default
set-default-sink output
set-default-source input

.nofail

# Load something to the sample cache
load-sample x11-bell /usr/share/sounds/generic.wav

# Load X11 bell module
load-module module-x11-bell sample=x11-bell sink=output

# Publish connection data in the X11 root window
load-module module-x11-publish

Last edited by flashl; 06-30-2008 at 05:54 PM.
 
  


Reply

Tags
hda, intel, pulseaudio, sound


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
no sound in Fedora 8 "PULSEAUDIO: Unable to connect-" using onboard Optical spdif Legolas327 Fedora 12 07-27-2009 08:58 PM
LXer: How To Fix The Sound Issues Between Skype 2.0 And Pulseaudio On Fedora 9 LXer Syndicated Linux News 0 06-02-2008 06:11 AM
no sound in Fedora 8 "PULSEAUDIO: Unable to connect-" (reposted) Legolas327 Linux - Hardware 11 04-22-2008 02:45 AM
LXer: Using PulseAudio sound server on Fedora 8 LXer Syndicated Linux News 0 03-14-2008 03:10 PM
No sound in PCLinuxOS-HDA_Intel sluzi26 Linux - Laptop and Netbook 1 12-28-2006 01:53 PM


All times are GMT -5. The time now is 10:52 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration