Bitcoin Forum

Bitcoin => Mining support => Topic started by: tidioute06 on December 10, 2015, 02:26:09 PM



Title: Cgminer 4.9.0 on raspberry pi 2 support needed.
Post by: tidioute06 on December 10, 2015, 02:26:09 PM
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?


Title: Re: Cgminer 4.9.0 on raspberry pi 2 support needed.
Post by: siameze on December 10, 2015, 02:31:28 PM
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.


Title: Re: Cgminer 4.9.0 on raspberry pi 2 support needed.
Post by: tidioute06 on December 10, 2015, 02:33:00 PM
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.


Title: Re: Cgminer 4.9.0 on raspberry pi 2 support needed.
Post by: tidioute06 on December 10, 2015, 02:40:12 PM
Getting a 404 not found..

Nvm I'm an dumdass..lol


Title: Re: Cgminer 4.9.0 on raspberry pi 2 support needed.
Post by: siameze on December 10, 2015, 02:45:07 PM
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) .


Title: Re: Cgminer 4.9.0 on raspberry pi 2 support needed.
Post by: tidioute06 on December 10, 2015, 02:55:38 PM
It does. So is icarus like a usb driver for linux?


Title: Re: Cgminer 4.9.0 on raspberry pi 2 support needed.
Post by: siameze on December 10, 2015, 03:00:29 PM
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.


Title: Re: Cgminer 4.9.0 on raspberry pi 2 support needed.
Post by: -ck on December 10, 2015, 09:13:53 PM
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.


Title: Re: Cgminer 4.9.0 on raspberry pi 2 support needed.
Post by: tidioute06 on December 10, 2015, 11:50:55 PM
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.


Title: Re: Cgminer 4.9.0 on raspberry pi 2 support needed.
Post by: tidioute06 on December 11, 2015, 02:15:21 AM
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.


Title: Re: Cgminer 4.9.0 on raspberry pi 2 support needed.
Post by: -ck on December 11, 2015, 02:23:11 AM
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.


Title: Re: Cgminer 4.9.0 on raspberry pi 2 support needed.
Post by: tidioute06 on December 11, 2015, 02:33:07 AM
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.