I gave up on the bitmaintech branch because of some of the other changes they made to cgminer and pulled the latest ckolivas 3.9.0 repository, merged the bmsc driver and posted it to
https://github.com/fractalbc/cgminer.git This is very interesting.
Can you just clarify what you did when you "merged the bmsc driver"
The bitmain version of cgminer is terribly unstable and doesn't work with the adafruit piminer lcd scripts because of the API changes Bitmain have made so id be keen to replicate what you have done.
I cloned the official cgminer repository and added the bmsc driver to it without the other cruft from the bitmaintech branch. It might be worth testing your piminer with that branch to see if it works.
As a side note I tested a blue fury and it crashed after a couple of hours. This happened twice. I will test the blue fury by itself on a stock 3.9.0 build to figure out if it is something I did or not.
Brilliant, thanks.
Have done this through the evening and am having at about 1ghs faster with your build. Plus, as a bonus, the LCD works again due to the api.c file being standard. Im still testing for stability obviously but im just running with the 3 ants in here, left my BE's out for now.
Awesome news that the LCD is working for you! I'm having a few issues getting the latest version to make on my Pi, though;
CC cgminer-driver-bmsc.o
In file included from driver-bmsc.c:46:0:
usbutils.h:14:20: fatal error: libusb.h: No such file or directory
compilation terminated.
make[2]: *** [cgminer-driver-bmsc.o] Error 1
I'm just git cloning from
https://github.com/fractalbc/cgminer.git, then;
./autogen.sh
./configure --enable-bmsc
make
Is there anything else in particular I should be doing? I definitely have libusb-1.0-0.dev installed. Just tried building a fresh clone of the bitmaintech branch and that went through fine.
Linux noob here, so please be gentle!
Personally, when I ran ./autogen.sh it moaned there was no configure file therefore I downloaded CGminer 3.9.0 from git and copied this to the place where I had pulled fractalbc's version, then ran it and all was good.
If anyone's bothered, I can see about getting the SD card image uploaded to somewhere (probably MEGA). All you would need to do is use win32 disk imager and then edit the cgminer.config file with your pool details. Its not running minepeon though, its raspbian.
Fractalbc's code base seems about as stable as my previous version was, on the first boot ir runs for about 20,000 shares (around 1.5-2hrs) then crashes, but reboot it and it will run all day no problems. Points to driver issues to me rather than Cgminer but its great to have the screen back.