<p>Your system reports: Intel's new Iris Pro graphics.</p>

<p>As far as ubuntu 13.10 was concerned the package cgminer was compiled for nvidia graphics cards and installed the module for ubuntu.</p>

<p>Consider running a system with dedicated GPU w/ PCIe: e. g. nvidia and ATI and possibly compile cgminer by yourself.</p>

<p>I tried bfgminer for ubuntu now, see here: <a href="http://jarco.be/install-bfgminer-ubuntu-mint/" rel="nofollow">http://jarco.be/install-bfgminer-ubuntu-mint/</a></p>

<p>...but cannot get it to work for litecoin scrypt right now...</p>

<p>NOW up and running bfgminer compiled for ubuntu 14.04 with howto from here:
<a href="https://debianhelp.wordpress.com/2012/01/02/bitcoin-mining-in-ubuntu-with-bfgminer/" rel="nofollow">https://debianhelp.wordpress.com/2012/01/02/bitcoin-mining-in-ubuntu-with-bfgminer/</a></p>

<p>with some minor changes:</p>

<ul>
<li>installed "bitcoin-qt" instead of "bitcoin"</li>
<li><code>sudo apt-get install uthash-dev</code></li>
<li><code>./autogen.sh &amp;&amp; ./configure --enable-scrypt --enable-opencl &amp;&amp; make</code></li>
<li>modified ".bfgminer/bfgminer.conf" can be pasted here, if you want
-> 880kh/s @ ATI Radeon R9 290X</li>
</ul>

CC BY-SA 3.0
2014-04-29T18:12:58.300Z
Oh I see, it looks like mining for scotcoins might be more involved than I'd expected. I'd hoped it would be the sort of thing I could've done using spare processing power when my laptop isn't busy! Thanks for enlightening me!
EddyTheB
CC BY-SA 3.0
2014-05-01T03:38:26.967Z
Furthermore the cgminer versions mentioned on your getting started page are outdated, there is only 4.x available. And these versions do not support GPU mining at all (Con Kolivas writes):
Q: What happened to CPU and GPU mining?
A: Their efficiency makes them irrelevant in the bitcoin mining world today
and the author has no interest in supporting alternative coins that are better
mined by these devices.
Leder
CC BY-SA 3.0
2014-04-29T04:53:17.380Z
2014-05-01T18:44:28.637Z
2014-05-01T18:44:28.637Z
Leder
<p>I'm a total noob regarding bitcoin mining, I've installed cgminer using apt-get install but I can't get it to work.</p>

<p>I start it with this command:</p>

<pre><code>./cgminer  -o stratum+tcp://www.albamine.net:3333 -u Weblogin.WorkerName -p WorkerPassword
</code></pre>

<p>I followed <a href="http://www.albamine.net/index.php?page=gettingstarted" rel="nofollow noreferrer">these instructions</a>:  (I'm mining for scotcoin.)</p>

<blockquote>
  <ol>
  <li>Install Ubuntu</li>
  <li>Install updates<br>
  <code>sudo apt-get update</code></li>
  <li>Install updates for your graphics card</li>
  <li>Install misc packages<br>
  <code>sudo apt-get install gedit git libcurl4-openssl-dev libncurses5-dev pkg-config automake yasm</code></li>
  <li>Edit grub configuration<br>
  <code>sudo gedit /etc/default/grub</code><br>
  Edit <code>GRUB_TIMEOUT=10</code> to <code>GRUB_TIMEOUT="10"</code>
  <code>sudo update-grub</code></li>
  <li>Download <a href="http://developer.amd.com/tools/heterogeneous-computing/amd-accelerated-parallel-processing-app-sdk/#one" rel="nofollow noreferrer">ATI OpenCL drivers</a>. Untar it and run the script inside.</li>
  <li>Reboot.</li>
  <li><code>git clone git://github.com/ckolivas/cgminer</code></li>
  <li>Download the <a href="http://developer.amd.com/tools-and-sdks/graphics-development/display-library-adl-sdk/" rel="nofollow noreferrer">ADL SDK</a>. Unzip it. Copy the include directory into cgminer, and name it ADL_SDK</li>
  <li>Check dependencies for cgminer.
  <code>cd ~/cgminer</code>
  <code>./autogen.sh</code></li>
  <li>Create the build script:
  <code>CFLAGS="-O2 -Wall -march=native -I /opt/AMDAPP/include/" LDFLAGS="-L/opt/AMDAPP/lib/x86_64" ./configure</code></li>
  <li><code>make</code></li>
  <li>Run using
  <code>export DISPLAY=:0; export GPU_USE_SYNC_OBJECTS=1; ./cgminer -n</code></li>
  </ol>
</blockquote>

<p>The first few times I tried I got an error that repeatedly said:</p>

<pre><code>KnC spiL Can not open SPI device /dev/spidev1.0: No such file or directory.
</code></pre>

<p>NowI'm getting a terminal that looks like this, and I have no idea. I've googled select sections of the code but can't figure out what it's all about. Any suggestions would be gratefully received. Thanks.</p>

<p><img src="https://i.sstatic.net/4trs0.png" alt="enter image description here"></p>

<p>Info. Running Ubuntu 14:04 on a System 76 Galago Ultra pro.</p>

<cgminer><ubuntu>
Help running cgminer on Ubuntu 14.04 - waiting for USB hotplug devices, and other errors
EddyTheB
# Help running cgminer on Ubuntu 14.04 - waiting for USB hotplug devices, and other errors

(Asked by: username_0 on 2014-04-28)

I'm a total noob regarding bitcoin mining, I've installed cgminer using apt-get install but I can't get it to work.

I start it with this command:

```
./cgminer  -o stratum+tcp://www.albamine.net:3333 -u Weblogin.WorkerName -p WorkerPassword

```

I followed [these instructions](http://www.albamine.net/index.php?page=gettingstarted): (I'm mining for scotcoin.)

> 1. Install Ubuntu
> 2. Install updates  
>    `sudo apt-get update`
> 3. Install updates for your graphics card
> 4. Install misc packages  
>    `sudo apt-get install gedit git libcurl4-openssl-dev libncurses5-dev pkg-config automake yasm`
> 5. Edit grub configuration  
>    `sudo gedit /etc/default/grub`  
>    Edit `GRUB_TIMEOUT=10` to `GRUB_TIMEOUT="10"`
>    `sudo update-grub`
> 6. Download [ATI OpenCL drivers](http://developer.amd.com/tools/heterogeneous-computing/amd-accelerated-parallel-processing-app-sdk/#one). Untar it and run the script inside.
> 7. Reboot.
> 8. `git clone git://github.com/ckolivas/cgminer`
> 9. Download the [ADL SDK](http://developer.amd.com/tools-and-sdks/graphics-development/display-library-adl-sdk/). Unzip it. Copy the include directory into cgminer, and name it ADL\_SDK
> 10. Check dependencies for cgminer.
>     `cd ~/cgminer`
>     `./autogen.sh`
> 11. Create the build script:
>     `CFLAGS="-O2 -Wall -march=native -I /opt/AMDAPP/include/" LDFLAGS="-L/opt/AMDAPP/lib/x86_64" ./configure`
> 12. `make`
> 13. Run using
>     `export DISPLAY=:0; export GPU_USE_SYNC_OBJECTS=1; ./cgminer -n`

The first few times I tried I got an error that repeatedly said:

```
KnC spiL Can not open SPI device /dev/spidev1.0: No such file or directory.

```

NowI'm getting a terminal that looks like this, and I have no idea. I've googled select sections of the code but can't figure out what it's all about. Any suggestions would be gratefully received. Thanks.

![enter image description here](https://i.sstatic.net/4trs0.png)

Info. Running Ubuntu 14:04 on a System 76 Galago Ultra pro.

**Tags:** cgminer, ubuntu


---

## 1 answers

### Answer by username_1 on 2014-04-29. Score: 1 | Accepted answer

Your system reports: Intel's new Iris Pro graphics.

As far as ubuntu 13.10 was concerned the package cgminer was compiled for nvidia graphics cards and installed the module for ubuntu.

Consider running a system with dedicated GPU w/ PCIe: e. g. nvidia and ATI and possibly compile cgminer by yourself.

I tried bfgminer for ubuntu now, see here: <http://jarco.be/install-bfgminer-ubuntu-mint/>

...but cannot get it to work for litecoin scrypt right now...

NOW up and running bfgminer compiled for ubuntu 14.04 with howto from here:
<https://debianhelp.wordpress.com/2012/01/02/bitcoin-mining-in-ubuntu-with-bfgminer/>

with some minor changes:

* installed "bitcoin-qt" instead of "bitcoin"
* `sudo apt-get install uthash-dev`
* `./autogen.sh && ./configure --enable-scrypt --enable-opencl && make`
* modified ".bfgminer/bfgminer.conf" can be pasted here, if you want
  -> 880kh/s @ ATI Radeon R9 290X

> **Comments:**
> **username_0**: Oh I see, it looks like mining for scotcoins might be more involved than I'd expected. I'd hoped it would be the sort of thing I could've done using spare processing power when my laptop isn't busy! Thanks for enlightening me!  
> **username_1**: Furthermore the cgminer versions mentioned on your getting started page are outdated, there is only 4.x available. And these versions do not support GPU mining at all (Con Kolivas writes): Q: What happened to CPU and GPU mining? A: Their efficiency makes them irrelevant in the bitcoin mining world today and the author has no interest in supporting alternative coins that are better mined by these devices.  

---

