hamza
Posts: 76
Joined: Fri Apr 03, 2015 7:16 pm

sleep mod (mouse keyboard)

Sat May 02, 2015 7:07 pm

hi
how can i put the rpi in sleep mode??and how to awake it???

also how to disable mouse and keyboard all the time (during sleep mode or without sleep mode)????

thank you

User avatar
rpdom
Posts: 17029
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: sleep mod (mouse keyboard)

Sat May 02, 2015 7:11 pm

The Pi doesn't have a "sleep mode". It can tell the monitor to turn off though.

hamza
Posts: 76
Joined: Fri Apr 03, 2015 7:16 pm

Re: sleep mod (mouse keyboard)

Sat May 02, 2015 9:17 pm

ok, how to tuern off monitor,??

also how to disable keyboard and mouse???

User avatar
rpdom
Posts: 17029
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: sleep mod (mouse keyboard)

Sun May 03, 2015 6:24 am

hamza wrote:ok, how to tuern off monitor,??
That depends on the monitor.

I believe the Pi has a screen blanking timeout after so many minutes of inactivity.
You can disable the video output with the command "tvservice -o" and your monitor should shut down due to lack of input (my TV does).
also how to disable keyboard and mouse???
Unplug them?
There is a way on the B+ and Pi 2 to turn off USB power, but that will stop all USB devices including the Ethernet port.

User avatar
DougieLawson
Posts: 38883
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: sleep mod (mouse keyboard)

Sun May 03, 2015 9:37 am

You can control some monitors with CEC.
You can use sudo tvservice -o to disable the RPi video signal.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

User avatar
kusti8
Posts: 3439
Joined: Sat Dec 21, 2013 5:29 pm
Location: USA

Re: sleep mod (mouse keyboard)

Sun May 03, 2015 12:45 pm

There are 10 types of people: those who understand binary and those who don't.

Return to “Beginners”