Enabling 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 on 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 may not be working as expected. There are several reasons why cgminer may not be able to detect devices on 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 may not support all miner models.
- Device name mismatch: Make sure the device names in your mining software match those provided by the manufacturer or in the cgminer documentation.
Enabling device detection in cgminer
To enable device detection, you will need to configure 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 the ones 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 using 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 having issues after following these steps, 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.
By following these steps, you should be able to enable device detection in cgminer for your GeKo Science Compac BM1384 miner. If you are still having issues, feel free to ask, and I will do my best to help!
Leave a Reply