You are not logged in.

#1 2021-10-22 20:18

SteveM
Member
Registered: 2021-08-07
Posts: 51

Share monitor screen to tv

I'm running Gemini PLasma. A few times when trying to accomplish something else, I saw a popup come up with options to share my monitor screen. I would close the popup... it was getting in the way. Today I plugged in my HDMI cable that goes to the TV. The TV is set to receive a signal. When I had linuxmint XFCE on this laptop, I used it frequently. But now that I'm ready... there's no popup. I don't know what the program was called, and I can't find it.

So how can I do this, with this OS?

Offline

#2 2021-10-22 20:37

Tolkem
Member
Registered: 2019-10-06
Posts: 487

Re: Share monitor screen to tv

SteveM wrote:

I'm running Gemini PLasma. A few times when trying to accomplish something else, I saw a popup come up with options to share my monitor screen. I would close the popup... it was getting in the way. Today I plugged in my HDMI cable that goes to the TV. The TV is set to receive a signal. When I had linuxmint XFCE on this laptop, I used it frequently. But now that I'm ready... there's no popup. I don't know what the program was called, and I can't find it.

So how can I do this, with this OS?

In my laptop, I press F4 and the popup menu appears. You can also find this setting in System settings > Display & monitor

Offline

#3 2021-10-22 20:59

SteveM
Member
Registered: 2021-08-07
Posts: 51

Re: Share monitor screen to tv

That didn't work for me. But just now doing another search I found the key combo to bring up the popup: the meta key +p
Or the Windows key +p.

This brings up the popup but only the close button works. None of the other configurations work. :-(

On XFCE I installed Lxrandr, a GUI front-end for Xrandr. They have some Debian Bulleye packages listed here:
https://packages.debian.org/bullseye/lxrandr

The page says it's a LXDE monitor configuration tool, but I'm hoping one of them will work for Plasma. If you think one of these packages could work, could you point me to the right one?

Last edited by SteveM (2021-10-22 21:37)

Offline

#4 2021-10-23 03:23

Tolkem
Member
Registered: 2019-10-06
Posts: 487

Re: Share monitor screen to tv

SteveM wrote:

That didn't work for me. But just now doing another search I found the key combo to bring up the popup: the meta key +p
Or the Windows key +p.

This brings up the popup but only the close button works. None of the other configurations work. :-(

You mean this popup, right?

ksnip-20211022-215159.png

It does work for me here. How are you trying to "share" the screen?  This works if there's a second display connected either via HDMI or VGA, no via Wi-Fi a la chomecast, but wired. If you're trying to cast the screen via W-FI to a smart display, this won't work. You'll need gnome-network-displays To install, read here https://flathub.org/apps/details/org.gn … rkDisplays and here https://blog.paultelles.com/2020/03/how … plays.html

On XFCE I installed Lxrandr, a GUI front-end for Xrandr. They have some Debian Bulleye packages listed here:
https://packages.debian.org/bullseye/lxrandr

The page says it's a LXDE monitor configuration tool, but I'm hoping one of them will work for Plasma. If you think one of these packages could work, could you point me to the right one?

No idea sorry, you might try them, and if they do work, good, if they don't, remove them.

Offline

#5 2021-10-23 03:56

SteveM
Member
Registered: 2021-08-07
Posts: 51

Re: Share monitor screen to tv

Yes, that's the popup I was talking about. I have my smart TV plugged into the laptop by HDMI cable. This worked fine with Linuxmint XFCE but not Gemini. It's the same TV and same cable, and same laptop. I'll see what kind of luck I have with gnome-network-displays .

Offline

#6 2021-10-23 05:58

bin
Member
From: U.K.
Registered: 2016-01-28
Posts: 1,300

Re: Share monitor screen to tv

What graphics card is used in the laptop?

Please provide output from

inxi -G

Offline

#7 2021-10-23 12:02

Tolkem
Member
Registered: 2019-10-06
Posts: 487

Re: Share monitor screen to tv

SteveM wrote:

Yes, that's the popup I was talking about. I have my smart TV plugged into the laptop by HDMI cable. This worked fine with Linuxmint XFCE but not Gemini. It's the same TV and same cable, and same laptop. I'll see what kind of luck I have with gnome-network-displays .

Connect your smart TV with the HDMI cable, launch konsole and run this command

xrandr

output should be something like this

Screen 0: minimum 320 x 200, current 1366 x 768, maximum 8192 x 8192
LVDS connected primary 1366x768+0+0 (normal left inverted right x axis y axis) 344mm x 194mm
   1366x768      59.99*+  39.94  
   1280x720      59.97  
   1152x768      59.95  
   1024x768      59.95  
   800x600       59.96  
   848x480       59.94  
   720x480       59.94  
   640x480       59.94  
HDMI-0 disconnected (normal left inverted right x axis y axis)
VGA-0 disconnected (normal left inverted right x axis y axis)

In your case, HDMI-0 should say "connected", mine's disconnected now.

Offline

#8 2021-10-23 16:43

SteveM
Member
Registered: 2021-08-07
Posts: 51

Re: Share monitor screen to tv

Looks like the laptop doesn't see the TV.

Screen 0: minimum 320 x 200, current 1366 x 768, maximum 8192 x 8192
VGA-0 disconnected (normal left inverted right x axis y axis)
LVDS connected primary 1366x768+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
   1366x768      60.04*+
   1280x720      59.97  
   1152x768      59.95  
   1024x768      59.95  
   800x600       59.96  
   848x480       59.94  
   720x480       59.94  
   640x480       59.94  

The cable is plugged in, and the TV is on. So how do I make the laptop see the TV?

Offline

#9 2021-10-23 21:44

Tolkem
Member
Registered: 2019-10-06
Posts: 487

Re: Share monitor screen to tv

SteveM wrote:

Looks like the laptop doesn't see the TV.

Screen 0: minimum 320 x 200, current 1366 x 768, maximum 8192 x 8192
VGA-0 disconnected (normal left inverted right x axis y axis)
LVDS connected primary 1366x768+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
   1366x768      60.04*+
   1280x720      59.97  
   1152x768      59.95  
   1024x768      59.95  
   800x600       59.96  
   848x480       59.94  
   720x480       59.94  
   640x480       59.94  

The cable is plugged in, and the TV is on. So how do I make the laptop see the TV?

Run these commands, 1 at a time:

xrandr

while the smart TV and the HDMI cable are disconnected, copy the output and save it to a file. Next, run

sudo udevadm monitor

and then plug and unplug the HDMI cable, copy the output and save it to a file. Lastly, run

cat /sys/class/drm/card0/*HDMI*/status

copy the output and save it to a file, then post the output from all commands.

Last edited by Tolkem (2021-10-23 21:53)

Offline

#10 2021-10-24 04:54

SteveM
Member
Registered: 2021-08-07
Posts: 51

Re: Share monitor screen to tv

With the HDMI cable unplugged and the TV turned off, this is the data I collected. The sudo udevadm monitor command had to be stopped manually.

stevem@steve-linux:~$ xrandr
Screen 0: minimum 320 x 200, current 1366 x 768, maximum 8192 x 8192
VGA-0 disconnected (normal left inverted right x axis y axis)
LVDS connected primary 1366x768+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
   1366x768      60.04*+
   1280x720      59.97  
   1152x768      59.95  
   1024x768      59.95  
   800x600       59.96  
   848x480       59.94  
   720x480       59.94  
   640x480       59.94  
stevem@steve-linux:~$ sudo udevadm monitor
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent

KERNEL[642.553506] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[642.638243] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [642.645661] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [642.668938] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[695.097306] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[695.182731] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [695.190167] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [695.217900] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[747.641441] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[747.726464] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [747.733794] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [747.752646] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[798.169366] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[798.254147] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [798.261492] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [798.285812] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[850.713383] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[850.798257] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [850.805576] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [850.826129] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[903.257386] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[903.342161] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [903.349618] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [903.376140] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[932.634697] change   /devices/pci0000:00/0000:00:02.0/0000:02:00.0/backlight/acpi_video1 (backlight)
UDEV  [932.638372] change   /devices/pci0000:00/0000:00:02.0/0000:02:00.0/backlight/acpi_video1 (backlight)
KERNEL[935.334578] change   /devices/pci0000:00/0000:00:02.0/0000:02:00.0/backlight/acpi_video1 (backlight)
UDEV  [935.337562] change   /devices/pci0000:00/0000:00:02.0/0000:02:00.0/backlight/acpi_video1 (backlight)
KERNEL[953.785470] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[953.870321] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [953.877661] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [953.900521] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[1006.329380] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[1006.414902] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [1006.421569] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [1006.443950] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[1058.873403] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[1058.958886] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [1058.966396] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [1058.987508] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[1109.401381] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[1109.490157] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [1109.497697] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [1109.522596] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[1151.213693] change   /devices/pci0000:00/0000:00:02.0/0000:02:00.0/backlight/acpi_video1 (backlight)
UDEV  [1151.217243] change   /devices/pci0000:00/0000:00:02.0/0000:02:00.0/backlight/acpi_video1 (backlight)
KERNEL[1155.940671] change   /devices/pci0000:00/0000:00:02.0/0000:02:00.0/backlight/acpi_video1 (backlight)
UDEV  [1155.946450] change   /devices/pci0000:00/0000:00:02.0/0000:02:00.0/backlight/acpi_video1 (backlight)
KERNEL[1161.945480] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[1162.030892] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [1162.038429] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [1162.061170] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[1214.489395] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[1214.574860] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [1214.582243] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [1214.604317] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[1265.017502] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[1265.102312] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [1265.109781] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [1265.131958] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[1317.561361] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[1317.646936] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [1317.654400] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [1317.676306] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[1370.105517] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[1370.190933] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [1370.197457] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [1370.217887] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[1385.381450] change   /devices/pci0000:00/0000:00:02.0/0000:02:00.0/backlight/acpi_video1 (backlight)
UDEV  [1385.387078] change   /devices/pci0000:00/0000:00:02.0/0000:02:00.0/backlight/acpi_video1 (backlight)
KERNEL[1388.779643] change   /devices/pci0000:00/0000:00:02.0/0000:02:00.0/backlight/acpi_video1 (backlight)
UDEV  [1388.783327] change   /devices/pci0000:00/0000:00:02.0/0000:02:00.0/backlight/acpi_video1 (backlight)
KERNEL[1420.633500] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[1420.718683] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [1420.726093] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [1420.750517] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[1473.177489] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[1473.263067] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [1473.270467] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [1473.296266] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[1525.721453] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[1525.806318] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [1525.813874] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [1525.834264] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[1576.249458] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[1576.334101] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [1576.341403] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [1576.363437] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[1613.002527] change   /devices/pci0000:00/0000:00:02.0/0000:02:00.0/backlight/acpi_video1 (backlight)
UDEV  [1613.006120] change   /devices/pci0000:00/0000:00:02.0/0000:02:00.0/backlight/acpi_video1 (backlight)
KERNEL[1615.880178] change   /devices/pci0000:00/0000:00:02.0/0000:02:00.0/backlight/acpi_video1 (backlight)
UDEV  [1615.883176] change   /devices/pci0000:00/0000:00:02.0/0000:02:00.0/backlight/acpi_video1 (backlight)
KERNEL[1628.793337] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[1628.878991] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [1628.886364] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [1628.910337] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[1681.337513] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[1681.426242] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [1681.433702] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [1681.454062] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[1731.865414] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[1731.950947] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [1731.958148] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [1731.980111] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[1767.088107] change   /devices/pci0000:00/0000:00:02.0/0000:02:00.0/backlight/acpi_video1 (backlight)
UDEV  [1767.091716] change   /devices/pci0000:00/0000:00:02.0/0000:02:00.0/backlight/acpi_video1 (backlight)
KERNEL[1770.416488] change   /devices/pci0000:00/0000:00:02.0/0000:02:00.0/backlight/acpi_video1 (backlight)
UDEV  [1770.422097] change   /devices/pci0000:00/0000:00:02.0/0000:02:00.0/backlight/acpi_video1 (backlight)
KERNEL[1784.409449] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[1784.493838] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [1784.501465] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [1784.523662] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[1836.953450] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[1837.042909] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [1837.050351] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [1837.075152] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[1887.481414] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[1887.566296] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [1887.573731] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [1887.597731] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[1940.025483] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[1940.110961] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [1940.118397] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [1940.139243] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[1977.884146] change   /devices/pci0000:00/0000:00:02.0/0000:02:00.0/backlight/acpi_video1 (backlight)
UDEV  [1977.890290] change   /devices/pci0000:00/0000:00:02.0/0000:02:00.0/backlight/acpi_video1 (backlight)
KERNEL[1988.229453] change   /devices/pci0000:00/0000:00:02.0/0000:02:00.0/backlight/acpi_video1 (backlight)
UDEV  [1988.235490] change   /devices/pci0000:00/0000:00:02.0/0000:02:00.0/backlight/acpi_video1 (backlight)
KERNEL[1992.569433] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[1992.654650] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [1992.661422] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [1992.686286] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[2043.097459] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[2043.182894] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [2043.190158] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [2043.213277] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[2095.641425] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[2095.726947] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [2095.734293] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [2095.756218] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[2148.185452] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[2148.270999] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [2148.278348] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [2148.299530] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[2198.713476] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[2198.798873] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [2198.806328] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [2198.830625] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)

Above command wouldn't stop even after waiting for 15 minutes. I closed the window to stop it.


stevem@steve-linux:~$ cat /sys/class/drm/card0/*HDMI*/status
cat: '/sys/class/drm/card0/*HDMI*/status': No such file or directory

With the HDMI cable plugged in and the TV turned on, this is the data I collected. The sudo udevadm monitor command had to be stopped manually.

stevem@steve-linux:~$ xrandr
Screen 0: minimum 320 x 200, current 1366 x 768, maximum 8192 x 8192
VGA-0 disconnected (normal left inverted right x axis y axis)
LVDS connected primary 1366x768+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
   1366x768      60.04*+
   1280x720      59.97  
   1152x768      59.95  
   1024x768      59.95  
   800x600       59.96  
   848x480       59.94  
   720x480       59.94  
   640x480       59.94  

stevem@steve-linux:~$ sudo udevadm monitor
[sudo] password for stevem: 
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent

KERNEL[4482.809520] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[4482.894926] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [4482.902453] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [4482.925187] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[4533.337464] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[4533.458208] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [4533.465622] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [4533.491410] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[4585.913360] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[4585.998121] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [4586.005567] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [4586.029062] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[4610.272222] change   /devices/pci0000:00/0000:00:02.0/0000:02:00.0/backlight/acpi_video1 (backlight)
UDEV  [4610.277440] change   /devices/pci0000:00/0000:00:02.0/0000:02:00.0/backlight/acpi_video1 (backlight)
KERNEL[4613.368809] change   /devices/pci0000:00/0000:00:02.0/0000:02:00.0/backlight/acpi_video1 (backlight)
UDEV  [4613.372004] change   /devices/pci0000:00/0000:00:02.0/0000:02:00.0/backlight/acpi_video1 (backlight)
KERNEL[4638.457505] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[4638.541869] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [4638.549326] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [4638.573351] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[4688.985573] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[4689.107106] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [4689.114562] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [4689.136383] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[4741.561461] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[4741.646264] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [4741.653880] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [4741.680807] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[4764.614125] change   /devices/pci0000:00/0000:00:02.0/0000:02:00.0/backlight/acpi_video1 (backlight)
UDEV  [4764.617659] change   /devices/pci0000:00/0000:00:02.0/0000:02:00.0/backlight/acpi_video1 (backlight)
KERNEL[4794.105404] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[4794.190203] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [4794.197615] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [4794.218065] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[4839.639283] change   /devices/pci0000:00/0000:00:02.0/0000:02:00.0/backlight/acpi_video1 (backlight)
UDEV  [4839.642773] change   /devices/pci0000:00/0000:00:02.0/0000:02:00.0/backlight/acpi_video1 (backlight)
KERNEL[4844.633442] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[4844.754180] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [4844.761613] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [4844.783528] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[4897.209389] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[4897.294256] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [4897.301402] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [4897.322220] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[4902.669706] change   /devices/pci0000:00/0000:00:02.0/0000:02:00.0/backlight/acpi_video1 (backlight)
UDEV  [4902.675462] change   /devices/pci0000:00/0000:00:02.0/0000:02:00.0/backlight/acpi_video1 (backlight)
KERNEL[4949.753420] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[4949.838984] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [4949.846373] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [4949.869494] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[5000.281466] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[5000.402268] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [5000.409673] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [5000.431203] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[5052.857472] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[5052.943937] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [5052.951140] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [5052.978408] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[5053.426333] change   /devices/pci0000:00/0000:00:02.0/0000:02:00.0/backlight/acpi_video1 (backlight)
UDEV  [5053.427745] change   /devices/pci0000:00/0000:00:02.0/0000:02:00.0/backlight/acpi_video1 (backlight)
KERNEL[5066.556331] change   /devices/pci0000:00/0000:00:02.0/0000:02:00.0/backlight/acpi_video1 (backlight)
UDEV  [5066.559423] change   /devices/pci0000:00/0000:00:02.0/0000:02:00.0/backlight/acpi_video1 (backlight)
KERNEL[5105.401420] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[5105.486386] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [5105.493924] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [5105.515064] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[5155.929380] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[5156.051160] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [5156.058434] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [5156.080458] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)

This command would't stop running and had to be shut down

stevem@steve-linux:~$ cat /sys/class/drm/card0/*HDMI*/status
cat: '/sys/class/drm/card0/*HDMI*/status': No such file or directory
stevem@steve-linux:~$ 

Offline

#11 2021-10-24 14:00

Tolkem
Member
Registered: 2019-10-06
Posts: 487

Re: Share monitor screen to tv

SteveM wrote:

With the HDMI cable unplugged and the TV turned off, this is the data I collected. The sudo udevadm monitor command had to be stopped manually.

stevem@steve-linux:~$ xrandr
Screen 0: minimum 320 x 200, current 1366 x 768, maximum 8192 x 8192
VGA-0 disconnected (normal left inverted right x axis y axis)
LVDS connected primary 1366x768+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
   1366x768      60.04*+
   1280x720      59.97  
   1152x768      59.95  
   1024x768      59.95  
   800x600       59.96  
   848x480       59.94  
   720x480       59.94  
   640x480       59.94  

stevem@steve-linux:~$ sudo udevadm monitor
[sudo] password for stevem: 
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent

KERNEL[4482.809520] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[4482.894926] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [4482.902453] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [4482.925187] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[4533.337464] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[4533.458208] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [4533.465622] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [4533.491410] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[4585.913360] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[4585.998121] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [4586.005567] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [4586.029062] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[4610.272222] change   /devices/pci0000:00/0000:00:02.0/0000:02:00.0/backlight/acpi_video1 (backlight)
UDEV  [4610.277440] change   /devices/pci0000:00/0000:00:02.0/0000:02:00.0/backlight/acpi_video1 (backlight)
KERNEL[4613.368809] change   /devices/pci0000:00/0000:00:02.0/0000:02:00.0/backlight/acpi_video1 (backlight)
UDEV  [4613.372004] change   /devices/pci0000:00/0000:00:02.0/0000:02:00.0/backlight/acpi_video1 (backlight)
KERNEL[4638.457505] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[4638.541869] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [4638.549326] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [4638.573351] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[4688.985573] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[4689.107106] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [4689.114562] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [4689.136383] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[4741.561461] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[4741.646264] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [4741.653880] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [4741.680807] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[4764.614125] change   /devices/pci0000:00/0000:00:02.0/0000:02:00.0/backlight/acpi_video1 (backlight)
UDEV  [4764.617659] change   /devices/pci0000:00/0000:00:02.0/0000:02:00.0/backlight/acpi_video1 (backlight)
KERNEL[4794.105404] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[4794.190203] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [4794.197615] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [4794.218065] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[4839.639283] change   /devices/pci0000:00/0000:00:02.0/0000:02:00.0/backlight/acpi_video1 (backlight)
UDEV  [4839.642773] change   /devices/pci0000:00/0000:00:02.0/0000:02:00.0/backlight/acpi_video1 (backlight)
KERNEL[4844.633442] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[4844.754180] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [4844.761613] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [4844.783528] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[4897.209389] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[4897.294256] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [4897.301402] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [4897.322220] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[4902.669706] change   /devices/pci0000:00/0000:00:02.0/0000:02:00.0/backlight/acpi_video1 (backlight)
UDEV  [4902.675462] change   /devices/pci0000:00/0000:00:02.0/0000:02:00.0/backlight/acpi_video1 (backlight)
KERNEL[4949.753420] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[4949.838984] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [4949.846373] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [4949.869494] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[5000.281466] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[5000.402268] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [5000.409673] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [5000.431203] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[5052.857472] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[5052.943937] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [5052.951140] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [5052.978408] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[5053.426333] change   /devices/pci0000:00/0000:00:02.0/0000:02:00.0/backlight/acpi_video1 (backlight)
UDEV  [5053.427745] change   /devices/pci0000:00/0000:00:02.0/0000:02:00.0/backlight/acpi_video1 (backlight)
KERNEL[5066.556331] change   /devices/pci0000:00/0000:00:02.0/0000:02:00.0/backlight/acpi_video1 (backlight)
UDEV  [5066.559423] change   /devices/pci0000:00/0000:00:02.0/0000:02:00.0/backlight/acpi_video1 (backlight)
KERNEL[5105.401420] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[5105.486386] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [5105.493924] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [5105.515064] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[5155.929380] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[5156.051160] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [5156.058434] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [5156.080458] change   /devices/pci0000:00/0000:00:16.2/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)

This command would't stop running and had to be shut down

stevem@steve-linux:~$ cat /sys/class/drm/card0/*HDMI*/status
cat: '/sys/class/drm/card0/*HDMI*/status': No such file or directory
stevem@steve-linux:~$ 

Yes, udev monitor had to be stopped manually with Ctrl + c Launch konsole and run this, please

grep . /sys/class/drm/*/status

and

ls /sys/class/drm

and post the output from both commands here.

Offline

#12 2021-10-24 18:11

SteveM
Member
Registered: 2021-08-07
Posts: 51

Re: Share monitor screen to tv

stevem@steve-linux:~$ grep . /sys/class/drm/*/status
/sys/class/drm/card0-LVDS-1/status:connected
/sys/class/drm/card0-VGA-1/status:disconnected
/sys/class/drm/card1-HDMI-A-1/status:disconnected
/sys/class/drm/card1-LVDS-2/status:disconnected
/sys/class/drm/card1-VGA-2/status:disconnected

and

stevem@steve-linux:~$ ls /sys/class/drm
card0         card0-VGA-1  card1-HDMI-A-1  card1-VGA-2  renderD129  version
card0-LVDS-1  card1        card1-LVDS-2    renderD128   ttm

Offline

#13 2021-10-24 18:31

Tolkem
Member
Registered: 2019-10-06
Posts: 487

Re: Share monitor screen to tv

SteveM wrote:
stevem@steve-linux:~$ grep . /sys/class/drm/*/status
/sys/class/drm/card0-LVDS-1/status:connected
/sys/class/drm/card0-VGA-1/status:disconnected
/sys/class/drm/card1-HDMI-A-1/status:disconnected
/sys/class/drm/card1-LVDS-2/status:disconnected
/sys/class/drm/card1-VGA-2/status:disconnected

and

stevem@steve-linux:~$ ls /sys/class/drm
card0         card0-VGA-1  card1-HDMI-A-1  card1-VGA-2  renderD129  version
card0-LVDS-1  card1        card1-LVDS-2    renderD128   ttm

Connect the HDMI cable and run 

cat /sys/class/drm/card1/*HDMI*/status

again, then post the output.

Offline

#14 2021-10-24 19:01

SteveM
Member
Registered: 2021-08-07
Posts: 51

Re: Share monitor screen to tv

stevem@steve-linux:~$ cat /sys/class/drm/card1/*HDMI*/status
disconnected

There's only the one HDMI port on this old laptop. The other end is still plugged into HDMI 1 (ARC) -- just as it was when I was using XFCE on the laptop.

Offline

#15 2021-10-25 16:41

Tolkem
Member
Registered: 2019-10-06
Posts: 487

Re: Share monitor screen to tv

SteveM wrote:
stevem@steve-linux:~$ cat /sys/class/drm/card1/*HDMI*/status
disconnected

There's only the one HDMI port on this old laptop. The other end is still plugged into HDMI 1 (ARC) -- just as it was when I was using XFCE on the laptop.

Launch konsole and run this

xrandr --listproviders

and post the output here, please. Also, it'd be helpful if you could share the output of this too

inxi -SMCGFx

I don't think the desktop has anything to do with this, but something else.

Offline

#16 2021-10-25 17:28

SteveM
Member
Registered: 2021-08-07
Posts: 51

Re: Share monitor screen to tv

stevem@steve-linux:~$ xrandr --listproviders
Providers: number : 2
Provider 0: id: 0x53 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 2 outputs: 2 associated providers: 0 name:ATI Mobility Radeon HD 4200 @ pci:0000:01:05.0
Provider 1: id: 0x82 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 4 outputs: 3 associated providers: 0 name:ATI Mobility Radeon HD 5000 Series @ pci:0000:02:00.0

and

stevem@steve-linux:~$ inxi -SMCGFx
System:
  Host: steve-linux Kernel: 5.10.0-9-amd64 x86_64 bits: 64 compiler: gcc 
  v: 10.2.1 Desktop: KDE Plasma 5.20.5 Distro: Q4OS 4.6.1-n1 
  base: Debian GNU/Linux 11 (bullseye) 
Machine:
  Type: Laptop System: Hewlett-Packard product: HP Pavilion dv6 Notebook PC 
  v: 058B110000242B10000020100 serial: <superuser required> 
  Mobo: Hewlett-Packard model: 1441 v: 67.33 serial: <superuser required> 
  BIOS: Hewlett-Packard v: F.28 date: 04/11/2011 
Battery:
  ID-1: BAT0 charge: 49.4 Wh condition: 49.4/49.4 Wh (100%) 
  model: Hewlett-Packard Primary status: Full 
CPU:
  Info: Triple Core model: AMD Phenom II P840 bits: 64 type: MCP arch: K10 
  rev: 3 L2 cache: 1.5 MiB 
  flags: lm nx pae sse sse2 sse3 sse4a svm bogomips: 11371 
  Speed: 800 MHz min/max: 800/1900 MHz Core speeds (MHz): 1: 800 2: 800 
  3: 800 
Graphics:
  Device-1: AMD RS880M [Mobility Radeon HD 4225/4250] vendor: Hewlett-Packard 
  driver: radeon v: kernel bus ID: 01:05.0 
  Device-2: AMD Park [Mobility Radeon HD 5430/5450/5470] 
  vendor: Hewlett-Packard driver: radeon v: kernel bus ID: 02:00.0 
  Device-3: Realtek 2SF022 type: USB driver: uvcvideo bus ID: 1-3:2 
  Display: x11 server: X.Org 1.20.11 driver: loaded: ati,radeon 
  unloaded: fbdev,modesetting,vesa resolution: 1366x768~60Hz 
  OpenGL: renderer: AMD RS880 (DRM 2.50.0 / 5.10.0-9-amd64 LLVM 11.0.1) 
  v: 3.3 Mesa 20.3.5 direct render: Yes 
Audio:
  Device-1: AMD SBx00 Azalia vendor: Hewlett-Packard driver: snd_hda_intel 
  v: kernel bus ID: 00:14.2 
  Device-2: AMD Cedar HDMI Audio [Radeon HD 5400/6300/7300 Series] 
  vendor: Hewlett-Packard driver: snd_hda_intel v: kernel bus ID: 02:00.1 
  Sound Server: ALSA v: k5.10.0-9-amd64 
Network:
  Device-1: Qualcomm Atheros AR9285 Wireless Network Adapter 
  vendor: Hewlett-Packard U98Z062.12 802.11bgn driver: ath9k v: kernel 
  port: 3000 bus ID: 03:00.0 
  IF: wlo2 state: up mac: 4c:0f:6e:34:83:f4 
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Hewlett-Packard driver: r8169 v: kernel port: 2000 bus ID: 04:00.0 
  IF: enp4s0 state: down mac: 60:eb:69:58:9b:cd 
Drives:
  Local Storage: total: 465.76 GiB used: 18.44 GiB (4.0%) 
  ID-1: /dev/sda vendor: Seagate model: ST9500420AS size: 465.76 GiB 
Partition:
  ID-1: / size: 449.61 GiB used: 18.44 GiB (4.1%) fs: ext4 dev: /dev/sda1 
Swap:
  ID-1: swap-1 type: partition size: 7.89 GiB used: 0 KiB (0.0%) 
  dev: /dev/sda2 
Sensors:
  System Temperatures: cpu: 61.5 C mobo: N/A gpu: radeon temp: 53.0 C 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 180 Uptime: 6m Memory: 3.59 GiB used: 1.5 GiB (41.8%) 
  Init: systemd runlevel: 5 Compilers: gcc: 10.2.1 Packages: 2381 Shell: Bash 
  v: 5.1.4 inxi: 3.3.01 
stevem@steve-linux:~$ 

Offline

#17 2021-10-25 18:31

Tolkem
Member
Registered: 2019-10-06
Posts: 487

Re: Share monitor screen to tv

Ok. Let's try this: connect the TV via the HDMI cable, launch konsole and run this

xrandr --output HDMI-A-1 --auto

looks like xrandr isn't picking the HDMI display up, but the LVDS only, hopefully, this will try and do that.

Offline

#18 2021-10-25 19:12

SteveM
Member
Registered: 2021-08-07
Posts: 51

Re: Share monitor screen to tv

stevem@steve-linux:~$ xrandr --output HDMI-A-1 --auto
warning: output HDMI-A-1 not found; ignoring

Offline

#19 2021-10-25 19:43

Tolkem
Member
Registered: 2019-10-06
Posts: 487

Re: Share monitor screen to tv

SteveM wrote:
stevem@steve-linux:~$ xrandr --output HDMI-A-1 --auto
warning: output HDMI-A-1 not found; ignoring

Ok. Try this: launch konsole and run

xrandr --auto

Offline

#20 2021-10-25 19:56

SteveM
Member
Registered: 2021-08-07
Posts: 51

Re: Share monitor screen to tv

As far as I can tell, I don't think this did anything.

stevem@steve-linux:~$ xrandr --auto
stevem@steve-linux:~$ 

Offline

#21 2021-10-26 12:41

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,247
Website

Re: Share monitor screen to tv

We will perform some testing with the secondary display port and possibly report here, if we find something related.

Offline

#22 2021-10-26 17:11

Tolkem
Member
Registered: 2019-10-06
Posts: 487

Re: Share monitor screen to tv

SteveM wrote:

As far as I can tell, I don't think this did anything.

stevem@steve-linux:~$ xrandr --auto
stevem@steve-linux:~$ 

Ok. At this point, I suggest you try and check whether the cable/port is working fine, you could download a different distro's iso file, or even use Q4OS', write the .iso to a USB, and boot the live OS, then try connecting your smart TV, and if it works, then something's wrong with Debian's/Q4OS' settings in Plasma, and if it doesn't, then you should probably try/get a new HDMI cable, if after confirming that a new cable didn't make any difference, then something might be wrong with the HDMI port. In short, discarding possible reasons(hardware or software related)that explain why it is not working.

Offline

#23 2021-10-26 20:11

SteveM
Member
Registered: 2021-08-07
Posts: 51

Re: Share monitor screen to tv

I think I replaced XFCE with Plasma four days ago. The HDMI was working fine. The connection is tight on the TV, and there is only one HDMI cable port on this laptop. I have Linuxmint on a live USB -- I can give that a try.

Edit a little later:

I plugged in the Linuxmint live USB. It only took about 5 seconds and I had the laptop screen displaying on the TV. It must be Plasma that has a problem.

Last edited by SteveM (2021-10-26 20:44)

Offline

#24 2021-10-26 23:57

Tolkem
Member
Registered: 2019-10-06
Posts: 487

Re: Share monitor screen to tv

SteveM wrote:

I think I replaced XFCE with Plasma four days ago. The HDMI was working fine. The connection is tight on the TV, and there is only one HDMI cable port on this laptop. I have Linuxmint on a live USB -- I can give that a try.

Edit a little later:

I plugged in the Linuxmint live USB. It only took about 5 seconds and I had the laptop screen displaying on the TV. It must be Plasma that has a problem.

You mean you installed XFCE in Q4OS? Or was it another distro? The xrandr command runs at a system level, it doesn't have to do anything with Plasma specifically. I think something might be wrong with Debian's/Q4OS' settings in Plasma, some missing configuration file ... I don't know. It works just fine for me, tho.

Offline

#25 2021-10-27 02:20

SteveM
Member
Registered: 2021-08-07
Posts: 51

Re: Share monitor screen to tv

The laptop had Linuxmint XFCE on it. This is what I was using a few days ago. Then I replaced it with Q4IS Gemini, and it no longer works. To test it today, I used a Linux mint, live USB, to login to the laptop with Gemini on it. Linux mint live USB had no problem with sharing the screen to the TV. That's why I think it must be Debian's/Q4OS that's the problem

Offline

Board footer

Powered by FluxBB