T21 working on LuxOS (#331)
This commit is contained in:
@@ -187,7 +187,7 @@
|
|||||||
|
|
||||||
- [x] Shutdowns
|
- [x] Shutdowns
|
||||||
- [ ] Power Modes
|
- [ ] Power Modes
|
||||||
- [ ] Setpoints
|
- [x] Setpoints
|
||||||
- [x] Presets
|
- [x] Presets
|
||||||
|
|
||||||
::: pyasic.miners.antminer.luxos.X21.S21.LUXMinerS21
|
::: pyasic.miners.antminer.luxos.X21.S21.LUXMinerS21
|
||||||
@@ -196,6 +196,19 @@
|
|||||||
show_root_heading: false
|
show_root_heading: false
|
||||||
heading_level: 0
|
heading_level: 0
|
||||||
|
|
||||||
|
## T21 (LuxOS)
|
||||||
|
|
||||||
|
- [x] Shutdowns
|
||||||
|
- [ ] Power Modes
|
||||||
|
- [x] Setpoints
|
||||||
|
- [x] Presets
|
||||||
|
|
||||||
|
::: pyasic.miners.antminer.luxos.X21.T21.LUXMinerT21
|
||||||
|
handler: python
|
||||||
|
options:
|
||||||
|
show_root_heading: false
|
||||||
|
heading_level: 0
|
||||||
|
|
||||||
## S21 (MaraFW)
|
## S21 (MaraFW)
|
||||||
|
|
||||||
- [ ] Shutdowns
|
- [ ] Shutdowns
|
||||||
|
|||||||
22
pyasic/miners/antminer/luxos/X21/T21.py
Normal file
22
pyasic/miners/antminer/luxos/X21/T21.py
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
# Copyright 2022 Upstream Data Inc -
|
||||||
|
# -
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
|
# you may not use this file except in compliance with the License. -
|
||||||
|
# You may obtain a copy of the License at -
|
||||||
|
# -
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0 -
|
||||||
|
# -
|
||||||
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
from pyasic.miners.backends import LUXMiner
|
||||||
|
from pyasic.miners.device.models import S21, T21
|
||||||
|
|
||||||
|
|
||||||
|
class LUXMinerT21(LUXMiner, T21):
|
||||||
|
pass
|
||||||
@@ -15,3 +15,4 @@
|
|||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
from .S21 import LUXMinerS21
|
from .S21 import LUXMinerS21
|
||||||
|
from .T21 import LUXMinerT21
|
||||||
|
|||||||
@@ -623,6 +623,7 @@ MINER_CLASSES = {
|
|||||||
"ANTMINER S19 XP": LUXMinerS19XP,
|
"ANTMINER S19 XP": LUXMinerS19XP,
|
||||||
"ANTMINER T19": LUXMinerT19,
|
"ANTMINER T19": LUXMinerT19,
|
||||||
"ANTMINER S21": LUXMinerS21,
|
"ANTMINER S21": LUXMinerS21,
|
||||||
|
"ANTMINER T21": LUXMinerT21,
|
||||||
},
|
},
|
||||||
MinerTypes.AURADINE: {
|
MinerTypes.AURADINE: {
|
||||||
None: type("AuradineUnknown", (Auradine, AuradineMake), {}),
|
None: type("AuradineUnknown", (Auradine, AuradineMake), {}),
|
||||||
|
|||||||
Reference in New Issue
Block a user