Bitcoin Forum
May 25, 2024, 09:02:53 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: ASCIMiner Block Erupter with CGMiner  (Read 2127 times)
BEDickey (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
April 17, 2017, 10:33:05 PM
Last edit: April 17, 2017, 11:22:19 PM by BEDickey
 #1

Hello all, long time lurker and first time poster here. I have run a ground and would like any help I can get. I am creating a "Bitcoin Mining Museum" (or that's what I tell myself at least.), the best of the new and the old. Eventually I want some network miners but we are starting off with USB Miners for now. I have gotten my 2PAC USB Miners to run without issue using the custom built CGMiner version needed for the 2PAC, see more in the Troubleshoot Thread https://bitcointalk.org/index.php?topic=1764803.0. I cannot get my ASCIMiner Block Erupters to work with it though. I have tried compiling it with both --enable-blockerupter and --enable-icarus. The --enable-icarus flag sees the miner, but it returns failure to initialize, and returns no work. It seems I am missing some extra flag, similar to frequency setting on the 2PAC. Any help or point in the right direction would be great. Thanks!

System Info - Raspberry Pi 2b+ on newest raspian install.
Minera as a front end for custom built CGMiner designed to run the 2PAC

EDIT

Log of me plugging in, unplugging, and plugging in a different Block Erupter
-snip-
[2017-04-17 19:13:14.645] failed usb_init
[2017-04-17 19:13:16.038] Hotplug: Icarus added AMU 0
[2017-04-17 19:14:15.366] AMU 0: Comms error (rerr=-9 amt=33210144)
[2017-04-17 19:14:15.370] AMU 0 failure, disabling!
[2017-04-17 19:14:27.474] failed usb_init
[2017-04-17 19:14:29.980] Hotplug: Icarus added AU3 0
[2017-04-17 19:14:32.085] AU3 0: No valid hashes for over 2 secs, attempting to reset
[2017-04-17 19:14:32.279] AU3 0 attempted reset got err:(0) LIBUSB_SUCCESS / LIBUSB_TRANSFER_COMPLETED
[2017-04-17 19:14:35.103] AU3 0: No valid hashes for over 2 secs, attempting to reset
[2017-04-17 19:14:35.309] AU3 0 attempted reset got err:(0) LIBUSB_SUCCESS / LIBUSB_TRANSFER_COMPLETED
[2017-04-17 19:14:50.094] AU3 0: No valid hashes for over 2 secs, attempting to reset
-snip-
NotFuzzyWarm
Legendary
*
Online Online

Activity: 3640
Merit: 2567


Evil beware: We have waffles!


View Profile
April 17, 2017, 10:48:13 PM
 #2

Only thing I can think of is does Zadig see it? The CGminer USB coms run through it. Run Zadig and see if the device needs to be added to what it controls.
EDIT: nvm: Just caught on is not a Win system... Kept here for Win uses.
Could still be related to the device not being recognized for USB coms though.

- For bitcoin to succeed the community must police itself -    My info useful? Donations welcome! 1FuzzyWc2J8TMqeUQZ8yjE43Rwr7K3cxs9
 -Sole remaining active developer of cgminer, Kano's repo is here
-Support Sidehacks miner development. Donations to:   1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr
vm1990
Legendary
*
Offline Offline

Activity: 1540
Merit: 1002



View Profile
May 15, 2017, 06:29:26 PM
 #3

Hello all, long time lurker and first time poster here. I have run a ground and would like any help I can get. I am creating a "Bitcoin Mining Museum" (or that's what I tell myself at least.), the best of the new and the old. Eventually I want some network miners but we are starting off with USB Miners for now. I have gotten my 2PAC USB Miners to run without issue using the custom built CGMiner version needed for the 2PAC, see more in the Troubleshoot Thread https://bitcointalk.org/index.php?topic=1764803.0. I cannot get my ASCIMiner Block Erupters to work with it though. I have tried compiling it with both --enable-blockerupter and --enable-icarus. The --enable-icarus flag sees the miner, but it returns failure to initialize, and returns no work. It seems I am missing some extra flag, similar to frequency setting on the 2PAC. Any help or point in the right direction would be great. Thanks!

System Info - Raspberry Pi 2b+ on newest raspian install.
Minera as a front end for custom built CGMiner designed to run the 2PAC

EDIT

Log of me plugging in, unplugging, and plugging in a different Block Erupter
-snip-
[2017-04-17 19:13:14.645] failed usb_init
[2017-04-17 19:13:16.038] Hotplug: Icarus added AMU 0
[2017-04-17 19:14:15.366] AMU 0: Comms error (rerr=-9 amt=33210144)
[2017-04-17 19:14:15.370] AMU 0 failure, disabling!
[2017-04-17 19:14:27.474] failed usb_init
[2017-04-17 19:14:29.980] Hotplug: Icarus added AU3 0
[2017-04-17 19:14:32.085] AU3 0: No valid hashes for over 2 secs, attempting to reset
[2017-04-17 19:14:32.279] AU3 0 attempted reset got err:(0) LIBUSB_SUCCESS / LIBUSB_TRANSFER_COMPLETED
[2017-04-17 19:14:35.103] AU3 0: No valid hashes for over 2 secs, attempting to reset
[2017-04-17 19:14:35.309] AU3 0 attempted reset got err:(0) LIBUSB_SUCCESS / LIBUSB_TRANSFER_COMPLETED
[2017-04-17 19:14:50.094] AU3 0: No valid hashes for over 2 secs, attempting to reset
-snip-

i assume you compiling it from source? if so you need --enable-icarus  for usb miners
--enable-blockerupter   Compile support for ASICMINER BlockErupter Tube/Prisma (so completely pointless and could be what causing your problems) it may also be the fact that its a custom version with 2PAC USB, you could always compile a 2nd version cgminer1 and cgminer2 1 can run 2pac and 2 can run the ASIC miners (iv found this works best with mixed USB miners that dont like playing together

o_solo_miner
Legendary
*
Offline Offline

Activity: 2458
Merit: 1477


-> morgen, ist heute, schon gestern <-


View Profile
May 31, 2017, 01:10:35 PM
 #4

If you compile the new 4.10.0 of cgminer, it won't work.
Also U2 got the same problem.
Use 4.9.2 and it will work.
It looks like that there is a id problem with the 2Pac driver.

from the creator of CGMiner http://solo.ckpool.org for Solominers
paused: passthrough for solo.ckpool.org => stratum+tcp://rfpool.org:3334
kano
Legendary
*
Offline Offline

Activity: 4508
Merit: 1819


Linux since 1997 RedHat 4


View Profile
May 31, 2017, 03:10:58 PM
 #5

If you compile the new 4.10.0 of cgminer, it won't work.
Also U2 got the same problem.
Use 4.9.2 and it will work.
It looks like that there is a id problem with the 2Pac driver.

Lol that would be funny if it was true.
I asked them to send me one miner so I could test it with the older devides ... that I have most of ... but it seemed that was too expensive to do and they claimed some random person did check it and it was OK.

Of course the code was committed into cgminer 4.10.0 without a care if it worked or not Tongue

... and it's no longer my problem Cheesy

FYI I have one of the first ever block erupters sent out to the public.

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
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!