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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 29,766
» Latest member: lystar
» Forum threads: 16,285
» Forum posts: 117,303

Full Statistics

Latest Threads
Window Maker Live for Pin...
Forum: Linux on Pinebook Pro
Last Post: vajak
9 hours ago
» Replies: 2
» Views: 356
Rrkisp issue with CSI cam...
Forum: Linux on Quartz64
Last Post: lystar
Today, 02:34 AM
» Replies: 1
» Views: 3,687
bookworm vs trixie discus...
Forum: Mobian on PinePhone
Last Post: Kevin Kofler
Today, 12:11 AM
» Replies: 80
» Views: 45,456
Fedora + Phosh for PinePh...
Forum: PinePhone Software
Last Post: shanehill@mail.com
Yesterday, 09:12 PM
» Replies: 75
» Views: 200,235
Trixie - bring up the On ...
Forum: Mobian on PinePhone
Last Post: grump_fiddle_reinstall
Yesterday, 04:34 AM
» Replies: 0
» Views: 55
On-Screen Keyboard Arrow ...
Forum: Mobian on PinePhone
Last Post: grump_fiddle_reinstall
Yesterday, 04:25 AM
» Replies: 11
» Views: 6,009
Armbian has been released...
Forum: News
Last Post: ArmbianForSBCs
Yesterday, 01:36 AM
» Replies: 21
» Views: 32,200
Alarm clock doesn’t work
Forum: Mobian on PinePhone
Last Post: biketool
Yesterday, 12:12 AM
» Replies: 14
» Views: 24,399
Diagnosing and fixing fai...
Forum: PinePhone Pro Software
Last Post: biketool
12-22-2025, 11:59 PM
» Replies: 7
» Views: 589
No phone call audio, logs...
Forum: PinePhone Pro Hardware
Last Post: biketool
12-22-2025, 05:09 PM
» Replies: 12
» Views: 809

 
  Unable to start Pine
Posted by: Topgun505 - 10-01-2016, 11:58 AM - Forum: Ubuntu - Replies (16)

So I have a 2GB Pine.  

I downloaded the Ubuntu file
xubuntu-xenial-mate-20160528-longsleep-pine64-8GB.img

I use the Etcher program to transfer the file to a 128GB class 10 micro SD card and it appears to install but when it goes to validate it hangs at 99% and never finishes.  If I look at the card through windows it appears to have written a number of files to the card.  

I tried putting the card in to the Pine and boot it up (using a USB mouse and keyboard plugged in, and using the AC adapter that came with the Pine) ... and plugged in to a 24" monitor with a HDMI cable.  

I get absolutely nothing on the screen, no BIOS of any sort, no indication it is trying to boot from the SD card.  Nothing.

Suggestions?


  zwave module not available
Posted by: eric - 10-01-2016, 08:28 AM - Forum: openHAB - Replies (4)

Hi, 

I'm using the pine64_openhab_20160915_8GB.img image with the zwave module and adapter for the PI2 GPIO header but it seems as if the zwave module is not detected. The module should turn up as /dev/ttyS2 but from syslog all I get is:

Sep 24 07:57:58 openhab kernel: [    8.285353] uart2: ttyS2 at MMIO 0x1c28800 (irq = 34) is a SUNXI

And then in openhab.log:

Code:
2016-10-01 14:25:21.389 [INFO ] [ing.zwave.handler.ZWaveSerialHandler] - Connecting to serial port '/dev/ttyS2'
2016-10-01 14:25:21.485 [INFO ] [ing.zwave.handler.ZWaveSerialHandler] - Serial port is initialized
2016-10-01 14:25:21.504 [INFO ] [mmandclass.ZWaveSecurityCommandClass] - Update networkKey
2016-10-01 14:25:21.532 [INFO ] [ve.internal.protocol.ZWaveController] - Starting ZWave controller
2016-10-01 14:25:21.534 [INFO ] [ve.internal.protocol.ZWaveController] - ZWave timeout is set to 5000ms. Soft reset is false.
2016-10-01 14:25:21.990 [INFO ] [ing.zwave.handler.ZWaveSerialHandler] - Stopped ZWave serial handler
2016-10-01 14:25:21.998 [WARN ] [mon.registry.AbstractManagedProvider] - Could not update element with key zwave:serial_zstick:board in ManagedThingProvider, because it does not exists.
2016-10-01 14:25:22.001 [WARN ] [.core.thing.binding.BaseThingHandler] - Error while applying configuration changes: 'IllegalStateException: Could not update thing zwave:serial_zstick:board. Most likely because it is read-only.' - reverting configuration changes on thing 'zwave:serial_zstick:board'.


Any ideas on what could be wrong?

/Eric


  How do I change the default sound card?
Posted by: zirconx - 10-01-2016, 07:18 AM - Forum: Linux on Pine A64(+) - Replies (2)

I would like to change the default audio to the headphone jack. I am running dietPi (no gui/de).  I know I can change the alsa default card with an environment variable or asound.conf, but I think that only affects alsa utilities. I'm also using sox, so I just want to change the default (first) card at the OS level.  Actually I could settle for getting sox to pick up a different card by default but I have not been successful in that.

So I think I need to create a file in /etc/modprobe.d, with lines like 


Quote:options sunxi_sndcodec index=0
options sunxi_codec index=1

I also tried reversing them:
Quote:options sunxi_codec index=0
options sunxi_sndcodec index=1

but it's not working. The hdmi output is always listed as the first card.


Code:
root@DietPi:~# cat /proc/asound/cards
 0 [sndhdmi        ]: sndhdmi - sndhdmi
                      sndhdmi
 1 [audiocodec     ]: audiocodec - audiocodec
                      audiocodec

I'm just guessing at the driver names based on lsmod. Any ideas? Thanks.

here's the output of lsmod.

Code:
root@DietPi:~# lsmod
Module                  Size  Used by
vfe_v4l2              747618  0
videobuf2_dma_contig    17668  1 vfe_v4l2
ir_lirc_codec          12756  0
lirc_dev               17032  1 ir_lirc_codec
videobuf2_memops       12546  1 videobuf2_dma_contig
mali                  199851  0
ir_sanyo_decoder       12491  0
ir_sony_decoder        12489  0
ir_jvc_decoder         12487  0
ir_mce_kbd_decoder     12628  0
ir_nec_decoder         12487  0
ir_rc5_decoder         12487  0
ir_rc6_decoder         12520  0
sunxi_ir_rx            12902  0
videobuf2_core         30952  1 vfe_v4l2
vfe_io                 34085  1 vfe_v4l2
ss                     33083  0
cedar_ve               17368  0
sunxi_i2s              13081  2
sunxi_sndcodec         17150  1
sunxi_codec            63040  1


Photo 3D Printed Brick case
Posted by: harlandraka - 10-01-2016, 05:08 AM - Forum: Enclosures - Replies (1)

Hi all,

I wanted to create an easy to mount and nice looking case, so here it is.

It's 3D printable and is made with a box, a sliding element and a single screw to hold all together.

This case works but is still under development, I'm thinking about adding some holes for cooling fans.

I hope you'll like it!
Let me know what you think of it, any suggestion will be highly appreciated Smile


http://www.thingiverse.com/thing:1694943


   


  mounting rootfs
Posted by: Shai - 10-01-2016, 02:43 AM - Forum: Linux on Pine A64(+) - Replies (1)

Hello I am running Ubuntu on pine64 i would like to mount system rootfs 

how can it be done?

Welcome to Ubuntu 16.04 LTS (GNU/Linux 3.10.101-4-pine64-longsleep aarch64)

Linux localhost.localdomain 3.10.101-4-pine64-longsleep #51 SMP PREEMPT Thu May 26 18:20:37 CEST 2016 aarch64 aarch64 aarch64 GNU/Linux

ubuntu@localhost:~


  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.