blob: 0d6294639689e467832a70c0a37e216378786a35 (
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
31
32
|
# 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 parameters:
--list, -l list serial numbers of connected baseboards
--serial SERIALNUMBER, -s SERIALNUMBER
defines the serialnumber to use
--press-power, -p press power button
--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.
If called without `-p`, `-b` or `-n` a GUI with buttons for **Power** and **BIOS Disable**
starts.
|