cypherdoc
Legendary
Offline
Activity: 1764
Merit: 1002
|
|
March 09, 2013, 05:39:05 PM |
|
ng is here.
the 703N is a modded ver, we moved a 0R resistor from one place to another to let the 703N could get power form its USB-A port. (sorry, i don't have a 703n on hand right now)
why there is a ugly USB HUB there? because some compatibility problems come out if you connect the 703N to the controller board directly. the FT232 chip sucks. add a HUB can 99.999% solve this problem.
about P5 jumper: close this jumper will supply 5V to the USB-B port. in this system, the controller board power the HUB and the HUB power the 703N.
but if you connect the controller itself to a PC, you must remove the jumper. because PC will send 5V to the USB port too.
10X A million So basically you have powered usb hub right? Is there enough power to usb hub so that we can use other USb devices (3G for instance)? ng: I have noticed on one of my borads that when PSu was to close to it it was disconnecting and reconnecting like crasy so FTDI seems to be very sensitive to such things otherwise 0 problems with FTDI usb + wr842Nd USB with or without hub Probably avalon fttdi is too close to psu and that is why you need to use the hub? great question on getting 3g added. I would like to know too. You will need a custom image for that or at least usbmodeswitch package as add on and some kernel modules also. Making it work is a pain in the ass at least for me. But i have it working. It is very important to distinguish between your ttyUSb - AVALON and ttyusb modem some symlink will help udev/hotplug rules oooh and changing cgminer start up script also so i it will not mine over usb modem port what would be the purpose of 3G?
|
|
|
|
loshia
Legendary
Offline
Activity: 1610
Merit: 1000
|
|
March 09, 2013, 06:07:26 PM |
|
what would be the purpose of 3G?
Automated internet connectivity backup dude:) Shit always happens
|
|
|
|
cypherdoc
Legendary
Offline
Activity: 1764
Merit: 1002
|
|
March 09, 2013, 06:21:21 PM |
|
what would be the purpose of 3G?
Automated internet connectivity backup dude:) Shit always happens well now that would be cool. i have 4G service
|
|
|
|
loshia
Legendary
Offline
Activity: 1610
Merit: 1000
|
|
March 09, 2013, 06:22:50 PM |
|
what would be the purpose of 3G?
Automated internet connectivity backup dude:) Shit always happens well now that would be cool. i have 4G service 3G is enough belie me but with 4G you will able to use torrents on top
|
|
|
|
|
loshia
Legendary
Offline
Activity: 1610
Merit: 1000
|
|
March 10, 2013, 06:43:45 AM |
|
Super! Let us know how is going on. Have you tried to change usb hub as ng suggested?
|
|
|
|
Bitbird (OP)
|
|
March 10, 2013, 08:00:04 AM |
|
@loshia Yes, the USB hub has been changed by a workable one. And been connected to PC, but when running ./cgminer it come out: "All devices disabled, canot mine!"
|
|
|
|
techwtf
|
|
March 10, 2013, 08:04:11 AM |
|
@loshia Yes, the USB hub has been changed by a workable one. And been connected to PC, but when running ./cgminer it come out: "All devices disabled, canot mine!" need to specify device, as http://en.qi-hardware.com/wiki/Avalon(should remove -D --verbose later) # cgminer -S /dev/ttyUSB0 -o stratum.btcguild.com:3333 -O xxxx:yyyy -D --verbose --avalon-options 115200:24:10:45:282 --api-allow "W:0/0" --api-listen
|
|
|
|
loshia
Legendary
Offline
Activity: 1610
Merit: 1000
|
|
March 10, 2013, 08:18:02 AM Last edit: March 10, 2013, 08:35:19 AM by loshia |
|
@loshia Yes, the USB hub has been changed by a workable one. And been connected to PC, but when running ./cgminer it come out: "All devices disabled, canot mine!" Check Usb Cables inspect dmesg Wr703 and see all masages about USB and FTTDI ls -la /dev/ttyU* should tell you if you can see the usb Remove jumper p5 and just plug USB cable from avalon to any windows just to save time you should see found new USB device bla bla if you see it it will work in Linux if not something is wrong Again change all usb cables first
|
|
|
|
Bitbird (OP)
|
|
March 10, 2013, 08:38:46 AM |
|
@techwtf These has been done. So there might by other problem?
@loshia ls -la /dev/ttyU* showing /dev/ttyUSB0, P5 has been removed, USB cables OK, plug USB cable from Avalon controller board to windows found RT232R USB UART.
|
|
|
|
techwtf
|
|
March 10, 2013, 08:41:59 AM |
|
@techwtf These has been done. So there might by other problem?
@loshia ls -la /dev/ttyU* showing /dev/ttyUSB0, P5 has been removed, USB cables OK, plug USB cable from Avalon controller board to windows found RT232R USB UART.
with -D --verbose, paste some debugging info?
|
|
|
|
techwtf
|
|
March 10, 2013, 08:46:16 AM |
|
@techwtf These has been done. So there might by other problem?
@loshia ls -la /dev/ttyU* showing /dev/ttyUSB0, P5 has been removed, USB cables OK, plug USB cable from Avalon controller board to windows found RT232R USB UART.
./cgminer -h should say: "Built with avalon mining support."
|
|
|
|
loshia
Legendary
Offline
Activity: 1610
Merit: 1000
|
|
March 10, 2013, 08:51:29 AM |
|
@techwtf These has been done. So there might by other problem?
@loshia ls -la /dev/ttyU* showing /dev/ttyUSB0, P5 has been removed, USB cables OK, plug USB cable from Avalon controller board to windows found RT232R USB UART.
Fuck ...Did you upgrade to latest openwrt image? Please check if your cigminer starts with -S/dev/ttyUSB0 There are two things left - Power cabels from PDu to each Avalon to be faulty, or interface cables to be faulty... The easiest is to upgrade image first...then manually start cgminer with appropriate ttyUSB And finaly check all boards one by one. 1. Leave only one AVALON ASIC board powered and start cgminer with http://en.qi-hardware.com/wiki/Avalon115200: 8:10:45:282. Check both three of them one buy one. There might be faulty board (or cables/power) doing this you will know which one has problems
|
|
|
|
Bitbird (OP)
|
|
March 10, 2013, 08:53:07 AM |
|
@techwtf
OK, where's the debugging info?
Right! "Built with avalon mining support." on the screen.
|
|
|
|
Bitbird (OP)
|
|
March 10, 2013, 09:14:49 AM |
|
@loshia
Yes, latest openwrt image has been upgraded. Did you mean I need to connect Avalon to PC via the WR703N board not from the controller board?
|
|
|
|
loshia
Legendary
Offline
Activity: 1610
Merit: 1000
|
|
March 10, 2013, 09:25:20 AM |
|
@loshia
Yes, latest openwrt image has been upgraded. Did you mean I need to connect Avalon to PC via the WR703N board not from the controller board?
I think it does not matter if you will use PC or WR703N. What about debug cgminer output as suggested can you post this
|
|
|
|
Bitbird (OP)
|
|
March 10, 2013, 09:32:31 AM |
|
@loshia
I see. Want to post the debugging info/report but don't know where to find it..
|
|
|
|
loshia
Legendary
Offline
Activity: 1610
Merit: 1000
|
|
March 10, 2013, 10:15:15 AM |
|
@loshia
I see. Want to post the debugging info/report but don't know where to find it..
PM me a teamwier to your Windows box near by your avalon:)
|
|
|
|
techwtf
|
|
March 10, 2013, 10:38:45 AM |
|
@techwtf
OK, where's the debugging info?
Right! "Built with avalon mining support." on the screen.
with -D --verbose, every displayed line should be debugging info, but I'm not sure why it didn't detect your device... Edit: please run as root user, with su or sudo
|
|
|
|
Bitbird (OP)
|
|
March 10, 2013, 12:30:03 PM |
|
sudo cgminer then all working! (avg):66.8Gh/s!!
|
|
|
|
|