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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 30,299
» Latest member: NikolosU
» Forum threads: 16,399
» Forum posts: 117,679

Full Statistics

Latest Threads
Anyone using a Pinebook P...
Forum: General
Last Post: noahclark
Yesterday, 11:07 PM
» Replies: 0
» Views: 65
Brother laser printer cho...
Forum: General
Last Post: benjaminnelson
Yesterday, 06:00 PM
» Replies: 0
» Views: 67
Is FlutterFlow worth it f...
Forum: General
Last Post: elizabethtaylor
Yesterday, 11:54 AM
» Replies: 0
» Views: 72
What about a Pine digital...
Forum: General
Last Post: NorrisFByrd
Yesterday, 02:47 AM
» Replies: 9
» Views: 12,785
Scheduling Challenges and...
Forum: General
Last Post: NorrisFByrd
Yesterday, 02:46 AM
» Replies: 3
» Views: 323
PineTab-V Experiences
Forum: General Discussion on PineTab
Last Post: elizabethtaylor
11-11-2026, 05:30 PM
» Replies: 1
» Views: 684
Booting Issues
Forum: PineNote Software
Last Post: benjaminnelson
11-11-2026, 02:22 PM
» Replies: 26
» Views: 26,957
StarPro64 Irradium (based...
Forum: Getting Started
Last Post: mara
11-11-2026, 01:07 PM
» Replies: 28
» Views: 17,082
Video Editing Is Possible...
Forum: General Discussion on Pinebook Pro
Last Post: noahclark
11-10-2026, 09:48 PM
» Replies: 12
» Views: 17,524
Boot Order in Pinebook Pr...
Forum: Linux on Pinebook Pro
Last Post: noahclark
11-10-2026, 08:39 PM
» Replies: 14
» Views: 19,406

 
  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


  Kodi/LibreELEC on a 1Gb board
Posted by: smp - 08-29-2017, 05:08 PM - Forum: Linux on Rock64 - Replies (1)

Will 1 Gb board be enough for Kodi?