LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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
 
LinkBack Search this Thread
Old 07-28-2012, 07:03 AM   #1
Haueck
LQ Newbie
 
Registered: Jul 2010
Posts: 14

Rep: Reputation: 0
Remove pulse device from ALSA


Hi,

I use Debian Wheezy and I removed PulseAudio Server (pulseaudio package) as it didn't work well for me. Sound is generally OK in KDE but some application don't work, and the error is always the same:

Code:
# amixer info
ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Connection refused

amixer: Control device default open error: Connection refused
When I list all devices

Code:
# arecord -L
null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
sysdefault:CARD=SB
    HDA ATI SB, ALC888 Analog
    Default Audio Device
front:CARD=SB,DEV=0
    HDA ATI SB, ALC888 Analog
    Front speakers
surround40:CARD=SB,DEV=0
    HDA ATI SB, ALC888 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=SB,DEV=0
    HDA ATI SB, ALC888 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=SB,DEV=0
    HDA ATI SB, ALC888 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=SB,DEV=0
    HDA ATI SB, ALC888 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=SB,DEV=0
    HDA ATI SB, ALC888 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=SB,DEV=0
    HDA ATI SB, ALC888 Digital
    IEC958 (S/PDIF) Digital Audio Output
There is a pulse device. How does it get there? How to remove that device? Is some module loaded that creates that device? I couldn't find anything helpful. I also checked /proc/asound directory but nothing interesting in there.

Thanks
 
Old 07-29-2012, 07:58 PM   #2
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, Mint
Posts: 6,894

Rep: Reputation: 1280Reputation: 1280Reputation: 1280Reputation: 1280Reputation: 1280Reputation: 1280Reputation: 1280Reputation: 1280Reputation: 1280
Just a shot in the dark, but is it possible that the configuration files for those applications still contain references to pulse?

I would start by looking at their config files with a text editor.
 
Old 07-30-2012, 02:04 AM   #3
Haueck
LQ Newbie
 
Registered: Jul 2010
Posts: 14

Original Poster
Rep: Reputation: 0
I thought about that but as you can see above, even amixer command fails. Both amixer and arecord are ALSA tools and they should work OK when configuration is changed. Opera is another application that doesn't work properly, it can't play HTML5 videos. So I tried to remove ~/.opera directory but it didn't help. I think that it uses first device returned by ALSA API, and this is that pulse device.
 
Old 07-30-2012, 12:20 PM   #4
Haueck
LQ Newbie
 
Registered: Jul 2010
Posts: 14

Original Poster
Rep: Reputation: 0
I found a solution. I expected ALSA configuration files to be somewhere in the /etc directory but they are in /usr/share/alsa and there is alsa.conf.d directory where it is possible to add additional devices. I removed pulseaudio files and arecord -L stopped to list pulse device. But it didn't solve a problem as there was one more configuration file in my home directory .asoundrc which set default pcm to pulse. After removing it everything works fine.
 
Old 07-30-2012, 08:31 PM   #5
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, Mint
Posts: 6,894

Rep: Reputation: 1280Reputation: 1280Reputation: 1280Reputation: 1280Reputation: 1280Reputation: 1280Reputation: 1280Reputation: 1280Reputation: 1280
Cool. Thanks for the update.
 
  


Reply

Tags
alsa, arecord, pulseaudio


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
pulse audio installed...should i delete alsa sound now? madmcphil Bodhi 4 08-13-2012 01:05 AM
ALSA/Pulse - remap input to output big_bum Linux - Laptop and Netbook 0 07-19-2012 07:13 AM
LXer: How to Remove Pulse Audio Ubuntu 8.10 (Intrepid Ibex) LXer Syndicated Linux News 0 04-06-2009 01:50 AM
How does Pulse Audio compare to Jackd / ALSA? browny_amiga Linux - General 4 12-05-2008 01:07 PM


All times are GMT -5. The time now is 08:13 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