Author

Topic: Antminer U1 + Asic miner Block erupter + Ubuntu (Read 3294 times)

newbie
Activity: 38
Merit: 0
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.
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
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.
newbie
Activity: 38
Merit: 0
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.
newbie
Activity: 5
Merit: 0
Thank you,
newbie
Activity: 4
Merit: 0
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
newbie
Activity: 5
Merit: 0
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,
Jump to: