Bitcoin Forum
November 16, 2024, 01:53:09 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 [3] 4 5 6 7 8 9 10 11 »  All
  Print  
Author Topic: How to use ASICMiner Block Erupters with CGMiner on Windows 7  (Read 87356 times)
1phone1world
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
June 07, 2013, 07:10:06 AM
 #41

 Roll Eyes Tongue  Safe mode did not work, but it gave me an idea.

Last known Good configuration is back to being my friend again...at least that gave me back the keyboard! At first i had the mouse too but it reinstalled itself with those corrupt drivers, so i manually did the keyboard control panel uninstall and it worked fine...thanks alot for the reply..

what was weird was the sound was coming from pc speaker haha - haven't heard sound coming from a pc speaker in over 20 years. Anyway its all fixed for now..

good enough.

She'll never know...
Thanks!
-D
kano
Legendary
*
Offline Offline

Activity: 4620
Merit: 1851


Linux since 1997 RedHat 4


View Profile
June 07, 2013, 12:56:07 PM
 #42

We've got cgminer 3.2.1 out now Smiley

Seems there was an initialisation problem that (unfortunately) worked without any problem on my Desktop (Fedora 18) and my Windows VM running on it also.

Finally tracked it down in time for the 3.2.1 release:
https://bitcointalk.org/index.php?topic=28402.msg2397710#msg2397710

Leave feedback in the cgminer thread if you find any problems - thanks Smiley

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
ndr76
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
June 08, 2013, 06:44:02 PM
 #43

I have a problem with cgminer on my usb erupter.
3.1.1 works fine, but 3.2.1 gives me this never ending series of errors:

[2013-06-08 19:38:12] USB init open device failed, err -3, you dont have priviledge to access - AMU device 1:9
[2013-06-08 19:38:12] Icarus detect (1:9) failed to initialise (incorrect device?)
 [2013-06-08 19:38:17] USB init open device failed, err -3, you dont have priviledge to access - AMU device 1:9
 [2013-06-08 19:38:17] Icarus detect (1:9) failed to initialise (incorrect device?)
 [2013-06-08 19:38:22] USB init open device failed, err -3, you dont have priviledge to access - AMU device 1:9
 [2013-06-08 19:38:22] Icarus detect (1:9) failed to initialise (incorrect device?)
.....

The only usb connected mining hardware is the AsicMiner usb Erupter.
I set the same permissions on both 3.1.1 and 3.2.1:

-rwxr-sr-x 1 andrea dialout  304853 May 24 09:46 cgminer-3.1.1/cgminer
-rwxr-sr-x 1 andrea dialout 1160140 Jun  8 19:35 cgminer-3.2.1/cgminer

Running debian 7.0.

cgminer compiled with ./configure --enable-icarus --enable-bflsc --disable-opencl

------------------------------------------------------------------------
cgminer 3.2.1
------------------------------------------------------------------------


Configuration Options Summary:

  curses.TUI...........: FOUND: -lncurses
  OpenCL...............: Detection overrided. GPU mining support DISABLED
  scrypt...............: Disabled (needs OpenCL)
  ADL..................: SDK NOT found, GPU monitoring support DISABLED

  Avalon.ASICs.........: Disabled
  BFL.ASICs............: Enabled
  BitForce.FPGAs.......: Disabled
  Icarus.FPGAs.........: Enabled
  ModMiner.FPGAs.......: Disabled
  Ztex.FPGAs...........: Disabled

Compilation............: make (or gmake)
  CPPFLAGS.............:
  CFLAGS...............: -g -O2 -I/usr/include/libusb-1.0  
  LDFLAGS..............:  -lpthread
  LDADD................:  -lcurl   -ljansson -lpthread     -lm -lusb-1.0  

Installation...........: make install (as root if needed, with 'su' or 'sudo')
  prefix...............: /usr/local
maxpower
Sr. Member
****
Offline Offline

Activity: 456
Merit: 250


View Profile
June 08, 2013, 07:04:29 PM
 #44

I have a problem with cgminer on my usb erupter.
3.1.1 works fine, but 3.2.1 gives me this never ending series of errors:

[2013-06-08 19:38:12] USB init open device failed, err -3, you dont have priviledge to access - AMU device 1:9
[2013-06-08 19:38:12] Icarus detect (1:9) failed to initialise (incorrect device?)
 [2013-06-08 19:38:17] USB init open device failed, err -3, you dont have priviledge to access - AMU device 1:9
 [2013-06-08 19:38:17] Icarus detect (1:9) failed to initialise (incorrect device?)
 [2013-06-08 19:38:22] USB init open device failed, err -3, you dont have priviledge to access - AMU device 1:9
 [2013-06-08 19:38:22] Icarus detect (1:9) failed to initialise (incorrect device?)
.....

The only usb connected mining hardware is the AsicMiner usb Erupter.
I set the same permissions on both 3.1.1 and 3.2.1:

-rwxr-sr-x 1 andrea dialout  304853 May 24 09:46 cgminer-3.1.1/cgminer
-rwxr-sr-x 1 andrea dialout 1160140 Jun  8 19:35 cgminer-3.2.1/cgminer

Running debian 7.0.

cgminer compiled with ./configure --enable-icarus --enable-bflsc --disable-opencl

------------------------------------------------------------------------
cgminer 3.2.1
------------------------------------------------------------------------


Configuration Options Summary:

  curses.TUI...........: FOUND: -lncurses
  OpenCL...............: Detection overrided. GPU mining support DISABLED
  scrypt...............: Disabled (needs OpenCL)
  ADL..................: SDK NOT found, GPU monitoring support DISABLED

  Avalon.ASICs.........: Disabled
  BFL.ASICs............: Enabled
  BitForce.FPGAs.......: Disabled
  Icarus.FPGAs.........: Enabled
  ModMiner.FPGAs.......: Disabled
  Ztex.FPGAs...........: Disabled

Compilation............: make (or gmake)
  CPPFLAGS.............:
  CFLAGS...............: -g -O2 -I/usr/include/libusb-1.0  
  LDFLAGS..............:  -lpthread
  LDADD................:  -lcurl   -ljansson -lpthread     -lm -lusb-1.0  

Installation...........: make install (as root if needed, with 'su' or 'sudo')
  prefix...............: /usr/local

Try running cgminer with sudo. Normal users generally don't have the right permissions to access raw USB devices. There are some notes about this in the 3.2.1 README.

Mac Altcoin Wallets: https://bitcointalk.org/index.php?topic=216672 | Rep Thread: https://bitcointalk.org/index.php?topic=205035.0
BTC: 13wuRW8v1PtZrbKKrBfT5JcuiCwpMqpCmY
ndr76
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
June 08, 2013, 08:21:49 PM
 #45

I finally managed to get cgminer 3.2.1 to work with Debian 7.0 !  Grin

Her's what I did:
sudo cp cgminer-3.2.1/01-cgminer.rules /etc/udev/rules.d/
sudo service udev restart

Now unplug and plug again the usb erupter.
Restart cgminer and it should work.

cgminer 3.2.1 no longer requires to specify the serial device, nor any icarus timing options. I also read that it should improve the hashing rate compared to 3.1.1.
kano
Legendary
*
Offline Offline

Activity: 4620
Merit: 1851


Linux since 1997 RedHat 4


View Profile
June 09, 2013, 12:20:30 PM
Last edit: June 09, 2013, 12:40:12 PM by kano
 #46

Repeat of my request in the cgminer thread:
https://bitcointalk.org/index.php?topic=28402.msg2419696#msg2419696
Question ... ?
Is anyone having problems with cgminer 3.2.1 Icarus mining (Icarus, Lancelot or Erupter only) on anything OTHER than the RPi?
I seem to have narrowed it down to possibly being a timer bug (happening inside libusb - so possibly a kernel problem)
And if you are NOT having problems with 3.2.1 on RPi, could you tell me your kernel version?
with uname -a
Thanks!

Edit: and not using USB 3.0 Smiley

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
8-bit
Sr. Member
****
Offline Offline

Activity: 420
Merit: 250



View Profile
June 10, 2013, 01:01:21 PM
Last edit: June 10, 2013, 01:16:34 PM by 8-bit
 #47

Hello, thks for info. Im on Windows XP

I can't seem to get it to pop up in Device Manager. I installed this for step one: http://sourceforge.net/projects/libusb-win32/?source=recommended

Was this correct XP version? I got one of these guys for my BDAY and would love to get her working!


Screenshots:
http://s1341.photobucket.com/user/tommybstring/media/screenshot1_zpsc467e7a0.jpg.html
http://s1341.photobucket.com/user/tommybstring/media/shot2_zps513ef553.jpg.html
http://s1341.photobucket.com/user/tommybstring/media/shot3_zps215d9792.jpg.html
http://s1341.photobucket.com/user/tommybstring/media/shot4_zps9e4b0d04.jpg.html

Thank-You

CannaCoin.tech - The Future of the Cannabis Industry | CannaCoin Community Manager
“The greatness of a man is not in how much wealth he acquires, but in his integrity and his ability to affect those around him positively” ― Bob Marley
mdude77 (OP)
Legendary
*
Offline Offline

Activity: 1540
Merit: 1001



View Profile
June 10, 2013, 01:19:52 PM
 #48


I think you're looking in the wrong place.  Once both drivers are installed, they'll show up under ports, not USB.

M

I mine at Kano's Pool because it pays the best and is completely transparent!  Come join me!
8-bit
Sr. Member
****
Offline Offline

Activity: 420
Merit: 250



View Profile
June 10, 2013, 02:23:07 PM
 #49

you're correct, it was listed under ports.

when i double click cgminer nogpu this is what im seeing

http://s1341.photobucket.com/user/tommybstring/media/shot1_zpsbce4d3f3.jpg.html

this is my first mining attempt, many thks

CannaCoin.tech - The Future of the Cannabis Industry | CannaCoin Community Manager
“The greatness of a man is not in how much wealth he acquires, but in his integrity and his ability to affect those around him positively” ― Bob Marley
mdude77 (OP)
Legendary
*
Offline Offline

Activity: 1540
Merit: 1001



View Profile
June 10, 2013, 02:56:39 PM
 #50

you're correct, it was listed under ports.

when i double click cgminer nogpu this is what im seeing

http://s1341.photobucket.com/user/tommybstring/media/shot1_zpsbce4d3f3.jpg.html

this is my first mining attempt, many thks

You're using cgminer 3.2.1.  It doesn't work with the UART driver (it's what makes it show up as a COM port).  Use 3.1.1 and you should be fine.

If you want to use 3.2.1, you'll have to uninstall the UART driver.  Rumor has it this doesn't work properly if you have it plugged into a USB 3.0 port.  I haven't tried it yet, took too long for me to recover from trying 3.2.0. Sad

M

I mine at Kano's Pool because it pays the best and is completely transparent!  Come join me!
8-bit
Sr. Member
****
Offline Offline

Activity: 420
Merit: 250



View Profile
June 10, 2013, 03:38:51 PM
 #51

This is the screen I have now using cgminer 3.1.1.
http://s1341.photobucket.com/user/tommybstring/media/shot9_zpsae3bb49f.jpg.html?sort=3&o=0

Its asking for URL, should I type the code you mentioned in last step directly into this space?

(I have a coinotron account and will be using their pool)

Kinda lost, thks

CannaCoin.tech - The Future of the Cannabis Industry | CannaCoin Community Manager
“The greatness of a man is not in how much wealth he acquires, but in his integrity and his ability to affect those around him positively” ― Bob Marley
mdude77 (OP)
Legendary
*
Offline Offline

Activity: 1540
Merit: 1001



View Profile
June 10, 2013, 03:41:02 PM
 #52

This is the screen I have now using cgminer 3.1.1.
http://s1341.photobucket.com/user/tommybstring/media/shot9_zpsae3bb49f.jpg.html?sort=3&o=0

Its asking for URL, should I type the code you mentioned in last step directly into this space?

(I have a coinotron account and will be using their pool)

Kinda lost, thks

Check cointron for info on what to put in cgminer for mining.  You will need a URL, possibly a port, and a username/pw (you might pick these on the coinotron website).

M

I mine at Kano's Pool because it pays the best and is completely transparent!  Come join me!
8-bit
Sr. Member
****
Offline Offline

Activity: 420
Merit: 250



View Profile
June 10, 2013, 04:21:52 PM
 #53

done, im logged into cg miner with my coinotron account. 0.0 khash/sec

where do i put the line of code to recognize my usb device, thks

CannaCoin.tech - The Future of the Cannabis Industry | CannaCoin Community Manager
“The greatness of a man is not in how much wealth he acquires, but in his integrity and his ability to affect those around him positively” ― Bob Marley
mdude77 (OP)
Legendary
*
Offline Offline

Activity: 1540
Merit: 1001



View Profile
June 10, 2013, 04:23:58 PM
 #54

done, im logged into cg miner with my coinotron account. 0.0 khash/sec

where do i put the line of code to recognize my usb device, thks

I think you might have forgotten to change the parameters to cgminer to reflect your COM ports:

Code:
--icarus-options 115200:1:1 --icarus-timing 3.0=100 -S COMx -S COMy -S COMz -S COMetc

Put the proper COM ports in where you see x, y, z, and so forth, adding more as needed and deleting those that aren't needed.  If you get up to COM10, you have to use the other format detailed on my first post.

M

I mine at Kano's Pool because it pays the best and is completely transparent!  Come join me!
FiatKiller
Sr. Member
****
Offline Offline

Activity: 378
Merit: 250


View Profile
June 10, 2013, 04:38:26 PM
 #55

Roll Eyes Tongue  Safe mode did not work, but it gave me an idea.

Last known Good configuration is back to being my friend again...at least that gave me back the keyboard! At first i had the mouse too but it reinstalled itself with those corrupt drivers, so i manually did the keyboard control panel uninstall and it worked fine...thanks alot for the reply..

what was weird was the sound was coming from pc speaker haha - haven't heard sound coming from a pc speaker in over 20 years. Anyway its all fixed for now..

good enough.

She'll never know...
Thanks!
-D

For future ref: under Accessories > Ease of Access, is an On Screen keyboard if you have mouse but no keyboard. Saved me a few times. I know that was not your exact situation.

LTC: LdxgJQLUdr8hZ79BV5AYbxkBUdaXctXAPi
MoonCoin Gambling: https://coin-horse.com/MON/
8-bit
Sr. Member
****
Offline Offline

Activity: 420
Merit: 250



View Profile
June 10, 2013, 04:44:25 PM
 #56



Put the proper COM ports in where you see x, y, z, and so forth, adding more as needed and deleting those that aren't needed.  If you get up to COM10, you have to use the other format detailed on my first post.

M
[/quote]

ha, im such a newb :/

What screen am I supposed to be at while adding these COM ports?

somewhere inside cg miner?

CannaCoin.tech - The Future of the Cannabis Industry | CannaCoin Community Manager
“The greatness of a man is not in how much wealth he acquires, but in his integrity and his ability to affect those around him positively” ― Bob Marley
mdude77 (OP)
Legendary
*
Offline Offline

Activity: 1540
Merit: 1001



View Profile
June 10, 2013, 05:00:47 PM
 #57

Quote

Put the proper COM ports in where you see x, y, z, and so forth, adding more as needed and deleting those that aren't needed.  If you get up to COM10, you have to use the other format detailed on my first post.

M

ha, im such a newb :/

What screen am I supposed to be at while adding these COM ports?

somewhere inside cg miner?

Open up notepad.
Enter this:

Code:
cd \mining\cgminer
cgminer-nogpu.exe --icarus-options 115200:1:1 --icarus-timing 3.0=100 -S COM3 -S COM4 -S COM5 -S COM6 -S COM7 -S COM8 -S COM9
pause

Changing the path to your cgminer path as necessary, and the COM ports as necessary.  Then save it as "cgminer.cmd". 

If you haven't configured a pool yet, and saved it, you'll be prompted for your pool URL and credentials.

Once you see everything is working, press the "S" and then "W" in cgminer to save the settings to a configuration file.  Next time it should work w/o asking anything.

M

I mine at Kano's Pool because it pays the best and is completely transparent!  Come join me!
8-bit
Sr. Member
****
Offline Offline

Activity: 420
Merit: 250



View Profile
June 10, 2013, 05:17:59 PM
 #58

I did overwrite the config file now that i have it working. Used the default name.

Last question, I always run the cgminer.cmd file correct? Because if i try the cgminer no gpu file it doesn't work, but cgminer.cmd does.

Whats you LTC wallet address ? Thank-you so much mdude77

CannaCoin.tech - The Future of the Cannabis Industry | CannaCoin Community Manager
“The greatness of a man is not in how much wealth he acquires, but in his integrity and his ability to affect those around him positively” ― Bob Marley
mdude77 (OP)
Legendary
*
Offline Offline

Activity: 1540
Merit: 1001



View Profile
June 10, 2013, 05:21:02 PM
 #59

I did overwrite the config file now that i have it working. Used the default name.

Last question, I always run the cgminer.cmd file correct? Because if i try the cgminer no gpu file it doesn't work, but cgminer.cmd does.

Whats you LTC wallet address ? Thank-you so much mdude77

The command script (cgminer.cmd) is your best bet.

LTC addy is LWSZmAC1zGUvsSMfGtdhUz39oZfGpEPL38.  Thanks! Smiley

M

I mine at Kano's Pool because it pays the best and is completely transparent!  Come join me!
8-bit
Sr. Member
****
Offline Offline

Activity: 420
Merit: 250



View Profile
June 10, 2013, 05:28:02 PM
 #60

wow,that baby runs hot.. i just have one of those sticks, so i wanted to run it right off the USB slot (no fan)

Should i get a hub to get it away from the computer? Possible overheating or fire hazard concerns ??

I'm new and don't want to do something stupid.

Donation Sent, thks again Smiley

CannaCoin.tech - The Future of the Cannabis Industry | CannaCoin Community Manager
“The greatness of a man is not in how much wealth he acquires, but in his integrity and his ability to affect those around him positively” ― Bob Marley
Pages: « 1 2 [3] 4 5 6 7 8 9 10 11 »  All
  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!