Pages:
Author

Topic: Linux mining distro for the Raspberry PI - MinePeon - page 91. (Read 685021 times)

sr. member
Activity: 294
Merit: 250
Those little LCDs are sweet! Anyone know if there's a place that sells them for BTC?

Also, any thoughts on including support for the Adafruit LCD (used in this cool guide) in MinePeon?

EDIT: PiMiner (https://github.com/adafruit/PiMiner) is what is used, just was curious if you planned to include it in the future

I'm pretty sure that will work fine with MinePeon. The software in the adafruit article used the cgminer as far as I recall. We got the USB LCD Python code working well with MinePeon - I can't see any reason that Python script wouldn't work also.

BTW, I have one here, but STILL haven't soldered it together :/ Doing that and testing it is probably pushed to next week's list...
member
Activity: 66
Merit: 10
..............................
bzh
newbie
Activity: 34
Merit: 0
does minepeon have raspi-config? how do i expand the root fs?

I am not sure if it re-sizes or not. If not this will do it.

Code:
sudo fdisk /dev/mmcblk0

In fdisk,

    Press ‘p’ to print the partition table, take note of the number in the Start column of the row starting ‘/dev/mmcblk0p2′
    Press ‘d’ to delete a partition then enter ’2′ to choose the second partition
    Press ‘n’ to create a new partition, all the default options are fine:

    Choose ‘primary’ partition type
    Partition number 2
    The starting block should be same number you took note of in step 1 (It should be the default number so press Enter)
    The default ending block should be the last available block on the SD card, this will vary depending on what size SD card you have (Press Enter)

4. Press ‘w’ to write the new partition table and return to the bash prompt

Reboot now to force the kernel to recognize the new partition table.

Code:
sudo reboot

awesome thanks!
legendary
Activity: 896
Merit: 1000
does minepeon have raspi-config? how do i expand the root fs?

I am not sure if it re-sizes or not. If not this will do it.......



Code:
sudo reboot

Yep, that will work to extend the partition.  Then use "sudo resize2fs /dev/mmcblk0p2" to expand the file system.

No raspi-config sorry, that's a rasperian thing and MinePeon went the Arch Linux way for the better USB support.

Neil
newbie
Activity: 23
Merit: 0
does minepeon have raspi-config? how do i expand the root fs?

I am not sure if it re-sizes or not. If not this will do it.

Code:
sudo fdisk /dev/mmcblk0

In fdisk,

    Press ‘p’ to print the partition table, take note of the number in the Start column of the row starting ‘/dev/mmcblk0p2′
    Press ‘d’ to delete a partition then enter ’2′ to choose the second partition
    Press ‘n’ to create a new partition, all the default options are fine:

    Choose ‘primary’ partition type
    Partition number 2
    The starting block should be same number you took note of in step 1 (It should be the default number so press Enter)
    The default ending block should be the last available block on the SD card, this will vary depending on what size SD card you have (Press Enter)

4. Press ‘w’ to write the new partition table and return to the bash prompt

Reboot now to force the kernel to recognize the new partition table.

Code:
sudo reboot

Now you need to resize the file system

Code:
sudo resize2fs /dev/mmcblk0p2

Code:
df -h

Should now show something like:

Code:
[minepeon@minepeon ~]$ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/root        15G  1.2G   13G   9% /
devtmpfs        210M     0  210M   0% /dev
tmpfs           218M     0  218M   0% /dev/shm
tmpfs           218M  264K  218M   1% /run
tmpfs           218M     0  218M   0% /sys/fs/cgroup
tmpfs           218M     0  218M   0% /tmp
/dev/mmcblk0p1   94M   24M   71M  26% /boot

bzh
newbie
Activity: 34
Merit: 0
Those little LCDs are sweet! Anyone know if there's a place that sells them for BTC?

Also, any thoughts on including support for the Adafruit LCD (used in this cool guide) in MinePeon?

actually this is what i need, albeit with this screen: http://www.raspberrypi.org/phpBB3/viewtopic.php?f=93&t=48956

could we have support for FBTFT drivers?
newbie
Activity: 54
Merit: 0
Those little LCDs are sweet! Anyone know if there's a place that sells them for BTC?

Also, any thoughts on including support for the Adafruit LCD (used in this cool guide) in MinePeon?

EDIT: PiMiner (https://github.com/adafruit/PiMiner) is what is used, just was curious if you planned to include it in the future
bzh
newbie
Activity: 34
Merit: 0
does minepeon have raspi-config? how do i expand the root fs?
sr. member
Activity: 1316
Merit: 254
Sugars.zone | DatingFi - Earn for Posting
http://s13.postimg.org/fjc7aui13/Minepeon.jpg
this Donation goes to Kano' address.....
...
Sorry I'm not understanding something here?
... I guess I better look closer in the minepeon code ...
Nope I'm not in there Smiley
... and no there's no problem with that, just when you said that I was thinking "eh?"

Not what I meant...I hope its Neils address, If he wishes to send some btc back, I would like him to send it to you as a donation for your contribution...Hope thats OK with you.. Grin

Why you stealing my coins Kano?  Tongue .

Actualy one of the thinks I want to do (if I ever get the sodding donate code to work correctly) is maintain a list of developers and worthy organisations so people can donate miner time to them.  I am sort of hoping we can turn into crowd funded employees.

Neil
Neil your not forgotten, you should have been getting some donation time before now, and the next one is yours, after that I really need to keep some for myself.   Grin
legendary
Activity: 896
Merit: 1000
http://s13.postimg.org/fjc7aui13/Minepeon.jpg
this Donation goes to Kano' address.....
...
Sorry I'm not understanding something here?
... I guess I better look closer in the minepeon code ...
Nope I'm not in there Smiley
... and no there's no problem with that, just when you said that I was thinking "eh?"

Not what I meant...I hope its Neils address, If he wishes to send some btc back, I would like him to send it to you as a donation for your contribution...Hope thats OK with you.. Grin

Why you stealing my coins Kano?  Tongue .

Actualy one of the thinks I want to do (if I ever get the sodding donate code to work correctly) is maintain a list of developers and worthy organisations so people can donate miner time to them.  I am sort of hoping we can turn into crowd funded employees.

Neil
sr. member
Activity: 1316
Merit: 254
Sugars.zone | DatingFi - Earn for Posting
http://s13.postimg.org/fjc7aui13/Minepeon.jpg
this Donation goes to Kano' address.....
...
Sorry I'm not understanding something here?
... I guess I better look closer in the minepeon code ...
Nope I'm not in there Smiley
... and no there's no problem with that, just when you said that I was thinking "eh?"

Not what I meant...I hope its Neils address, If he wishes to send some btc back, I would like him to send it to you as a donation for your contribution...Hope thats OK with you.. Grin
legendary
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
http://s13.postimg.org/fjc7aui13/Minepeon.jpg
this Donation goes to Kano' address.....
...
Sorry I'm not understanding something here?
... I guess I better look closer in the minepeon code ...
Nope I'm not in there Smiley
... and no there's no problem with that, just when you said that I was thinking "eh?"
sr. member
Activity: 1316
Merit: 254
Sugars.zone | DatingFi - Earn for Posting

this Donation goes to Kano' address.....

Sorry I didn't have time to pick up a new SD card yesterday, so I turned OFF donations!

So it looks like at donation time my PI is resetting? and its reinstating donation time to 5 mins (what I had set it too a few days ago before doing a gitpull) then gets stuck..

Would be nice to have current PI time displayed in the GUI and an option to set the time donation takes place maybe? this only happens after I have opened a bottle of johnnie walker..

whats the state of the git at the moment? I'll reinstall on a new card today should I avoid a gitpull..

Would you like me to send an image of the SD Card..

I'll get back latter to answer other posts as I have a few things to do his morning...
sr. member
Activity: 294
Merit: 250
sr. member
Activity: 294
Merit: 250
Neil:

For the second consecutive day, at midnight, my pools are replaced by the 3 donation pools and stay there until I force mine @ the pools page. I have donation disabled for several days.

I'm doing a git pull every day.
I think this is the same issue, off memory I think under the pools table it said 'cgminer failed to restart'

I could not force mine and had to reboot.

EDIT: Send any coins to cardcomm`s  address as donation for lcd work please.

Thanks for that. I'm just happy to be doing something that people find useful. But donations never hurt...   lol
BG4
legendary
Activity: 1006
Merit: 1024
PaperSafe

Did you make or bought the power cables from PSU to the HUB's? I'm also using one of those 10 ports HUB (with 9 USB Gizmos), with a Velleman multivolt, that gives 7,5 Amperes @ 5 volts.
Originally I ordered some 2.1mm connectors but they haven't arrived, being impatient I cut the 5V lines out of the molex connectors of the atx psu (bottom of pic) and soldered the 5V wires straight to the hub.. and plugged the fans into the molex (which now only has 12V lines).

ATX PSU has 28A @ 5V  4X 20A @ 12V (Reserved for K16`s)
Your idea is great... i "nvented" a cable, but I'm connecting the 10 ports HUB to the HD molex cable and 2 or 3 of the Gizmos were in error... perhaps not enaph current... Better to connect again to the Velleman 7,5 amperes PU.


since the issue of power has come up...I found this on ebay and bought a few...they were under 10 dollars...I have it connected to the HD molex 12v lines..
This is powering my Pi.....5V/3A....I had read that sometimes you could get a hard draw of current when you plug something in to the pi and it would reboot...
so I wanted to stop that with some good power....It has run flawless....also with a El-cheap-o  6dollar hub and 7 erupters..

https://www.dropbox.com/s/2y4xv1pyrwum770/2013-08-07%2014.35.24.jpg

Edit:...I cant post my pic for some reason...
BG4
legendary
Activity: 1006
Merit: 1024
PaperSafe
...
Notes on the dispay : If LSDStats is killed in anyway e.g. Pi reset, It sits there with the last stats displayed. Looks pretty but not very helpful. Would be better if it would just go blank or display an error. I don't think it is possible to get around this due to the way it works. Otherwise its pretty cool...
I use -d 2 and thus the clock ticks over every 2 or 3 seconds so I know it's working Smiley

There is no problem hitting the API every 2 seconds (I have a bunch of scripts that hit each of my cgminers every 2 seconds)

As for what's on the screen if it stops ... well that's simply what was last on the screen - yes.
If it gets an error talking to the API, cardcomm has it display a red message that's pretty obvious Smiley
If the python itself crashes, well, yeah you'll see on the screen what was last put there
Putting a message up or blanking would be pointless, rather whatever was trying to do that should instead restart the python.

Thanx Kano, I'll change the refresh rate and I should be able to get the python script to run on reboot. Please don't tell me how, am gonna figure it out, I will get use to this linux stuff soon enough.  Grin
southerngentuk, you can send up to 6 images to LCD's internal memory and pre-program the display to enter into "picture frame mode", when idle for more than x minutes, with the "LCD Sys Info - Images Loader.exe" program that comes with it. If the RPI stops communicating with the LCD, it then knows what to do...

Could the Minepeon logo be loaded into that???
sr. member
Activity: 294
Merit: 250
I'm doing a git pull every day.

That may be your issue, that code is a bit buggy at the moment as I am getting ready for a release this weekend.  

Neil

Not to forget, never change a running system!

maybe cardcomm can update his install guide to shut the system down first...am not sure how to do this yet.

Notes on the dispay : If LSDStats is killed in anyway e.g. Pi reset, It sits there with the last stats displayed. Looks pretty but not very helpful. Would be better if it would just go blank or display an error. I don't think it is possible to get around this due to the way it works. Otherwise its pretty cool...

Good point, I'll try and update the tutorial a bit to take into consideration those that already have an up and running system. Actually, I think you wouldn't have to shut anything down, most likely. You could probably just jump into the tutorial beginning at the "Install pyUSB library" step.
Pages:
Jump to: