Bitcoin Forum

Bitcoin => Mining support => Topic started by: CADuke on August 18, 2020, 01:20:04 AM



Title: Bitmain Antminer U2 being detected as U3
Post by: CADuke on August 18, 2020, 01:20:04 AM
I am not even sure if I am posting this in the correct place as I have no idea what actually is the problem.

I got my Antminer U2's out of storage to sell a few to a friend who was wanting to collect old asic miners. Out of the 11 I have only 4 show up as show up as ANU. The other 9 show up as AU3, which of course just throws errors. I am running cgminer 4.11.1 on Raspberry Pi 4.

I have changed usb hubs, deleted cgminer.conf, rebuilt cgminer and they still show up as AU3.
I remember using --usb ICA:0 in the past to disable block erupters in the past. It has been so long since I have used these. I remember using --usb ICA:0 to run two instances of cgminer, one for Blue Furry and one with the antminers.

I know --usb AU3 does not work. Anyone know how I can keep them from being detected as U3?


Title: Re: Bitmain Antminer U2 being detected as U3
Post by: mikeywith on August 18, 2020, 01:51:42 AM
This is the right board to your question as far as the forum rules are concerned, although I doubt that you will find answers here because the guys who know too well about these USB miners don't hang around here too much.

I would say the best guy for this would be sidehack (https://bitcointalk.org/index.php?action=profile;u=130792), you could probably send him a PM since he isn't very active in this 'mining support' section, or you might try to ask in this topic (https://bitcointalk.org/index.php?topic=5053833.0).

Alternatively, wait and hope that someone here has had these little toys and can help you out, sadly I was not around when these pod miners were a thing.


Title: Re: Bitmain Antminer U2 being detected as U3
Post by: philipma1957 on August 18, 2020, 03:38:43 AM
I have not used these in so long.

But try using this thread

https://bitcointalk.org/index.php?topic=5053833.0

these are stick miners and vh the op has played with cgminer a lot.

you need to use cgminer with zadig.

zadig will load drivers for the sticks.


Title: Re: Bitmain Antminer U2 being detected as U3
Post by: CADuke on August 19, 2020, 12:15:57 AM
Funny you both mention shidehack and vh. I am running some old R808 and a few R606 in my shed. It is only thing I use cgminer at moment. I already tried using vh's fork of cgminer and is doing the same.

I believe it is a problem with Raspbery Pi OS 64-bit when it has more than four sticks. I used my RPi with RetroPie installed as it was closest thing. I had no problem with it recognizing all the Antminer U2.

It has been fun messing with these old stick miners. I held on to two of each stick miner I have ever used. But I think I just uncovered what might be a financial headache in the form of paper wallets.  I used these to buy used GPUs 8-10 years ago. :-\


Title: Re: Bitmain Antminer U2 being detected as U3
Post by: bmoscato on August 29, 2020, 08:57:56 PM
I have a RPi 4 running a mix of 10 U1/U2s using VH's fork of CGMiner 4.11.1. The RPi 4 is 4GB version and is updated to the most current Raspbian (Buster).

Don’t forget that you have to grant access to the USB devices after installing CGMiner. (This is assuming that you followed philipma1957 and used VH’s fork and default directory from the link that he posted.)

Code:
cd ~/git/vthoang/cgminer/
sudo usermod -G plugdev -a `whoami`
sudo cp 01-cgminer.rules /etc/udev/rules.d/
sudo reboot

I run this from the ~/git/vthoang/cgminer/ directory:

Code:
./cgminer -o stratum+tcp://solo.ckpool.org:3333 -u 1BmcjRJTRQAP7je5B7tDCLw4MDzXceSG9P.0 -p x --anu-freq 250 --suggest-diff 128 --api-listen --api-allow W:127.0.0.1

Keep in mind that you can set the frequency on the U1/U2:

Code:
--anu-freq <arg>    Set AntminerU1/2 frequency in MHz, range 125-500 (default: 250.0)