All of lore.kernel.org
 help / color / mirror / Atom feed
* power management
@ 2020-11-03  6:45 Pankaj  Vinadrao Joshi
  2020-11-03  6:57 ` Valdis Klētnieks
  0 siblings, 1 reply; 6+ messages in thread
From: Pankaj  Vinadrao Joshi @ 2020-11-03  6:45 UTC (permalink / raw)
  To: kernelnewbies


[-- Attachment #1.1: Type: text/plain, Size: 429 bytes --]

Hi,
am using ubuntu 18.04.4 and i am putting my system into S2RAM state using sysfs interface with echo mem > /sys/power/state , with this my whole system is going into supend state but specifically i want my lcd backlight or wifi in Active state without considering the state of system i mean to say to it shouldnt go into sleep state is it possible using sysfs interface?

Can someone help me to achieve this?

Thanks!


[-- Attachment #1.2: Type: text/html, Size: 2520 bytes --]

[-- Attachment #2: Type: text/plain, Size: 170 bytes --]

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

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

* Re: power management
  2020-11-03  6:45 power management Pankaj  Vinadrao Joshi
@ 2020-11-03  6:57 ` Valdis Klētnieks
  0 siblings, 0 replies; 6+ messages in thread
From: Valdis Klētnieks @ 2020-11-03  6:57 UTC (permalink / raw)
  To: Pankaj Vinadrao Joshi; +Cc: kernelnewbies


[-- Attachment #1.1: Type: text/plain, Size: 484 bytes --]

On Tue, 03 Nov 2020 06:45:29 +0000, "Pankaj Vinadrao Joshi" said:
> with this my whole system is going into supend state but specifically i want my
> lcd backlight or wifi in Active state without considering the state of system

What use will the lcd backlight be when your graphics subsystem is powered down?

And unless your wifi supports wake-on-lan, leaving it active won't do anything, because
any received packets won't be processed.

What problem are you trying to solve here?

[-- Attachment #1.2: Type: application/pgp-signature, Size: 832 bytes --]

[-- Attachment #2: Type: text/plain, Size: 170 bytes --]

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

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

* power management
@ 2020-11-18  9:18 Pankaj Joshi
  0 siblings, 0 replies; 6+ messages in thread
From: Pankaj Joshi @ 2020-11-18  9:18 UTC (permalink / raw)
  To: kernelnewbies


[-- Attachment #1.1: Type: text/plain, Size: 542 bytes --]

Hi,
I am working on BBB AM335x for power management stuff as i am very new to
linux power management i need a bit help
 i am trying to achieve following using sysfs but  i didnt got sucess

i want to put my whole system into sleep state /idle state except  WiFi and
backlight,
when i am writting* $echo mem > /sys/power/state* my whole system is going
into sleep state similarly i have checked with */sys/class/backlight *but
didnt worth.

Can someone help me how i can do it ? How i can suspend and resume
particular device only ??


Thanks

[-- Attachment #1.2: Type: text/html, Size: 704 bytes --]

[-- Attachment #2: Type: text/plain, Size: 170 bytes --]

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

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

* Re: power management
@ 2020-11-03  7:50 Pankaj  Vinadrao Joshi
  0 siblings, 0 replies; 6+ messages in thread
From: Pankaj  Vinadrao Joshi @ 2020-11-03  7:50 UTC (permalink / raw)
  To: Valdis Klētnieks; +Cc: kernelnewbies


[-- Attachment #1.1: Type: text/plain, Size: 1742 bytes --]

Hi Valdis,
Actually i am trying to understand linux kernel power management stuff,what i am trying to do is simply i want my lcd light never go into sleep state, without bothering about whether my system is in freeze state or S2RAM state simply kind of resume/suspend mechanism as i am very new to linux pm i need bit info about it.

i am checking following but i didnt find any clue

$ grep  . /sys/class/wakeup/wakeup*/device/power/wakeup
/sys/class/wakeup/wakeup16/device/power/wakeup:enabled
/sys/class/wakeup/wakeup17/device/power/wakeup:enabled
/sys/class/wakeup/wakeup18/device/power/wakeup:enabled
/sys/class/wakeup/wakeup19/device/power/wakeup:enabled
/sys/class/wakeup/wakeup20/device/power/wakeup:enabled
/sys/class/wakeup/wakeup21/device/power/wakeup:enabled
/sys/class/wakeup/wakeup22/device/power/wakeup:enabled
/sys/class/wakeup/wakeup24/device/power/wakeup:enabled
/sys/class/wakeup/wakeup32/device/power/wakeup:enabled
/sys/class/wakeup/wakeup7/device/power/wakeup:enabled

Thanks!


________________________________
From: Valdis Kletnieks on behalf of Valdis Klētnieks
Sent: Tuesday, November 3, 2020 12:28 PM
To: Pankaj Vinadrao Joshi
Cc: kernelnewbies@kernelnewbies.org
Subject: Re: power management

On Tue, 03 Nov 2020 06:45:29 +0000, "Pankaj Vinadrao Joshi" said:
> with this my whole system is going into supend state but specifically i want my
> lcd backlight or wifi in Active state without considering the state of system

What use will the lcd backlight be when your graphics subsystem is powered down?

And unless your wifi supports wake-on-lan, leaving it active won't do anything, because
any received packets won't be processed.

What problem are you trying to solve here?

[-- Attachment #1.2: Type: text/html, Size: 2834 bytes --]

[-- Attachment #2: Type: text/plain, Size: 170 bytes --]

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

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

* Re: Power Management
  2019-09-11  7:08 Power Management Robert Dinse
@ 2019-09-11 14:53 ` Jani Nikula
  0 siblings, 0 replies; 6+ messages in thread
From: Jani Nikula @ 2019-09-11 14:53 UTC (permalink / raw)
  To: Robert Dinse, intel-gfx

On Wed, 11 Sep 2019, Robert Dinse <nanook@eskimo.com> wrote:
> Can anyone tell me how to disable power management in the i915
> drivers?  It appears enable_rc6 has been disabled?

Why do you think you need it? See [1]. If you have issues, please file
bugs at [2].

BR,
Jani.


[1] https://en.wikipedia.org/wiki/XY_problem
[2] https://bugs.freedesktop.org/enter_bug.cgi?product=DRI&component=DRM/Intel

-- 
Jani Nikula, Intel Open Source Graphics Center
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

* Power Management
@ 2019-09-11  7:08 Robert Dinse
  2019-09-11 14:53 ` Jani Nikula
  0 siblings, 1 reply; 6+ messages in thread
From: Robert Dinse @ 2019-09-11  7:08 UTC (permalink / raw)
  To: intel-gfx


      Can anyone tell me how to disable power management in the i915 drivers?
It appears enable_rc6 has been disabled?

-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
  Eskimo North Linux Friendly Internet Access, Shell Accounts, and Hosting.
    Knowledgeable human assistance, not telephone trees or script readers.
  See our web site: http://www.eskimo.com/ (206) 812-0051 or (800) 246-6874.
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

end of thread, other threads:[~2020-11-19  3:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-03  6:45 power management Pankaj  Vinadrao Joshi
2020-11-03  6:57 ` Valdis Klētnieks
  -- strict thread matches above, loose matches on Subject: below --
2020-11-18  9:18 Pankaj Joshi
2020-11-03  7:50 Pankaj  Vinadrao Joshi
2019-09-11  7:08 Power Management Robert Dinse
2019-09-11 14:53 ` Jani Nikula

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.