Yes. I made a mistake, put out inaccurate info, mislead you, and I am sorry.
Sent from my iPhone using Home Brew
HAha, no worries, i misled you, then you misled me and we were both wrong/right.
Yes. I made a mistake, put out inaccurate info, mislead you, and I am sorry.
Sent from my iPhone using Home Brew
HAha, no worries, i misled you, then you misled me and we were both wrong/right.
...the whole "monitor never really sleeps" issue. It has become my Great White Whale, dammit...
Have you tried 'tricking' the monitor into thinking that there is no signal? Is that possible?
# sudo apt-get install build-essential autoconf liblockdev1-dev libudev-dev git libtool pkg-config
# sudo git clone git://github.com/Pulse-Eight/libcec.git
# cd libcec
# sudo ./bootstrap
# sudo ./configure --with-rpi-include-path=/opt/vc/include --with-rpi-lib-path=/opt/vc/lib --enable-rpi
# sudo make
# sudo make install
# sudo ldconfig
# cec-client -l
# echo standby 0 | cec-client -s
# echo "on 0" | cec-client -s
anyone already thought using HDMI-CEC
by broo0ose » Thu Aug 22, 2013 2:14 pm
These are my notes on what I did for one project...
Make sure the Pi is set to the correct timezone using the raspi-config utility.
sudo raspi-config
eg. Europe/London
cron is the service that runs jobs at various times.
tvservice controls the HDMI
crontab -e
allows you to modify the cron table.
# m h dom mon dow command
# power saving
0 17 * * * tvservice -o
0 8 * * 1-5 /home/pi/screen_on.sh
this will run tvservice -o at 17:00 every day turning the screen off,
and run a screen_on.sh script at 08:00 every weekday morning.
contents of screen_on.sh
#!/bin/sh
tvservice --preferred > /dev/null
fbset -depth 8; fbset -depth 16; xrefresh
by broo0ose » Wed Aug 28, 2013 3:54 pm
'tvservice -o' puts the monitor into sleep mode, the LED on the screen goes from green to orange, there's no glow.
You using a Vizio TV by chance? Seems like 1/2 of the Vizio world is waiting for them to finally fix that bug in their firmware. I believe you can 'rig' that by sending a well-timed command via CEC to change the input.Well I installed the libcec library and I can definitely power on/off an HDMI tv.
But it takes awhile for the tv to power up, and it defaults to the OTA tuner instead of the HDMI port the 'Pi is plugged into, requiring user intervention to change inputs.
No, there is no such thing as CEC for DVI (there is no audio thru DVI either)...Also I want to keep using my old DVI-only 19" LCD display. But while the HDMI sideband I2C bus is hooked to the corresponding DVI port I2C pins via a passive conversion cable, I doubt DVI devices know anything about CEC.
My DVI Samsung monitors display some ugly screen saver that reads "No Input" if the clock/sync is missing...I did have a flash about building an adapter that would insert a pair of fet switches in the TMDS clock pair and control the switches from a 'Pi GPIO pin, using xscreensaver-command to watch xscreensaver state changes and toggle the GPIO on and off accordingly. No clock = monitor goes into standby. If all else fails that's a potential solution...
My DVI Samsung monitors display some ugly screen saver that reads "No Input" if the clock/sync is missing
Looks like they are using a "tvservice -o" command to turn off the signal from the HDMI which will tell the monitor to go in sleep mode.
My development 'Pi is current hooked to a low-end 32" Insignia hdtv of quite recent vintage, and it's totally unencumbered by the intelligence to run "apps". If its source input is switched to an unconnected port it reports same and then shuts off the backlight. That would be acceptable behavior, if an hdtv was my intended 'Pints display.
I've been digging around and playing with various cec-client commands and can switch the tv on and off, and change tv input sources - as long as the source is active. So I can invoke "standby" to power off the display, then wake it with "on", then switch the input source to the 'Pi's hdmi input. The turn-on time still takes forever though, so this isn't a viable solution.
I thought of simply switching to an unused port to "sleep" the display then switching back to the 'Pi's hdmi input, but I haven't figured out show to have the 'Pi cause the tv to switch to an unconnected hdmi port. I just downloaded the HDMI spec v1.4 which has all of the CEC stuff documented, and have been learning the EDID format and commands. Maybe I'll find a way to work with the tv.
But that's all just for science (!) as I still want a DVI solution.
The Viewsonic running on my keezer's 'Pi does that - then shuts off the backlight and goes into a low power state. Perfect response, I just need a way to get there
Yeah, I've spent countless hours following tvservice threads with no joy. I can turn the HDMI port off using tvservice, and my DVI display does indeed go into its lower power state. Interestingly, the hdtv I'm using on my dev 'Pi goes into its screen-saver "No Signal" thing and keeps the backlight alive. Stupid thing. But when I turn the HDMI port back on, the DVI monitor wakes up with the backlight on, but the 'Pi's desktop never appears. Same results with the HDTV. I have to ssh into the wee beastie to reboot it to get the desktop back...
Cheers!
tvservice -o works perfectly for me. The only problem is I didn't know how to get it back on without rebooting. Any help?
Edit: It appears that tvservice -p should do it, but all it does is turn on my backlight; no picture.
And with that you're now at the beginning of the journey I started months ago
As I wrote right above your post, to get out of that same situation (without blowing up an SD card partition) I used Putty to ssh in and used root privs to do a shutdown -r now...
Cheers!
My development 'Pi is current hooked to a low-end 32" Insignia hdtv of quite recent vintage, and it's totally unencumbered by the intelligence to run "apps". If its source input is switched to an unconnected port it reports same and then shuts off the backlight. That would be acceptable behavior, if an hdtv was my intended 'Pints display.
I've been digging around and playing with various cec-client commands and can switch the tv on and off, and change tv input sources - as long as the source is active. So I can invoke "standby" to power off the display, then wake it with "on", then switch the input source to the 'Pi's hdmi input. The turn-on time still takes forever though, so this isn't a viable solution.
I thought of simply switching to an unused port to "sleep" the display then switching back to the 'Pi's hdmi input, but I haven't figured out show to have the 'Pi cause the tv to switch to an unconnected hdmi port. I just downloaded the HDMI spec v1.4 which has all of the CEC stuff documented, and have been learning the EDID format and commands. Maybe I'll find a way to work with the tv.
But that's all just for science (!) as I still want a DVI solution.
The Viewsonic running on my keezer's 'Pi does that - then shuts off the backlight and goes into a low power state. Perfect response, I just need a way to get there
Yeah, I've spent countless hours following tvservice threads with no joy. I can turn the HDMI port off using tvservice, and my DVI display does indeed go into its lower power state. Interestingly, the hdtv I'm using on my dev 'Pi goes into its screen-saver "No Signal" thing and keeps the backlight alive. Stupid thing. But when I turn the HDMI port back on, the DVI monitor wakes up with the backlight on, but the 'Pi's desktop never appears. Same results with the HDTV. I have to ssh into the wee beastie to reboot it to get the desktop back...
Cheers!
Can someone help me, please? I just finished step 5 of the install instructions and after my reboot, I am taken to a white screen that says:
It works!
This is the default web page for this server.
The web server software is running but no content has been added, yet.
I'm stuck on this screen, I can't find a way to get back to the homepage. HELP! I'm so close!
You're in luck! It's a simple solution to problem that several people have had...
Delete /var/www/index.html and you'll be good to go.
Sent from my iPhone using Home Brew
Just exit the browser and click on what would be the windows start button in the corner. Then click on programming or something to open the directory and I think you'll find it in the home folder. If not, just look around a little.
Basically, the pi is loading that screen instead of your taplist. Once it's removed, it'll load your taplist instead. That's how I understand it anyway
Sent from my iPhone using Home Brew
Ok, i finally got off the white screen. My monitor resolution is off, I need to go back and fix that. I spent about 5 hours on it tonight, i'll finish tomorrow. Man, I'm almost there!
Thanks for your help, DanH.
Dammit! You're so close! I was committed to get it working by the end of the night.
But you're very welcome and there will be plenty of help tomorrow if you need it.
Sent from my iPhone using Home Brew
One more for me. After bringing up the initial setup page on Step 7, filled out all the fields, hit Setup and got success on validating entries, checking db connectivity, checking config folder permissions, update config files, update admin config files, and creating rpints database user. I got an error in query on running database script
Dammit! You're so close! I was committed to get it working by the end of the night.
But you're very welcome and there will be plenty of help tomorrow if you need it.
Sent from my iPhone using Home Brew
Ok, I'm back at it. I got all the way through step 7, I got an error in query on running database script.
So I went back and did a sudo reboot and now I have a chromium error, No Data Received (Error 324)
That ones gonna have to wait for someone smarter than me... I'm sorry, but the good news is people seem to chime in to help fairly quickly.
Sent from my iPhone using the sweet Home Brew app, cuz I'm a ****** and I need everyone to know that I have an iPhone as if everyone else in the world doesn't have one.
I think I fixed it. I may have an error but I reloaded it (Warning: unlink(../../index.html): No such file or directory in /var/www/install/includes/configprocessor.php on line 212) and I'm onto the part that says:
Congratulations! Your Raspberry Pints has been setup successfully.
Click for - Tap List
Click for - Administration
I'm getting this same error. What did you do to fix it? I haven't touched anything since it says to be patient while it does it's thing.
Finished mine up over the weekend. Here's a shot. Anyone know a way of filling in the unused space? Did I miss something on install? Anyway here she is. Waiting on my wall mount adapter to come for a cleaner look.
Enter your email address to join: