desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #114419
[Bug 1446457] Re: [HDA-Intel - HDA Intel PCH, recording] No autoswitch
Yes, manual mentions this. Native Windows drivers open dialog to point
what device I plugged in after I plug headset. Ubuntu (Unity) also has
similar popup: http://bazaar.launchpad.net/~unity-settings-daemon-team
/unity-settings-daemon/trunk/files/head:/plugins/media-keys/what-did-
you-plug-in/ but it doesn't open, when I plug something into jack.
Xubuntu doesn't have things such as that.
acpi_listen, when I plug/unplug headset, outputs only headphone's event
jack/headphone HEADPHONE plug|unplug
event about microphone such as
jack/microphone MICROPHONE plug or unplug
is not listed in acpi_listen output
I'm not sure I have a time to figure out Takashi's sources such as that
and make patches
enum {
ALC_HEADSET_MODE_UNKNOWN,
ALC_HEADSET_MODE_UNPLUGGED,
ALC_HEADSET_MODE_HEADSET,
ALC_HEADSET_MODE_MIC,
ALC_HEADSET_MODE_HEADPHONE,
};
But I found semi-silution with acpid
I created /etc/acpi/events/acer-headset which runs script on jack acpi event:
event=jack/headphone HEADPHONE plug
action=/etc/acpi/acer-headset.sh
And script (/etc/acpi/acer-headset.sh) which opens pavucontrol to chose
input source everytime when I plug headset
#!/bin/bash
USR=<username>
XDISPLAY=":0.0" # echo $DISPLAY in users env
TAB=4 # tab with input source selection
# set X environment
export DISPLAY=${XDISPLAY}
export XAUTHORITY="/home/${USR}/.Xauthority"
sudo -u ${USR} -E pavucontrol --tab=${TAB}
The solution is quite comfortable for me. Thanks for explanation of some
details, Raymond, it helped me.
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to alsa-driver in Ubuntu.
https://bugs.launchpad.net/bugs/1446457
Title:
[HDA-Intel - HDA Intel PCH, recording] No autoswitch
Status in alsa-driver package in Ubuntu:
New
Bug description:
Acer E3-112
Ubuntu 14.04, 14.10, 15.04
After plugging in headset only headset earphones detected, mic from headset not detected and recording is only from built in mic.
Appending 'options snd-hda-intel model=dell-headset-multi' to
/etc/modprobe.d/alsa-base.conf helps to tell xubuntu that headset mic
may be plugged, but after plugging in, xubuntu doesn't automaticaly
detect that mic is plugged, it can see only headset's earphones, so i
need evreytime in pavucontrol tell xubuntu that mic is plugged in even
after adding option.
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: alsa-base 1.0.25+dfsg-0ubuntu4
ProcVersionSignature: Ubuntu 3.19.0-14.14-generic 3.19.3
Uname: Linux 3.19.0-14-generic x86_64
ApportVersion: 2.17.2-0ubuntu1
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC0: mishurov 2000 F.... pulseaudio
CurrentDesktop: XFCE
Date: Tue Apr 21 07:03:19 2015
InstallationDate: Installed on 2015-04-04 (16 days ago)
InstallationMedia: Xubuntu 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
PackageArchitecture: all
SourcePackage: alsa-driver
Symptom: audio
Symptom_Card: Built-in Audio - HDA Intel PCH
Symptom_Type: No auto-switch between inputs
Title: [HDA-Intel - HDA Intel PCH, recording] No autoswitch
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 08/20/2014
dmi.bios.vendor: Insyde Corp.
dmi.bios.version: V1.10
dmi.board.asset.tag: Type2 - Board Asset Tag
dmi.board.name: R2
dmi.board.vendor: Acer
dmi.board.version: Type2 - A01 Board Version
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: Chassis Manufacturer
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnInsydeCorp.:bvrV1.10:bd08/20/2014:svnAcer:pnNC-E3-112-C97Q:pvrV1.10:rvnAcer:rnR2:rvrType2-A01BoardVersion:cvnChassisManufacturer:ct10:cvrChassisVersion:
dmi.product.name: NC-E3-112-C97Q
dmi.product.version: V1.10
dmi.sys.vendor: Acer
mtime.conffile..etc.modprobe.d.alsa.base.conf: 2015-04-21T06:35:28.960726
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1446457/+subscriptions
References