Search found 26 matches
- 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: 2515
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 pul...
- 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: 2515
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. . .
I posted my issue on their Github but I haven't had a response yet. . .
- 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: 2515
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?
Perhaps its worth debugging the Windows CEC client to see why that one works to turn the screen off on shutdown?
- Fri Jun 26, 2020 11:22 pm
- Forum: Hardware Support
- Topic: ASUS Xonar Phoebus
- Replies: 19
- Views: 514
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.
- 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: 2515
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...
- 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: 2515
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.
No worries, take care mate. Talk to you tomorrow.
- 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: 2515
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...
- 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: 2515
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...
- 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: 2515
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...
- 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: 2515
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...
- 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: 2515
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...
- 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: 2515
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.
- 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: 2515
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?
Now Rene, what is it you wanted me to do?
- 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: 2515
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...
- 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: 2515
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.
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.
- 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: 2515
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...
- Wed Jun 24, 2020 6:49 pm
- Forum: Hardware Support
- Topic: ASUS Xonar Phoebus
- Replies: 19
- Views: 514
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.
- Wed Jun 24, 2020 6:04 pm
- Forum: Hardware Support
- Topic: ASUS Xonar Phoebus
- Replies: 19
- Views: 514
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!
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!
- Wed Jun 24, 2020 5:46 pm
- Forum: Hardware Support
- Topic: ASUS Xonar Phoebus
- Replies: 19
- Views: 514
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...
- Wed Jun 24, 2020 5:35 pm
- Forum: Hardware Support
- Topic: ASUS Xonar Phoebus
- Replies: 19
- Views: 514
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...