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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 29,773
» Latest member: Slice Master
» Forum threads: 16,285
» Forum posts: 117,304

Full Statistics

Latest Threads
Booting Issues
Forum: PineNote Software
Last Post: d2minik
Yesterday, 12:44 PM
» Replies: 22
» Views: 16,101
Window Maker Live for Pin...
Forum: Linux on Pinebook Pro
Last Post: vajak
12-24-2025, 06:00 AM
» Replies: 2
» Views: 385
Rrkisp issue with CSI cam...
Forum: Linux on Quartz64
Last Post: lystar
12-24-2025, 02:34 AM
» Replies: 1
» Views: 3,765
bookworm vs trixie discus...
Forum: Mobian on PinePhone
Last Post: Kevin Kofler
12-24-2025, 12:11 AM
» Replies: 80
» Views: 45,631
Fedora + Phosh for PinePh...
Forum: PinePhone Software
Last Post: shanehill@mail.com
12-23-2025, 09:12 PM
» Replies: 75
» Views: 201,009
Trixie - bring up the On ...
Forum: Mobian on PinePhone
Last Post: grump_fiddle_reinstall
12-23-2025, 04:34 AM
» Replies: 0
» Views: 82
On-Screen Keyboard Arrow ...
Forum: Mobian on PinePhone
Last Post: grump_fiddle_reinstall
12-23-2025, 04:25 AM
» Replies: 11
» Views: 6,082
Armbian has been released...
Forum: News
Last Post: ArmbianForSBCs
12-23-2025, 01:36 AM
» Replies: 21
» Views: 32,326
Alarm clock doesn’t work
Forum: Mobian on PinePhone
Last Post: biketool
12-23-2025, 12:12 AM
» Replies: 14
» Views: 24,448
Diagnosing and fixing fai...
Forum: PinePhone Pro Software
Last Post: biketool
12-22-2025, 11:59 PM
» Replies: 7
» Views: 626

 
  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?


  Dual Boot on eMMC?
Posted by: d97 - 08-29-2017, 04:35 PM - Forum: General Discussion on Pinebook - Replies (1)

Hi all - I just received my Pinebook yesterday and I have really enjoyed the couple of hours that I have had to mess around with it.  (Definitely pleased that I have not experienced any of the DHL cracked screen / dead pixel / wonky keyboard issues that people have been writing about.)  

I am still trying to get comfortable with the different OSes that are available to us and, after installing Android 6 and then flipping the machine back to Mate, I started wondering if anybody had given any thought to dual-booting the machine.  Would something like this be possible? 

Yeah, I suppose I could keep an SD card around and have one OS on it but, well, dual booting would be convenient.  

I have enjoyed reading the forum over the last couple of days as I waited for my machine to arrive.

D.


  sick of Ubuntu mate
Posted by: abrmx - 08-29-2017, 02:23 PM - Forum: General Discussion on Pinebook - Replies (17)

Hello

Im sick about ubuntu mate..... too slow!!!

What do you recommend, Q4OS or Armbian?
I will install it on eMMC

Thanks


  Compiling and installing Wifi driver
Posted by: Lexstar - 08-29-2017, 07:05 AM - Forum: Linux on Rock64 - Replies (20)

Hey guys, Linux newbie here. I got my Rock64 running with the new ubuntu image (xenial-mate-rock64-0.5.5-93-arm64.img.xz) and I'm trying to compile the Wifi+BT driver for my combo USB dongle. I cloned the git repo (Git) and tried compile it with "sudo make", but I keep getting an error. Anybody here can help me out?

Code:
rock64@rock64:~/.git/rtl8723bu$ sudo make
[sudo] password for rock64:
make ARCH=aarch64 CROSS_COMPILE= -C /lib/modules/4.4.77-rockchip-ayufan-93/build M=/home/rock64/.git/rtl8723bu  modules
make[1]: Entering directory '/usr/src/linux-headers-4.4.77-rockchip-ayufan-93'
Makefile:634: arch/aarch64/Makefile: No such file or directory
make[1]: *** No rule to make target 'arch/aarch64/Makefile'.  Stop.
make[1]: Leaving directory '/usr/src/linux-headers-4.4.77-rockchip-ayufan-93'
Makefile:321: recipe for target 'modules' failed
make: *** [modules] Error 2

I already tried installing the linux-headers from ayufans repo with dpkg, didn't help. The same command works on my normal ubuntu PC.


  yuntab B102 firmware?
Posted by: sal82 - 08-28-2017, 11:46 PM - Forum: Android on Pine A64(+) - Replies (2)

hi. i have a yuntab B102(tulip-p1) tablet with an allwinner chipset that is stuck on the initial boot screen. i can enter recovery, but nothing in it resolves anything...

1. rebooting to bootloader freezes at the initial boot screen
2. factory reset works, but doesn't help
3. mounting system the 1st time actually caused this problem for some reason. no modifying.

i have tried the (HDMI version) marshmallow firmware(that's what it came with) rooted and no root. all i get is a blank screen when trying to boot. i don't know what else to do.

any suggestions?