How to disable auto mute in pulseaudio?
I'm going to listen to some music with my computer from my phone via Bluetooth, so I have to use pulseaudio, but I have a problem. My laptop's sound system is so weird, it must have Headphone and Speaker both un-muted in alsamixer to make internal speaker having sound, So I comment "load-module module-switch-on-port-available" in /etc/pulse/default.pa, this stopped mute/un-mute headphone/speaker when I plug in/unplug my earphone, but pluseaudio auto mute the Headphone and set volume to 0 every time when I reboot he computer(the Speaker is set as fallback in pavcontrol), I have to un-mute it and increase volume from alsamixer so that internal speaker can have sound, so is there any way to stop pusleaudio auto muting?
Anyone got any ideas?
Similar Messages
-
[SOLVED] Alsa: How to disable auto-mute when plugging in headphones?
I have a set of headphones plugged into my workstation permanently (the headphone jack is hard to reach so I don't want to plug those headphones in and out) as well as some speakers. Jack sensing works perfectly - when I unplug the headphones, the speakers are unmuted and when I plug the headphones back in the speakers are muted. Now as I said, my headphones are plugged in permanently and occasionally I want to have sound on the speakers at the same time. So far I have not found a way to have both headphones and speakers unmuted simultaneously.
I originally thought this was a problem with Pulseaudio (I am using Cinnamon as my desktop) but when I directly go to the Alsa hw device I get exactly the same behavior. The sound chip is a built-in VIA VT1818S and aplay displays the correct cards and devices:
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: VT1818S Analog [VT1818S Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 1: VT1818S Digital [VT1818S Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 2: VT1818S HP [VT1818S HP]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
I verified with "mpg123 -a hw:0,0" that I get no sound on the speakers when the headphones are plugged in and vice versa. I tried a lot of different settings with alsamixer and amixer to no avail. These are my current settings:
$ amixer -c 0 contents
numid=42,iface=CARD,name='Front Headphone Jack'
; type=BOOLEAN,access=r-------,values=1
: values=on
numid=44,iface=CARD,name='Front Mic Jack'
; type=BOOLEAN,access=r-------,values=1
: values=off
numid=46,iface=CARD,name='HDMI Phantom Jack'
; type=BOOLEAN,access=r-------,values=1
: values=on
numid=45,iface=CARD,name='Line Jack'
; type=BOOLEAN,access=r-------,values=1
: values=off
numid=40,iface=CARD,name='Line Out CLFE Jack'
; type=BOOLEAN,access=r-------,values=1
: values=off
numid=38,iface=CARD,name='Line Out Front Jack'
; type=BOOLEAN,access=r-------,values=1
: values=on
numid=41,iface=CARD,name='Line Out Side Jack'
; type=BOOLEAN,access=r-------,values=1
: values=off
numid=39,iface=CARD,name='Line Out Surround Jack'
; type=BOOLEAN,access=r-------,values=1
: values=off
numid=43,iface=CARD,name='Rear Mic Jack'
; type=BOOLEAN,access=r-------,values=1
: values=off
numid=47,iface=CARD,name='SPDIF Phantom Jack',index=1
; type=BOOLEAN,access=r-------,values=1
: values=on
numid=37,iface=MIXER,name='Master Playback Switch'
; type=BOOLEAN,access=rw------,values=1
: values=on
numid=36,iface=MIXER,name='Master Playback Volume'
; type=INTEGER,access=rw---R--,values=1,min=0,max=42,step=0
: values=23
| dBscale-min=-63.00dB,step=1.50dB,mute=0
numid=13,iface=MIXER,name='Headphone Playback Switch'
; type=BOOLEAN,access=rw------,values=2
: values=on,on
numid=12,iface=MIXER,name='PCM Playback Switch'
; type=BOOLEAN,access=rw------,values=2
: values=on,on
numid=11,iface=MIXER,name='PCM Playback Volume'
; type=INTEGER,access=rw---R--,values=2,min=0,max=31,step=0
: values=31,31
| dBscale-min=-34.50dB,step=1.50dB,mute=0
numid=28,iface=MIXER,name='Front Mic Boost Volume'
; type=INTEGER,access=rw---R--,values=2,min=0,max=3,step=0
: values=0,0
| dBscale-min=0.00dB,step=10.25dB,mute=0
numid=24,iface=MIXER,name='Front Mic Playback Switch'
; type=BOOLEAN,access=rw------,values=2
: values=on,on
numid=23,iface=MIXER,name='Front Mic Playback Volume'
; type=INTEGER,access=rw---R--,values=2,min=0,max=31,step=0
: values=31,31
| dBscale-min=-34.50dB,step=1.50dB,mute=0
numid=2,iface=MIXER,name='Front Playback Switch'
; type=BOOLEAN,access=rw------,values=2
: values=on,on
numid=1,iface=MIXER,name='Front Playback Volume'
; type=INTEGER,access=rw---R--,values=2,min=0,max=42,step=0
: values=42,42
| dBscale-min=-63.00dB,step=1.50dB,mute=0
numid=4,iface=MIXER,name='Surround Playback Switch'
; type=BOOLEAN,access=rw------,values=2
: values=on,on
numid=3,iface=MIXER,name='Surround Playback Volume'
; type=INTEGER,access=rw---R--,values=2,min=0,max=42,step=0
: values=42,42
| dBscale-min=-63.00dB,step=1.50dB,mute=0
numid=6,iface=MIXER,name='Center Playback Switch'
; type=BOOLEAN,access=rw------,values=1
: values=on
numid=5,iface=MIXER,name='Center Playback Volume'
; type=INTEGER,access=rw---R--,values=1,min=0,max=42,step=0
: values=42
| dBscale-min=-63.00dB,step=1.50dB,mute=0
numid=8,iface=MIXER,name='LFE Playback Switch'
; type=BOOLEAN,access=rw------,values=1
: values=on
numid=7,iface=MIXER,name='LFE Playback Volume'
; type=INTEGER,access=rw---R--,values=1,min=0,max=42,step=0
: values=42
| dBscale-min=-63.00dB,step=1.50dB,mute=0
numid=26,iface=MIXER,name='Line Playback Switch'
; type=BOOLEAN,access=rw------,values=2
: values=on,on
numid=25,iface=MIXER,name='Line Playback Volume'
; type=INTEGER,access=rw---R--,values=2,min=0,max=31,step=0
: values=31,31
| dBscale-min=-34.50dB,step=1.50dB,mute=0
numid=16,iface=MIXER,name='Capture Switch'
; type=BOOLEAN,access=rw------,values=2
: values=on,on
numid=18,iface=MIXER,name='Capture Switch',index=1
; type=BOOLEAN,access=rw------,values=2
: values=on,on
numid=15,iface=MIXER,name='Capture Volume'
; type=INTEGER,access=rw---R--,values=2,min=0,max=31,step=0
: values=0,0
| dBscale-min=-16.50dB,step=1.50dB,mute=0
numid=17,iface=MIXER,name='Capture Volume',index=1
; type=INTEGER,access=rw---R--,values=2,min=0,max=31,step=0
: values=0,0
| dBscale-min=-16.50dB,step=1.50dB,mute=0
numid=14,iface=MIXER,name='Loopback Mixing'
; type=ENUMERATED,access=rw------,values=1,items=2
; Item #0 'Disabled'
; Item #1 'Enabled'
: values=0
numid=35,iface=MIXER,name='IEC958 Default PCM Playback Switch'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=31,iface=MIXER,name='IEC958 Playback Con Mask'
; type=IEC958,access=r-------,values=1
: values=[AES0=0x0f AES1=0xff AES2=0x00 AES3=0x00]
numid=32,iface=MIXER,name='IEC958 Playback Pro Mask'
; type=IEC958,access=r-------,values=1
: values=[AES0=0x0f AES1=0x00 AES2=0x00 AES3=0x00]
numid=33,iface=MIXER,name='IEC958 Playback Default'
; type=IEC958,access=rw------,values=1
: values=[AES0=0x04 AES1=0x00 AES2=0x00 AES3=0x00]
numid=34,iface=MIXER,name='IEC958 Playback Switch'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=30,iface=MIXER,name='Dynamic Power-Control'
; type=ENUMERATED,access=rw------,values=1,items=2
; Item #0 'Disabled'
; Item #1 'Enabled'
: values=0
numid=29,iface=MIXER,name='Independent HP'
; type=ENUMERATED,access=rw------,values=1,items=2
; Item #0 'OFF'
; Item #1 'ON'
: values=0
numid=19,iface=MIXER,name='Input Source'
; type=ENUMERATED,access=rw------,values=1,items=4
; Item #0 'Rear Mic'
; Item #1 'Front Mic'
; Item #2 'Line'
; Item #3 'Stereo Mixer'
: values=1
numid=20,iface=MIXER,name='Input Source',index=1
; type=ENUMERATED,access=rw------,values=1,items=4
; Item #0 'Rear Mic'
; Item #1 'Front Mic'
; Item #2 'Line'
; Item #3 'Stereo Mixer'
: values=0
numid=27,iface=MIXER,name='Rear Mic Boost Volume'
; type=INTEGER,access=rw---R--,values=2,min=0,max=3,step=0
: values=0,0
| dBscale-min=0.00dB,step=10.25dB,mute=0
numid=22,iface=MIXER,name='Rear Mic Playback Switch'
; type=BOOLEAN,access=rw------,values=2
: values=off,off
numid=21,iface=MIXER,name='Rear Mic Playback Volume'
; type=INTEGER,access=rw---R--,values=2,min=0,max=31,step=0
: values=23,23
| dBscale-min=-34.50dB,step=1.50dB,mute=0
numid=10,iface=MIXER,name='Side Playback Switch'
; type=BOOLEAN,access=rw------,values=2
: values=on,on
numid=9,iface=MIXER,name='Side Playback Volume'
; type=INTEGER,access=rw---R--,values=2,min=0,max=42,step=0
: values=42,42
| dBscale-min=-63.00dB,step=1.50dB,mute=0
numid=49,iface=PCM,name='Capture Channel Map'
; type=INTEGER,access=r----R--,values=2,min=0,max=36,step=0
: values=0,0
| | TLV size error (257, 8, 0)!
numid=50,iface=PCM,name='Capture Channel Map',index=1
; type=INTEGER,access=r----R--,values=2,min=0,max=36,step=0
: values=0,0
| | TLV size error (257, 8, 0)!
numid=48,iface=PCM,name='Playback Channel Map'
; type=INTEGER,access=r----R--,values=8,min=0,max=36,step=0
: values=0,0,0,0,0,0,0,0
| | TLV size error (257, 8, 0)!
numid=51,iface=PCM,name='Playback Channel Map',device=1
; type=INTEGER,access=r----R--,values=2,min=0,max=36,step=0
: values=0,0
| | TLV size error (257, 8, 0)!
numid=52,iface=PCM,name='Playback Channel Map',device=2
; type=INTEGER,access=r----R--,values=2,min=0,max=36,step=0
: values=0,0
| | TLV size error (257, 8, 0)!
If I read the Alsa kernel docs right, the VIA driver simply does not provide any option to disable auto-muting: http://git.alsa-project.org/?p=alsa-ker … xt;hb=HEAD.
I would be glad if I had misread/misunderstood something or there were any other means of achieving what I am after? All I found so far is lots of posts where auto-muting did not work but very few people seem to want the opposite. FWIW, my old installation of Ubuntu 11.10 was working fine in that regard, i.e. it probably did not support auto-muting for my hardware.
Last edited by fax (2013-03-24 20:20:19)Solved, well, good enough for me anyway. In alsamixer, I enabled "Independent HP". Independent HP means that two of the six surround channels get diverted to the headphones. Alsa creates a second device, one for line out and the other one for the headphones. It is a very neat feature that is meant to allow you to e.g. do a voice call with your headphones while you play music through the speakers at the same time. I can now choose in PulseAudio whether I want output to my headphones or the speakers. It required that in /etc/pulse/default.pa, I added the line "load-module module-alsa-sink device=hw:0,2" after this paragraph:
### Automatically load driver modules depending on the hardware available
.ifexists module-udev-detect.so
load-module module-udev-detect
.else
### Use the static hardware detection module (for systems that lack udev support)
load-module module-detect
.endif
# Take Independent HP into use.
load-module module-alsa-sink device=hw:0,2
All this really is a work-around for two bugs:
Call it a bug or a missing feature, but it does not look like the Alsa snd_hda_codec_via driver allows to disable auto-muting.
Before the change to default.pa, PulseAudio already allows me to switch between two output devices - "analog output" and "analog headphones". "Analog headphones" however does the same thing as "analog output" and plays sound on the external speakers and not the headphones. I suspect that the PulseAudio module-udev-detect detects both Alsa devices but wires them wrongly.
The above still doesn't give me what I originally asked, i.e. sound on both speakers and headphones at the same time, but I realized that I don't really need that. I just need a way to switch on speakers occasionally while my headphones are plugged in.
Last edited by fax (2013-03-24 23:06:27) -
Does anyone know How to Disable "Auto Align" in [System Preferences] -> [Display] -> [Arrangement]?
It always want to align the two screens from the top when they are lined up close together and I need them to be aligned from the bottom. Since the resolution heights are so close together (1080 & 1050) it does not allow one to align side by side from the bottom as it prioritizes top alignment.
I guess I'm looking for a script to disable this feature.Anyone got any ideas?
-
How to disable auto clear feature in a text box in IE10
How to disable auto clear button in Text box in IE10
Hi Team,
I saw this question on Microsoft forum but I did not find any reply to this question, therefore, I am re-posting it.
When I run web interface application on IE10, i see there is a new feature which has 'X' at the end of text box and on clicking it it clears the text.
Are there any settings of IE10 that can be changed to disable it or some code snippet?
I find the 'X' sign at the end of text box very annoying and would like to turn it off and make it compatible with older versions of IE and other explorers.
Looking forward to your answer at the earliest.
Regards
SakshiHi,
Please try the steps in the following thread to see whether it could help:
Remove IE10's “clear field” X button on certain inputs?
http://stackoverflow.com/questions/14007655/remove-ie10s-clear-field-x-button-on-certain-inputs
Regards,
Vincent Wang
TechNet Community Support -
How to disable auto charge of iPhone via PC?
How to disable auto charge of iPhone via PC?
I'm thinking you may have the concern of not overcharging or messing with charge cycles of your phone, but according to apple the Li-ion batteries in iDevices work this way for example
-Your phone has 50% battery left, you charge it
-after using again, you're back with 50 and charging it till full once again makes it 1 charge cycle
Doesn't work like nickel batteries.
Here's the article:
Www.apple.com/batteries for some
Battery care tips. -
how to disable auto
signinHi, Dominic; yes, I tried that x2 or 3.
Finally called Apple; eventually realized I needed to re-launch Safari after deselecting autofill users and p-words.
But thank you for your help! -
How to Disable Auto Updates on Flash Player 10 using mms.cfg
Hi Friends,
I am a newbee into this.I am trying to install a customized Adobe Flash Player 10.2.153.1 in which auto updates are disabled. I went through the Adobe guidelines and found that it is possible to do the same using a MMS.CFG file. Can anyone tell me how exactly this would look like. I will be extremely thankful if someone can attach a sample of the same.
One more question...
When we disable auto updates using mms.cfg file, will this be updated in the Global Settings Manager ?
Tries from my end till now:
I tried to create a mms.cfg by editing a txt file and adding "AutoUpdateDisable=0 " and then saving teh same as mms.cfg using UTF-8 encoding. this didnt make any difference in the Global Settings manager.
Please help me...
Regards,
Diliphttp://kb2.adobe.com/cps/167/16701594.html
But it seems that you have done everything correctly; doesn't it work?
dilzmail wrote:
One more question...When we disable auto updates using mms.cfg file, will this be updated in the Global Settings Manager ?
No, I don't think so; these settings are stored in a different place.
Some users have reported that AutoUpdateDisable via mms.cfg does no longer work in Flash Player 10.3. Please check if this failure already occurs in Flash Player 10.2. -
How does one disable "check for automatic updates" in Java 6, version 17? On the Update tab, the box is checked, but it is grayed out and won't let me un-select it.
Thanks for any help.http://kb2.adobe.com/cps/167/16701594.html
But it seems that you have done everything correctly; doesn't it work?
dilzmail wrote:
One more question...When we disable auto updates using mms.cfg file, will this be updated in the Global Settings Manager ?
No, I don't think so; these settings are stored in a different place.
Some users have reported that AutoUpdateDisable via mms.cfg does no longer work in Flash Player 10.3. Please check if this failure already occurs in Flash Player 10.2. -
How to disable auto connect feature in SQLDeveloper's connections manager
Hi Guys,
I work with SQLDeveloper 2.1.1 (Patch 1)
It attempts to connect to the target always after you Right click on saved connection from within the connections' manager list.
Does any one know how to disable that auto connect feature in SQLDeveloper?
Any help would be appropriated.
Cheers!!Hi, a good question:
Here's my list of extensions installed:
- Open Insider View (4thelephant) Insider SQLDeveloper
- Oracle SQLdeveloper data modeler viewer
- Oracle SQLdeveloper Migrations - MS Access
- Oracle SQLdeveloper Migrations - MySql
- Oracle SQLdeveloper TimesTen
- Versioning support.
That's all what i can see in extensions window.
Cheers!!
eMarcel -
How to disable Auto Play of downloaded music?
Whenever I download music from a file delivery service, it automatically opens in iTunes. How can I disable a music file automatically opening in any application when I download it? I've checked Settings, and preferences for Safari, iTunes, Finder, etc. But can't seem to find the place to disable auto opening of music files.
Open the General tab of Safari's preferences and set it not to automatically open safe files. This applies to more than just music.
(126662) -
How to disable auto-clean-up in Photoshop?
Hi All,
I have an image which when opened in Photoshop appears to be cleaner (noise, bleed-through etc. removed). When I open the same image in IrfanView, I can see the noise.
Can someone please tell me how to disable the auto-clean-up in Photoshop? I would like to see the image as it is in Photoshop, without any clean-up.
Thanks,
ShamHi,
What I had uploaded is a screenshot of the image viewed in Photoshop and not the original JPEG. When I analyzed two JPEGS, one which appears cleaned up and another which doesn't appear cleaned up, the only difference I found was in the ICC profile. I am pasting both ICC profiles below.
Cleaned up:
ICC Profile:
Marker Number = 1 of 3
Profile Size : 188312 bytes
Preferred CMM Type : 'APPL' (0x4150504C)
Profile Version : 0.2.4.0 (0x02400000)
Profile Device/Class : Input Device profile ('scnr' (0x73636E72))
Data Colour Space : rgbData ('RGB ' (0x52474220))
Profile connection space (PCS) : 'Lab ' (0x4C616220)
Profile creation date : 2010-06-16 12:18:44
Profile file signature : 'acsp' (0x61637370)
Primary platform : Microsoft Corporation ('MSFT' (0x4D534654))
Profile flags : 0x00000000
Profile flags > Profile not embedded
Profile flags > Profile can't be used independently of embedded
Device Manufacturer : '....' (0x00000000)
Device Model : '....' (0x00000000)
Device attributes : 0x00000000_00000000
Device attributes > Reflective
Device attributes > Glossy
Device attributes > Media polarity = negative
Device attributes > Black & white media
Rendering intent : Perceptual
Profile creator : 'LOGO' (0x4C4F474F)
Profile ID : 0x00000000_00000000_00000000
Uncleaned one:
ICC Profile:
Marker Number = 1 of 1
Profile Size : 3144 bytes
Preferred CMM Type : 'Lino' (0x4C696E6F)
Profile Version : 0.2.1.0 (0x02100000)
Profile Device/Class : Display Device profile ('mntr' (0x6D6E7472))
Data Colour Space : rgbData ('RGB ' (0x52474220))
Profile connection space (PCS) : 'XYZ ' (0x58595A20)
Profile creation date : 1998-02-09 06:49:00
Profile file signature : 'acsp' (0x61637370)
Primary platform : Microsoft Corporation ('MSFT' (0x4D534654))
Profile flags : 0x00000000
Profile flags > Profile not embedded
Profile flags > Profile can't be used independently of embedded
Device Manufacturer : 'IEC ' (0x49454320)
Device Model : 'sRGB' (0x73524742)
Device attributes : 0x00000000_00000000
Device attributes > Reflective
Device attributes > Glossy
Device attributes > Media polarity = negative
Device attributes > Black & white media
Rendering intent : Media-Relative Colorimetric
Profile creator : 'HP ' (0x48502020)
Profile ID : 0x00000000_00000000_00000000 -
How to disable auto update jre-6u20 by script
Hi,
our users can not update java, because of domain-restrictions.
So they should not become the notification.
How can we disable auto update for version jre-6u20 by script?Trying to figure out the same thing. I came across the following two links but I don't think they will disable the updates to community help itself. So from what I can gather you need to do the following:
Turn off autoupdates to AIR (See below)
Turn off updates to Community Help (No clue how to do this)
Install Local content (See below)
Disables updates to AIR
http://help.adobe.com/en_US/air/admin/WS485a42d56cd1964167ea49bd124ef17d52a-7ff5.html#WS48 5a42d56cd1964167ea49bd124ef17d52a-7ff2
Turn off internet access/help and copy local help
http://kb2.adobe.com/cps/849/cpsid_84992.html
Turn off internet access (not sure if you need to do this one and the one above or just the one above)
http://kb2.adobe.com/cps/846/cpsid_84665.html
You can download the latest version of AIR and Community Help.
Link to latest version of community help
http://www.adobe.com/support/chc/
Hopes this helps. -
How to disable auto detect browser settings
When I want to start scan to Optimize Internet in "Easy Solve" feature of Comcast. It says DISABLE AUTO-DETECT BROWSER SETTINGS to enable scan running. Please send me the answer.
Is this page accessible to non-subscribers? If so, please provide a URL. If not, hopefully Comcast can answer this question.
-
How to disable auto-completing service request after completing last activity
How to disable standard rule, that change service request status to "Complete" when the last activity in this service request is completed?
For SCSM 2012 R2Perhaps you can use the "Closed" status as a way of indicating that your are completely finished with a service request? (This follows ITIL). It has the advantage of being an out-of-the-box feature and, by default, SR's have to be closed by
a user.
Keep in mind, though, that closed service requests are groomed out of the CMDB (356 day retention time by default, i believe). But, they'll still be available for a few years in your data warehouse.
What is your business reason for this behavior? Console views? Custom reports?
If "Closed" doesn't cut it for you, you may want to consider extending the Server Request class with your own status property that you can use for whatever your requirements are. -
How to disable auto charge via usb?
So the question is as that: is it possible to disable auto charge when plugging iphone to the macbook in order to save the battery of macbook.
Tried everything but couldn't find any solution. Moreover it seems like I was questioned something like "permit to charge iPhone via usb?" when I first plugged it to the Mac, but I'm not sure
Thanks alot for any help!!I am reasonably sure since there are no hidden menus to enable this.
Maybe you are looking for
-
I would like to upgrade my OS to the latest version. I now have 10.6.8 and my machine has 1Gb of memory. Need 2Gb for the new OS. Is is possible (and practical) to add memory to a machine that's five years old?
-
How to track my lost i phone 5
how to track my lost i phone 5 ?
-
Hi all I've been using LabVIEW internall SCC for a while and it's been great. However I have a problem now. I have about 6 versions of a code source-safed. I want to retrieve an older version to modify but it doesn't allow me to do that. Whenever I r
-
Can I modify the LineStatus and OpenQty fileds in POR1 using DI API?
Hi, guys, The addon under development will run on SBO 2005B PL35. I tried to use DI API to directly modify the values of LineStatus and Openqty in POR1 throught following codes. No error come up but the values of LineStatus and Openqty in POR1 didnot
-
How to add a custom iview to the portal tool area
Hello: We want to add some simple text like date,day and some more things to the portal tool area, where a KM search box, and collobaration link exists now. I tried to look up for the tool area iview par file, but only found, *.ept file only which do