Pages:
Author

Topic: [GUIDE] GridSeed GC3355 5 Chip Setup/power/windows/linux/rpi by UnicornHasher - page 56. (Read 365630 times)

full member
Activity: 126
Merit: 100
I rewrote those instructions to include that library in the OP  https://bitcointalksearch.org/topic/m.5448813

Those work for 12.04 and 13.10

Ubuntu 12.04.4

The first problem I ran into was that I had to install git. Not a problem since Ubuantu told me that I needed to, and how to do it.

Built cpuminer, and that went fine.
skipped over the stuff for ubuntu 13.10
I then could not build cgminer. "cd /home/miner/usb-miner/software/cgminer" said "no such file or directory".
I did find /home/usb-miner/software/cgminer" but that directory did not have "autogen.sh".

So, now I am stuck. Any thoughts?
donator
Activity: 686
Merit: 519
It's for the children!
donator
Activity: 686
Merit: 519
It's for the children!

GRIDSEED GS3355 5 Chip USB Miner - Flashing RED and GREEN LED's - What They Actually Mean.


Added to the TOC in the OP.

Thanks Wolfey!
sr. member
Activity: 378
Merit: 250
Hello everyone!
This data will definitely help with Tuning your GridSeed 5 chip USB miner/s.

I just received this data from GRIDSEED via HASHRA.com today. 3-13-14
I'm paraphrasing for general clarity.
I've also added some of my own observations based on direct experience with my own GS5's.

GRIDSEED GS3355 5 Chip USB Miner - Flashing RED and GREEN LED's - What They Actually Mean.

All timings are either approximate or exact, if not darn close!
Your clock speed may vary slightly. Wink

GREEN flashing LED means - 5V is ON / drive electronics are powered up.
GREEN LED is ON for 1 second, OFF for 1 second.

RED flashing LED - ON 3 seconds / OFF 3 seconds:
Miner Is Hashing / Processing Data.

RED flashing LED - ON 60 to 70 seconds - OFF 60 to 70 seconds:
Miner is Not Hashing / Processing Data.

If Fan is OFF and RED LED IS STUCK ON or OFF i.e. not flashing:
12V is OFF - 5V is ON.

FAN is ON but no GREEN OR RED LED's are flashing ON or OFF:
12V ON - 5V OFF.

When first powering the miner on, the best sequence I have found is:
First, turn 12V Power ON
Second, turn 5V USB Power ON
This will enable self test to occur in correct sequence. (I'm guessing)
If you do not use correct power up sequence, various hash / no hash / no shares reported type problems may occur. (I'm guessing here too)

A few seconds after 5V USB Power is turned on, the GREEN LED's will start
to flash ON/OFF as written above.
After 12V power is turned ON, in about 60 to 70 seconds,
the RED LED's will start to sequence ON/OFF as written above.

Hope this helps! Smiley
Peace
Wolfey2014

LR6U7jB2Fb4pJYogbergqQHZgBRQ5UAqBG (LTC)
1G9uTT2YvygQXPMw4CaLWPJmg6asJBqM5f (BTC)
DMtMWd492Y4PrzZBA6fvkXywnGtgNcFdBd (DOGE)
donator
Activity: 686
Merit: 519
It's for the children!
OMG Thank you Im such an idiot. I thought I had all dependencies installed.  I thought I had ncurses installed.  That fixed it. Thanks for the help.  

Lol.  I made it stare you in the face Smiley
newbie
Activity: 21
Merit: 0
I am using Ubuntu 12.04 with my gridseeds. I compiled cgminer-gc3355 and is mining fine, however anytime I have compiled cgminer whether it be for btc-asics or gpu mining it runs like it's in compact mode, meaning I cant get the nice display to do pool management things like that. All I get is :


 [2014-03-13 19:31:36] Network diff set to 25
 [2014-03-13 19:31:36] Stratum from pool 0 detected new block                   
 [2014-03-13 19:31:40] Network diff set to 25
 [2014-03-13 19:31:40] Stratum from pool 0 detected new block                   
(5s):723.4K (avg):720.5Kh/s | A:544  R:32  HW:4  WU:5.8/m


Am I compiling it wrong or do I need a switch in my command?   When I use a precompiled version of cgminer it displays normally.  Does anyone have a precompiled  cgminer-gc3355 for Ubuntu 12.04 that they care to share?    Thank you

Sounds like nurses.

Post the output of ./configure in the cgminer directory.  Then end part not all the status lines.


OMG Thank you Im such an idiot. I thought I had all dependencies installed.  I thought I had ncurses installed.  That fixed it. Thanks for the help. 
newbie
Activity: 52
Merit: 0
First I want to say thank you to miaviator for the awesome guide!!!   Cool

Secondly... Please help!  I'm about out of options with this gridseed miner, and I'm hoping that someone else has seen this problem and can help me out...   Angry

Background: I have a single 5 chip miner that I'm trying get working in dual mode (and yes I realize that most people don't use it in dual mode, but I want it to do both because it's supposed to do BOTH).  I've been using Linux since the 90's, so I know what I'm doing there, and that's what I've got.   Smiley

I've followed the steps from this guide multiple times on multiple different workstations running Ubuntu 13 & 12, with about 50% success (50% meaning I can get it to mine  scrypt only).  I have no issues running cpuminer, or bfgminer, or even cgminer for scrypt mining; but the SHA mining functionality with cgminer just won't work.  So after beating my head against the wall for about 4 hours yesterday, I decided to start playing with the gridseed specific arguments.  Specifically, I changed the hotplug=0 to hotplug=1, and was then able to start cgminer in SHA mode, plug in the usb to the miner, and cgminer recognized the device and loaded it.  Mind you it wouldn't submit shares, even while it was sitting there hashing, then I realized I forgot the 12v power, so I turned it on, and it gave me an error.  So I played around with that for a while trying to figure out a way to start it, and after another hour or so I managed to get it mining in dual mode by connecting the miner while the power was off (go figure), then turned the power on, and it started submitting shares (steps I had already done multiple times).  At any rate, once it was running I left it alone for about 12 hours while it hashed SHA/scrypt until it just stopped.  After it stopped, I rebooted my system, and attempted the same process to get it working again.  Apparently though, that was just some kind of fluke, because there is NO getting this thing to work properly.  It will hash, but it won't submit shares for SHA or scrypt while trying to mine in dual mode.  When I try to hotplug the miner while the power is connected, cgminer just croaks and gives me the following errors:

 [2014-03-13 18:18:04] Pool 0 difficulty changed to 16
 [2014-03-13 18:19:35] GSD 1 GetResults usb read err:(-4) LIBUSB_ERROR_NO_DEVICE

 [2014-03-13 18:19:35] Device 1 is going to shutdown
 [2014-03-13 18:19:40] GridSeed options: 'baud=115200,freq=800,chips=5,modules=1
,usefifo=0,btc=16'
 [2014-03-13 18:19:40] System reseting
 [2014-03-13 18:19:40] GSD 0 SendWork usb write err:(-1) LIBUSB_ERROR_IO
 [2014-03-13 18:19:43] GSD 0 attempted reset got err:(-5) LIBUSB_ERROR_NOT_FOUND

 [2014-03-13 18:19:43] FAIL: USB get_lock not found (2:108)
 [2014-03-13 18:19:43] FAIL: USB remove not already in use (2:108)

If I start cgminer, and then plug in the usb without the power on to the miner, it appears to connect, loads the driver properly, and even starts to hash, but it will never submit shares.  

It seems to me that it should work when I plug it in with the power turned on, but from the errors it's giving, I'm thinking there is something wrong with the driver or firmware (especially since it's happening on 3 different computers the exact same way)...  It's also quite possible that I didn't compile something correctly, but I even built cgminer on a fresh vanilla install of Ubuntu 13 (following the steps from the guide exactly).  The only part of the guide that's off is that there is no autogen.sh file for cgminer when you clone the gridseed/usb-miner tree from git, so maybe there's something there?  Just the fact that it ran for 12 hours with no problems makes me think there's something else though (since it obviously functions on some level).

Ideally, I shouldn't have to hotplug this thing to get it working, and I should be able to mine both SHA and scrypt if that's what it's built for.  And while I've seen this question asked multiple times on multiple threads, there's never an answer, but here goes anyway...  Is there any new firmware we could be flashing?   Grin

Oh yeah, and if anyone has any ideas about the errors I'm getting with this thing, I would REALLY appreciate the assistance!   Cheesy

Edit:  Sorry to make this longer, but I wanted to add the errors that pop up while running "make" for cgminer.  I'll include a few of them, but there's too many to add them all here..  They are all related to gridseed, so maybe someone could let me know if it's normal?

driver-gridseed.c: In function ‘gc3355_write_data’:
driver-gridseed.c:323:2: warning: pointer targets in passing argument 4 of ‘_usb_write’ differ in signedness [-Wpointer-sign]
  err = usb_write(gridseed, data, size, &wrote, C_SENDWORK);
  ^
In file included from miner.h:123:0,
                 from driver-gridseed.c:23:
usbutils.h:400:5: note: expected ‘char *’ but argument is of type ‘unsigned char *’
 int _usb_write(struct cgpu_info *cgpu, int intinfo, int epinfo, char *buf, size_t bufsiz, int *processed, int timeout, enum usb_cmds);
     ^
driver-gridseed.c: In function ‘gc3355_get_data’:
driver-gridseed.c:338:3: warning: pointer targets in passing argument 4 of ‘_usb_read’ differ in signedness [-Wpointer-sign]
   err = usb_read_once(gridseed, p, readcount, &amount, C_GETRESULTS);
   ^
In file included from miner.h:123:0,
                 from driver-gridseed.c:23:
usbutils.h:399:5: note: expected ‘char *’ but argument is of type ‘unsigned char *’
 int _usb_read(struct cgpu_info *cgpu, int intinfo, int epinfo, char *buf, size_t bufsiz, int *processed, int timeout, const char *end, enum usb_cmds cmd, bool readonce, bool cancellable);
     ^
driver-gridseed.c: In function ‘gc3355_send_cmds_bin’:
driver-gridseed.c:387:3: warning: pointer targets in passing argument 2 of ‘gc3355_write_data’ differ in signedness [-Wpointer-sign]
   gc3355_write_data(gridseed, (char *)cmds, size);
   ^
driver-gridseed.c:301:12: note: expected ‘unsigned char *’ but argument is of type ‘char *’
 static int gc3355_write_data(struct cgpu_info *gridseed, unsigned char *data, int size)
            ^
driver-gridseed.c: In function ‘gc3355_set_core_freq’:
driver-gridseed.c:412:8: warning: unused variable ‘p’ [-Wunused-variable]
  char *p;
        ^
driver-gridseed.c: In function ‘gc3355_set_init_nonce’:
driver-gridseed.c:455:12: warning: unused variable ‘chips’ [-Wunused-variable]
  int    i, chips;
            ^
driver-gridseed.c: In function ‘gc3355_init’:
driver-gridseed.c:493:2: warning: pointer targets in passing argument 4 of ‘_usb_read’ differ in signedness [-Wpointer-sign]
  usb_read_timeout(gridseed, buf, sizeof(buf), &amount, 10, C_GETRESULTS);
  ^
In file included from miner.h:123:0,
                 from driver-gridseed.c:23:
usbutils.h:399:5: note: expected ‘char *’ but argument is of type ‘unsigned char *’
 int _usb_read(struct cgpu_info *cgpu, int intinfo, int epinfo, char *buf, size_t bufsiz, int *processed, int timeout, const char *end, enum usb_cmds cmd, bool readonce, bool cancellable);
     ^
driver-gridseed.c: In function ‘get_options’:
driver-gridseed.c:518:5: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
  ss = strdup(options);
     ^
driver-gridseed.c:520:2: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
  end = p + strlen(p);
  ^
driver-gridseed.c: In function ‘gridseed_pl2303_init’:
driver-gridseed.c:681:3: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type]
   return;
   ^
driver-gridseed.c:689:3: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type]
   return;
   ^
driver-gridseed.c:695:2: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type]
  return;
  ^
driver-gridseed.c: In function ‘gridseed_detect_one’:
driver-gridseed.c:813:4: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
  p = bin2hex(rbuf+GRIDSEED_READ_SIZE-4, 4);
    ^
driver-gridseed.c:741:7: warning: variable ‘configured’ set but not used [-Wunused-but-set-variable]
  bool configured;
       ^
driver-gridseed.c:740:11: warning: unused variable ‘wrote’ [-Wunused-variable]
  int err, wrote;
           ^
newbie
Activity: 21
Merit: 0
I am using Ubuntu 12.04 with my gridseeds. I compiled cgminer-gc3355 and is mining fine, however anytime I have compiled cgminer whether it be for btc-asics or gpu mining it runs like it's in compact mode, meaning I cant get the nice display to do pool management things like that. All I get is :


 [2014-03-13 19:31:36] Network diff set to 25
 [2014-03-13 19:31:36] Stratum from pool 0 detected new block                   
 [2014-03-13 19:31:40] Network diff set to 25
 [2014-03-13 19:31:40] Stratum from pool 0 detected new block                   
(5s):723.4K (avg):720.5Kh/s | A:544  R:32  HW:4  WU:5.8/m


Am I compiling it wrong or do I need a switch in my command?   When I use a precompiled version of cgminer it displays normally.  Does anyone have a precompiled  cgminer-gc3355 for Ubuntu 12.04 that they care to share?    Thank you

Sounds like nurses.

Post the output of ./configure in the cgminer directory.  Then end part not all the status lines.


This part??

Configuration Options Summary:

  libcurl(GBT+getwork).: Enabled: -lcurl
  curses.TUI...........: NOT FOUND. TUI support DISABLED
  scrypt...............: Disabled
  OpenCL...............: Detection overrided. GPU mining support DISABLED
configure: error: No mining configured in
donator
Activity: 686
Merit: 519
It's for the children!
I am using Ubuntu 12.04 with my gridseeds. I compiled cgminer-gc3355 and is mining fine, however anytime I have compiled cgminer whether it be for btc-asics or gpu mining it runs like it's in compact mode, meaning I cant get the nice display to do pool management things like that. All I get is :


 [2014-03-13 19:31:36] Network diff set to 25
 [2014-03-13 19:31:36] Stratum from pool 0 detected new block                   
 [2014-03-13 19:31:40] Network diff set to 25
 [2014-03-13 19:31:40] Stratum from pool 0 detected new block                   
(5s):723.4K (avg):720.5Kh/s | A:544  R:32  HW:4  WU:5.8/m


Am I compiling it wrong or do I need a switch in my command?   When I use a precompiled version of cgminer it displays normally.  Does anyone have a precompiled  cgminer-gc3355 for Ubuntu 12.04 that they care to share?    Thank you

Sounds like nurses.

Post the output of ./configure in the cgminer directory.  Then end part not all the status lines.
newbie
Activity: 21
Merit: 0
I am using Ubuntu 12.04 with my gridseeds. I compiled cgminer-gc3355 and is mining fine, however anytime I have compiled cgminer whether it be for btc-asics or gpu mining it runs like it's in compact mode, meaning I cant get the nice display to do pool management things like that. All I get is :


 [2014-03-13 19:31:36] Network diff set to 25
 [2014-03-13 19:31:36] Stratum from pool 0 detected new block                   
 [2014-03-13 19:31:40] Network diff set to 25
 [2014-03-13 19:31:40] Stratum from pool 0 detected new block                   
(5s):723.4K (avg):720.5Kh/s | A:544  R:32  HW:4  WU:5.8/m


Am I compiling it wrong or do I need a switch in my command?   When I use a precompiled version of cgminer it displays normally.  Does anyone have a precompiled  cgminer-gc3355 for Ubuntu 12.04 that they care to share?    Thank you
sr. member
Activity: 266
Merit: 250
I also ordered a pi today and will hopefully do away with the unbuntu box that sucks up so much power.

yaahaw!
donator
Activity: 686
Merit: 519
It's for the children!
No problems here!
I'm using cpuminer - works great!

What platform? Rasp Pi, Linux, Windows?

If Linux,
I am trying to setup mining on Ubuntu 12.4.4. Which instructions should I follow?

I also have a Rasp Pi on order. I will try to get that working too.


I've setup unbuntu also - dame version as you.

follow these instructions:

at the top: https://bitcointalksearch.org/topic/m.5667619

you will run into one error that's solved by doing this: sudo apt-get install libcurl4-nss-dev



I rewrote those instructions to include that library in the OP  https://bitcointalksearch.org/topic/m.5448813

Those work for 12.04 and 13.10
legendary
Activity: 3654
Merit: 8909
https://bpip.org
I hope someone can help, so I have a problem with cgminer that I cannot find the answer to anywhere.  I want to install two versions of cgminer on my raspberry pi, one for my dualminer usb sticks, and one for the gridseed 5 chips.  So the problem is that whenever I compile a different version of cgminer, the other version stops working.  If I open one version, run the miners, then compile the second and run that version, everything is fine.  But when I have to stop or reboot cgminer for either, only the latest version of cgminer that I compiled works?  It is probably something dumb that I am missing that is causing the problem but I can not find the answer anywhere.

Any ideas?

Try running them as different users?

Cgminer makes a ~/.cgminer directory which does something while cgminer is running.


Is there anyway to designate a different folder for cgminer so they do not screw each others settings up

Use
cgminer -c /path/to/config.file
to specify the correct file for each cgminer.

In the config file use
"usb": "1:1,1:2,..."
to specify usb devices to use for each cgminer.

Use
cgminer -n --usb-list
to see the device numbers you should use (Bus 1 Device 6 means you'll add 1:6 to the config file)

legendary
Activity: 1778
Merit: 1003
NodeMasters
Hi have 18 Gridseeds running on a 49 Port usb hub
connected to a Ras Pi all on one PSU

Just need more grid seeds to fill up the hub
another 20 will do  Grin


i wil post a pic later tonight
legendary
Activity: 4326
Merit: 8950
'The right to privacy matters'
do the gridseeds need alot of babysitting? (running scrypt only at 850Mhz)
expecting my babies next week, YAY!

Sadly yes... unless you buy some reset power devices to cycle them regularly...

I have had mine lock up and require a USB reset (unplug the USB cable) several times in the week since I started with it. Its a firmware thing that needs to be addressed.

my results are different then yours(in one case but not the other)  my 4  are running non stop for  days on end.   the issue may be firmware as you say ,but I have 5 pc's doing mining.

One pc is godlike  4 at 850 with no errors and no controller. it is an asrock z77 itx-e


 One is not. the other  3 have not been tested.  so the issue is the gridseed and your controller. of course if you are using the controller they gave
sr. member
Activity: 266
Merit: 250
No problems here!
I'm using cpuminer - works great!

What platform? Rasp Pi, Linux, Windows?

If Linux,
I am trying to setup mining on Ubuntu 12.4.4. Which instructions should I follow?

I also have a Rasp Pi on order. I will try to get that working too.


I've setup unbuntu also - dame version as you.

follow these instructions:

at the top: https://bitcointalksearch.org/topic/m.5667619

you will run into one error that's solved by doing this: sudo apt-get install libcurl4-nss-dev

member
Activity: 108
Merit: 10
I plan on using a RasPI
bought this hub: http://www.amazon.com/MANHATTAN-13-Port-Hi-Speed-Desktop-161022/dp/B002ZU7HH2

a troublefree road ahead of me?

I am running 10 gridseeds on a raspberry pi using cgminer with the cheapest 10 port hub I could find on ebay (about $6 new) and they run sweetly Smiley

I have a 5V 8 amp power unit driving the hub and pi. Not sure if it needs 8 amps but I had it already.
full member
Activity: 126
Merit: 100
No problems here!
I'm using cpuminer - works great!

What platform? Rasp Pi, Linux, Windows?

If Linux,
I am trying to setup mining on Ubuntu 12.4.4. Which instructions should I follow?

I also have a Rasp Pi on order. I will try to get that working too.
full member
Activity: 134
Merit: 100
I hope someone can help, so I have a problem with cgminer that I cannot find the answer to anywhere.  I want to install two versions of cgminer on my raspberry pi, one for my dualminer usb sticks, and one for the gridseed 5 chips.  So the problem is that whenever I compile a different version of cgminer, the other version stops working.  If I open one version, run the miners, then compile the second and run that version, everything is fine.  But when I have to stop or reboot cgminer for either, only the latest version of cgminer that I compiled works?  It is probably something dumb that I am missing that is causing the problem but I can not find the answer anywhere.

Any ideas?

Try running them as different users?

Cgminer makes a ~/.cgminer directory which does something while cgminer is running.


Is there anyway to designate a different folder for cgminer so they do not screw each others settings up
donator
Activity: 686
Merit: 519
It's for the children!
I hope someone can help, so I have a problem with cgminer that I cannot find the answer to anywhere.  I want to install two versions of cgminer on my raspberry pi, one for my dualminer usb sticks, and one for the gridseed 5 chips.  So the problem is that whenever I compile a different version of cgminer, the other version stops working.  If I open one version, run the miners, then compile the second and run that version, everything is fine.  But when I have to stop or reboot cgminer for either, only the latest version of cgminer that I compiled works?  It is probably something dumb that I am missing that is causing the problem but I can not find the answer anywhere.

Any ideas?

Try running them as different users?

Cgminer makes a ~/.cgminer directory which does something while cgminer is running.
Pages:
Jump to: