| Welcome, Guest |
You have to register before you can post on our site.
|
| Forum Statistics |
» Members: 29,858
» Latest member: authorjaw
» Forum threads: 16,313
» Forum posts: 117,377
Full Statistics
|
| Latest Threads |
Pinebook Pro in EU for Sa...
Forum: General Discussion on Pinebook Pro
Last Post: Anthona
Today, 12:50 AM
» Replies: 5
» Views: 7,330
|
New Pinetab- error when a...
Forum: PineTab Software
Last Post: authorjaw
Yesterday, 08:19 PM
» Replies: 0
» Views: 33
|
What about a Pine digital...
Forum: General
Last Post: gwennelsonuk
Yesterday, 08:11 PM
» Replies: 8
» Views: 8,033
|
Proposal: an open mp3/med...
Forum: General
Last Post: gwennelsonuk
Yesterday, 08:08 PM
» Replies: 1
» Views: 41
|
Pinephone (Pro) Keyboard ...
Forum: PinePhone Accessories
Last Post: Ondy
Yesterday, 07:41 PM
» Replies: 7
» Views: 14,803
|
Ethernet does not work
Forum: Ethernet Port
Last Post: zetabeta
02-06-2026, 11:58 PM
» Replies: 1
» Views: 68
|
Fitting new case
Forum: Pinebook Pro Hardware and Accessories
Last Post: RicTor
02-06-2026, 07:09 AM
» Replies: 0
» Views: 68
|
Rockchip gets DMCA'ed on ...
Forum: General Discussion on PinePhone
Last Post: hanmira
02-04-2026, 08:43 PM
» Replies: 3
» Views: 697
|
Advice on PineNote
Forum: General Discussion on PineNote
Last Post: LogicalAtomist
02-04-2026, 06:51 PM
» Replies: 0
» Views: 119
|
curious iPhone user here
Forum: General Discussion of PinePhone Pro
Last Post: zetabeta
02-03-2026, 03:18 AM
» Replies: 23
» Views: 9,783
|
|
|
| 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
|
|
|
|
| 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:~$
|
|
|
|
| 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).
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
|
|
|
|
| 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 ) 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.
|
|
|
|
|