Post
Topic
Board Mining software (miners)
Re: Need your help, new Linux mining distro for the Raspberry PI - MinePeon
by
frograven
on 19/06/2013, 10:45:43 UTC
So I had to do

modprobe ftdi_sio product=0x8350 vendor=0x0403 to make the usb serials arrive in /dev/ttyUSBx

then I had to modify /etc/systemd/system/multi-user.target.wants/cgminer.service

Changing

ExecStart=/usr/bin/screen -dmS cgminer /opt/minepeon/bin/cgminer -S auto --api-listen --api-allow W:172.0.0.1 --sharelog /opt/minepeon/log/share.log -c /opt/minepeon/etc/miner.conf

to read

ExecStart=/usr/bin/screen -dmS cgminer /opt/minepeon/bin/cgminer -S /dev/ttyUSB0 -S /dev/ttyUSB1 -S /dev/ttyUSB2 -S /dev/ttyUSB3 -S /dev/ttyUSB4 -S /dev/ttyUSB5 -S /dev/ttyUSB6 -S /dev/ttyUSB7 -S /dev/ttyUSB8 -S /dev/ttyUSB9 -S /dev/ttyUSB10 -S /dev/ttyUSB11 -S /dev/ttyUSB12 -S /dev/ttyUSB13 -S /dev/ttyUSB14 -S /dev/ttyUSB15 -S /dev/ttyUSB16 -S /dev/ttyUSB17 -S /dev/ttyUSB18 -S /dev/ttyUSB19 --api-listen --api-allow W:172.0.0.1 --sharelog /opt/minepeon/log/share.log -c /opt/minepeon/etc/miner.conf

I note the scale of the graph reports Th not Gh.

Cheers


Hi, I downloaded MinePeon-2013-06-11.zip to have a try with my CM1 and the stock autoconfig stuff doesn't seem to work - I see:

[    4.067600] systemd-udevd[76]: starting version 204
[    4.368042] systemd-udevd[76]: unknown key 'SYSFS{idProduct}' in /usr/lib/udev/rules.d/99-cairnsmore.rules:1
[    4.368165] systemd-udevd[76]: invalid rule '/usr/lib/udev/rules.d/99-cairnsmore.rules:1'
[    4.405813] systemd-udevd[76]: specified group 'plugdev' unknown

in dmesg.

but - If I try to use the cgminer options that work on the self compiled version I made in Raspbian (similar to above, using -S /dev/ttyUSB0 -S /dev/ttyUSB1 etc) after running "modprobe ftdi_sio product=0x8350 vendor=0x0403"
I get:
   
/opt/minepeon/bin/cgminer: -S: unrecognized option

has something changed with the build of cgminer in this version?

=== from minepeon 2013-06-11==============

/opt/minepeon/bin/cgminer -help
cgminer 3.2.1
Built with bflsc bitforce icarus avalon modminer ztex mining support.


==from the one I compiled from source on raspbian (works) ================================

cgminer --help
cgminer 3.1.1
Built with icarus mining support.