Bitcoin Forum

Bitcoin => Mining software (miners) => Topic started by: sLide. on December 07, 2013, 07:47:48 AM



Title: CGMiner & Raspberry Pi
Post by: sLide. on December 07, 2013, 07:47:48 AM
As a project, I wanted to get some USB BE's on a raspberry Pi.  I've followed this tut to the T, and I'm getting an error that I haven't yet found the answer to on these forums or google. 

http://learn.adafruit.com/piminer-raspberry-pi-bitcoin-miner/install-cgminer

I'm entering in sudo nohup ./cgminer-3.1.1/cgminer --config /home/pi/cgminer.conf -s/dev/ttyUSB0 -s /dev/ttyUSB1 -s /dev/ttyUSB2 -s /dev/ttyUSB3 >/dev/null 2>&1&

I'm getting a return value of [1] 2548.

The green led's are not turning off.  Da faq am I doing wrong?


Title: Re: CGMiner & Raspberry Pi
Post by: cxboyminer on December 07, 2013, 07:58:18 AM
Are you using a powered usb hub?


Title: Re: CGMiner & Raspberry Pi
Post by: sLide. on December 07, 2013, 08:03:21 AM
Are you using a powered usb hub?

Yes.  A inland 13 port USB hub. I only have 4 BE's on it right now.


Title: Re: CGMiner & Raspberry Pi
Post by: -ck on December 07, 2013, 08:24:50 AM
Latest version of cgminer works fine with RPi and erupters without using ancient tty port settings. It should just autodetect them. Note that RPis can't drive USB3 hubs since they have no usb3 drivers so if yours is USB3, you're out of luck unless you put yet another usb2 hub between that hub and the Pi.


Title: Re: CGMiner & Raspberry Pi
Post by: sLide. on December 07, 2013, 08:27:05 AM
Latest version of cgminer works fine with RPi and erupters without using ancient tty port settings. It should just autodetect them. Note that RPis can't drive USB3 hubs since they have no usb3 drivers so if yours is USB3, you're out of luck unless you put yet another usb2 hub between that hub and the Pi.

I just downloaded 3.8.1 from your github. I'm going to attempt it with that.  I believe the USB hub is 2.0 as well.


Title: Re: CGMiner & Raspberry Pi
Post by: -ck on December 07, 2013, 08:28:07 AM
Latest version of cgminer works fine with RPi and erupters without using ancient tty port settings. It should just autodetect them. Note that RPis can't drive USB3 hubs since they have no usb3 drivers so if yours is USB3, you're out of luck unless you put yet another usb2 hub between that hub and the Pi.

I just downloaded 3.8.1 from your github. I'm going to attempt it with that.  I believe the USB hub is 2.0 as well.
Why did you stop at 3.8.1?


Title: Re: CGMiner & Raspberry Pi
Post by: poonasor on September 09, 2022, 02:35:06 AM
so i got cgminer working on my pi3, i have it running in the background on startup, is there a way to view the stats/log without VNC or ssh via cmd?