Debian systems seems to recognize speakers but not the headphones for Lenovo laptops Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Community Moderator Election Results Why I closed the “Why is Kali so hard” questionNo headphones output on Debian BusterSound not working when both the sound card and HDMI use the Intel HDA driver. How to exchange their device loading order?Cannot find Audio Hardware for my WorkstationChanging sound chip with ALSAHow to enable both built-in audio output and HDMI audio output with PulseAudio?Low sound volume issues on Z97 motherboard and linux mint KDEHow do I set the output port on my audio card?Pulseaudio antidetects headphonesNo sound through headphones despite pavucontrol (debian stretch)No analog audio with AMD E1 - HDMI “takes over”Is there a linux mint driver for the sound card of the iMac 2017?
New Order #5: where Fibonacci and Beatty meet at Wythoff
Losing the Initialization Vector in Cipher Block Chaining
What are the performance impacts of 'functional' Rust?
Why use gamma over alpha radiation?
The following signatures were invalid: EXPKEYSIG 1397BC53640DB551
Working around an AWS network ACL rule limit
I'm having difficulty getting my players to do stuff in a sandbox campaign
Simulating Exploding Dice
Notation for two qubit composite product state
Is there a service that would inform me whenever a new direct route is scheduled from a given airport?
Stop battery usage [Ubuntu 18]
When is phishing education going too far?
How to market an anarchic city as a tourism spot to people living in civilized areas?
Fishing simulator
Can smartphones with the same camera sensor have different image quality?
Biased dice probability question
How can players take actions together that are impossible otherwise?
What do you call a plan that's an alternative plan in case your initial plan fails?
How does modal jazz use chord progressions?
Autumning in love
If A makes B more likely then B makes A more likely"
What items from the Roman-age tech-level could be used to deter all creatures from entering a small area?
Unable to start mainnet node docker container
Do working physicists consider Newtonian mechanics to be "falsified"?
Debian systems seems to recognize speakers but not the headphones for Lenovo laptops
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
2019 Community Moderator Election Results
Why I closed the “Why is Kali so hard” questionNo headphones output on Debian BusterSound not working when both the sound card and HDMI use the Intel HDA driver. How to exchange their device loading order?Cannot find Audio Hardware for my WorkstationChanging sound chip with ALSAHow to enable both built-in audio output and HDMI audio output with PulseAudio?Low sound volume issues on Z97 motherboard and linux mint KDEHow do I set the output port on my audio card?Pulseaudio antidetects headphonesNo sound through headphones despite pavucontrol (debian stretch)No analog audio with AMD E1 - HDMI “takes over”Is there a linux mint driver for the sound card of the iMac 2017?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I would be happy/comfortable to apply some patch or change in some kernel code if required. All I need is the direction as I have no idea about Linux sound architecture (pulse-audio and alsamixer implementation) in kernel.
I'm pretty sure that there must be some patch, the problem seems to be very widespread.
NOTE: Here is the description: (Could go long but I want to get it done in any way).
I initially had Ubuntu 13.04 in my laptop. After around 2 months of non-usage when I started using it again, I realized that I was getting no sound from anywhere (speakers,headphone ,etc., not even system sounds). I upgraded to Ubuntu 13.10 but issue remained the same. [The Laptop was in suspend mode last time, I don't know if that had anything to do with that]. I also suspected some hardware failure here.
At this time, I had a dual boot system (Ubuntu+Windows), I removed both of them and did a fresh install of Elementary OS - Luna (based on Ubuntu 12.04 LTS), but again I had the same issue. Then I did the following configuration and speakers started working (see alsa-base.conf snippet below), but not the headphones. When I plugged in the headphones, it did not change - sound kept coming through the speakers.
Currently, I have Elementary OS - Freya beta (based on Ubuntu 14.04) only in my system and I have the same problem. Speakers working but not the headphones. Plugging in the headphones does not mute the speakers and I get no sound from headphones also.
# Adding these lines at the end of `alsa-base.conf`, speakers started
# working fine.
options snd-hda-intel model=laptop
options snd-hda-intel position_fix=1 enable=yes
I've tried lots options specified in other posts but nothing seems to work out. For example: like trying gnome-alsamixer for headphone-jack-sense option but there is no mention of `headphones.
I could not mention all the things I have tried out else the post may go very long and unnoticed but I will add output of any command if required.
I've attached screenshots and configuration of some basic stuff to give a start about what may be going on in my system. NOTE: Connecting or not connecting headphones does not change the behavior in any of these screenshots.
Please provide me the right direction as this is something important for me and I don't want to switch to Windows just because of this stupid bug and it seems like a common problem across all Debian based systems so I'm left with no choice if this bug remain prevalent.
Configuration: (/etc/modprobe.d/alsa-base.conf)
# autoloader aliases
install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
install sound-slot-3 /sbin/modprobe snd-card-3
install sound-slot-4 /sbin/modprobe snd-card-4
install sound-slot-5 /sbin/modprobe snd-card-5
install sound-slot-6 /sbin/modprobe snd-card-6
install sound-slot-7 /sbin/modprobe snd-card-7
# Cause optional modules to be loaded above generic modules
install snd /sbin/modprobe --ignore-install snd $CMDLINE_OPTS && /sbin/modprobe
--quiet --use-blacklist snd-ioctl32 ; /sbin/modprobe --quiet --use-blacklist
snd-seq ;
#
# Workaround at bug #499695 (reverted in Ubuntu see LP #319505)
install snd-pcm /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS &&
/sbin/modprobe --quiet --use-blacklist snd-pcm-oss ; : ;
install snd-mixer /sbin/modprobe --ignore-install snd-mixer $CMDLINE_OPTS &&
/sbin/modprobe --quiet --use-blacklist snd-mixer-oss ; : ;
install snd-seq /sbin/modprobe --ignore-install snd-seq $CMDLINE_OPTS &&
/sbin/modprobe --quiet --use-blacklist snd-seq-midi ; /sbin/modprobe --quiet --use-
blacklist snd-seq-oss ; : ;
#
install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi $CMDLINE_OPTS &&
/sbin/modprobe --quiet --use-blacklist snd-seq-midi ; : ;
# Cause optional modules to be loaded above sound card driver modules
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS &&
/sbin/modprobe --quiet --use-blacklist snd-emu10k1-synth ;
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS &&
/sbin/modprobe --quiet --use-blacklist snd-seq ;
# Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS &&
/sbin/modprobe --quiet --use-blacklist saa7134-alsa ; : ;
# Prevent abnormal drivers from grabbing index 0
options bt87x index=-2
options cx88_alsa index=-2
options saa7134-alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
options snd-usb-audio index=-2
options snd-usb-caiaq index=-2
options snd-usb-ua101 index=-2
options snd-usb-us122l index=-2
options snd-usb-usx2y index=-2
# Ubuntu #62691, enable MPU for snd-cmipci
options snd-cmipci mpu_port=0x330 fm_port=0x388
# Keep snd-pcsp from being loaded as first soundcard
options snd-pcsp index=-2
# Keep snd-usb-audio from beeing loaded as first soundcard
options snd-usb-audio index=-2
#options snd-hda-intel model=laptop probe_mask=1 position_fix=1
#alias snd-card-0 snd-hda-intel
options snd-hda-intel model=laptop
options snd-hda-intel position_fix=1 enable=yes
Screenshots:



** EDIT: **
pactl list short | more
0 module-device-restore
1 module-stream-restore
2 module-card-restore
3 module-augment-properties
4 module-switch-on-port-available
5 module-alsa-card device_id="0" name="pci-0000_00_1b.0"
card_name="alsa_card.pci-0000_00_1b.0" namereg_fail=false tsched=yes
fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes
card_properties="module-udev-detect.discovered=1"
6 module-udev-detect
7 module-bluetooth-policy
8 module-bluetooth-discover
9 module-native-protocol-unix
10 module-gconf
11 module-default-device-restore
12 module-rescue-streams
13 module-always-sink
14 module-intended-roles
15 module-suspend-on-idle
16 module-systemd-login
17 module-position-event-sounds
18 module-filter-heuristics
19 module-filter-apply
20 module-x11-publish display=:0
21 module-x11-bell display=:0 sample=bell.ogg
22 module-x11-cork-request display=:0
23 module-x11-xsmp display=:0 session_manager=local/ItsNotMac:@/tmp/.ICE-
unix/1413,unix/ItsNotMac:/tmp/.ICE-unix/1413
0 alsa_output.pci-0000_00_1b.0.analog-stereo module-alsa-card.c s16le 2ch
44100Hz RUNNING
0 alsa_output.pci-0000_00_1b.0.analog-stereo.monitor module-alsa-card.c
s16le 2ch 44100Hz IDLE
1 alsa_input.pci-0000_00_1b.0.analog-stereo module-alsa-card.c s16le 2ch
44100Hz SUSPENDED
235 0 360 protocol-native.c s16le 2ch 44100Hz
0 module-systemd-login.c (null)
1 protocol-native.c gnome-settings-daemon
6 module-x11-xsmp.c (null)
7 protocol-native.c gala
8 protocol-native.c indicator-sound-service
9 protocol-native.c chrome
94 protocol-native.c gnome-settings-daemon
360 protocol-native.c chrome
365 protocol-native.c pactl
0 bell-window-system s16le 2ch 44100Hz 0.139
1 audio-volume-change s16le 2ch 44100Hz 0.067
0 alsa_card.pci-0000_00_1b.0 module-alsa-card.c
pacmd list-sinks
Welcome to PulseAudio! Use "help" for usage information.
>>> 1 sink(s) available.
* index: 0
name: <alsa_output.pci-0000_00_1b.0.analog-stereo>
driver: <module-alsa-card.c>
flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY
DYNAMIC_LATENCY
state: RUNNING
suspend cause:
priority: 9959
volume: 0: 100% 1: 100%
0: 0.00 dB 1: 0.00 dB
balance 0.00
base volume: 100%
0.00 dB
volume steps: 65537
muted: no
current latency: 23.16 ms
max request: 4 KiB
max rewind: 64 KiB
monitor source: 0
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
Stereo
used by: 1
linked by: 1
configured latency: 23.22 ms; range is 0.50 .. 371.52 ms
card: 0 <alsa_card.pci-0000_00_1b.0>
module: 5
properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "CONEXANT Analog"
alsa.id = "CONEXANT Analog"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "0"
alsa.card = "0"
alsa.card_name = "HDA Intel PCH"
alsa.long_card_name = "HDA Intel PCH at 0xe0610000 irq 44"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:00:1b.0"
sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
device.bus = "pci"
device.vendor.id = "8086"
device.vendor.name = "Intel Corporation"
device.product.id = "1e20"
device.product.name = "7 Series/C210 Series Chipset Family High Definition
Audio Controller"
device.form_factor = "internal"
device.string = "front:0"
device.buffering.buffer_size = "65536"
device.buffering.fragment_size = "32768"
device.access_mode = "mmap+timer"
device.profile.name = "analog-stereo"
device.profile.description = "Analog Stereo"
device.description = "Built-in Audio Analog Stereo"
alsa.mixer_name = "Intel PantherPoint HDMI"
alsa.components = "HDA:14f1506e,17aac023,00100003
HDA:80862806,80860101,00100000"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
ports:
analog-output-headphones: Headphones (priority 8900, latency offset 0
usec, available: unknown)
properties:
device.icon_name = "audio-headphones"
active port: <analog-output-headphones>
**pactl list short sinks: **
0 alsa_output.pci-0000_00_1b.0.analog-stereo module-alsa-card.c s16le
2ch 44100Hz IDL
audio alsa pulseaudio laptop elementary-os
|
show 5 more comments
I would be happy/comfortable to apply some patch or change in some kernel code if required. All I need is the direction as I have no idea about Linux sound architecture (pulse-audio and alsamixer implementation) in kernel.
I'm pretty sure that there must be some patch, the problem seems to be very widespread.
NOTE: Here is the description: (Could go long but I want to get it done in any way).
I initially had Ubuntu 13.04 in my laptop. After around 2 months of non-usage when I started using it again, I realized that I was getting no sound from anywhere (speakers,headphone ,etc., not even system sounds). I upgraded to Ubuntu 13.10 but issue remained the same. [The Laptop was in suspend mode last time, I don't know if that had anything to do with that]. I also suspected some hardware failure here.
At this time, I had a dual boot system (Ubuntu+Windows), I removed both of them and did a fresh install of Elementary OS - Luna (based on Ubuntu 12.04 LTS), but again I had the same issue. Then I did the following configuration and speakers started working (see alsa-base.conf snippet below), but not the headphones. When I plugged in the headphones, it did not change - sound kept coming through the speakers.
Currently, I have Elementary OS - Freya beta (based on Ubuntu 14.04) only in my system and I have the same problem. Speakers working but not the headphones. Plugging in the headphones does not mute the speakers and I get no sound from headphones also.
# Adding these lines at the end of `alsa-base.conf`, speakers started
# working fine.
options snd-hda-intel model=laptop
options snd-hda-intel position_fix=1 enable=yes
I've tried lots options specified in other posts but nothing seems to work out. For example: like trying gnome-alsamixer for headphone-jack-sense option but there is no mention of `headphones.
I could not mention all the things I have tried out else the post may go very long and unnoticed but I will add output of any command if required.
I've attached screenshots and configuration of some basic stuff to give a start about what may be going on in my system. NOTE: Connecting or not connecting headphones does not change the behavior in any of these screenshots.
Please provide me the right direction as this is something important for me and I don't want to switch to Windows just because of this stupid bug and it seems like a common problem across all Debian based systems so I'm left with no choice if this bug remain prevalent.
Configuration: (/etc/modprobe.d/alsa-base.conf)
# autoloader aliases
install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
install sound-slot-3 /sbin/modprobe snd-card-3
install sound-slot-4 /sbin/modprobe snd-card-4
install sound-slot-5 /sbin/modprobe snd-card-5
install sound-slot-6 /sbin/modprobe snd-card-6
install sound-slot-7 /sbin/modprobe snd-card-7
# Cause optional modules to be loaded above generic modules
install snd /sbin/modprobe --ignore-install snd $CMDLINE_OPTS && /sbin/modprobe
--quiet --use-blacklist snd-ioctl32 ; /sbin/modprobe --quiet --use-blacklist
snd-seq ;
#
# Workaround at bug #499695 (reverted in Ubuntu see LP #319505)
install snd-pcm /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS &&
/sbin/modprobe --quiet --use-blacklist snd-pcm-oss ; : ;
install snd-mixer /sbin/modprobe --ignore-install snd-mixer $CMDLINE_OPTS &&
/sbin/modprobe --quiet --use-blacklist snd-mixer-oss ; : ;
install snd-seq /sbin/modprobe --ignore-install snd-seq $CMDLINE_OPTS &&
/sbin/modprobe --quiet --use-blacklist snd-seq-midi ; /sbin/modprobe --quiet --use-
blacklist snd-seq-oss ; : ;
#
install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi $CMDLINE_OPTS &&
/sbin/modprobe --quiet --use-blacklist snd-seq-midi ; : ;
# Cause optional modules to be loaded above sound card driver modules
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS &&
/sbin/modprobe --quiet --use-blacklist snd-emu10k1-synth ;
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS &&
/sbin/modprobe --quiet --use-blacklist snd-seq ;
# Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS &&
/sbin/modprobe --quiet --use-blacklist saa7134-alsa ; : ;
# Prevent abnormal drivers from grabbing index 0
options bt87x index=-2
options cx88_alsa index=-2
options saa7134-alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
options snd-usb-audio index=-2
options snd-usb-caiaq index=-2
options snd-usb-ua101 index=-2
options snd-usb-us122l index=-2
options snd-usb-usx2y index=-2
# Ubuntu #62691, enable MPU for snd-cmipci
options snd-cmipci mpu_port=0x330 fm_port=0x388
# Keep snd-pcsp from being loaded as first soundcard
options snd-pcsp index=-2
# Keep snd-usb-audio from beeing loaded as first soundcard
options snd-usb-audio index=-2
#options snd-hda-intel model=laptop probe_mask=1 position_fix=1
#alias snd-card-0 snd-hda-intel
options snd-hda-intel model=laptop
options snd-hda-intel position_fix=1 enable=yes
Screenshots:



** EDIT: **
pactl list short | more
0 module-device-restore
1 module-stream-restore
2 module-card-restore
3 module-augment-properties
4 module-switch-on-port-available
5 module-alsa-card device_id="0" name="pci-0000_00_1b.0"
card_name="alsa_card.pci-0000_00_1b.0" namereg_fail=false tsched=yes
fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes
card_properties="module-udev-detect.discovered=1"
6 module-udev-detect
7 module-bluetooth-policy
8 module-bluetooth-discover
9 module-native-protocol-unix
10 module-gconf
11 module-default-device-restore
12 module-rescue-streams
13 module-always-sink
14 module-intended-roles
15 module-suspend-on-idle
16 module-systemd-login
17 module-position-event-sounds
18 module-filter-heuristics
19 module-filter-apply
20 module-x11-publish display=:0
21 module-x11-bell display=:0 sample=bell.ogg
22 module-x11-cork-request display=:0
23 module-x11-xsmp display=:0 session_manager=local/ItsNotMac:@/tmp/.ICE-
unix/1413,unix/ItsNotMac:/tmp/.ICE-unix/1413
0 alsa_output.pci-0000_00_1b.0.analog-stereo module-alsa-card.c s16le 2ch
44100Hz RUNNING
0 alsa_output.pci-0000_00_1b.0.analog-stereo.monitor module-alsa-card.c
s16le 2ch 44100Hz IDLE
1 alsa_input.pci-0000_00_1b.0.analog-stereo module-alsa-card.c s16le 2ch
44100Hz SUSPENDED
235 0 360 protocol-native.c s16le 2ch 44100Hz
0 module-systemd-login.c (null)
1 protocol-native.c gnome-settings-daemon
6 module-x11-xsmp.c (null)
7 protocol-native.c gala
8 protocol-native.c indicator-sound-service
9 protocol-native.c chrome
94 protocol-native.c gnome-settings-daemon
360 protocol-native.c chrome
365 protocol-native.c pactl
0 bell-window-system s16le 2ch 44100Hz 0.139
1 audio-volume-change s16le 2ch 44100Hz 0.067
0 alsa_card.pci-0000_00_1b.0 module-alsa-card.c
pacmd list-sinks
Welcome to PulseAudio! Use "help" for usage information.
>>> 1 sink(s) available.
* index: 0
name: <alsa_output.pci-0000_00_1b.0.analog-stereo>
driver: <module-alsa-card.c>
flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY
DYNAMIC_LATENCY
state: RUNNING
suspend cause:
priority: 9959
volume: 0: 100% 1: 100%
0: 0.00 dB 1: 0.00 dB
balance 0.00
base volume: 100%
0.00 dB
volume steps: 65537
muted: no
current latency: 23.16 ms
max request: 4 KiB
max rewind: 64 KiB
monitor source: 0
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
Stereo
used by: 1
linked by: 1
configured latency: 23.22 ms; range is 0.50 .. 371.52 ms
card: 0 <alsa_card.pci-0000_00_1b.0>
module: 5
properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "CONEXANT Analog"
alsa.id = "CONEXANT Analog"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "0"
alsa.card = "0"
alsa.card_name = "HDA Intel PCH"
alsa.long_card_name = "HDA Intel PCH at 0xe0610000 irq 44"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:00:1b.0"
sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
device.bus = "pci"
device.vendor.id = "8086"
device.vendor.name = "Intel Corporation"
device.product.id = "1e20"
device.product.name = "7 Series/C210 Series Chipset Family High Definition
Audio Controller"
device.form_factor = "internal"
device.string = "front:0"
device.buffering.buffer_size = "65536"
device.buffering.fragment_size = "32768"
device.access_mode = "mmap+timer"
device.profile.name = "analog-stereo"
device.profile.description = "Analog Stereo"
device.description = "Built-in Audio Analog Stereo"
alsa.mixer_name = "Intel PantherPoint HDMI"
alsa.components = "HDA:14f1506e,17aac023,00100003
HDA:80862806,80860101,00100000"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
ports:
analog-output-headphones: Headphones (priority 8900, latency offset 0
usec, available: unknown)
properties:
device.icon_name = "audio-headphones"
active port: <analog-output-headphones>
**pactl list short sinks: **
0 alsa_output.pci-0000_00_1b.0.analog-stereo module-alsa-card.c s16le
2ch 44100Hz IDL
audio alsa pulseaudio laptop elementary-os
You need to reformat this question as there code and URL Tags mixed with bolding etc. Would you like me to help you? After updating it, I may be able to offer some insight.
– eyoung100
Sep 30 '14 at 22:40
@eyoung100 I am not sure what do you mean exactly. If you could help me out in reformatting, this would be really great. Thanks a lot
– Udit Gupta
Sep 30 '14 at 22:54
1
Try the following in a terminal:pactl list shortlocate the headphones then lauchpactl set-default-sink the-second-field-of-the-previous-commandand now locate the number of the device withpacmd list-sinksand unmunte that device withpacmd set-sink-mute number-you-got-from-previous-command false.
– YoMismo
Oct 27 '14 at 12:13
1
I would try an alternate pair of headphones, just to make sures the current ones weren't faulting on some device-attached check.
– rhoyerboat
Dec 5 '14 at 15:25
1
Just in case this helps - we seem to have a conception that laptop audio is one device, that auto-detects whether to play through speakers or headphones, and indeed this is the way the factory OS is often set up. However, when I installed FreeBSD on my laptop, I actually noticed three audio devices, with the speaker being default regardless of whether there were headphones in the socket or not. I couldn't get that working either. Sorry, I just thought this might be helpful.
– felixphew
Dec 28 '14 at 19:14
|
show 5 more comments
I would be happy/comfortable to apply some patch or change in some kernel code if required. All I need is the direction as I have no idea about Linux sound architecture (pulse-audio and alsamixer implementation) in kernel.
I'm pretty sure that there must be some patch, the problem seems to be very widespread.
NOTE: Here is the description: (Could go long but I want to get it done in any way).
I initially had Ubuntu 13.04 in my laptop. After around 2 months of non-usage when I started using it again, I realized that I was getting no sound from anywhere (speakers,headphone ,etc., not even system sounds). I upgraded to Ubuntu 13.10 but issue remained the same. [The Laptop was in suspend mode last time, I don't know if that had anything to do with that]. I also suspected some hardware failure here.
At this time, I had a dual boot system (Ubuntu+Windows), I removed both of them and did a fresh install of Elementary OS - Luna (based on Ubuntu 12.04 LTS), but again I had the same issue. Then I did the following configuration and speakers started working (see alsa-base.conf snippet below), but not the headphones. When I plugged in the headphones, it did not change - sound kept coming through the speakers.
Currently, I have Elementary OS - Freya beta (based on Ubuntu 14.04) only in my system and I have the same problem. Speakers working but not the headphones. Plugging in the headphones does not mute the speakers and I get no sound from headphones also.
# Adding these lines at the end of `alsa-base.conf`, speakers started
# working fine.
options snd-hda-intel model=laptop
options snd-hda-intel position_fix=1 enable=yes
I've tried lots options specified in other posts but nothing seems to work out. For example: like trying gnome-alsamixer for headphone-jack-sense option but there is no mention of `headphones.
I could not mention all the things I have tried out else the post may go very long and unnoticed but I will add output of any command if required.
I've attached screenshots and configuration of some basic stuff to give a start about what may be going on in my system. NOTE: Connecting or not connecting headphones does not change the behavior in any of these screenshots.
Please provide me the right direction as this is something important for me and I don't want to switch to Windows just because of this stupid bug and it seems like a common problem across all Debian based systems so I'm left with no choice if this bug remain prevalent.
Configuration: (/etc/modprobe.d/alsa-base.conf)
# autoloader aliases
install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
install sound-slot-3 /sbin/modprobe snd-card-3
install sound-slot-4 /sbin/modprobe snd-card-4
install sound-slot-5 /sbin/modprobe snd-card-5
install sound-slot-6 /sbin/modprobe snd-card-6
install sound-slot-7 /sbin/modprobe snd-card-7
# Cause optional modules to be loaded above generic modules
install snd /sbin/modprobe --ignore-install snd $CMDLINE_OPTS && /sbin/modprobe
--quiet --use-blacklist snd-ioctl32 ; /sbin/modprobe --quiet --use-blacklist
snd-seq ;
#
# Workaround at bug #499695 (reverted in Ubuntu see LP #319505)
install snd-pcm /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS &&
/sbin/modprobe --quiet --use-blacklist snd-pcm-oss ; : ;
install snd-mixer /sbin/modprobe --ignore-install snd-mixer $CMDLINE_OPTS &&
/sbin/modprobe --quiet --use-blacklist snd-mixer-oss ; : ;
install snd-seq /sbin/modprobe --ignore-install snd-seq $CMDLINE_OPTS &&
/sbin/modprobe --quiet --use-blacklist snd-seq-midi ; /sbin/modprobe --quiet --use-
blacklist snd-seq-oss ; : ;
#
install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi $CMDLINE_OPTS &&
/sbin/modprobe --quiet --use-blacklist snd-seq-midi ; : ;
# Cause optional modules to be loaded above sound card driver modules
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS &&
/sbin/modprobe --quiet --use-blacklist snd-emu10k1-synth ;
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS &&
/sbin/modprobe --quiet --use-blacklist snd-seq ;
# Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS &&
/sbin/modprobe --quiet --use-blacklist saa7134-alsa ; : ;
# Prevent abnormal drivers from grabbing index 0
options bt87x index=-2
options cx88_alsa index=-2
options saa7134-alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
options snd-usb-audio index=-2
options snd-usb-caiaq index=-2
options snd-usb-ua101 index=-2
options snd-usb-us122l index=-2
options snd-usb-usx2y index=-2
# Ubuntu #62691, enable MPU for snd-cmipci
options snd-cmipci mpu_port=0x330 fm_port=0x388
# Keep snd-pcsp from being loaded as first soundcard
options snd-pcsp index=-2
# Keep snd-usb-audio from beeing loaded as first soundcard
options snd-usb-audio index=-2
#options snd-hda-intel model=laptop probe_mask=1 position_fix=1
#alias snd-card-0 snd-hda-intel
options snd-hda-intel model=laptop
options snd-hda-intel position_fix=1 enable=yes
Screenshots:



** EDIT: **
pactl list short | more
0 module-device-restore
1 module-stream-restore
2 module-card-restore
3 module-augment-properties
4 module-switch-on-port-available
5 module-alsa-card device_id="0" name="pci-0000_00_1b.0"
card_name="alsa_card.pci-0000_00_1b.0" namereg_fail=false tsched=yes
fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes
card_properties="module-udev-detect.discovered=1"
6 module-udev-detect
7 module-bluetooth-policy
8 module-bluetooth-discover
9 module-native-protocol-unix
10 module-gconf
11 module-default-device-restore
12 module-rescue-streams
13 module-always-sink
14 module-intended-roles
15 module-suspend-on-idle
16 module-systemd-login
17 module-position-event-sounds
18 module-filter-heuristics
19 module-filter-apply
20 module-x11-publish display=:0
21 module-x11-bell display=:0 sample=bell.ogg
22 module-x11-cork-request display=:0
23 module-x11-xsmp display=:0 session_manager=local/ItsNotMac:@/tmp/.ICE-
unix/1413,unix/ItsNotMac:/tmp/.ICE-unix/1413
0 alsa_output.pci-0000_00_1b.0.analog-stereo module-alsa-card.c s16le 2ch
44100Hz RUNNING
0 alsa_output.pci-0000_00_1b.0.analog-stereo.monitor module-alsa-card.c
s16le 2ch 44100Hz IDLE
1 alsa_input.pci-0000_00_1b.0.analog-stereo module-alsa-card.c s16le 2ch
44100Hz SUSPENDED
235 0 360 protocol-native.c s16le 2ch 44100Hz
0 module-systemd-login.c (null)
1 protocol-native.c gnome-settings-daemon
6 module-x11-xsmp.c (null)
7 protocol-native.c gala
8 protocol-native.c indicator-sound-service
9 protocol-native.c chrome
94 protocol-native.c gnome-settings-daemon
360 protocol-native.c chrome
365 protocol-native.c pactl
0 bell-window-system s16le 2ch 44100Hz 0.139
1 audio-volume-change s16le 2ch 44100Hz 0.067
0 alsa_card.pci-0000_00_1b.0 module-alsa-card.c
pacmd list-sinks
Welcome to PulseAudio! Use "help" for usage information.
>>> 1 sink(s) available.
* index: 0
name: <alsa_output.pci-0000_00_1b.0.analog-stereo>
driver: <module-alsa-card.c>
flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY
DYNAMIC_LATENCY
state: RUNNING
suspend cause:
priority: 9959
volume: 0: 100% 1: 100%
0: 0.00 dB 1: 0.00 dB
balance 0.00
base volume: 100%
0.00 dB
volume steps: 65537
muted: no
current latency: 23.16 ms
max request: 4 KiB
max rewind: 64 KiB
monitor source: 0
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
Stereo
used by: 1
linked by: 1
configured latency: 23.22 ms; range is 0.50 .. 371.52 ms
card: 0 <alsa_card.pci-0000_00_1b.0>
module: 5
properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "CONEXANT Analog"
alsa.id = "CONEXANT Analog"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "0"
alsa.card = "0"
alsa.card_name = "HDA Intel PCH"
alsa.long_card_name = "HDA Intel PCH at 0xe0610000 irq 44"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:00:1b.0"
sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
device.bus = "pci"
device.vendor.id = "8086"
device.vendor.name = "Intel Corporation"
device.product.id = "1e20"
device.product.name = "7 Series/C210 Series Chipset Family High Definition
Audio Controller"
device.form_factor = "internal"
device.string = "front:0"
device.buffering.buffer_size = "65536"
device.buffering.fragment_size = "32768"
device.access_mode = "mmap+timer"
device.profile.name = "analog-stereo"
device.profile.description = "Analog Stereo"
device.description = "Built-in Audio Analog Stereo"
alsa.mixer_name = "Intel PantherPoint HDMI"
alsa.components = "HDA:14f1506e,17aac023,00100003
HDA:80862806,80860101,00100000"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
ports:
analog-output-headphones: Headphones (priority 8900, latency offset 0
usec, available: unknown)
properties:
device.icon_name = "audio-headphones"
active port: <analog-output-headphones>
**pactl list short sinks: **
0 alsa_output.pci-0000_00_1b.0.analog-stereo module-alsa-card.c s16le
2ch 44100Hz IDL
audio alsa pulseaudio laptop elementary-os
I would be happy/comfortable to apply some patch or change in some kernel code if required. All I need is the direction as I have no idea about Linux sound architecture (pulse-audio and alsamixer implementation) in kernel.
I'm pretty sure that there must be some patch, the problem seems to be very widespread.
NOTE: Here is the description: (Could go long but I want to get it done in any way).
I initially had Ubuntu 13.04 in my laptop. After around 2 months of non-usage when I started using it again, I realized that I was getting no sound from anywhere (speakers,headphone ,etc., not even system sounds). I upgraded to Ubuntu 13.10 but issue remained the same. [The Laptop was in suspend mode last time, I don't know if that had anything to do with that]. I also suspected some hardware failure here.
At this time, I had a dual boot system (Ubuntu+Windows), I removed both of them and did a fresh install of Elementary OS - Luna (based on Ubuntu 12.04 LTS), but again I had the same issue. Then I did the following configuration and speakers started working (see alsa-base.conf snippet below), but not the headphones. When I plugged in the headphones, it did not change - sound kept coming through the speakers.
Currently, I have Elementary OS - Freya beta (based on Ubuntu 14.04) only in my system and I have the same problem. Speakers working but not the headphones. Plugging in the headphones does not mute the speakers and I get no sound from headphones also.
# Adding these lines at the end of `alsa-base.conf`, speakers started
# working fine.
options snd-hda-intel model=laptop
options snd-hda-intel position_fix=1 enable=yes
I've tried lots options specified in other posts but nothing seems to work out. For example: like trying gnome-alsamixer for headphone-jack-sense option but there is no mention of `headphones.
I could not mention all the things I have tried out else the post may go very long and unnoticed but I will add output of any command if required.
I've attached screenshots and configuration of some basic stuff to give a start about what may be going on in my system. NOTE: Connecting or not connecting headphones does not change the behavior in any of these screenshots.
Please provide me the right direction as this is something important for me and I don't want to switch to Windows just because of this stupid bug and it seems like a common problem across all Debian based systems so I'm left with no choice if this bug remain prevalent.
Configuration: (/etc/modprobe.d/alsa-base.conf)
# autoloader aliases
install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
install sound-slot-3 /sbin/modprobe snd-card-3
install sound-slot-4 /sbin/modprobe snd-card-4
install sound-slot-5 /sbin/modprobe snd-card-5
install sound-slot-6 /sbin/modprobe snd-card-6
install sound-slot-7 /sbin/modprobe snd-card-7
# Cause optional modules to be loaded above generic modules
install snd /sbin/modprobe --ignore-install snd $CMDLINE_OPTS && /sbin/modprobe
--quiet --use-blacklist snd-ioctl32 ; /sbin/modprobe --quiet --use-blacklist
snd-seq ;
#
# Workaround at bug #499695 (reverted in Ubuntu see LP #319505)
install snd-pcm /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS &&
/sbin/modprobe --quiet --use-blacklist snd-pcm-oss ; : ;
install snd-mixer /sbin/modprobe --ignore-install snd-mixer $CMDLINE_OPTS &&
/sbin/modprobe --quiet --use-blacklist snd-mixer-oss ; : ;
install snd-seq /sbin/modprobe --ignore-install snd-seq $CMDLINE_OPTS &&
/sbin/modprobe --quiet --use-blacklist snd-seq-midi ; /sbin/modprobe --quiet --use-
blacklist snd-seq-oss ; : ;
#
install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi $CMDLINE_OPTS &&
/sbin/modprobe --quiet --use-blacklist snd-seq-midi ; : ;
# Cause optional modules to be loaded above sound card driver modules
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS &&
/sbin/modprobe --quiet --use-blacklist snd-emu10k1-synth ;
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS &&
/sbin/modprobe --quiet --use-blacklist snd-seq ;
# Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS &&
/sbin/modprobe --quiet --use-blacklist saa7134-alsa ; : ;
# Prevent abnormal drivers from grabbing index 0
options bt87x index=-2
options cx88_alsa index=-2
options saa7134-alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
options snd-usb-audio index=-2
options snd-usb-caiaq index=-2
options snd-usb-ua101 index=-2
options snd-usb-us122l index=-2
options snd-usb-usx2y index=-2
# Ubuntu #62691, enable MPU for snd-cmipci
options snd-cmipci mpu_port=0x330 fm_port=0x388
# Keep snd-pcsp from being loaded as first soundcard
options snd-pcsp index=-2
# Keep snd-usb-audio from beeing loaded as first soundcard
options snd-usb-audio index=-2
#options snd-hda-intel model=laptop probe_mask=1 position_fix=1
#alias snd-card-0 snd-hda-intel
options snd-hda-intel model=laptop
options snd-hda-intel position_fix=1 enable=yes
Screenshots:



** EDIT: **
pactl list short | more
0 module-device-restore
1 module-stream-restore
2 module-card-restore
3 module-augment-properties
4 module-switch-on-port-available
5 module-alsa-card device_id="0" name="pci-0000_00_1b.0"
card_name="alsa_card.pci-0000_00_1b.0" namereg_fail=false tsched=yes
fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes
card_properties="module-udev-detect.discovered=1"
6 module-udev-detect
7 module-bluetooth-policy
8 module-bluetooth-discover
9 module-native-protocol-unix
10 module-gconf
11 module-default-device-restore
12 module-rescue-streams
13 module-always-sink
14 module-intended-roles
15 module-suspend-on-idle
16 module-systemd-login
17 module-position-event-sounds
18 module-filter-heuristics
19 module-filter-apply
20 module-x11-publish display=:0
21 module-x11-bell display=:0 sample=bell.ogg
22 module-x11-cork-request display=:0
23 module-x11-xsmp display=:0 session_manager=local/ItsNotMac:@/tmp/.ICE-
unix/1413,unix/ItsNotMac:/tmp/.ICE-unix/1413
0 alsa_output.pci-0000_00_1b.0.analog-stereo module-alsa-card.c s16le 2ch
44100Hz RUNNING
0 alsa_output.pci-0000_00_1b.0.analog-stereo.monitor module-alsa-card.c
s16le 2ch 44100Hz IDLE
1 alsa_input.pci-0000_00_1b.0.analog-stereo module-alsa-card.c s16le 2ch
44100Hz SUSPENDED
235 0 360 protocol-native.c s16le 2ch 44100Hz
0 module-systemd-login.c (null)
1 protocol-native.c gnome-settings-daemon
6 module-x11-xsmp.c (null)
7 protocol-native.c gala
8 protocol-native.c indicator-sound-service
9 protocol-native.c chrome
94 protocol-native.c gnome-settings-daemon
360 protocol-native.c chrome
365 protocol-native.c pactl
0 bell-window-system s16le 2ch 44100Hz 0.139
1 audio-volume-change s16le 2ch 44100Hz 0.067
0 alsa_card.pci-0000_00_1b.0 module-alsa-card.c
pacmd list-sinks
Welcome to PulseAudio! Use "help" for usage information.
>>> 1 sink(s) available.
* index: 0
name: <alsa_output.pci-0000_00_1b.0.analog-stereo>
driver: <module-alsa-card.c>
flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY
DYNAMIC_LATENCY
state: RUNNING
suspend cause:
priority: 9959
volume: 0: 100% 1: 100%
0: 0.00 dB 1: 0.00 dB
balance 0.00
base volume: 100%
0.00 dB
volume steps: 65537
muted: no
current latency: 23.16 ms
max request: 4 KiB
max rewind: 64 KiB
monitor source: 0
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
Stereo
used by: 1
linked by: 1
configured latency: 23.22 ms; range is 0.50 .. 371.52 ms
card: 0 <alsa_card.pci-0000_00_1b.0>
module: 5
properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "CONEXANT Analog"
alsa.id = "CONEXANT Analog"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "0"
alsa.card = "0"
alsa.card_name = "HDA Intel PCH"
alsa.long_card_name = "HDA Intel PCH at 0xe0610000 irq 44"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:00:1b.0"
sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
device.bus = "pci"
device.vendor.id = "8086"
device.vendor.name = "Intel Corporation"
device.product.id = "1e20"
device.product.name = "7 Series/C210 Series Chipset Family High Definition
Audio Controller"
device.form_factor = "internal"
device.string = "front:0"
device.buffering.buffer_size = "65536"
device.buffering.fragment_size = "32768"
device.access_mode = "mmap+timer"
device.profile.name = "analog-stereo"
device.profile.description = "Analog Stereo"
device.description = "Built-in Audio Analog Stereo"
alsa.mixer_name = "Intel PantherPoint HDMI"
alsa.components = "HDA:14f1506e,17aac023,00100003
HDA:80862806,80860101,00100000"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
ports:
analog-output-headphones: Headphones (priority 8900, latency offset 0
usec, available: unknown)
properties:
device.icon_name = "audio-headphones"
active port: <analog-output-headphones>
**pactl list short sinks: **
0 alsa_output.pci-0000_00_1b.0.analog-stereo module-alsa-card.c s16le
2ch 44100Hz IDL
audio alsa pulseaudio laptop elementary-os
audio alsa pulseaudio laptop elementary-os
edited 17 hours ago
Rui F Ribeiro
42.1k1483142
42.1k1483142
asked Sep 23 '14 at 21:57
Udit GuptaUdit Gupta
12819
12819
You need to reformat this question as there code and URL Tags mixed with bolding etc. Would you like me to help you? After updating it, I may be able to offer some insight.
– eyoung100
Sep 30 '14 at 22:40
@eyoung100 I am not sure what do you mean exactly. If you could help me out in reformatting, this would be really great. Thanks a lot
– Udit Gupta
Sep 30 '14 at 22:54
1
Try the following in a terminal:pactl list shortlocate the headphones then lauchpactl set-default-sink the-second-field-of-the-previous-commandand now locate the number of the device withpacmd list-sinksand unmunte that device withpacmd set-sink-mute number-you-got-from-previous-command false.
– YoMismo
Oct 27 '14 at 12:13
1
I would try an alternate pair of headphones, just to make sures the current ones weren't faulting on some device-attached check.
– rhoyerboat
Dec 5 '14 at 15:25
1
Just in case this helps - we seem to have a conception that laptop audio is one device, that auto-detects whether to play through speakers or headphones, and indeed this is the way the factory OS is often set up. However, when I installed FreeBSD on my laptop, I actually noticed three audio devices, with the speaker being default regardless of whether there were headphones in the socket or not. I couldn't get that working either. Sorry, I just thought this might be helpful.
– felixphew
Dec 28 '14 at 19:14
|
show 5 more comments
You need to reformat this question as there code and URL Tags mixed with bolding etc. Would you like me to help you? After updating it, I may be able to offer some insight.
– eyoung100
Sep 30 '14 at 22:40
@eyoung100 I am not sure what do you mean exactly. If you could help me out in reformatting, this would be really great. Thanks a lot
– Udit Gupta
Sep 30 '14 at 22:54
1
Try the following in a terminal:pactl list shortlocate the headphones then lauchpactl set-default-sink the-second-field-of-the-previous-commandand now locate the number of the device withpacmd list-sinksand unmunte that device withpacmd set-sink-mute number-you-got-from-previous-command false.
– YoMismo
Oct 27 '14 at 12:13
1
I would try an alternate pair of headphones, just to make sures the current ones weren't faulting on some device-attached check.
– rhoyerboat
Dec 5 '14 at 15:25
1
Just in case this helps - we seem to have a conception that laptop audio is one device, that auto-detects whether to play through speakers or headphones, and indeed this is the way the factory OS is often set up. However, when I installed FreeBSD on my laptop, I actually noticed three audio devices, with the speaker being default regardless of whether there were headphones in the socket or not. I couldn't get that working either. Sorry, I just thought this might be helpful.
– felixphew
Dec 28 '14 at 19:14
You need to reformat this question as there code and URL Tags mixed with bolding etc. Would you like me to help you? After updating it, I may be able to offer some insight.
– eyoung100
Sep 30 '14 at 22:40
You need to reformat this question as there code and URL Tags mixed with bolding etc. Would you like me to help you? After updating it, I may be able to offer some insight.
– eyoung100
Sep 30 '14 at 22:40
@eyoung100 I am not sure what do you mean exactly. If you could help me out in reformatting, this would be really great. Thanks a lot
– Udit Gupta
Sep 30 '14 at 22:54
@eyoung100 I am not sure what do you mean exactly. If you could help me out in reformatting, this would be really great. Thanks a lot
– Udit Gupta
Sep 30 '14 at 22:54
1
1
Try the following in a terminal:
pactl list short locate the headphones then lauch pactl set-default-sink the-second-field-of-the-previous-command and now locate the number of the device with pacmd list-sinks and unmunte that device with pacmd set-sink-mute number-you-got-from-previous-command false.– YoMismo
Oct 27 '14 at 12:13
Try the following in a terminal:
pactl list short locate the headphones then lauch pactl set-default-sink the-second-field-of-the-previous-command and now locate the number of the device with pacmd list-sinks and unmunte that device with pacmd set-sink-mute number-you-got-from-previous-command false.– YoMismo
Oct 27 '14 at 12:13
1
1
I would try an alternate pair of headphones, just to make sures the current ones weren't faulting on some device-attached check.
– rhoyerboat
Dec 5 '14 at 15:25
I would try an alternate pair of headphones, just to make sures the current ones weren't faulting on some device-attached check.
– rhoyerboat
Dec 5 '14 at 15:25
1
1
Just in case this helps - we seem to have a conception that laptop audio is one device, that auto-detects whether to play through speakers or headphones, and indeed this is the way the factory OS is often set up. However, when I installed FreeBSD on my laptop, I actually noticed three audio devices, with the speaker being default regardless of whether there were headphones in the socket or not. I couldn't get that working either. Sorry, I just thought this might be helpful.
– felixphew
Dec 28 '14 at 19:14
Just in case this helps - we seem to have a conception that laptop audio is one device, that auto-detects whether to play through speakers or headphones, and indeed this is the way the factory OS is often set up. However, when I installed FreeBSD on my laptop, I actually noticed three audio devices, with the speaker being default regardless of whether there were headphones in the socket or not. I couldn't get that working either. Sorry, I just thought this might be helpful.
– felixphew
Dec 28 '14 at 19:14
|
show 5 more comments
1 Answer
1
active
oldest
votes
This might be a silly answer, but could it be hardware ? Are you sure the headphone worked in Windows ?
I've seen that the lenovo has a combo headphone/mic socket, and there are people who have reported problems using a headphone with it.
The Lenovo community has a forum article describing an issue similar to yours here. With an answer here
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f157131%2fdebian-systems-seems-to-recognize-speakers-but-not-the-headphones-for-lenovo-lap%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
This might be a silly answer, but could it be hardware ? Are you sure the headphone worked in Windows ?
I've seen that the lenovo has a combo headphone/mic socket, and there are people who have reported problems using a headphone with it.
The Lenovo community has a forum article describing an issue similar to yours here. With an answer here
add a comment |
This might be a silly answer, but could it be hardware ? Are you sure the headphone worked in Windows ?
I've seen that the lenovo has a combo headphone/mic socket, and there are people who have reported problems using a headphone with it.
The Lenovo community has a forum article describing an issue similar to yours here. With an answer here
add a comment |
This might be a silly answer, but could it be hardware ? Are you sure the headphone worked in Windows ?
I've seen that the lenovo has a combo headphone/mic socket, and there are people who have reported problems using a headphone with it.
The Lenovo community has a forum article describing an issue similar to yours here. With an answer here
This might be a silly answer, but could it be hardware ? Are you sure the headphone worked in Windows ?
I've seen that the lenovo has a combo headphone/mic socket, and there are people who have reported problems using a headphone with it.
The Lenovo community has a forum article describing an issue similar to yours here. With an answer here
answered Jun 11 '15 at 14:07
X TianX Tian
7,85512237
7,85512237
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f157131%2fdebian-systems-seems-to-recognize-speakers-but-not-the-headphones-for-lenovo-lap%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
-alsa, audio, elementary-os, laptop, pulseaudio
You need to reformat this question as there code and URL Tags mixed with bolding etc. Would you like me to help you? After updating it, I may be able to offer some insight.
– eyoung100
Sep 30 '14 at 22:40
@eyoung100 I am not sure what do you mean exactly. If you could help me out in reformatting, this would be really great. Thanks a lot
– Udit Gupta
Sep 30 '14 at 22:54
1
Try the following in a terminal:
pactl list shortlocate the headphones then lauchpactl set-default-sink the-second-field-of-the-previous-commandand now locate the number of the device withpacmd list-sinksand unmunte that device withpacmd set-sink-mute number-you-got-from-previous-command false.– YoMismo
Oct 27 '14 at 12:13
1
I would try an alternate pair of headphones, just to make sures the current ones weren't faulting on some device-attached check.
– rhoyerboat
Dec 5 '14 at 15:25
1
Just in case this helps - we seem to have a conception that laptop audio is one device, that auto-detects whether to play through speakers or headphones, and indeed this is the way the factory OS is often set up. However, when I installed FreeBSD on my laptop, I actually noticed three audio devices, with the speaker being default regardless of whether there were headphones in the socket or not. I couldn't get that working either. Sorry, I just thought this might be helpful.
– felixphew
Dec 28 '14 at 19:14