public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* OSK5912 Deep Sleep
@ 2006-05-18 14:08 Martin Margraf
  2006-05-18 23:37 ` Matthew Percival
  0 siblings, 1 reply; 5+ messages in thread
From: Martin Margraf @ 2006-05-18 14:08 UTC (permalink / raw)
  To: linux-omap-open-source

hi,

maybe my questions are too simple, but i?ll try again.
how can i set the osk5912 into deep sleep mode? i use the montavista 
preview kit.
thx.

martin

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: OSK5912 Deep Sleep
  2006-05-18 14:08 OSK5912 Deep Sleep Martin Margraf
@ 2006-05-18 23:37 ` Matthew Percival
  0 siblings, 0 replies; 5+ messages in thread
From: Matthew Percival @ 2006-05-18 23:37 UTC (permalink / raw)
  To: Linux OMAP Open Source

G'Day,

> maybe my questions are too simple, but i?ll try again.
> how can i set the osk5912 into deep sleep mode? i use the montavista 
> preview kit.

	Deep Sleep is nice and easy to do.  Try this at a prompt:
		# echo "standby" > /sys/power/state
Unless something goes wrong, your system will now be in Deep Sleep.

	-- Matthew

^ permalink raw reply	[flat|nested] 5+ messages in thread

* OSK5912 Deep Sleep
@ 2006-05-19 10:35 Martin Margraf
  2006-05-21 23:08 ` Matthew Percival
  0 siblings, 1 reply; 5+ messages in thread
From: Martin Margraf @ 2006-05-19 10:35 UTC (permalink / raw)
  To: linux-omap-open-source

hi matthew,

thanks for your answer.
i tried what you told me, but i got this message from the shell: cannot 
create /sys/power/state: No such file or directory
so i looked for the sys directory and found it in /usr/include/sys, is 
this the right one?
may i have to export it to PATH? or is the 2.4 kernel the wrong one and 
i should use 2.6 kernel?
you have to excuse me, but i am a total newbie to embedded linux. its 
the first time i use it. ;)

martin

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: OSK5912 Deep Sleep
  2006-05-19 10:35 Martin Margraf
@ 2006-05-21 23:08 ` Matthew Percival
  0 siblings, 0 replies; 5+ messages in thread
From: Matthew Percival @ 2006-05-21 23:08 UTC (permalink / raw)
  To: Linux OMAP Open Source

G'Day,

> i tried what you told me, but i got this message from the shell: cannot 
> create /sys/power/state: No such file or directory

	Ah, you either have not compiled the sysfs into kernel, or have not
mounted it.  Ensure you have CONFIG_SYSFS=y in your kernel's .config
(this is in the root source directory) --- =m is also OK, if you load
the module later.  If not, enable it, and recompile.  Then, make sure
you have the following line in your OSK's /etc/fstab:
none		/sys		sysfs	defaults	0	0
This will load the sysfs on boot (make sure you have created /sys/ for
it to mount there).  If you check the contents of /sys/ (with ls) after
it has been mounted, you should see a collection of directories: these
can be very useful to running your system.

	-- Matthew

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: OSK5912 Deep Sleep
@ 2006-05-21 23:49 Ishigami, Tatsuya
  0 siblings, 0 replies; 5+ messages in thread
From: Ishigami, Tatsuya @ 2006-05-21 23:49 UTC (permalink / raw)
  To: Martin Margraf; +Cc: linux-omap-open-source

Hi,

> is the 2.4 kernel the wrong one and i should use 2.6
> kernel?

 As far as I remember, the MontaVistga's "preview kit" was
sort of evaluation copy based on kernel 2.4, which excludes 
the power management. You can either

 - Purchase the CEE (Consumer Electronics Edition) package from
 MontaVista, with the professional support service.

 or

 - Upgrade the open-source version of kernel 2.6.

 Regards,
 Ishigami
 
-----Original Message-----
From: linux-omap-open-source-bounces@linux.omap.com
[mailto:linux-omap-open-source-bounces@linux.omap.com] On Behalf Of
Martin Margraf
Sent: Friday, May 19, 2006 7:35 PM
To: linux-omap-open-source@linux.omap.com
Subject: OSK5912 Deep Sleep

hi matthew,

thanks for your answer.
i tried what you told me, but i got this message from the shell: cannot 
create /sys/power/state: No such file or directory
so i looked for the sys directory and found it in /usr/include/sys, is 
this the right one?
may i have to export it to PATH? or is the 2.4 kernel the wrong one and 
i should use 2.6 kernel?
you have to excuse me, but i am a total newbie to embedded linux. its 
the first time i use it. ;)

martin
_______________________________________________
Linux-omap-open-source mailing list
Linux-omap-open-source@linux.omap.com
http://linux.omap.com/mailman/listinfo/linux-omap-open-source

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-05-21 23:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-18 14:08 OSK5912 Deep Sleep Martin Margraf
2006-05-18 23:37 ` Matthew Percival
  -- strict thread matches above, loose matches on Subject: below --
2006-05-19 10:35 Martin Margraf
2006-05-21 23:08 ` Matthew Percival
2006-05-21 23:49 Ishigami, Tatsuya

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox