[PATCH 0/2][RESEND] oem: add oem-specific tests for verifying BIOS interfaces

Alex Hung alex.hung at canonical.com
Mon Dec 10 08:40:53 UTC 2012


Each OEM (i.e. hp, dell, acer, asus and so on) has different set of BIOS
interfaces for implementing OEM features, such as wireless device controls and
special power management, that are not defined in ACPI specification.

It may worth noting that the kernel module is not integrated into fwts, i.e. it
will not be compiled with fwts. The intended behaviors is not to make a dkms 
package to replace the origin kernel module, but is to do the following
(using hp-wmi as an example):

1. rmmod original hp-wmi.ko
2. insmod new hp-wmi.ko
3. run the tests
4. rmmod new hp-wmi.ko
5. insmod original hp-wmi.ko

Does the above make sense? Any comments are appreciated.

Alex Hung (2):
  oem: wireless: add tests for toggling the states of wireless device, 
       including WIFI, Bluetooth and WWAN (3G), via a kernel interface
    that     will be created for different OEM systems (i.e. ASUS,
    Dell, HP, and     so on).
  oem: the kernel module creates an ioctl sys nodes for testing hp's   
     WMI interface. This interface currently supports WMI command 0x1b,
        including get and set functions.

 oem/Makefile                |    6 +
 oem/hp-wmi.c                |  533 +++++++++++++++++++++++++++++++++++++++++++
 src/Makefile.am             |    3 +-
 src/oem/wireless/wireless.c |  189 +++++++++++++++
 4 files changed, 730 insertions(+), 1 deletion(-)
 create mode 100644 oem/Makefile
 create mode 100644 oem/hp-wmi.c
 create mode 100644 src/oem/wireless/wireless.c

-- 
1.7.10.4




More information about the fwts-devel mailing list