To use Script mining (LTC) with usb Gridseed dual miner GC3355 in Ubuntu 14.04 you can use a specific version of cpuminer.
Step 1: " sudo apt-get install build-essential libtool libcurl4-openssl-dev libncurses5-dev libudev-dev autoconf automake "
Then use git to download the specific version of cpuminer.
Step 2: " git clone https://github.com/gridseed/usb-miner "
Go to subdirectory
Step 3: " cd usb-miner/software/cpuminer "
start compiling...
Step 4: " ./autogen.sh "
Step 5: " ./configure "
Step 6: " make "
Now we have to check the “name” of usb miner. It should look like ttyACMx or ttyUSBx
To find dual miner name you can use lsusb and/or dmesg.
Step 7: " dmesg | grep STM32 "
root@raspberrypi:~$ dmesg | grep "8-2"
[ 2.097744] usb 8-2: new full-speed USB device number 3 using xhci_hcd
[ 2.144378] usb 8-2: New USB device found, idVendor=0483, idProduct=5740
[ 2.144382] usb 8-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2.144384] usb 8-2: Product: STM32 Virtual COM Port
[ 2.144385] usb 8-2: Manufacturer: STMicroelectronics
[ 2.144386] usb 8-2: SerialNumber: 6D765F835251
[ 2.144573] usb 8-2: ep 0x82 - rounding interval to 1024 microframes, ep desc says 2040 microframes
[ 18.512138] cdc_acm 8-2:1.0: This device cannot do calls on its own. It is not a modem.
[ 18.512206] cdc_acm 8-2:1.0: ttyACM0: USB ACM device
In this case the dual miner GC3355 is ttyACM0 ....
The base command to start miner is....
" miner -G /dev/ttyACM0 --url=yourpoolurl:port --userpass=yourusername.worker "
This is the general command for cpuminer
To change frequencies use parameters –freq= . Don’t exceed freq=850 MHz. It’s dangerous.
Step 8: " sudo ./minerd --freq=600 -G /dev/ttyACMx(x=Number for device) [if more then one miner write -G before each] --url=yourpoolurl:port --userpass=your_username.your_worker:passwordworker "