Pages:
Author

Topic: [CLOSED] NanoFury NF1 USB stick - Group Buy + Product Assembly - page 2. (Read 74360 times)

legendary
Activity: 1593
Merit: 1004
So I am trying to get my Asicminer Erupters to work with my Nano Fury.  I am not using a hub right now, just have them all in the PC.
This is what I have for the CONF file that works great with the Nano.
What do I need to do to get it to work with both Nano and Erupters?

      "pool-priority" : "0"
   }
]
,
"api-mcast-port" : "4028",
"api-port" : "4028",
"disable-gpu" : true,
"expiry" : "120",
"expiry-lp" : "3600",
"gpu-dyninterval" : "7",
"log" : "5",
"no-pool-disable" : true,
"no-show-processors" : true,
"no-show-procs" : true,
"no-unicode" : true,
"queue" : "1",
"scan-time" : "60",
"skip-security-checks" : "0",
"submit-stale" : true,
"temp-hysteresis" : "3",
"shares" : "0",
"set-device":["NFY:osc6_bits=54"],
"kernel-path" : "C:\\Program Files\\BFGMiner\\/share/bfgminer"
}

sr. member
Activity: 290
Merit: 250
Snippet from log file in case anything is interesting

Code:
 [2013-11-20 23:30:30] mcp2210_spi_transfer: SPI transfer rejected temporarily (60 bytes remaining)
 [2013-11-20 23:30:30] mcp2210_spi_transfer: SPI transfer rejected temporarily (60 bytes remaining)
 [2013-11-20 23:30:30] mcp2210_spi_transfer: SPI transfer rejected temporarily (60 bytes remaining)
 [2013-11-20 23:30:30] mcp2210_spi_transfer: SPI transfer rejected temporarily (60 bytes remaining)
 [2013-11-20 23:30:30] mcp2210_spi_transfer: SPI transfer rejected temporarily (60 bytes remaining)
 [2013-11-20 23:30:30] mcp2210_spi_transfer: SPI transfer rejected temporarily (60 bytes remaining)
 [2013-11-20 23:30:30] mcp2210_spi_transfer: SPI transfer rejected temporarily (60 bytes remaining)
 [2013-11-20 23:30:30] mcp2210_spi_transfer: SPI transfer rejected temporarily (60 bytes remaining)
 [2013-11-20 23:30:30] mcp2210_spi_transfer: SPI transfer rejected temporarily (24 bytes remaining)
 [2013-11-20 23:30:30] mcp2210_spi_transfer: SPI transfer rejected temporarily (24 bytes remaining)
 [2013-11-20 23:30:30] mcp2210_spi_transfer: SPI transfer rejected temporarily (60 bytes remaining)
 [2013-11-20 23:30:30] mcp2210_spi_transfer: SPI transfer rejected temporarily (60 bytes remaining)
 [2013-11-20 23:30:30] NFY 1: bitfury_init_oldbuf: Differ at 1
 [2013-11-20 23:30:30] NFY 1: bitfury_init_oldbuf: Second differ at 2; trying again
 [2013-11-20 23:30:30] mcp2210_spi_transfer: SPI transfer rejected temporarily (60 bytes remaining)
 [2013-11-20 23:30:30] NFY 0: bitfury_init_oldbuf: Differ at 4
 [2013-11-20 23:30:30] NFY 0: bitfury_init_oldbuf: Second differ at 5; trying again
 [2013-11-20 23:30:30] mcp2210_spi_transfer: SPI transfer rejected temporarily (60 bytes remaining)
 [2013-11-20 23:30:30] NFY 1: bitfury_init_oldbuf: Differ at 1
 [2013-11-20 23:30:30] NFY 1: bitfury_init_oldbuf: Second differ at 2; trying again
 [2013-11-20 23:30:30] mcp2210_set_cfg_gpio: Failed to set current GPIO config
 [2013-11-20 23:30:30] mcp2210_spi_transfer: SPI transfer rejected temporarily (60 bytes remaining)
 [2013-11-20 23:30:30] NFY 1: bitfury_init_oldbuf: Differ at 1
 [2013-11-20 23:30:30] NFY 1: bitfury_init_oldbuf: Second differ at 2; trying again

BTW vs3, you'll need a USB2.0 hub for your pi and it's kinda specific. Great thread regarding that I'll try to dig up a link for.

Most use DLINK DUB-H7 HUBs

Edit to add:

Meh, can't find thread here but here's a link with a list:
http://elinux.org/RPi_Powered_USB_Hubs
vs3
hero member
Activity: 622
Merit: 500
The log would look like this:
Sorry, the >>>tx/rx was a temporary hack for debugging Sad

If I have time, I'll try to add some equivalent I guess...

Ah ... never mind then.

Luke - and thanks for being so lightning fast with the reply! That saved us from a lot of hassles trying to get that kind of a log Smiley
legendary
Activity: 2576
Merit: 1186
The log would look like this:
Sorry, the >>>tx/rx was a temporary hack for debugging Sad

If I have time, I'll try to add some equivalent I guess...
vs3
hero member
Activity: 622
Merit: 500
The log would look like this:

Code:
 [2013-10-16 04:40:32.895136] hidapi_try_lib: Successfully loaded libhidapi-libusb.so
 [2013-10-16 04:40:32.907271] mcp2210_devinfo_scan: Found "MCP2210 USB to SPI Master" serial "0000062135"
 [2013-10-16 04:40:32.962958] >>>tx>42010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
 [2013-10-16 04:40:32.964924] >>>rx>42000020400d0300ffffefff000000000000010000000000e5c3384be5c3384be03dc4a0c2139285f1f119c8e5c3384be5c3384be5c3384be01489a0e027c5a0
 [2013-10-16 04:40:32.964931] >>>w>00
 [2013-10-16 04:40:32.964938] >>>tx>42000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
 [2013-10-16 04:40:32.966924] >>>rx>42000110ff0d0300ffffefff000000000000010000000000e5c3384be5c3384be03dc4a0c2139285f1f119c8e5c3384be5c3384be5c3384be01489a0e027c5a0
 [2013-10-16 04:40:32.966931] >>>r>ff
 [2013-10-16 04:40:32.974963] >>>tx>42010000ff0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
 [2013-10-16 04:40:32.976937] >>>rx>42000020400d0300ffffefff000000000000010002000000e5c3384be5c3384be03dc4a0c2139285f1f119c8e5c3384be5c3384be5c3384be01489a0e027c5a0
...
 [2013-10-16 04:40:35.227910] >>>tx>423c000004f230009f590fab4e2c823b79088bf8d7b3c7af4a8f28c660288b48a8a49c8bbeee5abf4a8f28c6cd34ee8625d9e8b66cf89b279f590fabf47bbc55
 [2013-10-16 04:40:35.229879] >>>rx>42000020400d0300ffffefff0000000000003c0000000000e5c3384be5c3384be03dc4a0c2139285f1f119c8e5c3384be5c3384be5c3384be01489a0e027c5a0
 [2013-10-16 04:40:35.229891] >>>w>04f230009f590fab4e2c823b79088bf8d7b3c7af4a8f28c660288b48a8a49c8bbeee5abf4a8f28c6cd34ee8625d9e8b66cf89b279f590fabf47bbc55
 [2013-10-16 04:40:35.229897] >>>tx>4200000004f230009f590fab4e2c823b79088bf8d7b3c7af4a8f28c660288b48a8a49c8bbeee5abf4a8f28c6cd34ee8625d9e8b66cf89b279f590fabf47bbc55
 [2013-10-16 04:40:35.231890] >>>rx>42f80020400d0300ffffefff0000000000003c0000000000e5c3384be5c3384be03dc4a0c2139285f1f119c8e5c3384be5c3384be5c3384be01489a0e027c5a0
 [2013-10-16 04:40:35.231901] mcp2210_spi_transfer: SPI transfer rejected temporarily (60 bytes remaining)
 [2013-10-16 04:40:35.251974] >>>tx>4200000004f230009f590fab4e2c823b79088bf8d7b3c7af4a8f28c660288b48a8a49c8bbeee5abf4a8f28c6cd34ee8625d9e8b66cf89b279f590fabf47bbc55
 [2013-10-16 04:40:35.253915] >>>rx>42003c10ffffffff82d29cedc01a86871b139197e25e1985510093871b808216d0559a43c21392851b1391971b1391971b1391971b1391971b13919734d480da
 [2013-10-16 04:40:35.253927] >>>r>ffffffff82d29cedc01a86871b139197e25e1985510093871b808216d0559a43c21392851b1391971b1391971b1391971b1391971b13919734d480da
 [2013-10-16 04:40:35.255912] >>>tx>4214000072434268f0004fdc42d0bdf5c6a2436d4ac25fb600000000000000000000000000000000000000000000000000000000000000000000000000000000
 [2013-10-16 04:40:35.257909] >>>rx>42000020400d0300ffffefff0000000000001400005e1985510093871b808216d0559a43c21392851b1391971b1391971b1391971b1391971b13919734d480da
 [2013-10-16 04:40:35.257921] >>>w>72434268f0004fdc42d0bdf5c6a2436d4ac25fb6
 [2013-10-16 04:40:35.257927] >>>tx>4200000072434268f0004fdc42d0bdf5c6a2436d4ac25fb600000000000000000000000000000000000000000000000000000000000000000000000000000000
 [2013-10-16 04:40:35.259910] >>>rx>42001410c44b8009443234c0ffffffffffffffffffffffff510093871b808216d0559a43c21392851b1391971b1391971b1391971b1391971b13919734d480da
 [2013-10-16 04:40:35.259932] >>>r>c44b8009443234c0ffffffffffffffffffffffff
...
sr. member
Activity: 290
Merit: 250
-D -T 2>./dafuq.log

will enable startup debug and disable curses

and log to dafuq.log in bfgminer startup dir


Really just

mcp2210_spi_transfer: Failed to continue SPI transfer (59 bytes remaining)
 [2013-11-20 23:35:23] NFY 0 failure, disabling!
 [2013-11-20 23:35:23] mcp2210_set_cfg_spi: Error setting current SPI config (248)
 [2013-11-20 23:35:23] mcp2210_set_cfg_spi: Error setting current SPI config (248)
 [2013-11-20 23:35:23] NFY 0 failure, disabling!
 [2013-11-20 23:35:23] NFY 0: bitfury_init_oldbuf: Giving up after 4 tries
 [2013-11-20 23:35:24] NFY 0: bitfury_init_oldbuf: Giving up after 4 tries
 [2013-11-20 23:35:24] Accepted 3b1fd2cb BES12  Diff 4/2
 [2013-11-20 23:35:25] NFY 0: bitfury_init_oldbuf: Giving up after 4 tries
 [2013-11-20 23:35:25] Accepted 71b2c25a BES 6  Diff 2/2
 [2013-11-20 23:35:25] mcp2210_spi_transfer: Failed to continue SPI transfer (60 bytes remaining)
 [2013-11-20 23:35:25] NFY 0 failure, disabling!
 [2013-11-20 23:35:25] mcp2210_set_cfg_spi: Error setting current SPI config (248)


over and over again

full member
Activity: 158
Merit: 100
Stupid question I just freed up a usb port on my hub is there any more available? or was there another thread?

Technobit NanoFury


Was hoping for something a tad more local (East coast,USA) to avoid shipping fees? Guess I'll have to wait till there's another group buy.
hero member
Activity: 658
Merit: 500
CCNA: There i fixed the internet.
-D -T 2>./dafuq.log

will enable startup debug and disable curses

and log to dafuq.log in bfgminer startup dir
vs3
hero member
Activity: 622
Merit: 500
OK

Unplugged all but 2 Nanofury's from a D-Link hub with 4amp power supply.

I set the osc6-bits to 5

I'm now getting this:




There is a way to get the debug logging turned on and it will print all kinds of info that would be helpful with chasing that further. I forgot what was the parameter - I'll look it up tonight and post a note.

If you figure it out in the mean time - plug only one NanoFury (and no other boards - that's just to minimize the amount of noise and unrelated transactions) and PM or email me the debug log.
sr. member
Activity: 290
Merit: 250
OK

Unplugged all but 2 Nanofury's from a D-Link hub with 4amp power supply.

I set the osc6-bits to 5

I'm now getting this:




sr. member
Activity: 290
Merit: 250
You have to have hidapi for nanofury I was talking about removing the hidraw variant not all the hidapi libraries. However we don't know that the hidapi works with the Pi hardware.

I don't own a Pi so my setup is nothing like yours I am working with Debian on Intel hardware.

Was worth a shot, closest they've been to starting:

legendary
Activity: 1190
Merit: 1000
Stupid question I just freed up a usb port on my hub is there any more available? or was there another thread?

Technobit NanoFury
full member
Activity: 158
Merit: 100
Stupid question I just freed up a usb port on my hub is there any more available? or was there another thread?
erk
hero member
Activity: 826
Merit: 500

/EDIT nvm I deleted all the hidraw libs, ran another ldconfig and it found the device with libusb it's mining now at about 2.1GH/s with standard defaults.

Thanks.


Hi erk, please tell me how to delete the hidraw lib? step by step since i am new to linux  Grin

Assuming you are using Debian and the files are in the same place.

 cd /usr/local/lib

 rm -i *hidraw*

The only reason I removed them was I can't be bothered install installing the kernel source, setting the zillion options, and recompiling with hidraw enabled.



if I remove hidapi, ./configure complains and doesn't enable nano fury.

did you install hidapi, run configure of bfgminer, delete libraries, then ran the bfgminer make?


You have to have hidapi for nanofury I was talking about removing the hidraw variant not all the hidapi libraries. However we don't know that the hidapi works with the Pi hardware.

I don't own a Pi so my setup is nothing like yours I am working with Debian on Intel hardware.




sr. member
Activity: 290
Merit: 250

/EDIT nvm I deleted all the hidraw libs, ran another ldconfig and it found the device with libusb it's mining now at about 2.1GH/s with standard defaults.

Thanks.


Hi erk, please tell me how to delete the hidraw lib? step by step since i am new to linux  Grin

Assuming you are using Debian and the files are in the same place.

 cd /usr/local/lib

 rm -i *hidraw*

The only reason I removed them was I can't be bothered install installing the kernel source, setting the zillion options, and recompiling with hidraw enabled.



if I remove hidapi, ./configure complains and doesn't enable nano fury.

did you install hidapi, run configure of bfgminer, delete libraries, then ran the bfgminer make?

legendary
Activity: 1190
Merit: 1000
How do you know the hidapi driver even works on a Pi? I would be surprised if it did without modifications.


That's the problem, it's didn't work  Sad
erk
hero member
Activity: 826
Merit: 500
Assuming you are using Debian and the files are in the same place.

 cd /usr/local/lib

 rm -i *hidraw*

The only reason I removed them was I can't be bothered install installing the kernel source, setting the zillion options, and recompiling with hidraw enabled.

Thanks erk. But it's seem with pi, it's more complicated.

How do you know the hidapi driver even works on a Pi? I would be surprised if it did without modifications.

legendary
Activity: 1190
Merit: 1000
Assuming you are using Debian and the files are in the same place.

 cd /usr/local/lib

 rm -i *hidraw*

The only reason I removed them was I can't be bothered install installing the kernel source, setting the zillion options, and recompiling with hidraw enabled.

Thanks erk. But it's seem with pi, it's more complicated.
sr. member
Activity: 290
Merit: 250
so from the hidapi GIT source I did a make uninstall and this is what I have left

Code:
/usr/include/linux/hidraw.h
/usr/lib/libhidapi-hidraw.so
/usr/lib/libhidapi-hidraw.la
/usr/lib/libhidapi-hidraw.so.0.0.0
/usr/lib/pkgconfig/hidapi-hidraw.pc
/usr/lib/libhidapi-hidraw.so.0
/usr/lib/libhidapi-hidraw.a

Removing those to see if configure of bfgminer errors out for having nanofury enabled but no hidapi libs

Compiled ok but same errors as before on my PI (Wheezy)

sr. member
Activity: 290
Merit: 250
Does it need to use hidraw or will it try libusb? I doubt if hidraw is compile into the kernel, libusb is there.

/EDIT nvm I deleted all the hidraw libs, ran another ldconfig and it found the device with libusb it's mining now at about 2.1GH/s with standard defaults.

Thanks.


Would def love further instructions
Pages:
Jump to: