Bitcoin Forum

Bitcoin => Hardware => Topic started by: cygan on July 22, 2022, 09:25:50 AM



Title: some errors with cgminer in combination with an usb antminer u2
Post by: cygan on July 22, 2022, 09:25:50 AM
have now moved my post and made it a separate thread - this is about an old usb antminer u2 ;D that shows me various error messages at different intervals (cgminer version 4.12.0)

this is not a gekko comac f, but one of the very first usb miners... ;D
since some time i get the following error messages, which sometimes disappear again and then reappear.
can someone explain to me what it is and how i can turn off the error?

https://i.ibb.co/Rhp2GPP/60609801.png


Title: Re: some errors with cgminer in combination with an usb antminer u2
Post by: SFR10 on July 22, 2022, 10:53:57 AM
can someone explain to me what it is and how i can turn off the error?

https://i.imgur.com/dSNsoku.png
According to "ASIC-README (https://github.com/ckolivas/cgminer/blob/master/ASIC-README)", your Antminer U2 [ANU] it's being detected as an Antminer U3 [AU3]... I had no luck in finding a way to "exclude it (https://bitcointalk.org/index.php?topic=28402.msg10037028#msg10037028)", but perhaps the solution to the above errors is in the following lines: 196 to 263 (https://github.com/ckolivas/cgminer/blob/master/ASIC-README#L196)


Title: Re: some errors with cgminer in combination with an usb antminer u2
Post by: sidehack on July 22, 2022, 04:55:12 PM
You could also roll back to a cgminer version older than the U3, or try to build with an Icarus driver older than the U3. The icarus driver which handles most USB miners from then uses pretty simple logic to tell one from another; along the lines of "oh, XXX is the USB chip? Well send this data and see what comes back. Oh YYY is the return string? Eh, probably ZZZ miner." Not sure I've seen a U2 detect as a U3 before, but it's not unbelievable. U2 has 1x S1 chip, U3 has 4x S3 chips. We based the early Compac (1x S5 chip) driver on the U3 portion of icarus because it detected as a U3 by default also.