GoldZuGeld
Newbie
Offline
Activity: 57
Merit: 0
|
|
August 24, 2012, 06:29:33 PM |
|
ok thanks for this explanation.
now i have another problem: serialmodules is started but there is no folder tts in /dev/usb
there are 2 usb sticks connected over a hub
|
|
|
|
P_Shep (OP)
Legendary
Offline
Activity: 1795
Merit: 1208
This is not OK.
|
|
August 24, 2012, 06:34:29 PM |
|
If you are ztex (which I assume from needing the libusb) you won't even need to run serialmodule; it doesn't use a serial port.
I don't have ztex so I can't tell you how to get it working.
|
|
|
|
GoldZuGeld
Newbie
Offline
Activity: 57
Merit: 0
|
|
August 24, 2012, 08:35:12 PM |
|
ok, my ztex quad isn't running after following your readme. is it possible to check that the ztex board is recognized by dd-wrt?
|
|
|
|
P_Shep (OP)
Legendary
Offline
Activity: 1795
Merit: 1208
This is not OK.
|
|
August 24, 2012, 08:44:01 PM |
|
I really don't know much about the ztex. As far as I know it just needs libusb v1.0, which I downloaded and compiled for dd-wrt.
As I said in the readme and OP, you're on your own... I can't think of a reason why it shouldn't work, but I don't know how to do it.
Maybe you could get support form the ztex thread?
|
|
|
|
BR0KK
|
|
August 24, 2012, 08:48:55 PM |
|
it should list when you try out "lsusb". mine did but i desperately need a low mem version of openwrt or ddwrt for a tplink mr3420
|
|
|
|
GoldZuGeld
Newbie
Offline
Activity: 57
Merit: 0
|
|
August 24, 2012, 08:56:09 PM |
|
|
|
|
|
P_Shep (OP)
Legendary
Offline
Activity: 1795
Merit: 1208
This is not OK.
|
|
August 24, 2012, 09:01:27 PM |
|
221a:0100 is the ztex device, so cgminer/libusb is not detecting it.
What log output does cgminer give?
should get something like this:
[2012-07-02 23:39:57] Not a ZTEX device 8564:1000 [2012-07-02 23:39:57] Not a ZTEX device 0409:005a [2012-07-02 23:39:57] Not a ZTEX device 0409:005a [2012-07-02 23:39:57] Not a ZTEX device 0000:0000 [2012-07-02 23:39:57] Not a ZTEX device 0000:0000
but if you get [2012-07-02 23:39:57] Not a ZTEX device 221a:0100
then something weird is going on.
|
|
|
|
GoldZuGeld
Newbie
Offline
Activity: 57
Merit: 0
|
|
August 24, 2012, 09:24:16 PM |
|
221a:0100 is the ztex device, so cgminer/libusb is not detecting it.
What log output does cgminer give?
should get something like this:
[2012-07-02 23:39:57] Not a ZTEX device 8564:1000 [2012-07-02 23:39:57] Not a ZTEX device 0409:005a [2012-07-02 23:39:57] Not a ZTEX device 0409:005a [2012-07-02 23:39:57] Not a ZTEX device 0000:0000 [2012-07-02 23:39:57] Not a ZTEX device 0000:0000
but if you get [2012-07-02 23:39:57] Not a ZTEX device 221a:0100
then something weird is going on.
maybe it's a bit late for me but i have only do this: tail -f /opt/var/log/YYYYMMDD-HHMMSS.<PID>.log replacing YYYYMMDD-HHMMSS and whats with the PID?
|
|
|
|
P_Shep (OP)
Legendary
Offline
Activity: 1795
Merit: 1208
This is not OK.
|
|
August 24, 2012, 09:29:49 PM |
|
PID is process ID
just look in /opt/var/log directory for the lastest log file.
|
|
|
|
GoldZuGeld
Newbie
Offline
Activity: 57
Merit: 0
|
|
August 24, 2012, 09:55:40 PM |
|
ok, not bad, i thnk... [2012-08-24 13:07:36] LONGPOLL from pool 1 detected new block [2012-08-24 13:20:12] LONGPOLL from pool 1 detected new block [2012-08-24 13:25:12] LONGPOLL from pool 1 detected new block [2012-08-24 13:30:44] LONGPOLL from pool 1 detected new block [2012-08-24 13:30:47] LONGPOLL from pool 1 requested work restart [2012-08-24 13:31:03] LONGPOLL from pool 1 detected new block [2012-08-24 13:31:04] LONGPOLL from pool 1 requested work restart [2012-08-24 13:35:09] LONGPOLL from pool 1 detected new block [2012-08-24 13:35:11] LONGPOLL from pool 1 requested work restart [2012-08-24 13:35:13] LONGPOLL from pool 1 requested work restart [2012-08-24 13:45:30] LONGPOLL from pool 1 detected new block
but still doest't work. Must see the full log.
|
|
|
|
GoldZuGeld
Newbie
Offline
Activity: 57
Merit: 0
|
|
August 24, 2012, 10:15:13 PM Last edit: August 24, 2012, 10:29:20 PM by GoldZuGeld |
|
/dev/usb/tts/: No such file or directory [2012-08-24 23:07:16] ZTEX 04A36DEC05-1: failed to read firmware 'ztex_ufm1_15y1.bit' [2012-08-24 23:07:16] ZTEX 04A36DEC05-1: failed to read firmware 'ztex_ufm1_15y1.bit' thats what screen -r says latest log root@Linksys E3200:/opt/var/log# tail -f /opt/var/log/20120825-002047.3158.log [2012-08-25 00:20:48] Loaded configuration file /opt/etc/cgminer.conf [2012-08-25 00:20:48] Found 1 ztex board [2012-08-25 00:20:48] ZTEX 04A36DEC05-4: Found Ztex (fpga count = 4) , mark as 3 [2012-08-25 00:20:48] Probing for an alive pool [2012-08-25 00:20:48] Pool 0 slow/down or URL or credentials invalid [2012-08-25 00:20:48] Unable to get work from pool 0 http://de.btcguild.com:8332 [2012-08-25 00:20:48] ZTEX 04A36DEC05-1: failed to read firmware 'ztex_ufm1_15y1.bit' [2012-08-25 00:20:48] ZTEX 04A36DEC05-1: failed to read firmware 'ztex_ufm1_15y1.bit' [2012-08-25 00:20:48] Long-polling activated for http://pit.deepbit.net:8332/listenChannel [2012-08-25 00:22:48] LONGPOLL from pool 1 detected new block ok something wrong in my credentials for the first pool. but second pool does'nt work, too.
|
|
|
|
P_Shep (OP)
Legendary
Offline
Activity: 1795
Merit: 1208
This is not OK.
|
|
August 24, 2012, 10:38:23 PM |
|
Looks like there's something wrong with the bitstream. You copied it over? It's in the right place? Is it readable (chmod +r) I think it should be in /opt/bin/bitstreams, but maybe it should be somewhere else.
|
|
|
|
GoldZuGeld
Newbie
Offline
Activity: 57
Merit: 0
|
|
August 24, 2012, 10:50:03 PM |
|
whoops. Linux newbie fail seems that i've renamed the bitstream file to bitstreams instead to copy it into a bitstreams folder. I think this is a mistake or something is missing in your readme: Copy the bitstreams to /opt/bin/bitstreams you have to create the bitstreams folder first an then there is a / after bitstreams missing, i think. EDIT: OMG! It works! Thank you so much! In the next few days, I try to add some information for ztex boards for your readme.
|
|
|
|
P_Shep (OP)
Legendary
Offline
Activity: 1795
Merit: 1208
This is not OK.
|
|
August 24, 2012, 10:59:38 PM |
|
whoops. Linux newbie fail seems that i've renamed the bitstream file to bitstreams instead to copy it into a bitstreams folder. I think this is a mistake or something is missing in your readme: Copy the bitstreams to /opt/bin/bitstreams you have to create the bitstreams folder first an then there is a / after bitstreams missing, i think. EDIT: OMG! It works! Thank you so much! In the next few days, I try to add some information for ztex boards for your readme. Excellent, well done! You're the first known ztex on dd-wrt So I'll add an instruction to mkdir first (but yes, the intention was top copy the files to the directory )
|
|
|
|
paraipan
In memoriam
Legendary
Offline
Activity: 924
Merit: 1004
Firstbits: 1pirata
|
|
August 24, 2012, 11:45:06 PM |
|
whoops. Linux newbie fail seems that i've renamed the bitstream file to bitstreams instead to copy it into a bitstreams folder. I think this is a mistake or something is missing in your readme: Copy the bitstreams to /opt/bin/bitstreams you have to create the bitstreams folder first an then there is a / after bitstreams missing, i think. EDIT: OMG! It works! Thank you so much! In the next few days, I try to add some information for ztex boards for your readme. Excellent, well done! You're the first known ztex on dd-wrt So I'll add an instruction to mkdir first (but yes, the intention was top copy the files to the directory ) Wow, impressive, I really like this set-up for mining
|
BTCitcoin: An Idea Worth Saving - Q&A with bitcoins on rugatu.com - Check my rep
|
|
|
GoldZuGeld
Newbie
Offline
Activity: 57
Merit: 0
|
|
August 25, 2012, 10:39:18 PM |
|
seems to work nicely. E3200 + Usb Hub + Ztex Quad + Coolermaster GX 450 runs perfect but hash rate is a bit lower than on my pc. only ~ 740mh/s instead of nearly 900. Any Ideas?
|
|
|
|
BR0KK
|
|
August 25, 2012, 10:41:49 PM |
|
it takes time to go up to full speed I have the same problem with the Rpi. How stable is the setup?
|
|
|
|
GoldZuGeld
Newbie
Offline
Activity: 57
Merit: 0
|
|
August 25, 2012, 10:51:06 PM |
|
it takes time to go up to full speed I have the same problem with the Rpi. How stable is the setup? it runs the whole day today, without problems but as i said hash rate a bit lower than on my desktop pc. I have to build a case for the configuration, then it could run 24/7. Until that it only runs ~12 hours a day. I'm using a noname usb stick with 1GB storage. are there many reading operations to the stick? Or maybe the usb hub sucks, because it's a cheap hub.
|
|
|
|
BR0KK
|
|
August 26, 2012, 09:10:38 AM |
|
why? i run my setup 24/7 for 7 month now; Without casing Nothing happened so far
|
|
|
|
GoldZuGeld
Newbie
Offline
Activity: 57
Merit: 0
|
|
August 26, 2012, 10:58:45 AM |
|
just need to find a good place, where the noise is not annoying
|
|
|
|
|