Title: Problem with Antminer u2 Post by: IngloriousNuke on October 28, 2015, 09:56:17 PM Trying to get an Antminer u2 working in cgminer on a raspberry pi with cgminer version 4.9.2. I'm pretty sure cgminer detects the device but it wont run.
Code:
While running cgminer if I disconnect and reconnect the Antminer u2 I get: Code: [2015-10-28 21:43:59.032] AMU 0 GetResults usb read err:(-9) LIBUSB_ERROR_PIPE Any suggestions? Using the code Code: sudo ./cgminer --icarus-options 115200:2:2 -o stratum+tcp://stratum.bitcoin.cz:3333 -u 'myusrname' -p 'mypsswd' With the appropriate arg in the -u and -p obviously. Title: Re: Problem with Antminer u2 Post by: JamieOnUbuntu on October 28, 2015, 11:41:50 PM Hi,
I'm also in the process of setting up an Antminer U2 with a Raspberry Pi. Where did you acquire your version of CGMiner? I used the one from http://github.com/bitmaintech/cgminer (http://github.com/bitmaintech/cgminer) Try using this command to launch it: Code: sudo cgminer/cgminer --bmsc-options 115200:20 -o stratum+tcp://eu.stratum.bitcoin.cz:3333 -u MY-USERNAME-HERE -p anything I have got my miner working, but it doesn't stay working for long. I've just had it mining at 1.6 Ghash/s for about 50 minutes, before the hashrate plummeted and it went offline. Every time I start CGMiner there seems to be about a 1 in 10 chance of it working fine, and a 9 in 10 chance of it throwing up some error. Let me know how it goes! Thanks! Title: Re: Problem with Antminer u2 Post by: IngloriousNuke on October 28, 2015, 11:50:52 PM I believe I got mine github.com/ckolivas or something.
are you sure you meant Code: sudo cgminer/cgminer --bmsc-options 115200:20 -o stratum+tcp://eu.stratum.bitcoin.cz:3333 -u MY-USERNAME-HERE -p anything With cgminer twice? --bmsc doesnt do anything for me, can't enable it after enabling icarus. Title: Re: Problem with Antminer u2 Post by: JamieOnUbuntu on October 28, 2015, 11:54:53 PM Aha, the reason I wrote cgminer twice is so that I don't have to CD into the cgminer directory.
It's simply referring to the directory where CGMiner is installed. "cgminer/cgminer" is the same as doing "cd cgminer" first. Also, what is Icarus? Title: Re: Problem with Antminer u2 Post by: IngloriousNuke on October 29, 2015, 12:02:59 AM From the ASIC-README in Cgminer.
Code: ANTMINER U1/U2+/U3 devices Another thing worth noting, my u2 work perfectly on Windows using the same version of Cgminer(4.9.2), after running Zadig and reinstalling drivers all I had to do was plug n play. This might be an issue with power. |