How to Enable Devices in cgminer for your GeKo Science Compac BM1384 Miner
If you are having trouble getting your GeKo Science Compac BM1384 bitcoin miner to recognize devices upon startup with cgminer, you have come to the right place. In this article, we will walk you through the steps to enable device detection in cgminer for your mining rig.
Why is Device Detection Not Working?
Before we dive into the solutions, it is essential to understand why device detection might not work as expected. There are several reasons that can cause cgminer to not detect devices upon startup:
- Incorrect cgminer settings – Make sure you are using the correct cgminer version and settings for your miner model.
- Incompatible mining software – Try updating your mining software to the latest version as some versions might not be compatible with all miner models.
- Device name mismatch: Check that the device names in your mining software match those provided by the manufacturer or cgminer documentation.
Enable device detection in cgminer
To enable device detection, you will need to set the --device
option with the correct device name and port number. Here is a step-by-step guide:
- Open cgminer: Open a terminal on your Raspberry Pi and navigate to the directory where your mining software is installed.
- Update cgminer: Update cgminer to the latest version using the following command:
sudo apt-get update && sudo apt-get install -y libcgminer-dev
- Create a configuration file: Create a new file called
config.txt
in the same directory as your mining software. This file will store the device names and port numbers for each miner.
- Add device information: Add the following lines to the
config.txt
file, replacing the device names with those provided by GeKo Science:
device 1 0
device 2 1
The first line specifies device 1 (BM1384) and its port number is set to 0. The second line specifies device 2 (another BM1384) and its port number is set to 1.
- Update cgminer configuration
: Edit the
cgminer.conf
file in the same directory as your mining software. Add the following lines, specifying the device names and port numbers:
[device]
device 1 0
device 2 1
[pool]
port = 55555
The first line specifies device 1 (BM1384), which is connected to port 0. The second line specifies device 2, which is connected to port 1. Replace the port
value with the correct one for your miner model.
- Restart cgminer – Restart cgminer with the following command:
sudo service cgminer restart
- Verify device detection – After restarting cgminer, you should see the device names and ports appear in the mining software.
Troubleshooting Tips
If you are still experiencing issues after following these steps, please try:
- Checking your miner’s documentation for specific setup instructions.
- Verifying that your device names match those provided by GeKo Science.
- Ensuring that cgminer and your mining software are installed and updated correctly.
If you follow these steps, you should be able to enable device detection in cgminer for your GeKo Science Compac BM1384 miner. If you are still experiencing issues, please feel free to ask and I will do my best to help.