Pages:
Author

Topic: CGminer v3.8.5 on Broadcom based DD-WRT / OpenWRT - page 14. (Read 77138 times)

legendary
Activity: 1795
Merit: 1208
This is not OK.
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.
newbie
Activity: 57
Merit: 0
Quote
/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
Quote
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.
newbie
Activity: 57
Merit: 0
ok, not bad, i thnk...

Quote
[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.
legendary
Activity: 1795
Merit: 1208
This is not OK.
PID is process ID

just look in /opt/var/log directory for the lastest log file.
newbie
Activity: 57
Merit: 0
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..log

replacing YYYYMMDD-HHMMSS and whats with the PID?
legendary
Activity: 1795
Merit: 1208
This is not OK.
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.
newbie
Activity: 57
Merit: 0
lsusb shows this
hero member
Activity: 784
Merit: 500
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 Sad
legendary
Activity: 1795
Merit: 1208
This is not OK.
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?
newbie
Activity: 57
Merit: 0
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?
legendary
Activity: 1795
Merit: 1208
This is not OK.
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.
newbie
Activity: 57
Merit: 0
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
legendary
Activity: 1795
Merit: 1208
This is not OK.
The original libusb-1.0 in /opt/lib (if there is one) that would be overwritten by the files you're copying (just in case you need to go back)
newbie
Activity: 57
Merit: 0
Need to install optware (OTRW)
Links to do that are in the readme.

uhh, did not finish the whole instruction.


http://wd.mirmana.com/prep_optware seems to be down Sad
Is otrw2 an alternative?

otrw2 should work just fine.
I haven't done it, so I can't give instructions. Let me know how it goes.

i'll try.

what do you mean with
Quote
For ztex, copy libusb to    /opt/lib                      rename the original

what is the original file? there is only libusb-0.1.so.4 , libusb.so and libusb-0.1.so.4.4.4

legendary
Activity: 1795
Merit: 1208
This is not OK.
Need to install optware (OTRW)
Links to do that are in the readme.

uhh, did not finish the whole instruction.


http://wd.mirmana.com/prep_optware seems to be down Sad
Is otrw2 an alternative?

otrw2 should work just fine.
I haven't done it, so I can't give instructions. Let me know how it goes.
newbie
Activity: 57
Merit: 0
Need to install optware (OTRW)
Links to do that are in the readme.

uhh, did not finish the whole instruction.


http://wd.mirmana.com/prep_optware seems to be down Sad
Is otrw2 an alternative?
full member
Activity: 120
Merit: 100
I have tried connect 90 Icarus to one little 703n. the OpenWrt can recognize 70 of them. and the system became very very slow.

I can sure that connect 41 Icarus to one little 703n is works just fine. should be same as BFL. since they are all using usb-serial.

I'm thinking it could well handle the max possible 100.

CGminer hardly uses any processor time. Really tiny.
hero member
Activity: 988
Merit: 1000
Need to install optware (OTRW)
Links to do that are in the readme.

You might want to add the updated optware (OTRW2) instructions http://www.dd-wrt.com/phpBB2/viewtopic.php?t=156013
legendary
Activity: 1795
Merit: 1208
This is not OK.
Need to install optware (OTRW)
Links to do that are in the readme.
newbie
Activity: 57
Merit: 0
i've just finished dd-wrt installation on e3200. But now i want to connect with putty via ssh to copy all files to the router. but putty says connection refused all the time. Any ideas? Is optware really needed?

EDIT: oh forget to activate ssh...  Roll Eyes

my /opt folder is empty. there is no init.d or anything in it???
Pages:
Jump to: