Ethereum: How to enable device in cgminer?

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 detect devices when running with cgminer, you have come to the right place. In this article, we will guide 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 that can cause cgminer to fail to detect devices when running:

  • 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: Verify that the device names in your mining software match those provided by the manufacturer or in the cgminer documentation.

Enabling device detection in cgminer

Ethereum: How to enable device in cgminer?

To enable device detection, you will need to configure the `--deviceoption 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 named 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 10

device 21

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 and specify the device names and port numbers:

[device]

device 10

device 21

[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 value for your miner model.

  • Restart cgminer: Restart cgminer using the following command:

sudo cgminer service restart

  • Verify Device Detection: After restarting cgminer, you should see the device names and ports displayed in the mining software.

Troubleshooting Tips

If you are still having issues after following these steps, try:

  • Checking your miner documentation for specific configuration instructions.
  • Verifying that the device names match the names provided by GeKo Science.
  • Ensuring that cgminer and your mining software are properly installed and updated.

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 try to help!

Leave a Comment

Your email address will not be published. Required fields are marked *