Author

Topic: NanoFury / Yellojacket on RaspberryPi - No Freq Drop - No hidapi (Read 2352 times)

newbie
Activity: 2
Merit: 0
Hi,

I was also struggling to get the Nanofury Yellowjackets active on the Raspberry(model B) with CGMiner. After a while I've found the way to go. By the way, the Nanofury is supported by CGMiner, just enable Bitfury.

This is what worked for me:

(As root)

apt-get update
apt-get upgrade
apt-get install libusb-1.0-0-dev libusb-1.0-0 libcurl4-openssl-dev libncurses5-dev libudev-dev autoconf libtool
git clone https://github.com/ckolivas/cgminer
./autogen.sh
./configure --enable-bitfury
make
make install

Most if this can also be found on the website of Bitgretiefter(http://www.bitgtr.com/), but I've just added autoconf and libtool to get autogen.sh working.


Cheers,
newbie
Activity: 51
Merit: 0
Sounds intresting .. will try this  Wink
jr. member
Activity: 34
Merit: 1
Recent version of cgminer supports the nanofury. So the patch should not be needed. Does it not work on the raspberry?

Hey rgr_rgr,
No, the latest version of cgminer does not detect nanofury/YJ on RaspberryPi. bfgminer does but requires hidapi which reports hardware errors.

The patch I merged allows cgminer to detect NF/YJ without hidapi. I'm getting 0 hardware errors and hash rates faster than bfgminer on my MacBookPro.
member
Activity: 115
Merit: 10
Recent version of cgminer supports the nanofury. So the patch should not be needed. Does it not work on the raspberry?
jr. member
Activity: 34
Merit: 1
After struggling for days/weeks in getting my RaspberryPi to work properly with 2 YellowJacket I have finally succeeded.

I was using bfgminer but experienced the "Detected 50% Frequency Drop" constantly. I then found another post about a patch created by Technobit against cgminer. But this was an old version of cgminer and I wanted to use the latest. So I forked cgminer and tediously applied the patch against the master branch.

You can clone my repo from here: https://github.com/utdrmac/cgminer
My pull request for merging back in to main cgminer: https://github.com/ckolivas/cgminer/pull/541

The follow steps were done on a fresh install of a model B RaspberryPi with Raspian.
  • sudo apt-get update
  • sudo apt-get upgrade
  • sudo apt-get install screen autoconf automake autotools-dev libtool libevent uthash-dev libjansson-dev libcurl-dev libcurl4-openssl-dev libncurses5-dev libncursesw5-dev  # Not all may be necessary. I just scrolled through my history.
  • git clone https://github.com/utdrmac/cgminer
  • cd cgminer
  • ./autogen.sh --enable-hexmineru
  • make
  • sudo make install
  • screen
  • sudo cgminer -c /home/pi/.cgminer/cgminer.conf

Let me know if it works for you! I'm actually getting better hashrate than with bfgminer.

Tips Appreciated: 1drmacW6UYAfHNjRrxN7SYuN3Q9R9v6K6
Jump to: