Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 29,451
» Latest member: librem.d.s
» Forum threads: 16,190
» Forum posts: 116,846

Full Statistics

Latest Threads
PulseAudio dropouts after...
Forum: Linux on Pinebook Pro
Last Post: P. Siera
1 hour ago
» Replies: 3
» Views: 143
StarPro64 Irradium (based...
Forum: Getting Started
Last Post: P. Siera
1 hour ago
» Replies: 6
» Views: 279
Hello from Ukraine
Forum: P64-LTS / SOPINE Projects, Ideas and Tutorials
Last Post: Dendrocalamus64
9 hours ago
» Replies: 1
» Views: 23
Simple Outdoor Weather St...
Forum: General Discussion on PineTab
Last Post: aria22
Yesterday, 12:47 PM
» Replies: 0
» Views: 21
Armbian fix, current vers...
Forum: Linux on Pinebook Pro
Last Post: Sb2024
Yesterday, 08:49 AM
» Replies: 0
» Views: 30
Experimental Mobian kerne...
Forum: PinePhone Pro Software
Last Post: teekay
Yesterday, 05:39 AM
» Replies: 2
» Views: 114
Pinephone Pro not in stor...
Forum: General Discussion on PinePhone
Last Post: P. Siera
Yesterday, 02:12 AM
» Replies: 1
» Views: 183
Libre Office on Pinetab2?
Forum: General Discussion on PineTab
Last Post: Kevin Kofler
08-07-2025, 09:50 PM
» Replies: 1
» Views: 70
Won't boot with a MicroSD...
Forum: General Discussion on PineTab
Last Post: acruhl
08-07-2025, 06:59 PM
» Replies: 0
» Views: 30
does the Joplin note taki...
Forum: PineNote Software
Last Post: Francus
08-05-2025, 08:11 PM
» Replies: 4
» Views: 1,377

 
  Overclocking ubuntu mate
Posted by: Mixermic - 09-30-2016, 08:49 PM - Forum: Linux on Pine A64(+) - Replies (2)

hey I was wondering if anyone knows how to overclock the CPU on Ubuntu mate?


  apt-cache for all your shopping needs!
Posted by: tampadave - 09-30-2016, 02:19 PM - Forum: Ubuntu - Replies (2)

Hello all.

apt-cache is the tool I use to look for packages that are available for my build.  In this case, ubuntu 16.04LTS on arm64.  

apt-cache does not require sudo, and is good to identify the actual package name for whatever program you're looking for, and if there is none, you'll find that out too.  Mind you, this is for packages, not all possible projects or source code.  Packages are normally software products that work, are packaged, on this distribution, and are popular or essential enough to merit their inclusion in the package database (atp-cache).


Code:
apt-cache stats
will show you the current status of your apt-cache database.


Code:
apt-cache showpkg <package_name_here>
 will give you an idea of what would be installed, including dependencies, were you to install the package from that package name.  Which begs the question: "how do I learn the package name for the package I want to install?"  Good question!


Code:
apt-cache search <regex_term>
 will return a list of packages that include that search term.  You can grep it further, or just read through it to find your package name.  Lots of times, I'm off just a little in the spelling of the package name (grrr...) and this lets me find out what IT calls it.

There are more commands for apt-cache, and man apt-cache will get you the manual page for this very handy tool.  apt-cache search and apt-cache showpkg have been indispensable to my learning this new platform.  Use them and you will see.

Oh, and as is usually the case, all of these commands are from bash (the Bourne Again Shell).


David


  FYI: ARM Cortex-A Series Programmer’s Guide for ARMv8-A
Posted by: tampadave - 09-30-2016, 10:03 AM - Forum: General Discussion on PINE A64(+) - No Replies

Hello all.

I am new to this cpu, and its instruction set.  So I found this very helpful.  I believe you will too, if you are working on stuff at this level:

https://static.docs.arm.com/den0024/a/DEN0024.pdf

Nearly all of my experience is in x86/amd64 kit, which is very different from aarch64/arm64.  Being in the process of evaluating (lab'ng) the pine64+ 2G, I am finding it less performing than I need it too be.  Then it occured to me, that I am using it as an x86/amd64 part, when in fact, it is a aarch64/arm64 part.  And to use this board properly, I have to build according to its abilities, which are found in its instruction set.

This is a RISC processor.  Throwing CISC vectored commands at it are going to hurt it --- dramatically.  I know very little about its instruction set, at this point in time, so I begin here.  At the beginning.

Seems to me, in addition to the missing mali code, that there are core features of this architecture that are not being used, even though they are available.  Kind of like using single threaded code on a multi-threaded processor (hello dosbox).  The limit is in the software, not the hardware.  

I look forward to seeing what this kit can really do, when fully utilized by our build environment(s) (BE).

One last thing.  In closed source environments, we would not even have access (hello mali) to this level of development, let alone be able to improve upon it.  I am glad too work in open source products.


David


  Firewall, smoothwall
Posted by: bradman - 09-29-2016, 07:21 PM - Forum: Pine A64 Projects, Ideas and Tutorials - Replies (3)

Any ideas on using a pine for a smoothwall firewall ?  It will require a 2nd NIC. I have a few USB NICs here.


  General SBC question and Linux
Posted by: jkmooney - 09-29-2016, 06:35 PM - Forum: Linux on Pine A64(+) - Replies (13)

So, I'm new to SBCs but not quite so new to Linux (started out with RedHat 4.2 after becoming disillusioned with OS/2 Warp).  What I'm seeing with the Pine64 is the potential for creating a decent multi-media computer that can run on minimal power.  This intrigues me.  I could build a multi-media box to run off my solar array when I go camping (Ok...."glamping"....I'll own that Wink )   or, use it as a way to stream games from my "big computer" to my basement TV.
.
On the Pine 64, I can pretty much do that now with Remix OS (although a Steam Controller driver would be great) but I kinda miss the flexibility and familiarity of Linux.  (and my steam controller works with Linux thanks to GitHub).

So, a question for those more experienced with SBCs; are there any you could recommend for my next project?  Arm or Intel Atom as long as power requirements are low.


  Pine64 Steaming Device
Posted by: chasbel2112 - 09-29-2016, 10:12 AM - Forum: Getting Started - Replies (4)

https://www.linux.com/learn/turn-your-fe...mart-tv-30

I'm interested in attempting to create what is described in the above tutorial and was wondering if anyone else had done this particular mod before. What's your experience? Would my newly constructed device be on par with my Roku 3? (HD, Surround sound, etc). Anything else I should know that the article doesn't make clear?

Thank you in advance!


  Acrylic case with Lipo Holder and 2 Tactile push button included
Posted by: killor - 09-29-2016, 07:11 AM - Forum: Enclosures - Replies (9)

HI !

I just finished the new design acrylic enclosure for 64 Pine /64+  

It has more space and carries a double bottom to accommodate the lipo batteries. Big Grin 

Also several enclosure can be stacked to create a cluster..

At the bottom or at the top you can put a mini fan to help keep cool your computer.


       

Soon be available for sale on AMAZON and EBAY


  Stepping out on a limb here...
Posted by: UnixOutlaw - 09-29-2016, 03:32 AM - Forum: POT modules - Replies (2)

Why is Pine64+ such a great "fumante secchio di merda di cane"?

It really is a "pezzo di merda"...  Just when I get everything going the way I want - the F--KING hardware lets me down...

Had it running DietPI with a battery and hooked up to my Motorola Lapdock...  got all the software I wanted running sweet (Chromium, Qute, Synergy)...

Now it HARDLY ever powers on - the power LED will come on then it will go off...   When it is running - if I pull the power - EVEN with a LIPO battery connected to either the BAT in JST connector or via the EULER bus - it just shuts off...  Even if it's been UP for hours and I pull the power, it dies in its arse...  The battery should have charged up by now...  I'm going to re-wire the 2 batteries I've been testing (2000 mAh and 2500 mAh) and see if they run NTC CHIP and charge up okay on there - just so I can prove them as "GOOD KNOWN BATTERIES"!

It won't power on connected to the lapdock...  CHIP and Banana LOVE the Lapdock!

I did manage to get it to power up and stay on earlier today - by running a PLOX USB charger into it, then charging the PLOX from the Lapdock...

I just powered it down so I see if it will run on battery after being on for several hours - and also so KI could try another battery - and no!  It won't power up (or stay on) at ALL!

I'm also going to rig up some USB to EULER CHG in wires tonight...  I suspect there's something vile and stinking and putrescently DEAD in my Pine64...   I get pretty much exactly the same symptoms on my other pine board too...  But the one I'm using now is mounted inside the Zebra C4 "tall" case with a heatsink on the A64 chip...

Well there ya go!  I just got it to power on and stay on connected to the PLOX USB powerbank (that's all it's connected to)...  This "MERDA" feels like black magic half the time....  These things are SO FLAKY!  I'd NEVER run any production workload on them... they're UTTER RUBBISH!

NTC CHIP is rock solid - I've had one of them with continuous uptime over 150 days!  Yeah I'd run production workloads on CHIP!

If you hadn't guessed yet - I have a love/hate (mostly passionate HATRED) relationship with my Pine boards!


This may be purely anecdotal - but it seems if I leave it off for a bit... and disconnected from everything...

Then power it up with JUST the plox power it - wait some arbitrary period of time for it to boot up... then hook up peripherals - HDMI and USB for display and keyboard/mouse - it works... but not always... that's why it seems like black magic...

FFS! These things are SO SHODDY!


  Getting Temperature/Humidity/Ambient Light data with Python
Posted by: Yomet - 09-28-2016, 03:34 PM - Forum: POT modules - Replies (8)

Hi,

I have tried to get data from both the Temp/Humidity and the Ambient Light sensor by using python and python-smbus. I have found and read the tech docs of both adapters as specified by Pine64 but have not gotten all the way to reading the correct data, i.e. I get data from the T/H sensor but it says that it's -5 C inside and I don't believe that since I'm sitting in short-sleeves...  Smile

I also found the posts from khgoh (http://forum.pine64.org/showthread.php?tid=231&page=3) and skimmed through the source code for the WifiRemoteI2C server but that is in C (C++) and does not help me at all, or rather, it does not help me solving it in python...

My problem is that the value I get from the T/H sensor does not convert correctly into the ambient temperature and relative humidity.

I would really appreciate if someone told me where I am going wrong and how to correct it.

Many thanks

DS

Source:

Code:
import smbus
import time

bus = smbus.SMBus(1)
address = 0x40
cmd_temp = 0xE3
cmd_humid = 0xE5
temp = 0L
humid = 0L

temp = bus.read_word_data(address, cmd_humid)
print "RH read_word_data returns ", humid
print ""
humid = 125.0 * humid / 65536 - 6
print "RH: ", humid, " %"
print ""
print ""

temp = bus.read_word_data(address, cmd_temp)
print "Temp read_word_data returns ", temp
print ""
temp = 175.72 * temp / 65536 - 46.85
print "Temperature: ", temp, " C"
print ""
print ""


Output:

Code:
debian@pine64:~/i2c$ python getTemp2.py
RH read_word_data returns  0

RH:  -6.0  %


Temp read_word_data returns  10341

Temperature:  -19.1229412842  C


debian@pine64:~/i2c$


  surveillance control center for ip cameras
Posted by: Miguel Campos - 09-28-2016, 08:41 AM - Forum: Pine A64 Projects, Ideas and Tutorials - No Replies

Hi guys
   After some time having the pine finally I have decided a practical use for it.
I'm getting an ip camera for testing sricam sp013  and I will try to create some kind of control center with my pine.
so I can control then without sending data to Chinese pages :-)
and I can access it through internet.

Has any one try anything like this?
any advice on which can be a good point to start?

Regards.
Guybrush