Bitcoin Forum
April 18, 2014, 04:19:18 PM *
News: Due to the OpenSSL heartbleed bug, changing your forum password is recommended.
 
   Home   Help Search Donate Login Register  
Pages: 1 [2] 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20  All
  Print  
Author Topic: CGminer v3.8.5 on Broadcom based DD-WRT / OpenWRT  (Read 41810 times)
P_Shep
Hero Member
*****
Offline Offline

Activity: 826


View Profile WWW

Ignore
May 21, 2012, 05:57:52 PM
 #21

For ztex, look at this page:

http://wiki.ztex.de/doku.php?id=en:software:usb_ids

I think it may be possible by setting up the ztex usb device vendor/product ID there as a character device / modprobe.
Though I don't know how.

Anubis cgminer web frontend: https://bitcointalk.org/index.php?topic=57342.0
Files and instructions for CGminer on DD-WRT: https://bitcointalk.org/index.php?topic=76685.0
Pan handling: 1Fxpijq1NN52LzSzD2WtGbT3ZTWq366ejj
1397837958
Hero Member
*
Offline Offline

Posts: 1397837958

View Profile Personal Message (Offline)

Ignore
1397837958
Reply with quote  #2

1397837958
Report to moderator
1397837958
Hero Member
*
Offline Offline

Posts: 1397837958

View Profile Personal Message (Offline)

Ignore
1397837958
Reply with quote  #2

1397837958
Report to moderator
    mBitCASINOWIN BITCOINS IN OUR
24/7 LIVE DEALER CASINO

Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1397837958
Hero Member
*
Offline Offline

Posts: 1397837958

View Profile Personal Message (Offline)

Ignore
1397837958
Reply with quote  #2

1397837958
Report to moderator
1397837958
Hero Member
*
Offline Offline

Posts: 1397837958

View Profile Personal Message (Offline)

Ignore
1397837958
Reply with quote  #2

1397837958
Report to moderator
pazor
Hero Member
*****
Offline Offline

Activity: 966



View Profile

Ignore
May 21, 2012, 06:04:15 PM
 #22

thank you p_shep... i will try it

treuhand-Dienst gewünscht? - frag per PM an
BTC 174X17nR7vEQBQo4GXKRGMGaTmB49Gf1yT
streblo
Full Member
***
Offline Offline

Activity: 165


View Profile

Ignore
May 21, 2012, 10:31:50 PM
 #23

Are you powering your USB hub and router from your PSU?  Grin
P_Shep
Hero Member
*****
Offline Offline

Activity: 826


View Profile WWW

Ignore
May 21, 2012, 10:36:51 PM
 #24

Are you powering your USB hub and router from your PSU?  Grin

Yep, everything. No inefficient, messy, bulky wall-wart PSUs here Smiley

Anubis cgminer web frontend: https://bitcointalk.org/index.php?topic=57342.0
Files and instructions for CGminer on DD-WRT: https://bitcointalk.org/index.php?topic=76685.0
Pan handling: 1Fxpijq1NN52LzSzD2WtGbT3ZTWq366ejj
aseldon
Member
**
Offline Offline

Activity: 64



View Profile

Ignore
May 21, 2012, 10:55:46 PM
 #25

Are you powering your USB hub and router from your PSU?  Grin

Yep, everything. No inefficient, messy, bulky wall-wart PSUs here Smiley

Which adapters are you using to power from the PSU? Are they custom or can they be bought from somewhere?
P_Shep
Hero Member
*****
Offline Offline

Activity: 826


View Profile WWW

Ignore
May 21, 2012, 11:32:44 PM
 #26

I made them myself, but you can buy some from cablez:
https://bitcointalk.org/index.php?topic=74397.0

Anubis cgminer web frontend: https://bitcointalk.org/index.php?topic=57342.0
Files and instructions for CGminer on DD-WRT: https://bitcointalk.org/index.php?topic=76685.0
Pan handling: 1Fxpijq1NN52LzSzD2WtGbT3ZTWq366ejj
Lomax42
Jr. Member
*
Offline Offline

Activity: 30


View Profile

Ignore
May 24, 2012, 06:31:56 AM
 #27

Has anyone used BitForce SHA256 Single or any of their products? or is it all hype? http://www.butterflylabs.com/product-details/
rjk
Sr. Member
****
Offline Offline

Activity: 420


1ngldh


View Profile

Ignore
May 24, 2012, 02:13:54 PM
 #28

Has anyone used BitForce SHA256 Single or any of their products? or is it all hype? http://www.butterflylabs.com/product-details/
They're real, I have one and others have many more than me. They do take a while to deliver. Search the forum, there are literally dozens of threads about their products.

Mining Rig Extraordinaire - the Trenton BPX6806 18-slot PCIe backplane [PICS] Dead project is dead, all hail the coming of the mighty ASIC!
smracer
Donator
Hero Member
*
Offline Offline

Activity: 679



View Profile WWW

Ignore
May 24, 2012, 03:47:11 PM
 #29

What cables are you using to power the bitforce singles from a power suppply?  I am tired of all these power bricks.

1smracer15yDLhJG27fd7GV3tegcNjtg2
www.btcpig.com - BTC Stats.
P_Shep
Hero Member
*****
Offline Offline

Activity: 826


View Profile WWW

Ignore
May 24, 2012, 04:37:13 PM
 #30

What cables are you using to power the bitforce singles from a power suppply?  I am tired of all these power bricks.


See 5 posts back Smiley

Anubis cgminer web frontend: https://bitcointalk.org/index.php?topic=57342.0
Files and instructions for CGminer on DD-WRT: https://bitcointalk.org/index.php?topic=76685.0
Pan handling: 1Fxpijq1NN52LzSzD2WtGbT3ZTWq366ejj
nelisky
Hero Member
*****
Offline Offline

Activity: 1218


View Profile

Ignore
May 24, 2012, 05:08:20 PM
 #31

Hey,

I'm mining on the 3220 (but developed originally on the 3420) with openwrt with great success. I did, however, build the OS from scratch so I could have all dependencies built in.

If you are using the plain vanilla openwrt you will need to install a few things, though I found I didn't have enough space for everything unless I either built one from scratch or used usb storage for the installed modules. I don't have a clear memory of what I needed but I'll be happy to share my kernel .config with you, send me your email on a PM. I can also send you the full firmware file, if you want. That one will most certainly run the cgminer binary compiled for that platform (which I can also share) but has a few odd customizations.

You don't need any specific Cypress drivers, just the normal usb-ohci driver.

we measure long periods of time in bitcoin blocks, and short ones in vodka tonics
DividendRippler  | DICEonCRACK | The Amazing Anonymous Bitcoin Lottery
pazor
Hero Member
*****
Offline Offline

Activity: 966



View Profile

Ignore
May 24, 2012, 06:22:03 PM
 #32

yes please do it...

you can use my email adress in my profile

do you have a combination of mr3420/mr3220 + ztex module (1.15x or 1.15y) with cgminer ?

regards
pazor

treuhand-Dienst gewünscht? - frag per PM an
BTC 174X17nR7vEQBQo4GXKRGMGaTmB49Gf1yT
streblo
Full Member
***
Offline Offline

Activity: 165


View Profile

Ignore
May 25, 2012, 11:46:20 PM
 #33

I am going to try to install DD-WRT/OptWare/CGminer on a E3000 this weekend. How big of a USB key is necessary, I only have a 256MB and >8GB keys, which seem like under and overkill.

I'll definitely send a donation out if this works out!

PS. Speaking of power, how important is it to power the USB hub? I know powered USB hubs are generally built better, but is powering necessary for 12(+4 hubs) devices?
P_Shep
Hero Member
*****
Offline Offline

Activity: 826


View Profile WWW

Ignore
May 25, 2012, 11:53:41 PM
 #34

They recommend a partition of 512MB for Optware
http://www.dd-wrt.com/wiki/index.php/How_to_-_Format_and_Partition_External_Storage_Device

You can always make another partition for NAS Smiley

and you absolutely need a powered hub. Each of those devices may only use a small amount of power, but if they are all getting that power through the router then you're going to stress the router. At least have the hub attached to the router powered.

Anubis cgminer web frontend: https://bitcointalk.org/index.php?topic=57342.0
Files and instructions for CGminer on DD-WRT: https://bitcointalk.org/index.php?topic=76685.0
Pan handling: 1Fxpijq1NN52LzSzD2WtGbT3ZTWq366ejj
nedbert9
Sr. Member
****
Offline Offline

Activity: 252

Inactive


View Profile

Ignore
May 26, 2012, 12:54:32 AM
 #35



Thanks for keeping this up to date.  Will send some btc later.
P_Shep
Hero Member
*****
Offline Offline

Activity: 826


View Profile WWW

Ignore
May 30, 2012, 07:55:12 PM
 #36

Updated version:
https://github.com/downloads/pshep/cgminer/cgminer-2.4.1-1-mipsel.tar.gz

Still the same binary, but a few tweaks to the scripts and an all-new serial driver.

I discovered there was a problem with the FTDI drivers. The existing one wasn't quite compatible with the FTDI chip used in the BFL (hence having to add product and vendor IDs when loading the driver). I found newer drivers which had the chip included (FT232H), but these drivers were for later versions of linux kernel than DD-WRT uses, so wouldn't compile.
In the end I had to hack together a driver from the old one as a base and adding in the bits of code needed to get the new chip working. Seems to be working for me so far, but it is quite experimental (read: a hack) so be aware.

The specific issue I found was that when more than 64 bytes were sent by the BFL, the 65th and 66th byte would be lost. This meant that when 6 or more valid nonces were returned by the BFL, the 6th would be corrupted, leading to the 7th and onward being read incorrectly. What was happening was the driver was expecting a packet of only 64 bytes and reading the next two bytes as controls. In fact the packet being sent was much larger and the driver was discarding valid data.

The driver fix does two things:
1. Adds native support for the FT232H (and that's the only device I added)
2. Scans the device for the max packet size, which previously was hard-set to 64 bytes.

At some point I'll put my ftdi_sio.ko code changes on github.

Anubis cgminer web frontend: https://bitcointalk.org/index.php?topic=57342.0
Files and instructions for CGminer on DD-WRT: https://bitcointalk.org/index.php?topic=76685.0
Pan handling: 1Fxpijq1NN52LzSzD2WtGbT3ZTWq366ejj
P_Shep
Hero Member
*****
Offline Offline

Activity: 826


View Profile WWW

Ignore
June 03, 2012, 05:16:25 AM
 #37

Updated for cgminer 2.4.2:

https://github.com/downloads/pshep/cgminer/cgminer-2.4.2-mipsel.tar.gz

Anubis cgminer web frontend: https://bitcointalk.org/index.php?topic=57342.0
Files and instructions for CGminer on DD-WRT: https://bitcointalk.org/index.php?topic=76685.0
Pan handling: 1Fxpijq1NN52LzSzD2WtGbT3ZTWq366ejj
BR0KK
Hero Member
*****
Offline Offline

Activity: 728



View Profile

Ignore
June 03, 2012, 09:11:38 PM
 #38

Any updates on Ztex support?

nedbert9
Sr. Member
****
Offline Offline

Activity: 252

Inactive


View Profile

Ignore
June 03, 2012, 10:42:51 PM
 #39


Thanks, P_Shep.  Doughnation sent.
P_Shep
Hero Member
*****
Offline Offline

Activity: 826


View Profile WWW

Ignore
June 04, 2012, 01:39:43 AM
 #40

Any updates on Ztex support?

I can compile a version with it in, but I don't know that anyone has got it working. Look back through this thread and see if you can get any info from those who have attempted it.

And thanks Ned Smiley

Anubis cgminer web frontend: https://bitcointalk.org/index.php?topic=57342.0
Files and instructions for CGminer on DD-WRT: https://bitcointalk.org/index.php?topic=76685.0
Pan handling: 1Fxpijq1NN52LzSzD2WtGbT3ZTWq366ejj
Pages: 1 [2] 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20  All
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!