Search found 26 matches

by PsychedelicHell
Sun Jun 28, 2020 11:30 pm
Forum: Scripts & Bash
Topic: How can I run "echo 'on 0' | cec-client -s -d 1" on system boot?
Replies: 46
Views: 1899

Re: How can I run "echo 'on 0' | cec-client -s -d 1" on system boot?

Hey Rene, This didn't work either, screen turns on but not off. I did see on the screen as the computer is shutting down something like "a cron job has started for TV startup/shutdown and it looks like that properly runs but again, the screen stays on. Looks like I'll forward this thread to pulse-ei...
by PsychedelicHell
Sat Jun 27, 2020 4:47 pm
Forum: Scripts & Bash
Topic: How can I run "echo 'on 0' | cec-client -s -d 1" on system boot?
Replies: 46
Views: 1899

Re: How can I run "echo 'on 0' | cec-client -s -d 1" on system boot?

No rush to find an answer, I really appreciate your help. Perhaps it's time to approach pulse-eight directly?

I posted my issue on their Github but I haven't had a response yet. . .
by PsychedelicHell
Sat Jun 27, 2020 1:29 am
Forum: Scripts & Bash
Topic: How can I run "echo 'on 0' | cec-client -s -d 1" on system boot?
Replies: 46
Views: 1899

Re: How can I run "echo 'on 0' | cec-client -s -d 1" on system boot?

Neither of those worked, I've not noticed anything new or strange to report either. Linux just shuts down and the screen stays on.

Perhaps its worth debugging the Windows CEC client to see why that one works to turn the screen off on shutdown?
by PsychedelicHell
Fri Jun 26, 2020 11:22 pm
Forum: Hardware Support
Topic: ASUS Xonar Phoebus
Replies: 19
Views: 262

Re: ASUS Xonar Phoebus

Yes, but I've taken a short break from this project due to my problem in the other thread regarding getting the TV to turn on/turn off with boot/shutdown. If I can't get that working, then there's no real reason to pursue this either.
by PsychedelicHell
Fri Jun 26, 2020 9:57 pm
Forum: Scripts & Bash
Topic: How can I run "echo 'on 0' | cec-client -s -d 1" on system boot?
Replies: 46
Views: 1899

Re: How can I run "echo 'on 0' | cec-client -s -d 1" on system boot?

echo standby 0 | sudo cec-client -s returns with media@Media-Linux:~$ echo standby 0 | sudo cec-client -s [sudo] password for media: opening a connection to the CEC adapter... DEBUG: [ 104] Broadcast (F): osd name set to 'Broadcast' DEBUG: [ 105] connection opened, clearing any previous input and w...
by PsychedelicHell
Thu Jun 25, 2020 11:19 pm
Forum: Scripts & Bash
Topic: How can I run "echo 'on 0' | cec-client -s -d 1" on system boot?
Replies: 46
Views: 1899

Re: How can I run "echo 'on 0' | cec-client -s -d 1" on system boot?

Switching to nouveau driver has the same results as Nvidia, turns on with system boot, doesn't turn off on system shutdown.

No worries, take care mate. Talk to you tomorrow.
by PsychedelicHell
Thu Jun 25, 2020 10:52 pm
Forum: Scripts & Bash
Topic: How can I run "echo 'on 0' | cec-client -s -d 1" on system boot?
Replies: 46
Views: 1899

Re: How can I run "echo 'on 0' | cec-client -s -d 1" on system boot?

I explicitly confirm that: echo standby 0 | sudo cec-client -s -d 1 works from the terminal. The TV is connected to a pulse-eight HDMI adapter (https://www.pulse-eight.com/p/104/usb-hdmi-cec-adapter) which is then connected to the PC via USB and the GPU via another HDMI cable. Here is the informatio...
by PsychedelicHell
Thu Jun 25, 2020 10:17 pm
Forum: Scripts & Bash
Topic: How can I run "echo 'on 0' | cec-client -s -d 1" on system boot?
Replies: 46
Views: 1899

Re: How can I run "echo 'on 0' | cec-client -s -d 1" on system boot?

How's this? Jun 26 12:04:20 Media-Linux systemd[1]: Stopping Turn on/off TV on boot/shutdown... Jun 26 12:04:20 Media-Linux systemd[1]: Stopping Manage, Install and Generate Color Profiles... Jun 26 12:04:20 Media-Linux systemd[1]: Stopping Regular background program processing daemon... Jun 26 12:0...
by PsychedelicHell
Thu Jun 25, 2020 9:58 pm
Forum: Scripts & Bash
Topic: How can I run "echo 'on 0' | cec-client -s -d 1" on system boot?
Replies: 46
Views: 1899

Re: How can I run "echo 'on 0' | cec-client -s -d 1" on system boot?

Here's the second half: -- Logs begin at Fri 2020-06-26 10:50:10 AEST, end at Fri 2020-06-26 20:50:09 AEST. -- Jun 26 11:34:52 Media-Linux kernel: microcode: microcode updated early to revision 0xd6, date = 2020-04-23 Jun 26 11:34:52 Media-Linux kernel: Linux version 5.4.0-39-generic (buildd@lcy01-a...
by PsychedelicHell
Thu Jun 25, 2020 9:58 pm
Forum: Scripts & Bash
Topic: How can I run "echo 'on 0' | cec-client -s -d 1" on system boot?
Replies: 46
Views: 1899

Re: How can I run "echo 'on 0' | cec-client -s -d 1" on system boot?

It seems that I don't understand what I'm supposed to be doing with journalctl -b -1 it's too long to paste into a single post (character limit) so I'm going to split it into two posts now, here's the first half. media@Media-Linux:~$ journalctl -b -1 -- Logs begin at Fri 2020-06-26 10:50:10 AEST, en...
by PsychedelicHell
Thu Jun 25, 2020 9:46 pm
Forum: Scripts & Bash
Topic: How can I run "echo 'on 0' | cec-client -s -d 1" on system boot?
Replies: 46
Views: 1899

Re: How can I run "echo 'on 0' | cec-client -s -d 1" on system boot?

I couldn't see anything refrencing a TV with journalctl -b -1 When running your latest suggestion I'm getting the following. media@Media-Linux:~$ echo standby 0 | /usr/bin/cec-client -s -d 1 opening a connection to the CEC adapter... ERROR: [ 3634] error opening serial port '/dev/ttyACM0': Permissio...
by PsychedelicHell
Thu Jun 25, 2020 9:30 pm
Forum: Scripts & Bash
Topic: How can I run "echo 'on 0' | cec-client -s -d 1" on system boot?
Replies: 46
Views: 1899

Re: How can I run "echo 'on 0' | cec-client -s -d 1" on system boot?

Okay, following your instructions now. In the meantime I thought it would be useful to say that I got the code from this tutorial here: https://www.linuxuprising.com/2019/07/r ... ected.html maybe there's something in there that can help.
by PsychedelicHell
Thu Jun 25, 2020 8:59 pm
Forum: Scripts & Bash
Topic: How can I run "echo 'on 0' | cec-client -s -d 1" on system boot?
Replies: 46
Views: 1899

Re: How can I run "echo 'on 0' | cec-client -s -d 1" on system boot?

Hey, I've switched to Cinnamon, sorry MrEen.

Now Rene, what is it you wanted me to do?
by PsychedelicHell
Thu Jun 25, 2020 8:32 pm
Forum: Scripts & Bash
Topic: How can I run "echo 'on 0' | cec-client -s -d 1" on system boot?
Replies: 46
Views: 1899

Re: How can I run "echo 'on 0' | cec-client -s -d 1" on system boot?

The command I was using for shutdown is bash -c echo 'standby 0' | cec-client -s -d 1 and this does not work. I tried ExecStop=/bin/sh -c 'echo standby 0 | /usr/bin/cec-client -s -d 1' in the terminal which didn't work as Xfce reports back with "bash: -c command not found". I also tried it in the se...
by PsychedelicHell
Thu Jun 25, 2020 1:19 am
Forum: Scripts & Bash
Topic: How can I run "echo 'on 0' | cec-client -s -d 1" on system boot?
Replies: 46
Views: 1899

Re: How can I run "echo 'on 0' | cec-client -s -d 1" on system boot?

Hey Rene,

I appreciate all your help but it's still not turning off on shutdown.

I think I'll swap my Cinnamon for Xfce and try out the codes there, I'll report back here with my results.

EDIT: Same issue in Xfce, can get the screen to turn on with boot but not turn off on shutdown.
by PsychedelicHell
Wed Jun 24, 2020 8:54 pm
Forum: Scripts & Bash
Topic: How can I run "echo 'on 0' | cec-client -s -d 1" on system boot?
Replies: 46
Views: 1899

Re: How can I run "echo 'on 0' | cec-client -s -d 1" on system boot?

[Unit] Description=Turn on/off TV on boot/shutdown [Service] Type=oneshot ExecStart=/bin/sh -c 'echo on 0 | /usr/bin/cec-client -s -d 1' ExecStop=/bin/sh -c 'echo standby 0 | /usr/bin/cec-client -s -d 1' RemainAfterExit=yes [Install] WantedBy=multi-user.target Hey Rene, I followed your instructions...
by PsychedelicHell
Wed Jun 24, 2020 6:49 pm
Forum: Hardware Support
Topic: ASUS Xonar Phoebus
Replies: 19
Views: 262

Re: ASUS Xonar Phoebus

I plugged headphones into the headphone out on the soundcard, there was sound but it is the same as the faint center speaker, no hum in the headphones though.
by PsychedelicHell
Wed Jun 24, 2020 6:04 pm
Forum: Hardware Support
Topic: ASUS Xonar Phoebus
Replies: 19
Views: 262

Re: ASUS Xonar Phoebus

So turning everything up in AlsaMixer has some effect.

https://imgur.com/a/POc9e2Z

I can hear something, it's faint from the center speaker, barely audible over the sound of the amp humming.

Progress at the very least!
by PsychedelicHell
Wed Jun 24, 2020 5:46 pm
Forum: Hardware Support
Topic: ASUS Xonar Phoebus
Replies: 19
Views: 262

Re: ASUS Xonar Phoebus

Still nothing :( media@Media-Linux:~$ aplay -D hw:1,1 --channels=6 /usr/share/sounds/alsa/Front_Center.wav Playing WAVE '/usr/share/sounds/alsa/Front_Center.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono aplay: set_params:1349: Channels count not available media@Media-Linux:~$ aplay -D hw:1...
by PsychedelicHell
Wed Jun 24, 2020 5:35 pm
Forum: Hardware Support
Topic: ASUS Xonar Phoebus
Replies: 19
Views: 262

Re: ASUS Xonar Phoebus

Here's the results from the commands you gave me, I didn't hear anything besides the hum from the amp. media@Media-Linux:~$ aplay -D hw:1,1 /usr/share/sounds/alsa/Front_Center.wav Playing WAVE '/usr/share/sounds/alsa/Front_Center.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono aplay: set_par...

Go to advanced search