Bitcoin Forum
May 23, 2024, 02:06:25 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Antminer U1 + Asic miner Block erupter + Ubuntu  (Read 3277 times)
alexzp (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
January 04, 2014, 09:02:52 PM
Last edit: January 05, 2014, 10:29:51 AM by alexzp
 #1

Hello,

I am new here, and i was wondering if someone experience, runing cgminer under ubuntu 12.04/10/13.04/10 using both, the newly antminer u1 and block erupter's (on the same hub) and multiple cgminer instances.



Thank you,
scarymonkey
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
January 06, 2014, 06:23:54 PM
 #2

Sorry I forgot to reply to this. I am running exactly that combination of hardware but use 1 instance of bfgminer for the BE's and the custom cgminer build for the U1's. for the cgminer instance I specify the USB ports using the --usb switch (e.g. --usb 1:23,1:25,1:26 for the 3 I use). To find the usb ports I ran lsusb from a command line with just the BE's plugged in and then ran it again with the U1's in as well. Comparing the difference showed me the ports (below is my lsusb output from all the devices so you can see how to find the port details - the 1 is from the Bus and the 23, 25 & 26 from the Device)

Code:
Bus 001 Device 021: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x UART Bridge / myAVR mySmartUSB light
Bus 001 Device 022: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x UART Bridge / myAVR mySmartUSB light
Bus 001 Device 023: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x UART Bridge / myAVR mySmartUSB light
Bus 001 Device 025: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x UART Bridge / myAVR mySmartUSB light
Bus 001 Device 020: ID 1a40:0201 Terminus Technology Inc. FE 2.1 7-port Hub
Bus 001 Device 019: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x UART Bridge / myAVR mySmartUSB light
Bus 001 Device 026: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x UART Bridge / myAVR mySmartUSB light
Bus 001 Device 018: ID 1a40:0201 Terminus Technology Inc. FE 2.1 7-port Hub
alexzp (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
January 08, 2014, 12:13:53 PM
 #3

Thank you,
mbbc
Newbie
*
Offline Offline

Activity: 38
Merit: 0


View Profile
March 27, 2014, 01:08:31 AM
 #4

I had the same problem but used a different approach:
I've changed the internal USB serial number using Silabs' CP21xxCustomizationUtility (which is available in AN721: http://www.silabs.com/Support%20Documents/Software/an721sw.zip) to, let's say, 1337.

To detect which device number my U1 is, I'm executing this command:
Code:
dmesg | grep "SerialNumber: 1337" -B 5 | grep "device number [0-9]*"

This will output something like this:
Code:
[ 5753.262747] usb 1-1.3.1.1: new full-speed USB device number 13 using dwc_otg

And bingo, there's the device number which I then use for cgminers' --usb switch.
-ck
Legendary
*
Offline Offline

Activity: 4116
Merit: 1635


Ruu \o/


View Profile WWW
March 27, 2014, 02:21:01 AM
 #5

Hello,

I am new here, and i was wondering if someone experience, runing cgminer under ubuntu 12.04/10/13.04/10 using both, the newly antminer u1 and block erupter's (on the same hub) and multiple cgminer instances.
You shouldn't need multiple instances of cgminer. The current version of cgminer works fine with both of these devices at the same time by default without any special flags or multiple instances.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
mbbc
Newbie
*
Offline Offline

Activity: 38
Merit: 0


View Profile
March 28, 2014, 12:19:43 AM
 #6

You shouldn't need multiple instances of cgminer. The current version of cgminer works fine with both of these devices at the same time by default without any special flags or multiple instances.

My rig is now running smoothly with a single instance of 4.2.1.
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!