Bitcoin Forum
May 27, 2024, 03:35:33 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: NanoFury / Yellojacket on RaspberryPi - No Freq Drop - No hidapi  (Read 2335 times)
utdrmac (OP)
Jr. Member
*
Offline Offline

Activity: 34
Merit: 1


View Profile
February 01, 2014, 01:53:50 AM
 #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

Tips: 1drmacW6UYAfHNjRrxN7SYuN3Q9R9v6K6
rgr_rgr
Member
**
Offline Offline

Activity: 115
Merit: 10


View Profile
February 01, 2014, 04:38:54 PM
 #2

Recent version of cgminer supports the nanofury. So the patch should not be needed. Does it not work on the raspberry?
utdrmac (OP)
Jr. Member
*
Offline Offline

Activity: 34
Merit: 1


View Profile
February 01, 2014, 07:59:06 PM
 #3

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.

Tips: 1drmacW6UYAfHNjRrxN7SYuN3Q9R9v6K6
achib
Newbie
*
Offline Offline

Activity: 51
Merit: 0


View Profile
February 01, 2014, 08:48:37 PM
 #4

Sounds intresting .. will try this  Wink
Arichsaint
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
March 23, 2014, 08:24:46 PM
 #5

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,
Pages: [1]
  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!