Pages:
Author

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

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.

legendary
Activity: 1190
Merit: 1000

/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
erk
hero member
Activity: 826
Merit: 500


Note the README's FAQ entry "Q: Why can't BFGMiner find lib even after I installed it from source code?" for actually running, after you get it built...
Ok I did the ldconfig from the README FAQ entry and it's gotten a little further:

Quote
# ./bfgminer -S NFY:all -d? -D
 [2013-11-20 09:17:05] setrlimit: Soft fd limit not being changed from 1024 (FD_SETSIZE=1024; hard limit=4096)                    
 [2013-11-20 09:17:05] Started bfgminer 3.6.0                    
 [2013-11-20 09:17:05] hidapi_try_lib: Couldn't load libhidapi.so: libhidapi.so: cannot open shared object file: No such file or directory                    
 [2013-11-20 09:17:05] hidapi_try_lib: Couldn't load libhidapi-0.so: libhidapi-0.so: cannot open shared object file: No such file or directory                    
 [2013-11-20 09:17:05] hidapi_try_lib: Successfully loaded libhidapi-hidraw.so                    
 [2013-11-20 09:17:05] hid_devinfo_scan: Found "NanoFury NF1 v0.6" serial "0000073625"                    
 [2013-11-20 09:17:05] lowlevel_scan: Found usb device at usb:002:004 (path=(null), vid=04d8, pid=00de, manuf=Microchip Technology Inc., prod=NanoFury NF1 v0.6, serial=0000073625)                    
 [2013-11-20 09:17:05] lowlevel_scan: Found usb device at usb:005:001 (path=(null), vid=1d6b, pid=0001, manuf=Linux 2.6.32-23-pve uhci_hcd, prod=UHCI Host Controller, serial=0000:00:1d.3)                    
 [2013-11-20 09:17:05] lowlevel_scan: Found usb device at usb:004:001 (path=(null), vid=1d6b, pid=0001, manuf=Linux 2.6.32-23-pve uhci_hcd, prod=UHCI Host Controller, serial=0000:00:1d.2)                    
 [2013-11-20 09:17:05] lowlevel_scan: Found usb device at usb:003:001 (path=(null), vid=1d6b, pid=0001, manuf=Linux 2.6.32-23-pve uhci_hcd, prod=UHCI Host Controller, serial=0000:00:1d.1)                    
 [2013-11-20 09:17:05] lowlevel_scan: Found usb device at usb:002:001 (path=(null), vid=1d6b, pid=0001, manuf=Linux 2.6.32-23-pve uhci_hcd, prod=UHCI Host Controller, serial=0000:00:1d.0)                    
 [2013-11-20 09:17:05] lowlevel_scan: Found usb device at usb:001:001 (path=(null), vid=1d6b, pid=0002, manuf=Linux 2.6.32-23-pve ehci_hcd, prod=EHCI Host Controller, serial=0000:00:1d.7)                    
 [2013-11-20 09:17:05] lowlevel_scan: Found hid device at hid:/dev/hidraw0 (path=/dev/hidraw0, vid=04d8, pid=00de, manuf=Microchip Technology Inc., prod=NanoFury NF1 v0.6, serial=0000073625)                    
 [2013-11-20 09:17:05] lowlevel_scan: Found mcp2210 device at hid:/dev/hidraw0 (path=/dev/hidraw0, vid=04d8, pid=00de, manuf=Microchip Technology Inc., prod=NanoFury NF1 v0.6, serial=0000073625)                    
 [2013-11-20 09:17:05] mcp2210_get_configs: Failed to get current SPI config                    
 [2013-11-20 09:17:05] nanofury_foundlowl: Matched "NanoFury NF1 v0.6" serial "0000073625", but mcp2210 lowlevel driver failed to open it                    
 [2013-11-20 09:17:05] Devices detected:                    
 [2013-11-20 09:17:05] Timers: Using clock_gettime(CLOCK_MONOTONIC_RAW)                    
0 devices listed
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.


legendary
Activity: 2576
Merit: 1186
I just want to get the NF1 running on any os other than Windows, has anyone done this, if so can you describe the steps please?
With Gentoo, you can just emerge bfgminer with the nanofury USE flag.
Gentoo is not very mainstream, meaning that's probably not what Linux users of the NF1 are going to be running, it's like #37 on http://distrowatch.com/ nevertheless I will try it. I would have thought it would be tested on on a Debian or Redhat derivative by now.
I've tested another HID miner on Debian with no problems, so I would be surprised if NanoFury didn't work as well.

How did you get bfgminer to detect the hidapi libraries during configure? Did you have to move them from the default location /usr/local/lib/hidapi? the bfgminer configure seems to be looking for a package installed.
No, Everything is under /usr/local:
Code:
/usr/share/doc/hidapi
/usr/share/doc/hidapi/README.txt
/usr/local/include/hidapi
/usr/local/include/hidapi/hidapi.h
/usr/local/share/doc/hidapi
/usr/local/share/doc/hidapi/LICENSE-gpl3.txt
/usr/local/share/doc/hidapi/LICENSE-orig.txt
/usr/local/share/doc/hidapi/AUTHORS.txt
/usr/local/share/doc/hidapi/README.txt
/usr/local/share/doc/hidapi/LICENSE.txt
/usr/local/share/doc/hidapi/LICENSE-bsd.txt
/usr/local/lib/libhidapi-libusb.so.0.0.0
/usr/local/lib/libhidapi-hidraw.so
/usr/local/lib/libhidapi-libusb.a
/usr/local/lib/libhidapi-libusb.la
/usr/local/lib/libhidapi-libusb.so.0
/usr/local/lib/libhidapi-hidraw.so.0
/usr/local/lib/libhidapi-hidraw.a
/usr/local/lib/libhidapi-libusb.so
/usr/local/lib/libhidapi-hidraw.la
/usr/local/lib/libhidapi-hidraw.so.0.0.0
/usr/local/lib/pkgconfig/hidapi-libusb.pc
/usr/local/lib/pkgconfig/hidapi-hidraw.pc

Note the README's FAQ entry "Q: Why can't BFGMiner find lib even after I installed it from source code?" for actually running, after you get it built...
erk
hero member
Activity: 826
Merit: 500
I just want to get the NF1 running on any os other than Windows, has anyone done this, if so can you describe the steps please?
With Gentoo, you can just emerge bfgminer with the nanofury USE flag.
Gentoo is not very mainstream, meaning that's probably not what Linux users of the NF1 are going to be running, it's like #37 on http://distrowatch.com/ nevertheless I will try it. I would have thought it would be tested on on a Debian or Redhat derivative by now.
I've tested another HID miner on Debian with no problems, so I would be surprised if NanoFury didn't work as well.

How did you get bfgminer to detect the hidapi libraries during configure? Did you have to move them from the default location /usr/local/lib/hidapi? the bfgminer configure seems to be looking for a package installed.

legendary
Activity: 2576
Merit: 1186
I just want to get the NF1 running on any os other than Windows, has anyone done this, if so can you describe the steps please?
With Gentoo, you can just emerge bfgminer with the nanofury USE flag.
Gentoo is not very mainstream, meaning that's probably not what Linux users of the NF1 are going to be running, it's like #37 on http://distrowatch.com/ nevertheless I will try it. I would have thought it would be tested on on a Debian or Redhat derivative by now.
I've tested another HID miner on Debian with no problems, so I would be surprised if NanoFury didn't work as well.
erk
hero member
Activity: 826
Merit: 500
I just want to get the NF1 running on any os other than Windows, has anyone done this, if so can you describe the steps please?
With Gentoo, you can just emerge bfgminer with the nanofury USE flag.
Gentoo is not very mainstream, meaning that's probably not what Linux users of the NF1 are going to be running, it's like #37 on http://distrowatch.com/ nevertheless I will try it. I would have thought it would be tested on on a Debian or Redhat derivative by now.



legendary
Activity: 2576
Merit: 1186
I just want to get the NF1 running on any os other than Windows, has anyone done this, if so can you describe the steps please?
With Gentoo, you can just emerge bfgminer with the nanofury USE flag.
erk
hero member
Activity: 826
Merit: 500
Anyone managed to get the latest bfgminer to compile on FreeBSD 9.2-RELEASE?

The configure script can't seem to find libusb for some reason which is in the standard location  /usr/lib/libusb.a

I got bfgminer to compile on my Mac with Snow Leopard, but it gives a segfault when I try and mine. No luck on either platform.

I tried Debian linux and the bfgminer configure can't find hidapi even though it's compiled and installed.

This is pissing me off, I just want to run the NF1 I don't have a spare windows machine to put it on, only Mac, FreeBSD, or Linux.


Did you try cgminer ?

cgminer does not have the hidapi driver.

I just want to get the NF1 running on any os other than Windows, has anyone done this, if so can you describe the steps please?

vs3
hero member
Activity: 622
Merit: 500
Anyone managed to get the latest bfgminer to compile on FreeBSD 9.2-RELEASE?

The configure script can't seem to find libusb for some reason which is in the standard location  /usr/lib/libusb.a

I got bfgminer to compile on my Mac with Snow Leopard, but it gives a segfault when I try and mine. No luck on either platform.

I tried Debian linux and the bfgminer configure can't find hidapi even though it's compiled and installed.

This is pissing me off, I just want to run the NF1 I don't have a spare windows machine to put it on, only Mac, FreeBSD, or Linux.


Did you try cgminer ?

Out of curiosity - what makes you think that cgminer will work? Does it support NanoFury?
member
Activity: 122
Merit: 10
Anyone managed to get the latest bfgminer to compile on FreeBSD 9.2-RELEASE?

The configure script can't seem to find libusb for some reason which is in the standard location  /usr/lib/libusb.a

I got bfgminer to compile on my Mac with Snow Leopard, but it gives a segfault when I try and mine. No luck on either platform.

I tried Debian linux and the bfgminer configure can't find hidapi even though it's compiled and installed.

This is pissing me off, I just want to run the NF1 I don't have a spare windows machine to put it on, only Mac, FreeBSD, or Linux.


Did you try cgminer ?
newbie
Activity: 3
Merit: 0
Anyone managed to get the latest bfgminer to compile on FreeBSD 9.2-RELEASE?

The configure script can't seem to find libusb for some reason which is in the standard location  /usr/lib/libusb.a

I got bfgminer to compile on my Mac with Snow Leopard, but it gives a segfault when I try and mine. No luck on either platform.

I tried Debian linux and the bfgminer configure can't find hidapi even though it's compiled and installed.

This is pissing me off, I just want to run the NF1 I don't have a spare windows machine to put it on, only Mac, FreeBSD, or Linux.

I have no experience with FreeBSD.  However I had trouble (they say rasbpian's libusb is not useable) compiling for raspberrypi. The suggested solution was to provide libusb from compiled source. See https://bitcointalksearch.org/topic/m.3634958 for how this was done for pi. Maybe you can adapt it to your situation.
sr. member
Activity: 290
Merit: 250
Anyone had luck with Raspberry Pi wheezy?

I bought a RasPi last week and am waiting for it to arrive .. as soon as I get it I'll give it a shot too.
No promises though - I'm not sure if the hidapi is compatible with it at all or what is the nature of the issue..

Great, i am looking for it  Grin

+1000
legendary
Activity: 1190
Merit: 1000
Anyone had luck with Raspberry Pi wheezy?

I bought a RasPi last week and am waiting for it to arrive .. as soon as I get it I'll give it a shot too.
No promises though - I'm not sure if the hidapi is compatible with it at all or what is the nature of the issue..

Great, i am looking for it  Grin
vs3
hero member
Activity: 622
Merit: 500
Anyone had luck with Raspberry Pi wheezy?

I bought a RasPi last week and am waiting for it to arrive .. as soon as I get it I'll give it a shot too.
No promises though - I'm not sure if the hidapi is compatible with it at all or what is the nature of the issue..
legendary
Activity: 1190
Merit: 1000
Anyone had luck with Raspberry Pi wheezy?
erk
hero member
Activity: 826
Merit: 500
Anyone managed to get the latest bfgminer to compile on FreeBSD 9.2-RELEASE?

The configure script can't seem to find libusb for some reason which is in the standard location  /usr/lib/libusb.a

I got bfgminer to compile on my Mac with Snow Leopard, but it gives a segfault when I try and mine. No luck on either platform.

I tried Debian linux and the bfgminer configure can't find hidapi even though it's compiled and installed.

This is pissing me off, I just want to run the NF1 I don't have a spare windows machine to put it on, only Mac, FreeBSD, or Linux.

vs3
hero member
Activity: 622
Merit: 500
I believe one of my sticks mines less efficiently at 54 bits.  Can I specify the bits individually?

I don't know if you can do that on the command line, but you can adjust the bits individually via bfgminer's Device Manager:

Quote
bfgminer version 3.3.0 - Started: [2013-11-14 20:06:10] - [  0 days 04:23:41]
 [ M ]anage devices [ P ]ool management [ S ]ettings [ D ]isplay options  [ H ]elp [ Q ]uit
 Connected to mint.bitminter.com diff 4 with stratum as user vs3_nanofury1
 Block: ...a4cca397 #269713  Diff:511M ( 3.66Ph/s)  Started: [00:23:57]
 ST:2  F:0  NB:31  AS:0  BW:[ 54/ 46 B/s]  E:21.08  I:  183uBTC/hr  BS:128k
 2            |  4.68/ 4.57/ 4.48Gh/s | A:5781 R:14+0(.24%) HW:231/1.4%
--------------------------------------------------------------------------------
 NFY 0:       |  2.42/ 2.41/ 2.35Gh/s | A:3058 R: 7+0(.18%) HW:171/1.9%
 NFY 1:       |  2.16/ 2.16/ 2.13Gh/s | A:2723 R: 7+0(.31%) HW: 60/.74%
--------------------------------------------------------------------------------

Select processor to manage using up/down arrow keys
 NFY 1 :       |  2.16/ 2.16/ 2.13Gh/s | A:2723 R: 7+0(.31%) HW: 60/.74%
  NanoFury NF1 v0.6
Serial: 0000068967
Oscillator bits: 52

[ D ]isable [ O ]scillator bits
[Slash] Find processor  [Plus] Add device(s)  [Enter] Close device manager

hero member
Activity: 742
Merit: 500
I believe one of my sticks mines less efficiently at 54 bits.  Can I specify the bits individually?
newbie
Activity: 39
Merit: 0

i didn`t do a pencil mode, but with a powered USB 3.0 Hub and OS-bits set to 54 the miners run above stable 2,6 gH/s (with fan)
Pages:
Jump to: