Bitcoin Forum
May 04, 2024, 03:41:36 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 [19] 20 21 »  All
  Print  
Author Topic: [CLOSED] NanoFury NF1 USB stick - Group Buy + Product Assembly  (Read 74274 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic.
erk
Hero Member
*****
Offline Offline

Activity: 826
Merit: 500



View Profile
November 20, 2013, 01:01:34 AM
 #361


/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.

1714794096
Hero Member
*
Offline Offline

Posts: 1714794096

View Profile Personal Message (Offline)

Ignore
1714794096
Reply with quote  #2

1714794096
Report to moderator
1714794096
Hero Member
*
Offline Offline

Posts: 1714794096

View Profile Personal Message (Offline)

Ignore
1714794096
Reply with quote  #2

1714794096
Report to moderator
1714794096
Hero Member
*
Offline Offline

Posts: 1714794096

View Profile Personal Message (Offline)

Ignore
1714794096
Reply with quote  #2

1714794096
Report to moderator
The forum was founded in 2009 by Satoshi and Sirius. It replaced a SourceForge forum.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714794096
Hero Member
*
Offline Offline

Posts: 1714794096

View Profile Personal Message (Offline)

Ignore
1714794096
Reply with quote  #2

1714794096
Report to moderator
RicRock
Sr. Member
****
Offline Offline

Activity: 290
Merit: 250



View Profile
November 20, 2013, 01:10:28 AM
 #362

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
RicRock
Sr. Member
****
Offline Offline

Activity: 290
Merit: 250



View Profile
November 20, 2013, 01:18:47 AM
Last edit: November 20, 2013, 01:48:53 AM by RicRock
 #363

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)

Zich
Legendary
*
Offline Offline

Activity: 1190
Merit: 1000


View Profile WWW
November 20, 2013, 03:35:39 AM
 #364

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.
erk
Hero Member
*****
Offline Offline

Activity: 826
Merit: 500



View Profile
November 20, 2013, 03:39:05 AM
 #365

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.

Zich
Legendary
*
Offline Offline

Activity: 1190
Merit: 1000


View Profile WWW
November 20, 2013, 03:49:04 AM
 #366

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
RicRock
Sr. Member
****
Offline Offline

Activity: 290
Merit: 250



View Profile
November 20, 2013, 04:26:18 AM
 #367


/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?

erk
Hero Member
*****
Offline Offline

Activity: 826
Merit: 500



View Profile
November 20, 2013, 04:44:28 AM
 #368


/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.




Zillions
Full Member
***
Offline Offline

Activity: 158
Merit: 100


View Profile
November 20, 2013, 08:44:38 AM
 #369

Stupid question I just freed up a usb port on my hub is there any more available? or was there another thread?
Zich
Legendary
*
Offline Offline

Activity: 1190
Merit: 1000


View Profile WWW
November 20, 2013, 10:18:06 AM
 #370

Stupid question I just freed up a usb port on my hub is there any more available? or was there another thread?

Technobit NanoFury
RicRock
Sr. Member
****
Offline Offline

Activity: 290
Merit: 250



View Profile
November 20, 2013, 07:55:28 PM
 #371

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:

RicRock
Sr. Member
****
Offline Offline

Activity: 290
Merit: 250



View Profile
November 20, 2013, 08:40:09 PM
Last edit: November 20, 2013, 08:55:04 PM by RicRock
 #372

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:




vs3 (OP)
Hero Member
*****
Offline Offline

Activity: 622
Merit: 500


View Profile WWW
November 20, 2013, 11:30:49 PM
 #373

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.

Taugeran
Hero Member
*****
Offline Offline

Activity: 658
Merit: 500


CCNA: There i fixed the internet.


View Profile
November 21, 2013, 01:35:07 AM
 #374

-D -T 2>./dafuq.log

will enable startup debug and disable curses

and log to dafuq.log in bfgminer startup dir

Bitfury HW & Habañero : 1.625Th/s
tips/Donations: 1NoS89H3Mr6U5CmP4VwWzU2318JEMxHL1
Come join Coinbase
Zillions
Full Member
***
Offline Offline

Activity: 158
Merit: 100


View Profile
November 21, 2013, 01:50:36 AM
 #375

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.
RicRock
Sr. Member
****
Offline Offline

Activity: 290
Merit: 250



View Profile
November 21, 2013, 04:36:23 AM
 #376

-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

vs3 (OP)
Hero Member
*****
Offline Offline

Activity: 622
Merit: 500


View Profile WWW
November 21, 2013, 06:24:28 AM
 #377

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
...

Luke-Jr
Legendary
*
Offline Offline

Activity: 2576
Merit: 1186



View Profile
November 21, 2013, 06:26:15 AM
 #378

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 (OP)
Hero Member
*****
Offline Offline

Activity: 622
Merit: 500


View Profile WWW
November 21, 2013, 06:30:56 AM
 #379

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

RicRock
Sr. Member
****
Offline Offline

Activity: 290
Merit: 250



View Profile
November 21, 2013, 06:14:17 PM
 #380

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
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 [19] 20 21 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!