LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 02-03-2020, 12:08 PM   #1
wowbaggerBR
LQ Newbie
 
Registered: Feb 2020
Posts: 23

Rep: Reputation: Disabled
Angry Headphone jack woes on Samsung Notebook 7 Force


Guys, I'm having some issues with my new laptop, but the more urgent of them all is the headphone jack sound output, which doesn't work.

Whenever I plug a headphone, all I got is a very faint and distorted sound, even with the volume at 150%. It's kinda hard to describe the distortion not being a native English speaker, but it is like a buzzing effect applied on top of the sound to the point you can't really discern what is playing.

I don't really know where to begin to debug this, so I ask for help! I can't stay on Windows any longer.

For more context:

I'm running Kubuntu 19.10 with every thing up to date
Tried with different headphones to no avail
Everything works on Windows 10
Using a dongle through USB-C works, but it is far from ideal
Bluetooth is not really an option: it works, but it gets confused with the 2,4 GHz Wi-Fi signal - thanks Intel - so I can either use Bluetooth or the Wi-Fi
 
Old 02-03-2020, 12:27 PM   #2
vtel57
Senior Member
 
Registered: Jul 2006
Location: USA
Distribution: Slackware64 - 14.2 w/ Xfce
Posts: 1,631

Rep: Reputation: 489Reputation: 489Reputation: 489Reputation: 489Reputation: 489
A search reveals numerous articles related to headphone failure and PulseAudio settings/configs. This may be what you're experiencing.

Try the fix on this fellow's post:

https://pricklytech.wordpress.com/20...gged-in-fixed/
 
Old 02-03-2020, 04:25 PM   #3
wowbaggerBR
LQ Newbie
 
Registered: Feb 2020
Posts: 23

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by vtel57 View Post
A search reveals numerous articles related to headphone failure and PulseAudio settings/configs. This may be what you're experiencing.

Try the fix on this fellow's post:

https://pricklytech.wordpress.com/20...gged-in-fixed/
Oh thanks for the reply, I have been struggling with this for some time now. I forgot to mention that I've tried finding out if the
headphones were muted in alsamixer and pulseaudio and a bunch of other stuff, but nothing seems to work.

In the link that you posted, the autor explains that in his case, the alsamixer didn't detect the headphone plugin event. Here it does: it unmutes the headphone output as soons as I plug it.

In any case, I followed what the link suggests, but my analog-output-headphone.conf is different from his, it seems: he suggests commenting the line:

Code:
[Jack_InputDevice]
#required-any = any
Which doesn't exist on mine (maybe due to the fact that this tip seems to be related to a much older version?). On mine, the structure is as follows:

Code:
[General]
priority = 99
description-key = analog-output-headphones

[Properties]
device.icon_name = audio-headphones

[Jack Dock Headphone]
required-any = any

[Jack Dock Headphone Phantom]
required-any = any
state.plugged = unknown
state.unplugged = unknown

[Jack Front Headphone]
required-any = any

[Jack Front Headphone Phantom]
required-any = any
state.plugged = unknown
state.unplugged = unknown

[Jack Headphone]
required-any = any

[Jack Headphone Phantom]
required-any = any
state.plugged = unknown
state.unplugged = unknown
Plus, there is a bunch of "Element" fields that seems to be related with headphone settings. I have also noticed that I got a analog-output-headphone2.conf file.
 
Old 02-03-2020, 04:53 PM   #4
vtel57
Senior Member
 
Registered: Jul 2006
Location: USA
Distribution: Slackware64 - 14.2 w/ Xfce
Posts: 1,631

Rep: Reputation: 489Reputation: 489Reputation: 489Reputation: 489Reputation: 489
Hmm... well, I've never used headphones on a lappy, so...

I'm not at all sure what advice to give you at this point. Be patient, though. I'm sure other's will pop in here with some suggestions for you.

Oh, and another quick search using "Ubuntu 19.10 no headphone on laptop" provided this:

https://askubuntu.com/questions/1204...eadphone-sound
 
Old 02-03-2020, 05:36 PM   #5
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,117
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
Quote:
I don't really know where to begin to debug this
Might help to look at details on your gear.

so.

Code:
inxi -v8 -z
Code:
aplay -l

Last edited by rokytnji; 02-03-2020 at 05:37 PM.
 
2 members found this post helpful.
Old 02-03-2020, 07:05 PM   #6
wowbaggerBR
LQ Newbie
 
Registered: Feb 2020
Posts: 23

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by rokytnji View Post
Might help to look at details on your gear.

so.

Code:
inxi -v8 -z
Code:
aplay -l
inxi -v8 -z output:

Code:
System:    Host: filipe-760XBE Kernel: 5.3.0-29-generic x86_64 bits: 64 compiler: gcc v: 9.2.1 
           parameters: BOOT_IMAGE=/boot/vmlinuz-5.3.0-29-generic 
           root=UUID=1f5fa666-5ca1-436e-9cba-110c5307b683 ro quiet splash vt.handoff=7 
           Console: N/A wm: kwin_x11 dm: SDDM Distro: Ubuntu 19.10 (Eoan Ermine) 
Machine:   Type: Laptop System: SAMSUNG product: 760XBE v: P03REZ serial: <filter> Chassis: type: 10 
           serial: <filter> 
           Mobo: SAMSUNG model: NP760XBE-XW1BR v: SGL9947A0Y-C01-G003-S0001+10.0.17763 serial: <filter> 
           UEFI: American Megatrends v: P03REZ.041.191104.FL date: 11/04/2019 
Battery:   ID-1: BAT1 charge: 36.8 Wh condition: 43.3/43.1 Wh (101%) volts: 12.5/11.4 
           model: SAMSUNG Electronics SR Real Battery type: Li-ion serial: <filter> status: Unknown cycles: 68 
Memory:    RAM: total: 15.53 GiB used: 1.64 GiB (10.6%) 
           Array-1: capacity: 32 GiB slots: 2 EC: None max module size: 16 GiB note: est. 
           Device-1: ChannelA-DIMM0 size: 8 GiB speed: 2400 MT/s type: DDR4 detail: synchronous 
           bus width: 64 bits total: 64 bits manufacturer: Samsung part-no: M471A1K43BB1-CRC serial: N/A 
           Device-2: ChannelB-DIMM0 size: 8 GiB speed: 2400 MT/s type: DDR4 detail: synchronous 
           bus width: 64 bits total: 64 bits manufacturer: Samsung part-no: M471A1K43CB1-CRC serial: <filter> 
PCI Slots: Message: No PCI slot data found. 
CPU:       Topology: Quad Core model: Intel Core i7-8565U bits: 64 type: MT MCP arch: Kaby Lake family: 6 
           model-id: 8E (142) stepping: B (11) microcode: CA L1 cache: 256 KiB L2 cache: 8192 KiB 
           L3 cache: 8192 KiB bogomips: 31999 
           Speed: 799 MHz min/max: 400/4600 MHz Core speeds (MHz): 1: 799 2: 800 3: 800 4: 800 5: 799 6: 799 
           7: 800 8: 800 
           Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat arch_capabilities arch_perfmon art avx 
           avx2 bmi1 bmi2 bts clflush clflushopt cmov constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64 
           dtherm dts epb ept ept_ad erms est f16c flexpriority flush_l1d fma fpu fsgsbase fxsr ht hwp 
           hwp_act_window hwp_epp hwp_notify ibpb ibrs ida intel_pt invpcid invpcid_single lahf_lm lm mca mce 
           md_clear mmx monitor movbe mpx msr mtrr nonstop_tsc nopl nx pae pat pbe pcid pclmulqdq pdcm pdpe1gb 
           pebs pge pln pni popcnt pse pse36 pts rdrand rdseed rdtscp rep_good sdbg sep smap smep ss ssbd sse 
           sse2 sse4_1 sse4_2 ssse3 stibp syscall tm tm2 tpr_shadow tsc tsc_adjust tsc_deadline_timer vme vmx 
           vnmi vpid x2apic xgetbv1 xsave xsavec xsaveopt xsaves xtopology xtpr 
           Vulnerabilities: Type: itlb_multihit status: KVM: Split huge pages 
           Type: l1tf status: Not affected 
           Type: mds mitigation: Clear CPU buffers; SMT vulnerable 
           Type: meltdown status: Not affected 
           Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl and seccomp 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 
           mitigation: Full generic retpoline, IBPB: conditional, IBRS_FW, STIBP: conditional, RSB filling 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: Intel UHD Graphics 620 vendor: Samsung Co driver: i915 v: kernel bus ID: 00:02.0 
           chip ID: 8086:3ea0 
           Display: server: X.Org 1.20.5 driver: modesetting unloaded: fbdev,vesa compositor: kwin_x11 
           resolution: 1920x1080~60Hz 
           OpenGL: renderer: Mesa DRI Intel UHD Graphics (Whiskey Lake 3x8 GT2) v: 4.5 Mesa 19.2.8 
           compat-v: 3.0 direct render: Yes 
Audio:     Device-1: Intel Cannon Point-LP High Definition Audio vendor: Samsung Co driver: snd_hda_intel 
           v: kernel bus ID: 00:1f.3 chip ID: 8086:9dc8 
           Sound Server: ALSA v: k5.3.0-29-generic 
Network:   Device-1: Intel Cannon Point-LP CNVi [Wireless-AC] driver: iwlwifi v: kernel port: 5000 
           bus ID: 00:14.3 chip ID: 8086:9df0 
           IF: wlo1 state: up mac: <filter> 
           IP v4: <filter> type: dynamic noprefixroute scope: global broadcast: <filter> 
           IP v6: <filter> type: noprefixroute scope: link 
           Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Samsung Co driver: r8169 
           v: kernel port: 3000 bus ID: 02:00.0 chip ID: 10ec:8168 
           IF: enp2s0 state: down mac: <filter> 
           WAN IP: <filter> 
Drives:    Local Storage: total: 2.05 TiB used: 1.23 TiB (59.9%) 
           ID-1: /dev/sda vendor: Crucial model: CT2000MX500SSD1 size: 1.82 TiB block size: physical: 512 B 
           logical: 512 B speed: 6.0 Gb/s serial: <filter> rev: 023 temp: 36 C scheme: GPT 
           ID-2: /dev/sdb vendor: LITE-ON model: CV8-8E256 size: 238.47 GiB block size: physical: 512 B 
           logical: 512 B speed: 6.0 Gb/s serial: <filter> rev: 002 scheme: GPT 
           Message: No Optical or Floppy data was found. 
RAID:      Message: No RAID data was found. 
Partition: ID-1: / raw size: 48.58 GiB size: 47.56 GiB (97.91%) used: 23.88 GiB (50.2%) fs: ext4 
           block size: 4096 B dev: /dev/sdb7 label: N/A uuid: 1f5fa666-5ca1-436e-9cba-110c5307b683 
           ID-2: /boot/efi raw size: 260.0 MiB size: 256.0 MiB (98.46%) used: 32.9 MiB (12.8%) fs: vfat 
           block size: 512 B dev: /dev/sdb3 label: SYSTEM uuid: E6AA-4948 
           ID-3: /media/filipe/Dados raw size: 1.82 TiB size: 1.82 TiB (100.00%) used: 1.21 TiB (66.3%) 
           fs: ntfs block size: 4096 B dev: /dev/sda2 label: Dados uuid: 6E802FB3802F8127 
           ID-4: /snap/android-studio/81 raw size: 674.7 MiB size: N/A (hidden?) used: N/A (hidden?) 
           fs: squashfs dev: /dev/loop0 label: N/A uuid: N/A 
           ID-5: /snap/android-studio/82 raw size: 674.7 MiB size: N/A (hidden?) used: N/A (hidden?) 
           fs: squashfs dev: /dev/loop4 label: N/A uuid: N/A 
           ID-6: /snap/core/8268 raw size: 89.1 MiB size: N/A (hidden?) used: N/A (hidden?) fs: squashfs 
           dev: /dev/loop2 label: N/A uuid: N/A 
           ID-7: /snap/core18/1650 raw size: 54.6 MiB size: N/A (hidden?) used: N/A (hidden?) fs: squashfs 
           dev: /dev/loop5 label: N/A uuid: N/A 
           ID-8: /snap/core18/1668 raw size: 54.6 MiB size: N/A (hidden?) used: N/A (hidden?) fs: squashfs 
           dev: /dev/loop1 label: N/A uuid: N/A 
           ID-9: /snap/gtk-common-themes/1440 raw size: 44.9 MiB size: N/A (hidden?) used: N/A (hidden?) 
           fs: squashfs dev: /dev/loop3 label: N/A uuid: N/A 
           ID-10: /snap/mailspring/407 raw size: 193.3 MiB size: N/A (hidden?) used: N/A (hidden?) 
           fs: squashfs dev: /dev/loop6 label: N/A uuid: N/A 
Unmounted: ID-1: /dev/sda1 size: 16.0 MiB fs: N/A label: N/A uuid: N/A 
           ID-2: /dev/sdb1 size: 16.0 MiB fs: N/A label: N/A uuid: N/A 
           ID-3: /dev/sdb2 size: 170.76 GiB fs: ntfs label: N/A uuid: 388A3ECD8A3E8800 
           ID-4: /dev/sdb4 size: 850.0 MiB fs: ntfs label: Windows RE tools uuid: 8048973B48972F42 
           ID-5: /dev/sdb5 size: 16.78 GiB fs: ntfs label: SAMSUNG_REC2 uuid: 5A1E2C271E2BFB21 
           ID-6: /dev/sdb6 size: 1024.0 MiB fs: vfat label: SAMSUNG_REC uuid: EA70-5322 
USB:       Hub: 1-0:1 info: Full speed (or root) Hub ports: 12 rev: 2.0 speed: 480 Mb/s chip ID: 1d6b:0002 
           Device-1: 1-2:2 info: Logitech Unifying Receiver type: Mouse,HID driver: logitech-djreceiver,usbhid 
           interfaces: 2 rev: 2.0 speed: 12 Mb/s chip ID: 046d:c52f 
           Device-2: 1-4:3 info: Realtek RTS5129 Card Reader Controller type: <vendor specific> 
           driver: rtsx_usb,rtsx_usb_ms,rtsx_usb_sdmmc interfaces: 1 rev: 2.0 speed: 480 Mb/s 
           chip ID: 0bda:0129 serial: <filter> 
           Device-3: 1-5:4 info: Samsung Fingerprint Device type: <vendor specific> driver: N/A interfaces: 1 
           rev: 2.0 speed: 12 Mb/s chip ID: 04e8:730a 
           Device-4: 1-6:5 info: Generic 720p HD Camera type: Video driver: uvcvideo interfaces: 2 rev: 2.0 
           speed: 480 Mb/s chip ID: 2b7e:0134 serial: <filter> 
           Device-5: 1-10:6 info: Intel type: Bluetooth driver: btusb interfaces: 2 rev: 2.0 speed: 12 Mb/s 
           chip ID: 8087:0aaa 
           Hub: 2-0:1 info: Full speed (or root) Hub ports: 6 rev: 3.1 speed: 10 Gb/s chip ID: 1d6b:0003 
Sensors:   System Temperatures: cpu: 48.0 C mobo: 48.0 C 
           Fan Speeds (RPM): N/A 
Repos:     Active apt repos in: /etc/apt/sources.list 
           1: deb http://br.archive.ubuntu.com/ubuntu/ eoan main restricted
           2: deb http://br.archive.ubuntu.com/ubuntu/ eoan-updates main restricted
           3: deb http://br.archive.ubuntu.com/ubuntu/ eoan universe
           4: deb http://br.archive.ubuntu.com/ubuntu/ eoan-updates universe
           5: deb http://br.archive.ubuntu.com/ubuntu/ eoan multiverse
           6: deb http://br.archive.ubuntu.com/ubuntu/ eoan-updates multiverse
           7: deb http://br.archive.ubuntu.com/ubuntu/ eoan-backports main restricted universe multiverse
           8: deb http://archive.canonical.com/ubuntu eoan partner
           9: deb http://security.ubuntu.com/ubuntu eoan-security main restricted
           10: deb http://security.ubuntu.com/ubuntu eoan-security universe
           11: deb http://security.ubuntu.com/ubuntu eoan-security multiverse
           Active apt repos in: /etc/apt/sources.list.d/google-chrome.list 
           1: deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
           Active apt repos in: /etc/apt/sources.list.d/opera-stable.list 
           1: deb https://deb.opera.com/opera-stable/ stable non-free #Opera Browser (final releases)
           Active apt repos in: /etc/apt/sources.list.d/papirus-ubuntu-papirus-eoan.list 
           1: deb http://ppa.launchpad.net/papirus/papirus/ubuntu eoan main
           No active apt repos in: /etc/apt/sources.list.d/peppermintos-ubuntu-ice-dev-eoan.list 
           Active apt repos in: /etc/apt/sources.list.d/qbittorrent-team-ubuntu-qbittorrent-stable-eoan.list 
           1: deb http://ppa.launchpad.net/qbittorrent-team/qbittorrent-stable/ubuntu eoan main
           Active apt repos in: /etc/apt/sources.list.d/vscode.list 
           1: deb [arch=amd64] http://packages.microsoft.com/repos/vscode stable main
Processes: CPU top: 5 
           1: cpu: 18.4% command: opera pid: 1864 mem: 252.7 MiB (1.5%) 
           2: cpu: 11.4% command: opera pid: 2030 mem: 163.0 MiB (1.0%) 
           3: cpu: 10.7% command: opera pid: 2038 mem: 157.3 MiB (0.9%) 
           4: cpu: 9.2% command: opera pid: 2000 mem: 162.0 MiB (1.0%) 
           5: cpu: 6.1% command: kwin_x11 pid: 1535 mem: 125.2 MiB (0.7%) 
           Memory top: 5 
           1: mem: 252.7 MiB (1.5%) command: opera pid: 1864 cpu: 18.4% 
           2: mem: 208.4 MiB (1.3%) command: latte-dock pid: 1557 cpu: 4.2% 
           3: mem: 189.2 MiB (1.1%) command: plasmashell pid: 1544 cpu: 3.2% 
           4: mem: 169.8 MiB (1.0%) command: opera pid: 2043 cpu: 4.6% 
           5: mem: 163.0 MiB (1.0%) command: opera pid: 2030 cpu: 11.4% 
Info:      Processes: 294 Uptime: 2m Init: systemd v: 242 runlevel: 5 Compilers: gcc: 9.2.1 alt: 9 
           Shell: bash (sudo) v: 5.0.3 running in: konsole inxi: 3.0.36
aplay -l output:

Code:
**** Lista de Dispositivos PLAYBACK Hardware ****
placa 0: PCH [HDA Intel PCH], dispositivo 0: ALC256 Analog [ALC256 Analog]
  Dispositivo secundário: 1/1
  Dispositivo secundário #0: subdevice #0
placa 0: PCH [HDA Intel PCH], dispositivo 3: HDMI 0 [HDMI 0]
  Dispositivo secundário: 1/1
  Dispositivo secundário #0: subdevice #0
placa 0: PCH [HDA Intel PCH], dispositivo 7: HDMI 1 [HDMI 1]
  Dispositivo secundário: 1/1
  Dispositivo secundário #0: subdevice #0
placa 0: PCH [HDA Intel PCH], dispositivo 8: HDMI 2 [HDMI 2]
  Dispositivo secundário: 1/1
  Dispositivo secundário #0: subdevice #0
placa 0: PCH [HDA Intel PCH], dispositivo 9: HDMI 3 [HDMI 3]
  Dispositivo secundário: 1/1
  Dispositivo secundário #0: subdevice #0
placa 0: PCH [HDA Intel PCH], dispositivo 10: HDMI 4 [HDMI 4]
  Dispositivo secundário: 1/1
  Dispositivo secundário #0: subdevice #0
I have also generated a alsa-info report which is available here.

Thanks for the attention.

Quote:
Originally Posted by vtel57 View Post
Hmm... well, I've never used headphones on a lappy, so...

I'm not at all sure what advice to give you at this point. Be patient, though. I'm sure other's will pop in here with some suggestions for you.

Oh, and another quick search using "Ubuntu 19.10 no headphone on laptop" provided this:

https://askubuntu.com/questions/1204...eadphone-sound
Followed the tip but I'm not sure if it applies to my setup, since the author inserted an entry related to Dell hardware on his alsa-base.conf. In any case, the
Code:
cat /proc/asound/card0/codec* | grep Codec
returned the following:

Code:
Codec: Realtek ALC256
Codec: Intel Kabylake HDMI
Thanks for the reply!

Last edited by wowbaggerBR; 02-03-2020 at 07:16 PM.
 
Old 02-03-2020, 07:26 PM   #7
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,117
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
Breaking it down

Code:
Audio:     Device-1: Intel Cannon Point-LP High Definition Audio vendor: Samsung Co driver: snd_hda_intel 
           v: kernel bus ID: 00:1f.3 chip ID: 8086:9dc8 
           Sound Server: ALSA v: k5.3.0-29-generic
Kernel is recent

Code:
System:    Host: filipe-760XBE Kernel: 5.3.0-29-generic x86_64 bits: 64 compiler: gcc v: 9.2.1 
           parameters: BOOT_IMAGE=/boot/vmlinuz-5.3.0-29-generic 
           root=UUID=1f5fa666-5ca1-436e-9cba-110c5307b683 ro quiet splash vt.handoff=7 
           Console: N/A wm: kwin_x11 dm: SDDM Distro: Ubuntu 19.10 (Eoan Ermine)
I see nothing exotic in aplay

So if me. I'd run whatever player <small one > kubuntu uses. Run it from command line. Plug in headphones.

For me. It would be

Code:
xmms &
Leave that terminal open

Then open another terminal and see what

Code:
dmesg | tail
spits out for headphone errors while music is playing. The other terminal you used to open a music player might mention something also.

Last edited by rokytnji; 02-03-2020 at 07:39 PM.
 
2 members found this post helpful.
Old 02-03-2020, 07:35 PM   #8
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,117
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
ALSA INFO REPORT LOOKS KOSHER

oopz ,cap locks on

Code:
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 87 [100%] [0.00dB] [on]
  Front Right: Playback 87 [100%] [0.00dB] [on]
You might wanna try this trick

type in terminal

Code:
alsamixer
and turn off automute. It is shown being turned on in your alsa report.
 
2 members found this post helpful.
Old 02-03-2020, 08:02 PM   #9
wowbaggerBR
LQ Newbie
 
Registered: Feb 2020
Posts: 23

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by rokytnji View Post
Breaking it down

Code:
Audio:     Device-1: Intel Cannon Point-LP High Definition Audio vendor: Samsung Co driver: snd_hda_intel 
           v: kernel bus ID: 00:1f.3 chip ID: 8086:9dc8 
           Sound Server: ALSA v: k5.3.0-29-generic
Kernel is recent

Code:
System:    Host: filipe-760XBE Kernel: 5.3.0-29-generic x86_64 bits: 64 compiler: gcc v: 9.2.1 
           parameters: BOOT_IMAGE=/boot/vmlinuz-5.3.0-29-generic 
           root=UUID=1f5fa666-5ca1-436e-9cba-110c5307b683 ro quiet splash vt.handoff=7 
           Console: N/A wm: kwin_x11 dm: SDDM Distro: Ubuntu 19.10 (Eoan Ermine)
I see nothing exotic in aplay

So if me. I'd run whatever player <small one > kubuntu uses. Run it from command line. Plug in headphones.

For me. It would be

Code:
xmms &
Leave that terminal open

Then open another terminal and see what

Code:
dmesg | tail
spits out for headphone errors while music is playing. The other terminal you used to open a music player might mention something also.
Quote:
Originally Posted by rokytnji View Post
ALSA INFO REPORT LOOKS KOSHER

oopz ,cap locks on

Code:
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 87 [100%] [0.00dB] [on]
  Front Right: Playback 87 [100%] [0.00dB] [on]
You might wanna try this trick

type in terminal

Code:
alsamixer
and turn off automute. It is shown being turned on in your alsa report.
So, did both things. First, setted the automute to disabled. It was indeed "enabled".

Then, tried running the Elisa player through the Terminal and following it with dmesg, this is what I got:

elisa output:

The bolded lines showed as soon as I hit the play button.

Code:
Icon theme "elementary" not found.
Icon theme "gnome" not found.
Icon theme "deepin" not found.
Icon theme "elementary" not found.
Icon theme "gnome" not found.
Icon theme "deepin" not found.
<Unknown File>: QML QQuickLayoutAttached: Binding loop detected for property "preferredHeight"
org.kde.elisa.indexers.manager: Local file system indexer is inactive
org.kde.elisa.indexers.manager: Baloo indexer is unavailable
org.kde.elisa.indexers.manager: Baloo indexer is inactive
MediaPlayList::setPersistentState QMap(("currentTrack", QVariant(int, 0))("playList", QVariant(QVariantList, ()))("randomPlay", QVariant(bool, false))("repeatPlay", QVariant(bool, false)))
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/templates/InlineMessage.qml:136: TypeError: Value is undefined and could not be converted to an object
org.kde.elisa.indexers.manager: Baloo indexer is available
org.kde.elisa.indexers.manager: Baloo indexer is active
PowerManagementInterface::inhibitDBusCallFinishedGnomeWorkspace QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.gnome.SessionManager was not provided by any .service files")
dmesg | tail output:

Code:
[    6.639039] Bluetooth: RFCOMM ver 1.11
[    8.936308] wlo1: authenticate with f8:1a:67:d0:bc:10
[    8.938485] wlo1: send auth to f8:1a:67:d0:bc:10 (try 1/3)
[    9.082166] wlo1: authenticated
[    9.084508] wlo1: associate with f8:1a:67:d0:bc:10 (try 1/3)
[    9.088649] wlo1: RX AssocResp from f8:1a:67:d0:bc:10 (capab=0x411 status=0 aid=1)
[    9.093025] wlo1: associated
[    9.567948] IPv6: ADDRCONF(NETDEV_CHANGE): wlo1: link becomes ready
[   86.849167] atkbd serio0: Unknown key pressed (translated set 2, code 0xa8 on isa0060/serio0).
[   86.849173] atkbd serio0: Use 'setkeycodes e028 <keycode>' to make it known.
 
Old 02-03-2020, 08:12 PM   #10
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,117
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
I think your bolded error is just a red herring.

dmesg said nothing to me. Shucks.

Late here. So bye and good luck.
 
Old 02-03-2020, 08:20 PM   #11
wowbaggerBR
LQ Newbie
 
Registered: Feb 2020
Posts: 23

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by rokytnji View Post
I think your bolded error is just a red herring.

dmesg said nothing to me. Shucks.

Late here. So bye and good luck.
Yeah, figured that much, but surely it'll help narrow it down.

Getting late here too. In any case, thank you for your time!
 
Old 02-03-2020, 09:05 PM   #12
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
Hi

I have to disagree with some facts asserted so far

Issue one. It has been suggested to disable auto mute
Please enable it for analog headphones. When enabled its purpose is to ato mute sound from laptop speakers to headphones when headphones are detected or inserted.

EDIT hdmi codec is OK....see post 29

Now for a possible solution or two but I need to know how you play sound.
Do you need only laptop speakers or 3.5 mm headphone Or
Do you also need hdmi cable to play sound to monitor or TV or surround sound?

If you hsve other options please state them

Leaping ahead I need auto mute ENABLED

and a modprobe config file that Alsa will use on reboot to force sound to PCH and not HDMI

Last edited by aus9; 02-04-2020 at 06:35 AM. Reason: post 29 refers
 
2 members found this post helpful.
Old 02-03-2020, 11:47 PM   #13
wowbaggerBR
LQ Newbie
 
Registered: Feb 2020
Posts: 23

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by aus9 View Post
Hi

I have to disagree with some facts asserted so far

Issue one. It has been suggested to disable auto mute
Please enable it for analog headphones. When enabled its purpose is to ato mute sound from laptop speakers to headphones when headphones are detected or inserted.
Done!

Quote:
Originally Posted by aus9 View Post
Issue 2 is your current codec is claiming to be HDMi but you need analog which is PCH

Now for a possible solution or two but I need to know how you play sound.
Do you need only laptop speakers or 3.5 mm headphone Or
Do you also need hdmi cable to play sound to monitor or TV or surround sound?

If you hsve other options please state them

Leaping ahead I need auto mute ENABLED

and a modprobe config file that Alsa will use on reboot to force sound to PCH and not HDMI
Preferably, I need speaker/headphones working fine. With this sorted, I can get back to Linux as my daily driver.

Since it seems to be HDMI related, it's probably worth mention that another hardware issue I've been getting with this laptop is HDMI related. Whenever you conect a cable into it, the system detects the event and shows the dialog to select the video output, but nothing gets displayed on the monitor/TV, no matter what you choose.

I don't use HDMI that much, so I decided to let this one for later, but maybe it could be relevant.

Where did you see that the HDMI codec is active? I ask because I'd like to learn more about the inner workings of Linux.

Oh, and thank you for the reply!
 
Old 02-04-2020, 12:23 AM   #14
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
Post 6
Codec: Realtek ALC256
Codec: Intel Kabylake HDMI

I am not home yet later I will give you screenshots.

Are you trying to displsy both laptop screen and a monitor?

Some lsptops have hardware function keys to help swap. Maybe check your motherboard or laptop manual


EDIT post 29 changes this comment

Last edited by aus9; 02-04-2020 at 06:36 AM.
 
2 members found this post helpful.
Old 02-04-2020, 12:59 AM   #15
wowbaggerBR
LQ Newbie
 
Registered: Feb 2020
Posts: 23

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by aus9 View Post
Post 6
Codec: Realtek ALC256
Codec: Intel Kabylake HDMI

I am not home yet later I will give you screenshots.

Are you trying to displsy both laptop screen and a monitor?

Some lsptops have hardware function keys to help swap. Maybe check your motherboard or laptop manual
Oh, I see. I thought it was supposed to show both codecs available in the system, nice catch.

I'd use the HDMI mainly to watch movies on my TV, maybe as a second monitor. I tested it both with the Intel GPU and with the Nvidia card and none of them works.
 
  


Reply



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 headphone's jack, but I do have sound in Speakers Silverdaz Linux - Newbie 7 09-05-2008 05:12 AM
No audio output from headphone jack in a Fujitsu N3410 laptop nigham Linux - Hardware 4 08-14-2006 04:03 PM
No sound from headphone jack jefferai Linux - Laptop and Netbook 0 08-21-2004 04:05 PM
Sound Requires Cord From CD headphone jack to line in to work. danny_beta_read Linux - Hardware 1 03-03-2004 11:25 AM
Headphone jack on CDROM how get sound out? lugoteehalt Linux - Newbie 2 10-27-2003 10:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 01:40 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration