Bug 10395

Summary: Creation of component to control remote power switch (NP-0801DT)
Product: [QA/Testing] Runtime Testing Reporter: Jair Gonzalez <jair.de.jesus.gonzalez.plascencia>
Component: generalAssignee: Plauchu Edwin <edwin.plauchu.camacho>
Status: VERIFIED FIXED QA Contact: Jair Gonzalez <jair.de.jesus.gonzalez.plascencia>
Severity: enhancement    
Priority: High CC: anibal.limon, benjamin.esquivel, edwin.plauchu.camacho
Version: 2.2   
Target Milestone: 2.3 M1   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Yes (doc changes required)
Bug Depends on:    
Bug Blocks: 9689    
Attachments:
Description Flags
NP-0801DT Startup
none
Layers involved inside RPS library none

Description Jair Gonzalez 2016-10-07 16:10:00 UTC
Created attachment 3459 [details]
NP-0801DT Startup

A library is required for controlling a remote power switch that is able to turn on and off the devices that it powers in order to reboot the DUT. This is required because a clean power-off is not always reliable.
Comment 1 Plauchu Edwin 2016-10-07 16:38:54 UTC
Created a first approach of this library.
Such approach includes

* Dynamic loading of rps module as per model.
* Written NP-0801DT remote power switch module.
* Written RPS TEST mock module. (This matter is created with purposes of integration with other platforms "for instance AFT").
Comment 2 Aníbal Limón 2016-10-07 16:52:52 UTC
(In reply to comment #1)
> Created a first approach of this library.
> Such approach includes
> 
> * Dynamic loading of rps module as per model.
> * Written NP-0801DT remote power switch module.
> * Written RPS TEST mock module. (This matter is created with purposes of
> integration with other platforms "for instance AFT").

Edwin, please add the bug numbers on the depends field.
Comment 3 Plauchu Edwin 2016-10-07 16:53:42 UTC
https://www.youtube.com/watch?v=hpVoA_Htwqk <-- Remote power switch video (DEMO)
Comment 4 Plauchu Edwin 2016-10-07 17:03:15 UTC
Created attachment 3462 [details]
Layers involved inside RPS library

This attachment also includes the layers involved in KBEMU library
Comment 5 Jair Gonzalez 2016-10-07 20:04:12 UTC
I received a functional library package from benjamin.esquivel@intel.com after being integrated with https://bugzilla.yoctoproject.org/show_bug.cgi?id=10394 and https://bugzilla.yoctoproject.org/show_bug.cgi?id=10396. I'm currently working on a PoC using them with an actual device in order to test and document their functionality and integration.
Comment 6 Jair Gonzalez 2016-11-25 22:12:51 UTC
The Proof Concept was executed successfully and the library is able to control the power of 1 or more devices.