Exemplo n.º 1
0
    'refcount': '2',
    'type': 'regular',
    'hal_id': '"bluetooth"',
    'library': '"bluetooth.default.so"',
    'modalias_mask': '"acpi*:BCM2E39:*"',
    'script': '"rc.hci-bcm43xx_attach"',
    'script_one_shot': '1',
    'priority': '3',
},
"xps12":{
}
}

kmodule = {
"ecs_e7":{
    'name':'rfkill_gpio',
    'grep_for':'rfkill_gpio',
    'lsmod_output':['rfkill_gpio 12782 0 - Live 0x0000000000000000']
},
"t100":None,
"xps12":None
}

steps.platform_device(
    serial = serial,
    media_path = media_path,
    module = module,
    kmodule = kmodule
)()

Exemplo n.º 2
0
        'name':
        'brcmfmac',
        'grep_for':
        'brcmfmac',
        'lsmod_output': [
            'brcmfmac 226122 0 - Live 0x00000000 (O)',
            'brcmutil 14863 1 brcmfmac, Live 0x00000000 (O)',
            'cfg80211 443311 1 brcmfmac, Live 0x00000000 (O)',
            'compat 13340 2 brcmfmac,cfg80211, Live 0x00000000 (O)'
        ]
    },
    "xps12": {}
}

mount_point = {
    "ecs_e7": None,
    "t100": {
        'name': 'wifi',
        'entries': ['/system/rt/wifi']
    },
    "xps12": {}
}

steps.platform_device(
    serial=serial,
    module=module,
    kmodule=kmodule,
    mount_point=mount_point,
    media_path=media_path,
)()