Now you can Shutdown PC From PS3

If you have a suggestion for a feature, post it here

Re: Now you can Shutdown PC From PS3

Postby chacaman » Tue Mar 02, 2010 2:48 am

chacaman wrote:ok, i am working now on the pluging.

in this moment i have new version with the next commands:

#-Video Settings-#

Shutdown PC Windows
Shutdown PC Windows Restart
Shutdown PC Windows Hibernate
------------------------------
Shutdown PC Linux
Shutdown PC Restar Linux
Shutdown PC Linux Hibernate

The linux command Shutdown and Restar work on all linux
Hibernate is only for ubuntu.

ubuntu user have to install:
1 - apt-get install hibernate.
2 - modified the file /etc/sudores
3 - in the last line add <yuor_user_name> ALL = NOPASSWD: /usr/sbin/hibernate , /usr/sbin/hibernate-ram

PMSv2.JAR Turnf Off PC From PS3 v2
Test on PS3 Media Server 1.20.401
Note: Download the file make a backup of you old pms.jar and copy the new file to the ps3 folder


Minor update
Now i put a new version
1 - all shutdown options in the folder: #- Computer Options -#
2 - Sleep Mode for Windows.

some new change soon
and more utilits
chacaman
 
Posts: 17
Joined: Sun Feb 07, 2010 7:38 pm

Re: Now you can Shutdown PC From PS3

Postby Chaoz » Tue Mar 02, 2010 3:49 am

Just tried the latest update. The sleep function puts the computer into hibernate instead.
Chaoz
 
Posts: 45
Joined: Mon Jan 19, 2009 10:26 pm

Re: Now you can Shutdown PC From PS3

Postby chacaman » Tue Mar 02, 2010 12:28 pm

but, your computer is a desktop or laptop ?
because de sleep concept is for notebooks, laptop etc.

for a normal desktop is only hibernate.
chacaman
 
Posts: 17
Joined: Sun Feb 07, 2010 7:38 pm

Re: Now you can Shutdown PC From PS3

Postby marco275 » Tue Mar 02, 2010 1:06 pm

great work thnx, but is want my pc to shutdown completely. Can you implement this or where can i change this myself.
Is it possible to create two versions, say one for windows and one for linux?
marco275
 
Posts: 177
Joined: Thu Feb 05, 2009 2:29 pm

Re: Now you can Shutdown PC From PS3

Postby chacaman » Tue Mar 02, 2010 1:08 pm

marco275 wrote:great work thnx, but is want my pc to shutdown completely. Can you implement this or where can i change this myself.
Is it possible to create two versions, say one for windows and one for linux?


if you see in the folder #- Computer Options -# you have some Shutdown Options:

1 - Shutdown PC Windows
2 - Shutdown PC Restart Windows
3 - Shutdown PC Hibernate Windows
4 - Shutdown PC Sleep Windows
5 - Shutdown PC Linux
6 - Shutdown PC Restart Linux
7 - Shutdown PC Hibernate Linux (ubuntu users only)

remember download de pms.jar and copy it in your directory
this work for Windows and linux
chacaman
 
Posts: 17
Joined: Sun Feb 07, 2010 7:38 pm

Re: Now you can Shutdown PC From PS3

Postby marco275 » Tue Mar 02, 2010 1:47 pm

hi chacaman.
Ik don't see the 'shutdown' windows option, only reintall of some sort, and the hybernate, sleep and restart.
I do see a Linux shutdown option.
marco275
 
Posts: 177
Joined: Thu Feb 05, 2009 2:29 pm

Re: Now you can Shutdown PC From PS3

Postby Chaoz » Tue Mar 02, 2010 6:34 pm

chacaman wrote:but, your computer is a desktop or laptop ?
because de sleep concept is for notebooks, laptop etc.

for a normal desktop is only hibernate.


Desktop. I'm 100% positive there's sleep in desktops. It's the default option in Windows 7, rather than hibernate.
Chaoz
 
Posts: 45
Joined: Mon Jan 19, 2009 10:26 pm

Re: Now you can Shutdown PC From PS3

Postby chacaman » Tue Mar 02, 2010 10:33 pm

marco275 wrote:hi chacaman.
Ik don't see the 'shutdown' windows option, only reintall of some sort, and the hybernate, sleep and restart.
I do see a Linux shutdown option.


what version of the ps3 media server you have installed ?
chacaman
 
Posts: 17
Joined: Sun Feb 07, 2010 7:38 pm

Re: Now you can Shutdown PC From PS3

Postby el.botijo » Tue Mar 02, 2010 11:01 pm

Chaoz wrote:
chacaman wrote:but, your computer is a desktop or laptop ?
because de sleep concept is for notebooks, laptop etc.

for a normal desktop is only hibernate.


Desktop. I'm 100% positive there's sleep in desktops. It's the default option in Windows 7, rather than hibernate.

Both desktops and laptops have the sleep, hibernate and poweroff states. You can find a detailed explanation in this wikipedia article. There is no distinction between laptops and desktops.
I like to be pedantic, so I will tell you that Vista (and I suppose Windows 7) defaults to Hybrid Sleep: a state of sleep, so that it wakes up fast, but also hibernates at the same time, in case power is lost. I do not know if Linux has such a state.
By default, any recent Mac goes into sleep. Linux machines are usually always on machines, so I do not see any default being set there.

Congrats on writting the neccessary code for sleep/shutdown/poweroff. From what I see, you need another tip: there is a function that tells you if PS3MediaServer is being used in a Windows, Mac or Linux machine. I noticed such a difference with the iTunes/iPhoto thingy in PMS.java.
el.botijo
 
Posts: 50
Joined: Thu Feb 04, 2010 9:14 pm

Re: Now you can Shutdown PC From PS3

Postby marco275 » Wed Mar 03, 2010 12:43 am

chacaman wrote:
marco275 wrote:hi chacaman.
Ik don't see the 'shutdown' windows option, only reintall of some sort, and the hybernate, sleep and restart.
I do see a Linux shutdown option.


what version of the ps3 media server you have installed ?


The newest version i can find, r400.
marco275
 
Posts: 177
Joined: Thu Feb 05, 2009 2:29 pm

PreviousNext

Return to Feature Suggestions

Who is online

Users browsing this forum: Google [Bot] and 3 guests