linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* dummy-psu
@ 2020-06-05 14:02 Frédéric Pierret
  2020-06-15 16:44 ` dummy-psu Frédéric Pierret
  0 siblings, 1 reply; 4+ messages in thread
From: Frédéric Pierret @ 2020-06-05 14:02 UTC (permalink / raw)
  To: linux-pm; +Cc: Marek Marczykowski-Górecki


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

Dear all,

I'm working on a kernel module currently called "dummy-psu" (https://github.com/fepitre/dummy-psu) which creates a power supply AC and a battery like in 'drivers/power/supply/test_power.c'. After loaded, this driver allows to modify integer values of the virtual psu created through its sysfs attribute directly. String values are currently set through module parameters. Such module allows for example to test ACPI tools or desktop plugins.

In the context of the Qubes OS project, it allows to setup into a VM, PSU components with real information coming from the host system battery or ac with some refresh time.

I'm writing to you to know if you would be interested to have such module integrating side to test_power.c.

Another name could be "virtual-psu". Any kind of improvements are very welcomed. Thank you.

Best regards,
Frédéric Pierret


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

end of thread, other threads:[~2020-07-08  8:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-05 14:02 dummy-psu Frédéric Pierret
2020-06-15 16:44 ` dummy-psu Frédéric Pierret
2020-06-19 16:59   ` dummy-psu Sebastian Reichel
2020-07-08  8:28     ` dummy-psu Frédéric Pierret

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).