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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 29,938
» Latest member: Ephraim
» Forum threads: 16,330
» Forum posts: 117,428

Full Statistics

Latest Threads
dead Pinebook - help plea...
Forum: General Discussion on Pinebook Pro
Last Post: williamcorlin
Yesterday, 04:22 PM
» Replies: 3
» Views: 649
Womens In Your City - Ano...
Forum: General
Last Post: Hipocrates
Yesterday, 01:01 AM
» Replies: 0
» Views: 68
BT PAN - we need iptables...
Forum: Mobian on PinePhone
Last Post: biketool
03-25-2026, 12:57 PM
» Replies: 1
» Views: 460
How can I record video on...
Forum: General Discussion on PinePhone
Last Post: baptx
03-25-2026, 12:55 PM
» Replies: 23
» Views: 18,393
u-boot rk356х (rockchip r...
Forum: Quartz64 Tutorials
Last Post: hamsterbacke
03-25-2026, 09:39 AM
» Replies: 18
» Views: 34,008
A/V output enable
Forum: Linux on Rock64
Last Post: 8lall0
03-24-2026, 04:45 PM
» Replies: 0
» Views: 68
If your USB-C port is fla...
Forum: PinePhone Pro Hardware
Last Post: Zebulon Walton
03-24-2026, 02:25 PM
» Replies: 0
» Views: 87
Pinebook problem
Forum: General Discussion on Pinebook Pro
Last Post: RicTor
03-18-2026, 08:58 AM
» Replies: 2
» Views: 4,689
Pine a64+ power supply
Forum: General Discussion on PINE A64(+)
Last Post: davidspencer
03-18-2026, 01:02 AM
» Replies: 0
» Views: 170
Private / self-hosted "Cl...
Forum: General Discussion on PinePhone
Last Post: cyberb123
03-17-2026, 11:57 AM
» Replies: 8
» Views: 7,221

 
  What are the differences between the A64+, 64-LTS (and Rock) versions?
Posted by: WhiskerBiscuit - 08-31-2017, 08:28 AM - Forum: General Discussion on PINE A64(+) - Replies (12)

I'm currently using an ODROID to provide OpenVPN services, however I also want to start to allow streaming media to clients.  The media server I want to use (AirVideo server, for iOS clients) doesn't come in a 32 bit package so I need to switch to a 64bit SBC.

First question.  What is the difference between the A64+ and the 64-LTS?  For the 2GB A64+ the only difference that I can detect is the LTS has an EMC slot and costs 3$ more.  Am I missing something else?

The new ROCK version looks intriguing.  But is it worth the extra money?  As I said, I want to use this to stream media to clients, but the specs look compatible with the Air Video Server for Linux.

Your guidance is appreciated.


  Most fastest emmc on the market?
Posted by: shirman - 08-31-2017, 08:03 AM - Forum: Pinebook Hardware and Accessories - No Replies

I want to buy new emmc, but I don't know what manufacturer is better to choose — maybe someone has any advice?


  How to Configure Screen Brightness in mate on pinebook via terinal?
Posted by: shirman - 08-31-2017, 05:50 AM - Forum: Linux on Pinebook - Replies (6)

I'm trying to bind brightness change to buttons via terminal in i3, but I can't find a command that will doing that:

Code:
pine64@pinebook:~$ sudo xrandr --listmonitors

Output is:

xrandr: Failed to get size of gamma for output default

Monitors: 1
 0: +*default 1366/361x768/203+0+0  default

So, when I trying to change it like:
Code:
pine64@pinebook:~$ sudo xrandr --output default --brightness 0.5

It isn't do anything. 

Code:
pine64@pinebook:~$ echo 240 > /sys/class/backlight/lcd0/brightness


Have not do anything too Sad


  Install pygame in Ubuntu Mate
Posted by: pkgAstronaut - 08-30-2017, 10:30 PM - Forum: Linux on Pinebook - Replies (2)

Hi all, I have been trying to install pygame using pip and have been unsuccessful so far. Has anyone had success. SO far I have installed build-dep python-pygame and libfreetype6-dev dependancies based on stack overflow searches.

My latest error is:

Code:
"Exception:
Traceback (most recent call last):
 File "/home/pine64/.local/lib/python2.7/site-packages/pip/basecommand.py", line 215, in main
   status = self.run(options, args)
 File "/home/pine64/.local/lib/python2.7/site-packages/pip/commands/install.py", line 342, in run
   prefix=options.prefix_path,
 File "/home/pine64/.local/lib/python2.7/site-packages/pip/req/req_set.py", line 784, in install
   **kwargs
 File "/home/pine64/.local/lib/python2.7/site-packages/pip/req/req_install.py", line 851, in install
   self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
 File "/home/pine64/.local/lib/python2.7/site-packages/pip/req/req_install.py", line 1064, in move_wheel_files
   isolated=self.isolated,
 File "/home/pine64/.local/lib/python2.7/site-packages/pip/wheel.py", line 345, in move_wheel_files
   clobber(source, lib_dir, True)
 File "/home/pine64/.local/lib/python2.7/site-packages/pip/wheel.py", line 316, in clobber
   ensure_dir(destdir)
 File "/home/pine64/.local/lib/python2.7/site-packages/pip/utils/__init__.py", line 83, in ensure_dir
   os.makedirs(path)
 File "/usr/lib/python2.7/os.py", line 157, in makedirs
   mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/pygame''".


  Wake on LAN (WOL)
Posted by: MORIN-KHUUR - 08-30-2017, 09:09 AM - Forum: Rock64 Hardware and Accessories - Replies (2)

hi everyone. i tried WOL. working OMV on rock64. but not wake up from suspend.
It is shifting to suspend with this command
"pm-suspend"
Also, when shifting from this command to the suspended state, pressing "PWR Btn" will not wake it up.

what should i do?


  Linux app Manuskript on Pinebook
Posted by: Siliconserf - 08-30-2017, 12:12 AM - Forum: Linux on Pinebook - Replies (6)

I'd like to install this application, but my first attempt gave an error concerning not being a correct binary image. What considerations do you need to take in looking for applications that run on Linux?


Information Brushless Fan (5v) for Rock64 Clear Case Soft PWM Drive 2N2222
Posted by: MarkHaysHarris777 - 08-30-2017, 12:08 AM - Forum: Rock64 Hardware and Accessories - Replies (7)

See full update on post #2 below:


         


I plan to mount this 5v brushless fan under the clear Rock64 shipping case using very tiny machine screws set directly into the soft plastic ( for a little later ).  The motor leads ( red +5v,  black grnd ) are plugged into the PI-2 bus voltage pins with a 2N2222 transistor in the power lead ( collector emitter ) and with the base lead plugged into the GPIO2_C2 (82) via biasing resistor.  

The theory is that a driver script ( fan_motor.sh ) will generate a soft-pwm signal to the base of the driver transistor allowing current to flow from collector to emitter;  with greatly reduced current, heat, and noise.  I have wrapped the 2N2222 transistor in an aluminum clip ( heatsink ) to help extend the life of the transistor;  the heatsink gets warm but does it's job quite well.

The simple driver script is listed below, and is also visible in the terminal pics below:

fan_motor.sh

Code:
#!/bin/sh
#        sudo ./fan_motor.sh pwm_pin# ctrl_pin# time_ON time_OFF &

while [ `cat /sys/class/gpio/gpio$2/value` -gt 0 ]; do
  echo 1 > /sys/class/gpio/gpio$1/value
  sleep $3
  echo 0 > /sys/class/gpio/gpio$1/value
  sleep $4
done
echo 0 > /sys/class/gpio/gpio$1/value


                     



The pic at the far right-hand is the fan happily spinning away !  The other two pics are views of the control terminal and the commands used to control the 2N2222 transistor bias.  The code sets up a loop that monitors the control pin ( in this case gpio83 ).  gpio83 must be set HIGH to run the loop, which runs in the background.  Momentarily pulling the control pin (83) LOW causes the loop to break and the motor will stop ( the control pin is on parm $2 ).

The control loop turns gpio(82) ON|OFF using parms $3 and $4 with a slow duty cycle in this case of 75% ON, and a frequency of about 6cps;  for a brushless fan this is perfect for keeping the fan running ( very nice airflow ) but with greatly reduced current and far less noise !

The stopled.sh script is simply a three line script that pulls the control pin low for 1.5 seconds and then releases it.  This breaks the control loop effectively stopping the motor. 

Shy


  uSD Breakout
Posted by: machinehum - 08-29-2017, 06:59 PM - Forum: Pinebook Hardware and Accessories - Replies (32)

Originally inspired by this thread I've decided to make a simple open source breakout PCB with some additional peripherals, essentially it's in the same form factor as a micro sd card, so it will be able to slot into the side of the pinebook giving the user access to some low level GPIO.

I'm just getting started now, I'll be posting updates in this thread as well it's possible to track the commits here.

Check out the github readme for the initial conception + peripherals list.

If you're interested in the project or have ideas/suggestions/feedback I would love to hear them!

-wlkr


Question Power Related Problem Questions
Posted by: p3p1 - 08-29-2017, 05:56 PM - Forum: Pinebook Hardware and Accessories - Replies (1)

I have different problem now with power plugged the power led blinks. If I unplug battery connector and then replug it, pinebook boot. If I remove power supply pinebook will turned off.


Information i3wm xenial-i3 introduction -- mate terminal & battery monitor
Posted by: MarkHaysHarris777 - 08-29-2017, 05:54 PM - Forum: Linux on Pinebook - Replies (4)

Greetings,

The purpose of this blog post is to introduce the  i3  window manager , as well the ayufan xenial-i3 pine community image.  I am a completely sold out i3wm convert ;  never going back--  i3 for me !

The i3 Window Manager Tutorials and Introductory Videos

       Tutorial Introduction from i3wm.org

       On-line Tutorial Video Part (1/3)

       On-line Tutorial Video Part (2/3)

       On-line Tutorial Video Part (3/3)

       i3wm User's Guide from i3wm.org

The above tutorials are well worth the time and effort, are fast--and fun--and will get you up and running with this super tiling windows manager on your new Pinebook !

I am currently running the 0.4.16 xenial-i3 on my Pinebook with the mate-terminal;  you may quickly want to replace the terminal on i3 because the font is so small, and because the dafault is a minimalist terminal;  the mate-terminal is fully equipped and ready to roll with nice fonts and a rich tool-bar:

       sudo apt install mate-terminal

Below I am going to show the interface of this excellent tiling window manager, and provide a batt_status.sh script which can be used to monitor your battery status more effectively than the i3 status bar.

         


The pic above is my first ( #1 ) virtual work space;  I have three terminals open--  it is clearly obvious why its called a tiling window manager.  Not to worry , floating windows are configurable too!

I'm doing some Python work in the left terminal, and in the right terminal I'm displaying the code ( also included here ) for displaying the battery status in a loop-- running in the bottom right-hand terminal of work-space #1.

I removed the battery block of my  .i3status.conf  file.  The script below ( batt_status.sh ) goes in your ~/bin/  folder and runs in a forever loop in a small terminal showing the battery current status ( charging | discharging ) the voltage in micro volts, and the percent capacity. 

Note:  the battery status bar component is broken on this image.  The script below is a simple elegant solution for battery monitoring in a tiling terminal environment.

batt_status.sh

Code:
#!/bin/bash
   
while [ 1 == 1 ]
do
   echo " capacity : " `cat /sys/class/power_supply/battery/capacity`
   echo "  voltage : " `cat /sys/class/power_supply/battery/voltage_now`
   echo "   status : " `cat /sys/class/power_supply/battery/status`
   sleep 7
done

Note:  the little quote-like characters above ARE NOT quotes-- they are back-ticks;  the little character under the tilde ( to the left of the 1 key on most keyboards ).


Remember,  i3  is a tiling window manager NOT an OS;  the operating system under the covers is ubuntu which is a debian derivative.  

Enjoy !

Shy