Lenovo t520 no sound to tv, displayport to hdmi "SOLVED"

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
row1234

Lenovo t520 no sound to tv, displayport to hdmi "SOLVED"

Post by row1234 »

I am running LM 19.1. no sound is coming out from the display port when connected to my new tv
On the same computer running windows 7 sound everything works fine. I have a extra hard drive with win 7 on it.
I have been online trying too find a fix with zero results, many many hours of searching and trying things.
no hdmi option shows up in my sound file or pulse audio.
I am looking for someone who has the same computer, who had the same problem, found a solution, and tell me how they fix it.

I have been using LM every 5-7 years. I am no expert using a terminal, I can only use a terminal if given the proper commands.
thank you very much
row
(March 1 2019 update. problem has been solved)
With the much-appreciated help of MrEen the problem has been solved. I never could have fixed my sound problem myself. He worked on it every day, for 8 days straight! I can't thank him enough.
--------------
what I learned from using this forum, this is for beginner levels of Linux mint (Like my self).

learn how to use Timeshift and make snapshots, and label them for easy recovery.

Before you start making changes to your computer in the terminal, make sure the post you are referencing too has a similar computer set up, the same as yours and has a similar problem, don't just start typing in commands in the terminal hoping it will get fixed, Again take snapshots restore points.

If you are lucky enough to have someone like MrEen help you, be patient and follow their directions carefully. Stop trying to fix the problem yourself, don't make changes on your own while someone is helping you.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 4 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
AndyMH
Level 21
Level 21
Posts: 13759
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: Lenovo t520 no sound to tv, displayport to hdmi

Post by AndyMH »

No consolation, similar problem with a T430 connected to an external monitor that purports to have sound, connected via displayport to hdmi cable (have tried direct from laptop and via docking station). It does show up in sound settings "HDMI/DisplayPort Built-in Audio", but no sound. Checked and double-checked the cable - stated to support audio. Don't have any windows hardware to check against. If you find a solution I'll be interested!
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: Lenovo t520 no sound to tv, displayport to hdmi

Post by MrEen »

Hi row1234, and welcome to the forum.

Install and run PulseAudio Volume Control (pavucontrol.) Chances are, all you need to do at the moment is go to the Playback tab and change the output from the built-in audio to the HDMI/DP output. You may need to check the Configuration tab and Output Devices tab to make sure things are set correctly and not muted.

If this isn't helping, paste back the output of running inxi -Fxz and aplay -l in the terminal. Also, start a song or video then run pacmd list-sinks in the terminal and include that output as well.

This should be solvable without too much effort.
row1234

Re: Lenovo t520 no sound to tv, displayport to hdmi

Post by row1234 »

I have installed pulse audio and there is no option to connect to the display port/hdmi on the tv

Code: Select all

row@row-ThinkPad-T520:~$ inxi -Fxz
System:
  Host: row-ThinkPad-T520 Kernel: 4.15.0-45-generic x86_64 bits: 64 
  compiler: gcc v: 7.3.0 Desktop: Cinnamon 4.0.9 
  Distro: Linux Mint 19.1 Tessa base: Ubuntu 18.04 bionic 
Machine:
  Type: Laptop System: LENOVO product: 4239CTO v: ThinkPad T520 
  serial: <filter> 
  Mobo: LENOVO model: 4239CTO serial: <filter> UEFI [Legacy]: LENOVO 
  v: 8AET69WW (1.49 ) date: 06/14/2018 
Battery:
  ID-1: BAT0 charge: 81.1 Wh condition: 84.6/94.0 Wh (90%) 
  model: SANYO 45N1173 status: Charging 
CPU:
  Topology: Dual Core model: Intel Core i5-2520M bits: 64 type: MT MCP 
  arch: Sandy Bridge rev: 7 L2 cache: 3072 KiB 
  flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 19935 
  Speed: 1077 MHz min/max: 800/3200 MHz Core speeds (MHz): 1: 930 2: 829 
  3: 813 4: 867 
Graphics:
  Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics 
  vendor: Lenovo driver: i915 v: kernel bus ID: 00:02.0 
  Device-2: NVIDIA GF119M [Quadro NVS 4200M] vendor: Lenovo driver: nvidia 
  v: 390.77 bus ID: 01:00.0 
  Display: x11 server: X.Org 1.19.6 driver: modesetting,nvidia 
  unloaded: fbdev,nouveau,vesa resolution: 1920x1080_60.00~60Hz 
  OpenGL: renderer: NVS 4200M/PCIe/SSE2 v: 4.6.0 NVIDIA 390.77 
  direct render: Yes 
Audio:
  Device-1: Intel 6 Series/C200 Series Family High Definition Audio 
  vendor: Lenovo ThinkPad T520 driver: snd_hda_intel v: kernel 
  bus ID: 00:1b.0 
  Sound Server: ALSA v: k4.15.0-45-generic 
Network:
  Device-1: Intel 82579LM Gigabit Network vendor: Lenovo ThinkPad T520 
  driver: e1000e v: 3.2.6-k port: 6080 bus ID: 00:19.0 
  IF: enp0s25 state: down mac: <filter> 
  Device-2: Intel Centrino Ultimate-N 6300 driver: iwlwifi v: kernel 
  port: 5000 bus ID: 03:00.0 
  IF: wlp3s0 state: up mac: <filter> 
Drives:
  Local Storage: total: 465.76 GiB used: 24.09 GiB (5.2%) 
  ID-1: /dev/sda vendor: Samsung model: SSD 850 EVO 500GB size: 465.76 GiB 
Partition:
  ID-1: / size: 457.45 GiB used: 24.09 GiB (5.3%) fs: ext4 dev: /dev/sda1 
Sensors:
  System Temperatures: cpu: 51.0 C mobo: N/A gpu: nvidia temp: 49 C 
  Fan Speeds (RPM): cpu: 2455 
Info:
  Processes: 222 Uptime: 3h 33m Memory: 15.45 GiB used: 2.18 GiB (14.1%) 
  Init: systemd runlevel: 5 Compilers: gcc: 7.3.0 Shell: bash v: 4.4.19 
  inxi: 3.0.27 
row@row-ThinkPad-T520:~$ 
[


Code: Select all

  vendor: Lenovo ThinkPad T520 driver: snd_hda_intel v: kernel 
  bus ID: 00:1b.0 
  Sound Server: ALSA v: k4.15.0-45-generic 
Network:
  Device-1: Intel 82579LM Gigabit Network vendor: Lenovo ThinkPad T520 
  driver: e1000e v: 3.2.6-k port: 6080 bus ID: 00:19.0 
  IF: enp0s25 state: down mac: <filter> 
  Device-2: Intel Centrino Ultimate-N 6300 driver: iwlwifi v: kernel 
  port: 5000 bus ID: 03:00.0 
  IF: wlp3s0 state: up mac: <filter> 
Drives:
  Local Storage: total: 465.76 GiB used: 24.09 GiB (5.2%) 
  ID-1: /dev/sda vendor: Samsung model: SSD 850 EVO 500GB size: 465.76 GiB 
Partition:
  ID-1: / size: 457.45 GiB used: 24.09 GiB (5.3%) fs: ext4 dev: /dev/sda1 
Sensors:
  System Temperatures: cpu: 50.0 C mobo: N/A gpu: nvidia temp: 45 C 
  Fan Speeds (RPM): cpu: 2465 
Info:
  Processes: 224 Uptime: 2h 59m Memory: 15.45 GiB used: 2.12 GiB (13.8%) 
  Init: systemd runlevel: 5 Compilers: gcc: 7.3.0 Shell: bash v: 4.4.19 
  inxi: 3.0.27 
--------------------------------------------------------------------------------------------------

Code: Select all

row@row-ThinkPad-T520:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: CX20590 Analog [CX20590 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
row@row-ThinkPad-T520:~$ 
-------------------------------------------------------------
thank you for trying to help me
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: Lenovo t520 no sound to tv, displayport to hdmi

Post by MrEen »

I've been helping with sound issues for just over a year now, and I don't think I've ever asked for this, but could you post the output of running lspci in the terminal please.

You have 2 graphics cards and neither are showing in aplay for HDMI sound. Your Intel card shows 00:02.0 so the bus for it's sound should be 00:02.1. The nvidia is showing 01:00.0 and the bus for it's audio should be 01:00.1 based on what I've seen over all this time. I'm rather surprised neither are showing.

It is possible you need to boot into your BIOS and either look for sound related settings that are disabled, or GPU settings that are disabled (maybe change GPU to discrete?) Do you know if the DP port you're plugging into is on the Intel card?
row1234

Re: Lenovo t520 no sound to tv, displayport to hdmi

Post by row1234 »

thanks again for taken you time to help me

someone on line also mentioned going into the bios, I did it and not see any audio adjustments in the bios, So I booted the computer up with windows 7 and updated the bios ,once again I did not see any tab for audio adjust. Remember the audio works fine when booted up in win7, if it was a bios problem I feel it would affect win 7 too. the rules out a cable related problem too
) Do you know if the DP port you're plugging into is on the Intel card?
i don't know, but once again everything works fine when booted up in win7

here is the output you asked for

Code: Select all

row@row-ThinkPad-T520:~$ lspci
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (Lewisville) (rev 04)
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b4)
00:1c.1 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 (rev b4)
00:1c.3 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 (rev b4)
00:1c.4 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5 (rev b4)
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation QM67 Express Chipset LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port Mobile SATA AHCI Controller (rev 04)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 04)
01:00.0 VGA compatible controller: NVIDIA Corporation GF119M [Quadro NVS 4200M] (rev a1)
03:00.0 Network controller: Intel Corporation Centrino Ultimate-N 6300 (rev 35)
0d:00.0 System peripheral: Ricoh Co Ltd MMC/SD Host Controller (rev 08)
0d:00.3 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 PCIe IEEE 1394 Controller (rev 04)
row@row-ThinkPad-T520:~$ 
row1234

Re: Lenovo t520 no sound to tv, displayport to hdmi

Post by row1234 »

To MrEen
I reread your last post and went into my bios again to make sure I did not miss anything you mentioned, If you are going to take the time to help me, I need to do my part.
It is possible you need to boot into your BIOS and either look for sound related settings that are disabled, or GPU settings that are disabled (maybe change GPU to discrete?) Do you know if the DP port you're plugging into is on the Intel card?
so I checked out my GPU setting and read the optimous setting that i was using was only supposed to be used running WIN 7.
I changed the setting to to discrete, like you mentioned, I was very hopeful that was the problem but when I rebooted and connected to the tv , there was no Hdmi available.
I don't know the difference between the 2 setting but It looks like I was using the wrong one. I have neversaw that mentioned in any threads LM running on a thinkpad, That tip might help someone else
best regards row
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: Lenovo t520 no sound to tv, displayport to hdmi

Post by MrEen »

Hi row.

I've fallen into a rabbit hole looking at this issue. According to this arch wiki, the DP port is hardwired to the nvidia card. When you say changing to discreet there was no HDMI available, do you mean sound or sound and video?

Can't remember how I stumbled onto it, but this page that has a fix, but I'm not advanced enough to suggest going that route. I don't fully understand it myself, but I get the gist of it. There's further stuff about that here as well.

I won't bother with the other stuff I've read as it didn't lead to something I could recommend trying.

So let's start with with a couple of things I have a gut feeling about:

1. Put the computer to sleep, then wake it up and see if HDMI sound is available.
2. If no luck with that, paste back the output of dmesg | grep hda and I'm wondering if one of the last lines will end with Disabling via VGA-switcheroo
3. I'm still trying to research a program you could install called Bumblebee that might get us past this issue. If there's anyone out there in Mintland that uses this, please feel free to join this discussion.

Still trying to come up with anything else that may be helpful.
row1234

Re: Lenovo t520 no sound to tv, displayport to hdmi

Post by row1234 »

hi again
here is the out for the last command you listed

Code: Select all

row@row-ThinkPad-T520:~$ dmesg | grep hda 
[    7.731616] snd_hda_intel 0000:00:1b.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    7.755418] snd_hda_codec_conexant hdaudioC0D0: CX20590: BIOS auto-probing.
[    7.755880] snd_hda_codec_conexant hdaudioC0D0: autoconfig for CX20590: line_outs=1 (0x1f/0x0/0x0/0x0/0x0) type:speaker
[    7.755883] snd_hda_codec_conexant hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    7.755885] snd_hda_codec_conexant hdaudioC0D0:    hp_outs=2 (0x1c/0x19/0x0/0x0/0x0)
[    7.755887] snd_hda_codec_conexant hdaudioC0D0:    mono: mono_out=0x0
[    7.755889] snd_hda_codec_conexant hdaudioC0D0:    inputs:
[    7.755891] snd_hda_codec_conexant hdaudioC0D0:      Internal Mic=0x23
[    7.755892] snd_hda_codec_conexant hdaudioC0D0:      Mic=0x1b
[    7.755894] snd_hda_codec_conexant hdaudioC0D0:      Dock Mic=0x1a
[    7.757219] snd_hda_codec_conexant hdaudioC0D0: Enable sync_write for stable communication
row@row-ThinkPad-T520:~$ 
When you say changing to discreet there was no HDMI available, do you mean sound or sound and video?
there was no sound coming out of the TV speakers
There was video output coming through the TV , the same as before. As far as I know switching to discrete I noticed no changes in computer
------
I suspended the computer as you suggested and turn it back on, still no Hdmi option was seen
-------
the computer I am using is a # of years old and is very popular with linux users, That is why I bought it , I live in the San Francisco bay area, with all the businesses in the area using these computer they are easy to come by and cheap, someone has to have run into this problem before.
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: Lenovo t520 no sound to tv, displayport to hdmi

Post by MrEen »

row1234 wrote: Sat Feb 23, 2019 3:49 am
When you say changing to discreet there was no HDMI available, do you mean sound or sound and video?
there was no sound coming out of the TV speakers
There was video output coming through the TV , the same as before. As far as I know switching to discrete I noticed no changes in computer
In case you've reverted, try this again, then look at the output of aplay -l to see if a second card has been added to the list. If so, we probably just need a configuration change to get it working.

If it didn't add anything new, paste back the output of lsmod | grep hdmi. If that just returns to the prompt with no output, try sudo modprobe snd_hda_codec_hdmi then look at aplay -l again.

Finally, paste back the output of ls -l /etc/modprobe.d as well as cat /etc/modprobe.d/alsa-base.conf | tail

The dmesg output basically looked promising in that it didn't show errors or other weird stuff, so I'm still hopeful we can get this solved. The last 2 outputs I'm just looking for anything non standard that could be blocking HDMI audio.

Good luck.
row1234

Re: Lenovo t520 no sound to tv, displayport to hdmi

Post by row1234 »

Sat was a busy day for me and I am just getting to the computer,

in one of the posts you liked to bumblebee was discussed, bumblebee program supports optimus , since our last exchange I installed bumblebbe and enabled optimus.

after installing it was not to be seen on my computer, I looks like there is no configuration for it and it just works in the back round. after the install there was no changes in the sound
I hope adding optimus does not throw your work off, if mit does I will remove it.

Code: Select all

row@row-ThinkPad-T520:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: CX20590 Analog [CX20590 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
row@row-ThinkPad-T520:~$ 
here are the other commands you ask for

Code: Select all

row@row-ThinkPad-T520:~$ lsmod | grep hdmi
row@row-ThinkPad-T520:~$ sudo modprobe snd_hda_codec_hdmi
[sudo] password for row:    
row@row-ThinkPad-T520:~$ lsmod | grep hdmi
snd_hda_codec_hdmi     49152  0
snd_hda_codec         126976  4 snd_hda_codec_generic,snd_hda_codec_conexant,snd_hda_codec_hdmi,snd_hda_intel
snd_hda_core           81920  5 snd_hda_codec_generic,snd_hda_codec_conexant,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
snd_pcm                98304  6 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
snd                    81920  22 snd_hda_codec_generic,snd_seq,snd_hda_codec_conexant,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_timer,thinkpad_acpi,snd_pcm,snd_rawmidi
row@row-ThinkPad-T520:~$ cat /etc/modprobe.d/alsa-base.conf | tail
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
row@row-ThinkPad-T520:~$ 

thanks once again rowland
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: Lenovo t520 no sound to tv, displayport to hdmi

Post by MrEen »

Look at aplay -l now.

If what you posted was in the order you did them, you might have HDMI available now.
row1234

Re: Lenovo t520 no sound to tv, displayport to hdmi

Post by row1234 »

in my testing last night I click on something in the nvidia panel and my screen turned black I did get the screen showing on the tv but no mouse, rebooting my computer in booted into a black screen, I ried several times rebooting the lixun sign on screen come and I was able to sign in , but computer went black.

Before installing bumble bee I made a restore point in timeshift. I used that restore point to get my computer going again. Timeshift save me a lot of time.

I am not going to intsall timeshift again unless you suggest it,
I am going to send you the terminal requsets again from your next to the last post. since my computer has changed thanks rowland

Code: Select all

row@row-ThinkPad-T520:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: CX20590 Analog [CX20590 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
row@row-ThinkPad-T520:~$ 

Code: Select all

row@row-ThinkPad-T520:~$ lsmod | grep hdmi
row@row-ThinkPad-T520:~$ 

Code: Select all

row@row-ThinkPad-T520:~$ sudo modprobe snd_hda_codec_hdmi
[sudo] password for row:    
row@row-ThinkPad-T520:~$ 

[code]

[code]row@row-ThinkPad-T520:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: CX20590 Analog [CX20590 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
row@row-ThinkPad-T520:~$ 
[code]
[code]row@row-ThinkPad-T520:~$ ls -l /etc/modprobe.d
total 44
-rw-r--r-- 1 root root 2507 Jul 30  2015 alsa-base.conf
-rw-r--r-- 1 root root  154 Jun 26  2018 amd64-microcode-blacklist.conf
-rw-r--r-- 1 root root  325 Jan 28  2018 blacklist-ath_pci.conf
-rw-r--r-- 1 root root 1667 Nov 12 13:54 blacklist.conf
-rw-r--r-- 1 root root  210 Jan 28  2018 blacklist-firewire.conf
-rw-r--r-- 1 root root  697 Jan 28  2018 blacklist-framebuffer.conf
-rw-r--r-- 1 root root  156 Jul 30  2015 blacklist-modem.conf
lrwxrwxrwx 1 root root   41 Feb 21 16:13 blacklist-oss.conf -> /lib/linux-sound-base/noOSS.modprobe.conf
-rw-r--r-- 1 root root  583 Jan 28  2018 blacklist-rare-network.conf
-rw-r--r-- 1 root root  127 Feb  7  2017 dkms.conf
-rw-r--r-- 1 root root  154 Aug 24  2018 intel-microcode-blacklist.conf
-rw-r--r-- 1 root root  347 Jan 28  2018 iwlwifi.conf
row@row-ThinkPad-T520:~$ 
[code]

[code]row@row-ThinkPad-T520:~$ cat /etc/modprobe.d/alsa-base.conf | tail
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
row@row-ThinkPad-T520:~$ 
.
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: Lenovo t520 no sound to tv, displayport to hdmi

Post by MrEen »

Well, the outputs look good, except for the missing HDMI. Let's get a full look at your sound setup. In the terminal type cd followed by wget http://www.alsa-project.org/alsa-info.sh -O alsa-info.sh && bash alsa-info.sh and when it asks, allow it to upload the output and paste the URL it gives you back here.

Another thing I'd like to see is the output of ls -l /lib/modules/4.15.0-45-generic/kernel/sound/pci/hda
row1234

Re: Lenovo t520 no sound to tv, displayport to hdmi

Post by row1234 »

hopefully I did the correctly

Code: Select all

row@row-ThinkPad-T520:~$ cd
row@row-ThinkPad-T520:~$ wget http://www.alsa-project.org/alsa-info.sh -O alsa-info.sh && bash alsa-info.sh
--2019-02-25 06:00:41--  http://www.alsa-project.org/alsa-info.sh
Resolving www.alsa-project.org (www.alsa-project.org)... 207.180.221.201
Connecting to www.alsa-project.org (www.alsa-project.org)|207.180.221.201|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://www.alsa-project.org/alsa-info.sh [following]
--2019-02-25 06:00:42--  https://www.alsa-project.org/alsa-info.sh
Connecting to www.alsa-project.org (www.alsa-project.org)|207.180.221.201|:443... connected.
ERROR: cannot verify www.alsa-project.org's certificate, issued by ‘CN=Let's Encrypt Authority X3,O=Let's Encrypt,C=US’:
  Unable to locally verify the issuer's authority.
To connect to www.alsa-project.org insecurely, use `--no-check-certificate'.
row@row-ThinkPad-T520:~$ 
[code]

[code]row@row-ThinkPad-T520:~$ ls -l /lib/modules/4.15.0-45-generic/kernel/sound/pci/hda
total 932
-rw-r--r-- 1 root root  23862 Jan 29 07:39 snd-hda-codec-analog.ko
-rw-r--r-- 1 root root   7078 Jan 29 07:39 snd-hda-codec-ca0110.ko
-rw-r--r-- 1 root root  84198 Jan 29 07:39 snd-hda-codec-ca0132.ko
-rw-r--r-- 1 root root  22606 Jan 29 07:39 snd-hda-codec-cirrus.ko
-rw-r--r-- 1 root root   8342 Jan 29 07:39 snd-hda-codec-cmedia.ko
-rw-r--r-- 1 root root  31838 Jan 29 07:39 snd-hda-codec-conexant.ko
-rw-r--r-- 1 root root 102246 Jan 29 07:39 snd-hda-codec-generic.ko
-rw-r--r-- 1 root root  88198 Jan 29 07:39 snd-hda-codec-hdmi.ko
-rw-r--r-- 1 root root  88670 Jan 29 07:39 snd-hda-codec-idt.ko
-rw-r--r-- 1 root root 198326 Jan 29 07:39 snd-hda-codec.ko
-rw-r--r-- 1 root root 152862 Jan 29 07:39 snd-hda-codec-realtek.ko
-rw-r--r-- 1 root root  12846 Jan 29 07:39 snd-hda-codec-si3054.ko
-rw-r--r-- 1 root root  31414 Jan 29 07:39 snd-hda-codec-via.ko
-rw-r--r-- 1 root root  75590 Jan 29 07:39 snd-hda-intel.ko
row@row-ThinkPad-T520:~$ 
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: Lenovo t520 no sound to tv, displayport to hdmi

Post by MrEen »

Your list of kernel modules was fine. Unfortunately the script had an issue and didn'y upload the output. Run bash alsa-info.sh again but this time save the file locally. It's quite a large file so I don't know that you could paste it here so here's a workaround that I think will work.

After running the script/saving the file, type ls so you get a listing of all the files where you can copy the weird filename that was created, then do cat [paste filename here without brackets] | nc termbin.com 9999 That should give you a link you can paste here.
row1234

Re: Lenovo t520 no sound to tv, displayport to hdmi

Post by row1234 »

it turned up empty, I must be doing something wrong. I went into my file system to delete the old kodi logs and I saw the alsa-info.sh file next to old kodi logs. I opened it up, the file had a only the numeral 1 in it,

Code: Select all

row@row-ThinkPad-T520:~$ bash alsa-info.sh
row@row-ThinkPad-T520:~$ bash alsa-info.sh
row@row-ThinkPad-T520:~$ ls
 alsa-info.sh                        Music
 Desktop                             Pictures
 Documents                          "PlayOnLinux's virtual drives"
 Downloads                           Public
 IPVa                                Templates
 IPVanish-Config                     Videos
 kodi_crashlog-20190221_212301.log   winehq.key
 kodi_crashlog-20190223_064430.log
row@row-ThinkPad-T520:~$ cat alsa-info.sh | nc termbin.com 9999
row@row-ThinkPad-T520:~$ 
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: Lenovo t520 no sound to tv, displayport to hdmi

Post by MrEen »

I'm sorry, I thought it saved to the same dir it ran from. Look in /tmp or ls /tmp

My run just now was alsa-info.txt.YtQZzeldZs

That's assuming the script even ran.
row1234

Re: Lenovo t520 no sound to tv, displayport to hdmi

Post by row1234 »

sorry for not getting back yesterday, big rain storm coming, kept me busy.
i typed in ls/tmp here is what I got. thanks rowland

Code: Select all

row@row-ThinkPad-T520:~$ ls /tmp
config-err-VxYio6
mintUpdate
ssh-W1TNt9gI3bED
systemd-private-233443b7f9924c3d9d04c15d0ad56336-colord.service-szEzfz
systemd-private-233443b7f9924c3d9d04c15d0ad56336-rtkit-daemon.service-HKZzAc
systemd-private-233443b7f9924c3d9d04c15d0ad56336-systemd-resolved.service-EZ3AKB
systemd-private-233443b7f9924c3d9d04c15d0ad56336-systemd-timesyncd.service-dSqAnU
Temp-3deec7ef-7b2f-4f47-81cf-a9e35802acde
Temp-c0ad6ffe-dec1-4ebf-88c4-399666fcc768
timeshift
www-data-temp-aspnet-0
row@row-ThinkPad-T520:~$ 
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: Lenovo t520 no sound to tv, displayport to hdmi

Post by MrEen »

Yeah, we had a spot of miscommunication. Mostly my fault. As bash alsa-info.sh doesn't look like it's running for you now, try the whole thing again:

Code: Select all

wget http://www.alsa-project.org/alsa-info.sh -O alsa-info.sh && bash alsa-info.sh
Make sure to save locally this time and at the end it will give you the location. I just checked, and it will be copyable.
Then you type cat /tmp/[paste without brackets] | nc termbin.com 9999

That should do it.
Locked

Return to “Software & Applications”