Hi miners, I have a problem getting my two Gridseed miners properly running under Raspberry Pi for BTC mining.
I've tried minepeon out of the box (version 0.2.4), but neither one of their versions of cgminer/bfgminer seemed to work with those, so I chose to download the latest sources from bfgminer. The only one I can get running is LTC mining via Scrypt.
HW info:
minepeon ~ # udevadm info --query=all -n /dev/ttyACM0
P: /devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2.5/1-1.2.5.3/1-1.2.5.3:1.0/tty/ttyACM0
N: ttyACM0
S: serial/by-id/usb-STMicroelectronics_STM32_Virtual_COM_Port_8D701xxxxxxx-if00
S: serial/by-path/platform-bcm2708_usb-usb-0:1.2.5.3:1.0
E: DEVLINKS=/dev/serial/by-id/usb-STMicroelectronics_STM32_Virtual_COM_Port_8D70167A5355-if00 /dev/serial/by-path/platform-bcm2708_usb-usb-0:1.2.5.3:1.0
E: DEVNAME=/dev/ttyACM0
E: DEVPATH=/devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2.5/1-1.2.5.3/1-1.2.5.3:1.0/tty/ttyACM0
E: ID_BUS=usb
E: ID_MODEL=STM32_Virtual_COM_Port
E: ID_MODEL_ENC=STM32\x20Virtual\x20COM\x20Port\x20\x20
E: ID_MODEL_FROM_DATABASE=STM32F407
E: ID_MODEL_ID=5740
E: ID_PATH=platform-bcm2708_usb-usb-0:1.2.5.3:1.0
E: ID_PATH_TAG=platform-bcm2708_usb-usb-0_1_2_5_3_1_0
E: ID_REVISION=0200
E: ID_SERIAL=STMicroelectronics_STM32_Virtual_COM_Port_8D701xxxxxxx
E: ID_SERIAL_SHORT=8D701xxxxxxx
E: ID_TYPE=generic
E: ID_USB_CLASS_FROM_DATABASE=Communications
E: ID_USB_DRIVER=cdc_acm
E: ID_USB_INTERFACES=:020201:0a0000:
E: ID_USB_INTERFACE_NUM=00
E: ID_VENDOR=STMicroelectronics
E: ID_VENDOR_ENC=STMicroelectronics
E: ID_VENDOR_FROM_DATABASE=STMicroelectronics
E: ID_VENDOR_ID=0483
E: MAJOR=166
E: MINOR=0
E: SUBSYSTEM=tty
E: TAGS=:systemd:
E: USEC_INITIALIZED=64582
and
minepeon ~ # udevadm info --query=all -n /dev/ttyACM1
P: /devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2.5/1-1.2.5.4/1-1.2.5.4:1.0/tty/ttyACM1
N: ttyACM1
S: serial/by-id/usb-STMicroelectronics_STM32_Virtual_COM_Port_8D6F4xxxxxxx-if00
S: serial/by-path/platform-bcm2708_usb-usb-0:1.2.5.4:1.0
E: DEVLINKS=/dev/serial/by-id/usb-STMicroelectronics_STM32_Virtual_COM_Port_8D6F4xxxxxxx-if00 /dev/serial/by-path/platform-bcm2708_usb-usb-0:1.2.5.4:1.0
E: DEVNAME=/dev/ttyACM1
E: DEVPATH=/devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2.5/1-1.2.5.4/1-1.2.5.4:1.0/tty/ttyACM1
E: ID_BUS=usb
E: ID_MODEL=STM32_Virtual_COM_Port
E: ID_MODEL_ENC=STM32\x20Virtual\x20COM\x20Port\x20\x20
E: ID_MODEL_FROM_DATABASE=STM32F407
E: ID_MODEL_ID=5740
E: ID_PATH=platform-bcm2708_usb-usb-0:1.2.5.4:1.0
E: ID_PATH_TAG=platform-bcm2708_usb-usb-0_1_2_5_4_1_0
E: ID_REVISION=0200
E: ID_SERIAL=STMicroelectronics_STM32_Virtual_COM_Port_8D6F4xxxxxxx
E: ID_SERIAL_SHORT=8D6F4xxxxxxx
E: ID_TYPE=generic
E: ID_USB_CLASS_FROM_DATABASE=Communications
E: ID_USB_DRIVER=cdc_acm
E: ID_USB_INTERFACES=:020201:0a0000:
E: ID_USB_INTERFACE_NUM=00
E: ID_VENDOR=STMicroelectronics
E: ID_VENDOR_ENC=STMicroelectronics
E: ID_VENDOR_FROM_DATABASE=STMicroelectronics
E: ID_VENDOR_ID=0483
E: MAJOR=166
E: MINOR=1
E: SUBSYSTEM=tty
E: TAGS=:systemd:
E: USEC_INITIALIZED=88914
lsusb is showing them as:
Bus 001 Device 010: ID 0483:5740 STMicroelectronics STM32F407
Bus 001 Device 009: ID 0483:5740 STMicroelectronics STM32F407
So I've compiled bfgminer by pullig it from
https://github.com/luke-jr/bfgminer and configuring it with:
./configure --enable-scrypt --enable-cpuminer --enable-gridseed --prefix=/opt/minepeon/
make
make install
Then I've called it from /opt/minepeon/bin :
bfgminer -d gridseed -S gridseed:all --set-device gridseed:clock=850 --url stratum+tcp://stratum.btcguild.com:3333 -u username_1 -p x -T --debug --verbose
Some results:
[2015-02-28 22:42:31] Started bfgminer 5.1.0-1-g61ee5f5
[2015-02-28 22:43:49] lowlevel_scan: Found usb device at usb:001:001 (path=(null), vid=1d6b, pid=0002, manuf=Linux 3.10.33-1-ARCH dwc_otg_hcd, prod=DWC OTG Controller, serial=bcm2708_usb)
[2015-02-28 22:43:49] lowlevel_scan: Found usb device at usb:001:002 (path=(null), vid=0424, pid=9512, manuf=(null), prod=(null), serial=(null))
[2015-02-28 22:43:49] lowlevel_scan: Found usb device at usb:001:003 (path=(null), vid=0424, pid=ec00, manuf=(null), prod=(null), serial=(null))
[2015-02-28 22:43:49] lowlevel_scan: Found usb device at usb:001:004 (path=(null), vid=0835, pid=8500, manuf=Action Star, prod=USB2.0 Hub, serial=(null))
[2015-02-28 22:43:49] lowlevel_scan: Found usb device at usb:001:006 (path=(null), vid=0835, pid=8501, manuf=Action Star, prod=USB HID, serial=(null))
[2015-02-28 22:43:49] lowlevel_scan: Found usb device at usb:001:007 (path=(null), vid=0835, pid=8500, manuf=Action Star, prod=USB2.0 Hub, serial=(null))
[2015-02-28 22:43:49] lowlevel_scan: Found usb device at usb:001:008 (path=(null), vid=0835, pid=8502, manuf=Action Star, prod=USB HID, serial=(null))
[2015-02-28 22:43:49] lowlevel_scan: Found usb device at usb:001:009 (path=(null), vid=0483, pid=5740, manuf=STMicroelectronics, prod=STM32 Virtual COM Port , serial=8D701xxxxxxx)
[2015-02-28 22:43:49] lowlevel_scan: Found usb device at usb:001:010 (path=(null), vid=0483, pid=5740, manuf=STMicroelectronics, prod=STM32 Virtual COM Port , serial=8D6F4xxxxxxx)
[2015-02-28 22:43:49] lowlevel_scan: Found usb device at usb:001:005 (path=(null), vid=24ae, pid=1001, manuf=MOSART Semi., prod=Rapoo 2.4G Wireless Touch Desktop , serial=(null))
[2015-02-28 22:43:49] lowlevel_scan: Found vcom device at dev_t:01a6000000000000 (path=/dev/ttyACM1, vid=0000, pid=0000, manuf=STMicroelectronics, prod=STM32 Virtual COM Port, serial=8D6F4xxxxxxx)
[2015-02-28 22:43:49] lowlevel_scan: Found vcom device at dev_t:00a6000000000000 (path=/dev/ttyACM0, vid=0000, pid=0000, manuf=STMicroelectronics, prod=STM32 Virtual COM Port, serial=8D701xxxxxxx)
[2015-02-28 22:43:49] No devices detected!
[2015-02-28 22:43:49] Waiting for devices
What is actually working is the following line for LTC:
bfgminer -d gridseed -S gridseed:/dev/ttyACM0 -S gridseed:/dev/ttyACM1 --set-device gridseed:clock=850 -o stratum+tcp://global.wemineltc.com:3333 -u username.1 -p x --scrypt
(which only fires up one at a time, but that's ok).
Technical setup:
- Raspberry pi
- Separate Power Supply for the pi
- Dlink DUB-H7/E (powered Hub)
- 2 x Gridseed ASIC Dual Miner
- 1 Fan connected to 12V Power supply
- Connection Schema: pi - Dlink - 2 x Gridseed
My question to you: what is the proper line to get them running under linux?
A later integration into minepeon would be desireable, but 1st I'd like to get it running.
Thanx in advance
wondermike
PS1: I've also tried
https://github.com/dtbartle/cgminer-gc3355 but there I get yet a different problem:
Pool 0 JSON stratum auth failed: [ -3, "Method 'mining.extranonce.subscribe' not found"...
PS2: Anybody ever tried routing a gridseed miner through esxi?