aboutsummaryrefslogtreecommitdiff
path: root/usb-control/README.md
blob: deb9a0b722e73e1fc1a69a7d3a5bd3e1abe36d51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Haikou USB Control

This tool allows to control the **BIOS Disable** and **Power** Button via USB.


## Dependencies

[Python](http://www.python.org/)
[PyUSB](http://walac.github.io/pyusb/)
[libusb](http://libusb.info/)


# Usage

To manipulate **BIOS Disable** via USB the slider has to be in the **Normal
Boot** position.

The script takes following commands:

    list            list serial numbers of connected baseboards

    power           controls the power and BIOS Disable state
    --serial SERIALNUMBER, -s SERIALNUMBER
                          defines the serialnumber to use
    --bios-disable, -b    activate BIOS Disable
    --normal-boot, -n     activate Normal Boot

Each Haikou base board has a unique USB ID so they can be differentiated if more
then one is connected to the host. Provide the serialnumber on the commandline
to select a specific board, otherwise the first one found will be used.