Bitcoin Forum
November 10, 2024, 02:52:51 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Cgminer 4.9.0 on raspberry pi 2 support needed.  (Read 2225 times)
tidioute06 (OP)
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
December 10, 2015, 02:26:09 PM
 #1

So I'm trying to setup cgminer on a raspberry pi 2. This is purely for fun/educational purposes. I have a block erupter and two bitfury asics. I followed adafruits guide. Unfortunately cgminer 3.1.1 is no longer available. I'm using cgminer 4.9.0. I followed all the instructions (being a Linux noob) and I can't get cgminer to open. I get the error usb init, open device failed, err -3, you don't have privilege to access

After looking through the cgminer Readme I thought it might be a permissions issue. I tried what the guide recommended but I either don't understand it or have done it wrong. I got cgminer working with the same hardware on my windows pc so I know the miners are ok.

Any ideas?
siameze
Legendary
*
Offline Offline

Activity: 1064
Merit: 1000



View Profile
December 10, 2015, 02:31:28 PM
 #2

So I'm trying to setup cgminer on a raspberry pi 2. This is purely for fun/educational purposes. I have a block erupter and two bitfury asics. I followed adafruits guide. Unfortunately cgminer 3.1.1 is no longer available. I'm using cgminer 4.9.0. I followed all the instructions (being a Linux noob) and I can't get cgminer to open. I get the error usb init, open device failed, err -3, you don't have privilege to access

After looking through the cgminer Readme I thought it might be a permissions issue. I tried what the guide recommended but I either don't understand it or have done it wrong. I got cgminer working with the same hardware on my windows pc so I know the miners are ok.

Any ideas?



I found v.3.1.1 on github in a few seconds: https://github.com/ckolivas/cgminer/releases/tag/v3.1.1   Might want to give that a whirl. I'll follow this thread and help best I can. Good luck!

Also, ensure that you have the latest usb drivers for your OS. I admit I am not super up-to-date on RasPI's I have mined using other ARM devices under Arch linux though.


                     ▀▀█████████▀████████████████▄
                        ████▄      ▄████████████████
                     ▄██████▀  ▄  ███████████████████
                  ▄█████████▄████▄███████████████████
                ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀████████
                                               ▀▀███▀
    ▄█▀█       ▄▀  ▄▀▀█  ▄▀   █████████████████▄ ██▀         ▄▀█
   ▄█ ▄▀      ▀█▀ █▀ █▀ ▀█▀  ███████████████████ █▀ ▀▀      ▄▀▄▀
  ▄█    ▄███  █     █   █   ████████████████████  ▄█     ▄▀▀██▀ ▄███
███▄▄▄  █▄▄▄ █▄▄ ▄▄▀   █▄▄ ██████████████████▀▀   █▄▄ ▄▄ █▄▄█▄▄▄█▄▄▄
                           ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                            ▀▀█████████████▄
                                █████████████▄
                                  █████████████▄
                                    ▀███████▀▀▀▀▀
                                      ▀████▀
                                        ▀█▀
LetItRideINNOVATIVE ▬▬▬
DICE GAME
                        ▄███████████▄
                       ██  ██████████▄
                     ▄█████████████  ██▄
            ▄▄▀█▄▄▄▄▄████████████████████▄
        ▄▄█▀   ███████████  █████  ████  █
    ▄██████ ▄▄███████████████████████████▀
 ▄▀▀ ██████████████████████████  ████  █
█  ▄███████████▀▀▀█████████████████████
██████████████    ████████▀▀██████  █▀
██████████████▄▄▄██████████   ▀▀▀▀▀▀▀
███▀ ▀██████████████████████
██    ███████████████████████
██▄▄██████████████████████████
██████████████▀   ██████████
  █████████████   ▄██████▀▀
     ▀▀██████████████▀▀
         ▀▀██████▀▀
PROVABLY
F A I R
▄█████████████▀ ▄█
██            ▄█▀
██          ▄██ ▄█
██ ▄█▄    ▄███  ██
██ ▀███▄ ▄███   ██
██  ▀███████    ██
██    █████     ██
██     ███      ██
██      ▀       ██
██              ██
▀████████████████▀
BUY  BACK
PLANS
[BTC]
tidioute06 (OP)
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
December 10, 2015, 02:33:00 PM
 #3

Oh wow thanks. I'm new to bitcoin mining and linux. I'm really looking to learn but the amount of info for a newbie is a bit overwhelming lol. I'll give the 3.1 a try and see what happens.
tidioute06 (OP)
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
December 10, 2015, 02:40:12 PM
 #4

Getting a 404 not found..

Nvm I'm an dumdass..lol
siameze
Legendary
*
Offline Offline

Activity: 1064
Merit: 1000



View Profile
December 10, 2015, 02:45:07 PM
 #5

Getting a 404 not found..

Nvm I'm an dumdass..lol


Don't forget that when building cgminer to enable icarus and bitfury support in the configure flags. (adafruits guide may mention this) .


                     ▀▀█████████▀████████████████▄
                        ████▄      ▄████████████████
                     ▄██████▀  ▄  ███████████████████
                  ▄█████████▄████▄███████████████████
                ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀████████
                                               ▀▀███▀
    ▄█▀█       ▄▀  ▄▀▀█  ▄▀   █████████████████▄ ██▀         ▄▀█
   ▄█ ▄▀      ▀█▀ █▀ █▀ ▀█▀  ███████████████████ █▀ ▀▀      ▄▀▄▀
  ▄█    ▄███  █     █   █   ████████████████████  ▄█     ▄▀▀██▀ ▄███
███▄▄▄  █▄▄▄ █▄▄ ▄▄▀   █▄▄ ██████████████████▀▀   █▄▄ ▄▄ █▄▄█▄▄▄█▄▄▄
                           ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                            ▀▀█████████████▄
                                █████████████▄
                                  █████████████▄
                                    ▀███████▀▀▀▀▀
                                      ▀████▀
                                        ▀█▀
LetItRideINNOVATIVE ▬▬▬
DICE GAME
                        ▄███████████▄
                       ██  ██████████▄
                     ▄█████████████  ██▄
            ▄▄▀█▄▄▄▄▄████████████████████▄
        ▄▄█▀   ███████████  █████  ████  █
    ▄██████ ▄▄███████████████████████████▀
 ▄▀▀ ██████████████████████████  ████  █
█  ▄███████████▀▀▀█████████████████████
██████████████    ████████▀▀██████  █▀
██████████████▄▄▄██████████   ▀▀▀▀▀▀▀
███▀ ▀██████████████████████
██    ███████████████████████
██▄▄██████████████████████████
██████████████▀   ██████████
  █████████████   ▄██████▀▀
     ▀▀██████████████▀▀
         ▀▀██████▀▀
PROVABLY
F A I R
▄█████████████▀ ▄█
██            ▄█▀
██          ▄██ ▄█
██ ▄█▄    ▄███  ██
██ ▀███▄ ▄███   ██
██  ▀███████    ██
██    █████     ██
██     ███      ██
██      ▀       ██
██              ██
▀████████████████▀
BUY  BACK
PLANS
[BTC]
tidioute06 (OP)
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
December 10, 2015, 02:55:38 PM
 #6

It does. So is icarus like a usb driver for linux?
siameze
Legendary
*
Offline Offline

Activity: 1064
Merit: 1000



View Profile
December 10, 2015, 03:00:29 PM
 #7

It does. So is icarus like a usb driver for linux?

No, icarus supprt is what will be needed for your block eruptor. Usb support should already be enabled in raspbian (which I assume you are using). I'll see if I can dig up some more info if you have continued trouble.


                     ▀▀█████████▀████████████████▄
                        ████▄      ▄████████████████
                     ▄██████▀  ▄  ███████████████████
                  ▄█████████▄████▄███████████████████
                ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀████████
                                               ▀▀███▀
    ▄█▀█       ▄▀  ▄▀▀█  ▄▀   █████████████████▄ ██▀         ▄▀█
   ▄█ ▄▀      ▀█▀ █▀ █▀ ▀█▀  ███████████████████ █▀ ▀▀      ▄▀▄▀
  ▄█    ▄███  █     █   █   ████████████████████  ▄█     ▄▀▀██▀ ▄███
███▄▄▄  █▄▄▄ █▄▄ ▄▄▀   █▄▄ ██████████████████▀▀   █▄▄ ▄▄ █▄▄█▄▄▄█▄▄▄
                           ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                            ▀▀█████████████▄
                                █████████████▄
                                  █████████████▄
                                    ▀███████▀▀▀▀▀
                                      ▀████▀
                                        ▀█▀
LetItRideINNOVATIVE ▬▬▬
DICE GAME
                        ▄███████████▄
                       ██  ██████████▄
                     ▄█████████████  ██▄
            ▄▄▀█▄▄▄▄▄████████████████████▄
        ▄▄█▀   ███████████  █████  ████  █
    ▄██████ ▄▄███████████████████████████▀
 ▄▀▀ ██████████████████████████  ████  █
█  ▄███████████▀▀▀█████████████████████
██████████████    ████████▀▀██████  █▀
██████████████▄▄▄██████████   ▀▀▀▀▀▀▀
███▀ ▀██████████████████████
██    ███████████████████████
██▄▄██████████████████████████
██████████████▀   ██████████
  █████████████   ▄██████▀▀
     ▀▀██████████████▀▀
         ▀▀██████▀▀
PROVABLY
F A I R
▄█████████████▀ ▄█
██            ▄█▀
██          ▄██ ▄█
██ ▄█▄    ▄███  ██
██ ▀███▄ ▄███   ██
██  ▀███████    ██
██    █████     ██
██     ███      ██
██      ▀       ██
██              ██
▀████████████████▀
BUY  BACK
PLANS
[BTC]
-ck
Legendary
*
Offline Offline

Activity: 4284
Merit: 1645


Ruu \o/


View Profile WWW
December 10, 2015, 09:13:53 PM
 #8

So I'm trying to setup cgminer on a raspberry pi 2. This is purely for fun/educational purposes. I have a block erupter and two bitfury asics. I followed adafruits guide. Unfortunately cgminer 3.1.1 is no longer available. I'm using cgminer 4.9.0. I followed all the instructions (being a Linux noob) and I can't get cgminer to open. I get the error usb init, open device failed, err -3, you don't have privilege to access

After looking through the cgminer Readme I thought it might be a permissions issue. I tried what the guide recommended but I either don't understand it or have done it wrong. I got cgminer working with the same hardware on my windows pc so I know the miners are ok.

Any ideas?

I'll direct you to the exact line in the readme
https://github.com/ckolivas/cgminer/blob/master/README#L426

Also no idea why you went with 4.9.0 since 4.9.2 is the latest.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
tidioute06 (OP)
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
December 10, 2015, 11:50:55 PM
 #9

So I got it to atleast see the bitfury miners. Still no luck on the blockerupter. I'm still getting the usb failed to init error..I'm really at a loss.
tidioute06 (OP)
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
December 11, 2015, 02:15:21 AM
 #10

So I'm trying to setup cgminer on a raspberry pi 2. This is purely for fun/educational purposes. I have a block erupter and two bitfury asics. I followed adafruits guide. Unfortunately cgminer 3.1.1 is no longer available. I'm using cgminer 4.9.0. I followed all the instructions (being a Linux noob) and I can't get cgminer to open. I get the error usb init, open device failed, err -3, you don't have privilege to access

After looking through the cgminer Readme I thought it might be a permissions issue. I tried what the guide recommended but I either don't understand it or have done it wrong. I got cgminer working with the same hardware on my windows pc so I know the miners are ok.

Any ideas?

I'll direct you to the exact line in the readme
https://github.com/ckolivas/cgminer/blob/master/README#L426

Also no idea why you went with 4.9.0 since 4.9.2 is the latest.

I followed all that in the readme. i get: cannot stat '01-cgminer.rules' no such file or directory
I know the folder is there. I can see it but for some reason it won't let me run the command. Like i said I'm a newbie at linux. I'm probably doing something incorrect.
-ck
Legendary
*
Offline Offline

Activity: 4284
Merit: 1645


Ruu \o/


View Profile WWW
December 11, 2015, 02:23:11 AM
 #11

So I'm trying to setup cgminer on a raspberry pi 2. This is purely for fun/educational purposes. I have a block erupter and two bitfury asics. I followed adafruits guide. Unfortunately cgminer 3.1.1 is no longer available. I'm using cgminer 4.9.0. I followed all the instructions (being a Linux noob) and I can't get cgminer to open. I get the error usb init, open device failed, err -3, you don't have privilege to access

After looking through the cgminer Readme I thought it might be a permissions issue. I tried what the guide recommended but I either don't understand it or have done it wrong. I got cgminer working with the same hardware on my windows pc so I know the miners are ok.

Any ideas?

I'll direct you to the exact line in the readme
https://github.com/ckolivas/cgminer/blob/master/README#L426

Also no idea why you went with 4.9.0 since 4.9.2 is the latest.

I followed all that in the readme. i get: cannot stat '01-cgminer.rules' no such file or directory
I know the folder is there. I can see it but for some reason it won't let me run the command. Like i said I'm a newbie at linux. I'm probably doing something incorrect.
You need to be IN the folder when you run it.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
tidioute06 (OP)
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
December 11, 2015, 02:33:07 AM
 #12

holy freaking cow I could kiss you right now. it worked! I knew i was doing something stupid. Thanks a ton your help. I'm a little less newbie now.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!