* power management
@ 2020-11-03 6:45 Pankaj Vinadrao Joshi
2020-11-03 6:57 ` Valdis Klētnieks
0 siblings, 1 reply; 4+ messages in thread
From: Pankaj Vinadrao Joshi @ 2020-11-03 6:45 UTC (permalink / raw)
To: kernelnewbies@kernelnewbies.org
[-- 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] 4+ 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; 4+ messages in thread
From: Valdis Klētnieks @ 2020-11-03 6:57 UTC (permalink / raw)
To: Pankaj Vinadrao Joshi; +Cc: kernelnewbies@kernelnewbies.org
[-- 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] 4+ messages in thread
* Re: power management
@ 2020-11-03 7:50 Pankaj Vinadrao Joshi
0 siblings, 0 replies; 4+ messages in thread
From: Pankaj Vinadrao Joshi @ 2020-11-03 7:50 UTC (permalink / raw)
To: Valdis Klētnieks; +Cc: kernelnewbies@kernelnewbies.org
[-- 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] 4+ messages in thread
* power management
@ 2020-11-18 9:18 Pankaj Joshi
0 siblings, 0 replies; 4+ 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] 4+ messages in thread
end of thread, other threads:[~2020-11-19 3:51 UTC | newest]
Thread overview: 4+ 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-03 7:50 Pankaj Vinadrao Joshi
2020-11-18 9:18 Pankaj Joshi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).