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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 30,094
» Latest member: minseow22
» Forum threads: 16,358
» Forum posts: 117,524

Full Statistics

Latest Threads
Manjaro affected by Arch ...
Forum: General
Last Post: tantamount
06-28-2026, 10:45 AM
» Replies: 0
» Views: 124
Fix Bricked SPI Flash, Pi...
Forum: PinePhone Pro Hardware
Last Post: FR_IV
06-27-2026, 05:00 PM
» Replies: 0
» Views: 85
irradium (based on crux l...
Forum: Linux on RockPro64
Last Post: mara
06-27-2026, 04:09 PM
» Replies: 12
» Views: 19,553
irradium (based on crux l...
Forum: Linux on Rock64
Last Post: mara
06-27-2026, 02:43 PM
» Replies: 13
» Views: 18,697
Android Gaming Image
Forum: Game Station Emulation
Last Post: Jacobgilbert
06-26-2026, 07:06 AM
» Replies: 52
» Views: 110,892
rAudio for Rock64 V2/Pine...
Forum: Linux on Rock64
Last Post: shinzuka
06-25-2026, 03:16 PM
» Replies: 11
» Views: 1,858
Big thanks for the docume...
Forum: General Discussion on Pinebook Pro
Last Post: alchemist
06-25-2026, 12:58 PM
» Replies: 0
» Views: 182
Mobian MMS/SMS text probl...
Forum: Mobian on PinePhone
Last Post: mehdy
06-23-2026, 06:53 AM
» Replies: 16
» Views: 34,459
OpenTTD game - Error: no ...
Forum: Mobian on PinePhone
Last Post: Mary_Davis
06-23-2026, 01:12 AM
» Replies: 3
» Views: 5,583
Libby - ebook reader that...
Forum: PineNote Software
Last Post: Mary_Davis
06-23-2026, 01:04 AM
» Replies: 5
» Views: 3,900

 
  ROCK64 Acrylic Enclosure Assembly
Posted by: ironhand - 08-26-2017, 02:17 PM - Forum: Rock64 Hardware and Accessories - Replies (2)

Has anyone installed his ROCK64 in the 'ROCK64 ACRYLIC OPEN ENCLOSURE'?  There don't appear to be any assembly instructions....  From the product photo, it looks like the board is supposed to be pressed onto the toothed brass standoffs that are included with the enclosure hardware but the mounting holes on the board would have to be opened-up a bit in order to be pressed on to the standoffs and not damage the board.  I don't want to open up the holes if there's something I'm missing regarding the assembly...

Thanks!

Ron


  ROCK64 STEREO AUDIO DAC ADD-ON BOARD Sketch
Posted by: killor - 08-26-2017, 07:37 AM - Forum: Rock64 Hardware and Accessories - Replies (4)

Hi !!

I have already made a first design of a wooden enclosure for Rock64
(you can see here  rock64 wooden case  )


But I want to make an adaptation for
 the Audio board called ROCK64 STEREO AUDIO DAC ADD-ON BOARD [Image: undecided.png] ...

Soo

I attach a link to download a PDF of a sketch,
 And the measures I need to make the new case Adapted for the ROCK64 audio card. too..

PDF Rock64 stereo Audio DAC sketch

Thanks for your great help ..!!  Angel


Information How To Setup Serial Console Cable Over the Pinebook
Posted by: MarkHaysHarris777 - 08-26-2017, 06:05 AM - Forum: Pinebook Hardware and Accessories - Replies (4)

Greetings,

The purpose of this photo blog is to provide a working tutorial for setting up a serial console over the Pinebook, by utilizing the audio headphone jack which also doubles as a universal asynchronous receiver|transmitter; uart(0).



Materials

You will need a usb extension cable for the serial adapter cable.  You will also need a usb ttl serial bridge adapter.  And you will need a 3.5 phone plug and cable.  The headphone jack is technically an apple style four pole 3.5 jack;  however, a three pole plug will work also.  You might also want to have some electrical tape, shrink tubing, and female header connectors;  I made my phone jack cable; however, commercial cables are available !

Theory

The serial console is the "sonic screwdriver" of the embedded world.  With it you can monitor boot-up messages, shutdown messages, and even logon to the system via serial connection with terminal software like minicom, from another system. The Pinebook's audio headphone jack has a double function;  with minimal configuration steps ( all covered here ) the headphone jack may be configured to run as a serial uart(0) device.

Procedure

                      


First let's talk about the plugs diagram pic(s) above;  the headphone jack is a four plug port, but a three pole plug will work just fine.  I have chosen to use a three pole plug for the proof of concept, and because they are readily available from the market with a cable-- ready for the female header jumpers to be installed.

In the left pic above the plugs have been labeled:  tip--Rx,  ring--Tx,  ring--Gnd.   These labels are in respect of the Pinebook; in other words, the labels are the Pinebook's pin definitions. The Pinebook receives on Rx (red wire, tip) and transmits on Tx (white wire, ring).  The second ring is the Pinebook's ground, and the collar (unused) is the Pinebook's mic connection.  The reason the three pole plug works is that the HP-jack shorts the unused mic connection to ground;  the important connections Rx, Tx, and Gnd  are all valid and fully functional.  I chose to use the right angle three pole plug in the pic, but feel free to use an actual four pole plug if you feel more comfortable with that electrical choice ( it really comes down to availability and price ).

Create the Cable

Please refer to the pics above.  I have added standard female header jumpers to my phone plug cable (solder and crimp) and then have sealed it with heat shrink tubing.  Make sure the plug is fully seated in the HP-jack-- not doing so is a common mistake which will keep your serial console from working !  You will notice from the pic of the ch340g adapter that the red Rx line from the Pinebook is plugged into the adapter Tx position, and that the white Tx line from the Pinebook is plugged into the Rx position of the adapter  (ground black is plugged into ground). The relationship is cross-wired for serial comm as follows :    ( you must use all three wires )

                                Rx-->Tx,  Tx-->Rx,  ground--ground

Please note the gold jumper in the second pic from the left.  This jumper on the ch340g (from the Pine Store) selects the logic voltage either 5v or 3v3.  Important:  always set the logic voltage to 3v3;  failure to do so can irreparably damage your Pinebook!  On the connector end of the ch340g serial adapter exist green LED(s) which will flicker during xmit and recv;  the red LED is a power indicator for the usb 5v rail.

Plug in the Cables and Connectors

I am actually using the Pine Rock64 board (desktop configuration running xenial-mate) as the serial console over the Pinebook.  I have connected the usb extension cable into the Rock64 usb2.0 lower port, and I have plugged the other end of the usb extension cable into the ch340g serial ttl bridge adapter ( make sure to set the logic jumper to 3v3, or you will damage your Pinebook!).  The ch340g adapter may be purchased from the Pine store for about $1.98 usd.  This adapter has become my standard go-to  serial adapter for all of my serial console use cases.

          Important Note:   In the pic above you will notice that all three wires are plugged in.  In practice don't do this on the outset;  only plug in the black and white wires-- only ground and the Pinebook's transmit wire ( in my case white-Tx ).   The reason for this is that often the Pinebook will not boot at all, or only partially boot, if the red wire-Rx is plugged in-- because the Tx line from the Rock64 provides 3v3 voltage (bleed current) that interferes with the Pinebook!  Start the boot-up with the red-Rx wire unplugged and then plug it in after the logon prompt appears on the console.  Failure to heed this warning will cause frustration -- words to the wise.

Start the Terminal Software

Open a terminal on your Rock64 ( or other gnu+linux computer);  this terminal will eventually be our serial console, but for the time being enter the following command after connecting the CH340g to the Rock64 usb port:

         dmesg  |tail  -n  10

Assuming the kernel can "see" your CH340g you should see this line in the output:

          usb ch341-uart converter now attached to /dev/ttyUSB0

If your device is different, please make a note of it;  you will use that device name in the minicom initialization command string below!

I prefer to use minicom for my terminal software-- it is the old standby;  others will work like "screen,"  or "cu".  Minicom is the best in my opinion;  the most flexible, and has the most features.  Please refer to the minicom man page for details. From a terminal on the Rock64 I start minicom with the command sequence :

          sudo  minicom  -s  -D  /dev/ttyUSB0  -b  115200  --color=on

The  -s  flag will take you into the minicom configuration panel;  choose Serial Port Setup and confirm the following defaults;  make sure the software and hardware flow controls are both set to NO.

      device  /dev/ttyUSB0
      baud  115200
      parms  8n1    8 bits,  no parity,  1 stopbit

... on the same panel press enter,  then select 'exit' and press enter again;  the serial terminal emulation software should now be running.

Set the Pinebook for uart(0) mode, and plug in the 3.5 jack plug

To use the uart(0) serial port you must toggle a switch inside the Pinebook.  Please refer to this link for details.

Also you will need to shutdown the headphones service in systemd with the following command:

           sudo  systemctl  disable  pinebook-headphones     ( important )

          plug in the 3.5 cable plug

Power-ON the Pinebook

With all connections made, and the terminal software running on the Rock64,  power up the Pinebook by pressing the power button briefly.  Almost immediately (everything being correct) boot-up messages will begin flowing on the serial console, culminating in a logon prompt  ( at this time plug in the red-Rx wire from the Pinebook to the ch340g ). 

   

The pic above is the console running on my Rock64.   I have logged on to the Pinebook and run some commands, the output(s) of which you can see here.

We now have a serial console running. We can use it for boot diagnostics, as a control terminal interface and to view the power-off messages as well.

Press the power button;  the shutdown dialogue will appear on the Pinebook.  Select 'shutdown' and again, almost immediately the shutdown messages will scroll down the serial console culminating in systemd  target shutdown , and then the Pinebook should power off. 

Close the Terminal Software

Press Ctrl + A on the serial console minicom software.  Then press x followed by the enter key.  Minicom will exit


Information Pinebook Linux Power-Down Procedure
Posted by: MarkHaysHarris777 - 08-26-2017, 03:12 AM - Forum: Linux on Pinebook - Replies (3)

Greetings, 

The Pinebook Linux Power-Down Procedure that has been found to be most effective (although not 100% reliable) is to use the "power button" to pull up the shutdown dialogue !




Testing has shown that if the shutdown command happens in a terminal (or serial console), or if it is selected with the mouse from the System menu or the tool-bar the system  correctly hits the systemd target shutdown;  however, the hardware ARISC PMIC does not power off the system.

On the other hand,  if the user will press the actual "power button"  (upper right hand key on the keyboard)  then after the systemd  target shutdown the hardware will correctly (most of the time) power off the hardware.

... but don't trust it,  check it !!


Shy


  Pinebook first impressions
Posted by: Pagliacci - 08-26-2017, 02:18 AM - Forum: General Discussion on Pinebook - Replies (11)

Just received the Pinebook.

First impressions and thoughts.

At first all seemed well.

The battery was 95% charged upon delivery so that was an improvement on many people's experience (flat due to not shutting down properly after testing).

Then I spotted a stuck LCD panel pixel - just a single pixel off to the upper left screen permanently green. Poor QA. Should never have left the factory in that condition.

More concerning is quite serious keyboard faults. For some reason I can't fathom, the '-' (minus) key (between '0' (zero) and '+' (plus) produces multiple key presses on a single quick touch, and then sticks causing repeat characters until I hit another key. Disabling the key repeat in the Mate operating system helps, but why the fault?

I've checked the seating of the ribbon cable. It is fine. I've even lifted off the key cap. No difference with the key cap off and no change when I pop it back on either.

Additionally, I later found that the combination left Shift and 'm' does not produce a capital 'M'. It doesn't produce any key press. The right Shift combined with 'm' correctly produces 'M'.

I can't work out how, if or whether this could be a physical hardware problem or a software scan problem.

Finally, there is no video output to the mini HDMI port on the left hand side on the Pinebook. Should this work yet or do I need to wait for a driver update?

I also have a Rock64, 4GB RAM with 64GB eMMC, which I am very impressed with. I even managed to flash the eMMC without faffing about with a console cable. Just used a jumper cable (actually a GPIO wire from my several Raspberry Pi models!), waited for a few seconds so both eMMC and microSD card were visible to the system, booted off the SD and then wrote an image to /dev/mmcblk0 (the eMMC)

On the whole I am quite disappointed with the Pinebook and regret buying it.  I am pleasantly surprised with the Rock64 which seems to hold much promise. I'm glad I didn't suffer the dreadful experiences with the original Pine64. But I feel I've been stung with the Pinebook. Should have just stuck with the order for the Rock. Oh well!

Any advice and comments would be welcome.


  android 7.1 v0.3.10-r66 wifi issues
Posted by: m1ntamorph - 08-26-2017, 01:40 AM - Forum: Android on Pinebook - No Replies

Hi ,

I have noticed the 90% of the times when I turn on the pinebook the wifi does not work. If I check the settings it seems to be active and  stuck at looking for hotspots. No amount of starting /stopping the wifi works.  The only way to fix this is to  activate Flight Mode and then deactivate it after a few seconds. Any idea? Any suggestion for a permanent fix ? Thanks


Exclamation Pinebook uart(0) Slider Switch Enable -- Disables left-hand USB Port
Posted by: MarkHaysHarris777 - 08-25-2017, 11:12 PM - Forum: Pinebook Hardware and Accessories - Replies (1)

Greetings, 

Please see this reference link:

The uart(0) enable slider switch on the Pinebook main board (while working) disables the left-hand usb port !

In this mode the left-hand USB port is completely disabled on my Pinebook;  I am interested in knowing if others have seen this, or if this is an anomaly on my unit.

Thanks

Blush 


Note:  when the slider switch is restored, the left-hand port becomes active again !

( solidly reproducible on my unit )


  Cannot select resolution past FullHD
Posted by: Lexstar - 08-25-2017, 04:34 PM - Forum: Android on Rock64 - No Replies

Any reason I can't select a resolution past 1080p@60fps on my 1440p Dell U2515H monitor on ayufans android TV image? (android-7.1-rock-64-rock64_atv-v0.2.15-r77-update.zip)


  How to upgrade an existing Android eMMC load with new release
Posted by: Farley56 - 08-25-2017, 12:31 PM - Forum: Android on Rock64 - Replies (4)

If I have an existing Rock64 eMMC Android load running how do I update to the newly released Android image without wiping out any changes I'd made to the load (apps installed, Google account signed in, settings tweaked, etc.)? Do I pull the "update" zip package, unpack it and then run the update.img using the Androidtool? If so, will that write over the my existing Android image on the eMMC module or just update it?  I've looked on the forum and github but haven't found much yet. By the way, the instructions for flashing the eMMC image worked flawlessly once I located a USB A to A cable. Nice work.


  Pinebook Sensors
Posted by: BUBLOS - 08-25-2017, 12:22 PM - Forum: Pinebook Hardware and Accessories - Replies (2)

hey,
does someone know how to check the temeprature on the pinebook in real time? i have tried "lm-sensors" but it didn't work because the pinebook doesn't have any sensors. 
i would appreciate any help.