el.botijo wrote: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.
Bug ready.. please re-download again de pms.jar a test it
now sleep and hibernate is working. thanks el.botijo (botijo.. gracias :p)
