Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I have a Raspberry Pi without keyboard or mouse, connected to my LG HD TV via HDMI. I control it via SSH from my laptop.
I have noticed for some time that when I turn on the TV or change to the Raspberry Pi input that the screen is black. If I play a movie or startx video appears, but when they end the screen goes black again.
Just now I had started the X server to experiment with something and while I was googling to figure something out and running test programs etc., the screen suddenly went black.
I killed the X server from the SSH session, and the video re-appeared with the remnants of the boot sequence and the console login prompt.
Does anyone have any idea:
What is happening?
How can I keep the video visible as long as the TV is set to the relevant HDMI input?
How can I turn the video on when switching to the relevant HDMI input?
If 2/3 don't work and the screen goes black, how can I recover it?
Thanks.
Put this in your rc.local and reboot: sh -c 'setterm -blank 0 -powersave off -powerdown 0 < /dev/console > /dev/console 2>&1'
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 months ago.
Improve this question
Laptop Model: Sony, Vaio SVE141D11L
Hi! I have two problem. first is when I turn on my laptop I see this Operation System Not Found, and the second problem is, I can't boot bios page, because my keyboard is not working. so, now how can I fix my problem? I mean how can I get into the bios page?
not sure why your keyboard is not working, could use more information - best way to access bios would be to plug in a basic USB keyboard and press key as says on bios screen.
Wireless keyboards/dongle keyboards most likely will not work.
Some other easier things you could try:
It sounds like your memory device(HDD/SSD/M2) might still be working but OS is corrupt so insert an OS installation media (usb, cd etc) if your on Microsoft windows you can get an windows iso tool online, as your computer cant detect OS it should boot into any bootable media.
open up your laptop remove cmos battery for over a minute which should reset your bios in-case keyboard is messed up due to settings
remove your internal media device and plug it into another computer to check if its readable.
Hope this helps
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I searched for a solution to reboot raspberry pi 4 after shutting down but only I can find that you wire a switch to reboot it. Is there a program or a script to remotly start up raspberry pi by pressing some button on the keyboard. Because I am using mine a smart tv replacement and want to know is it possible to reboot remotly without getting out of bed? :D
a good solution, which I tested is to directly connect the raspberry pi to the tv via usb, so when you turn on the television as the command the rasp also turns on :)
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
on my raspberry, I installed "motion" (the one with daemon) for my Pi Camera. However, I set up the Motion with the port 8081. If I open it on the raspberry using localhost:8081 it works but unfortunately with a big delay/lag. Maybe if you find a solution to this would be awesome. But my main problem is that if I want to open the server on my Pc by entering 192.168.xxx.xx:8081, it won't open at all. Using the IP without the port it still works. Maybe you find a solution.
The lag you encounter on Raspberry pi is because that same raspberry is processing the video input, and now you want to add processing of showing you that stream, after all, it is raspberry, no big deal there.
The Motion config file (/etc/motion/motion.conf) haves a setting named "Stream_localhost" by default it is set to ON, make sure you change it to OFF.
If you have any other problems I believe this simple instruction will help you.
How to Make Raspberry Pi Webcam Server and Stream Live Video || Motion + Webcam + Raspberry Pi
EDIT:
After quick google searching I found out that two more settings must be set to off also
webcam_localhost off
control_localhost off
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
I am trying to install Raspbian on Pi 3 but when I connect it to my monitor using Hdmi the screen is just all black and it doesn't say anything. I've tried searching online but all the answers I found I got confused, since most involve connecting using ssh or something while I can't even get it to turn on to connect it to wifi.
Look for a flash of green near the power led after you plug in the power, that should indicate its booting up okay. I'd suggest verifying the install on your sd card, flash another card and try that. Ensure the power plug you have is good quality and supplying the correct voltage.
Pre-answer: you might want to verify the install on the SD before spending too much time with blind boots.
Easy answer: use a wired usb adapter (preferably with an alternate source of power), then ssh and run raspi-config as I'm sure you've already read.
Moderate answer: stick the SD card in an adapter and edit the /boot/config.txt file. See here for syntax.
Advanced: Edit files as in moderate answer above, but this time target crontab to add a script hook that connects to wifi, thus allowing ssh.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
so I am having trouble with preventing my desktop from going to sleep when I leave it overnight. I am running calculations that take several hours and whenever my computer goes to sleep, the calculations are interrupted. I am running CentOS 6.5.
I have already when to System > Preferences > Power Management and changed settings to Never and Never for the AC Power tab.
I've also tried it through terminal:
[------]$ sudo setterm -powersave off -blank 0
cannot (un)set powersave mode
However, after 10-15 minutes, my monitor still goes to sleep and I will have to retype my password to get back in. Any help would be greatly appreciated!
Or System > Preferences > Power Management > On Battery Power tab > Put display to sleep when inactive for: NEVER!
Ok, so what needs to be done is to go to System > Preferences > Screen Saver and then uncheck the box that reads "Activate Screen Saver when Computer is Idle". This should solve the problem.
If it still blanks the screen, I find that in CentOs 7 I also have to go into system->users->myuseraccount and set Automatic Login to On or the system locks even when screen blank is never and suspend is set to off.
The system log "messages" shows
systemd[1] : Removed slice usernameredacted​.slice.
systemd[1] : Stopping usernameredacted.slice.
at the time the screen blanked.