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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 29,206
» Latest member: Acestep
» Forum threads: 16,119
» Forum posts: 116,579

Full Statistics

Latest Threads
Calls on ppp
Forum: PinePhone Pro Software
Last Post: chbwzxgk
3 hours ago
» Replies: 6
» Views: 138
bookworm vs trixie discus...
Forum: Mobian on PinePhone
Last Post: anonymous
Today, 03:28 AM
» Replies: 62
» Views: 16,063
New pinetab2 - can't char...
Forum: General Discussion on PineTab
Last Post: tmhorne
Yesterday, 12:42 PM
» Replies: 10
» Views: 1,502
Case for the rock64 that ...
Forum: Rock64 Hardware and Accessories
Last Post: tophneal
Yesterday, 07:32 AM
» Replies: 2
» Views: 1,156
SOQuartz64 4GB CM & Waves...
Forum: Quartz64 Hardware and Accessories
Last Post: Nicholas97
Yesterday, 02:35 AM
» Replies: 3
» Views: 2,163
Pinephone + Keyboard for ...
Forum: PinePhone Hardware
Last Post: FONJGS55
05-11-2025, 07:51 AM
» Replies: 8
» Views: 1,632
Page turner for PineNote ...
Forum: PineNote Software
Last Post: macmartin
05-09-2025, 09:10 AM
» Replies: 0
» Views: 155
How to improve KDE plasma...
Forum: PineTab Software
Last Post: Kevin Kofler
05-08-2025, 05:02 PM
» Replies: 2
» Views: 204
Star64 Irradium (based on...
Forum: Getting Started
Last Post: mara
05-07-2025, 04:20 PM
» Replies: 4
» Views: 2,065
Star64: GPU firmware load...
Forum: Getting Started
Last Post: mara
05-06-2025, 11:44 AM
» Replies: 15
» Views: 10,299

 
  Need Asound.state file with mic enabled
Posted by: muromec - 08-12-2023, 05:54 AM - Forum: Linux on Pine A64(+) - Replies (1)

Hello,

I have archlinux running on pine64+, everything is fine except mic input. Output to 3.5mm jack works nice, but I can't get recording anything. Can you please share asound.state file with mic enabled.
So far I went through sound codec code and tried to enabled the path from Mic2 -> DAC Mixer -> AIF1 -> Capture, but only thing I'm having is white noise.

Here is some debug info from capture:

Code:
$ cat './1c22e00.codec/dapm/AIF1 Capture'
AIF1 Capture: On  in 4 out 1
stream AIF1 Capture active
out  "static" "Capture"
in  "static" "AIF1 AD0L"
$ cat /sys/kernel/debug/asoc/sun50i-a64-audio/1c22e00.codec/dapm/AIF1 AD0L
AIF1 AD0L: Off  in 4 out 0 - R68(0x44) mask 0x8000
stream AIF1 Capture inactive
out  "static" "AIF1 Capture"
in  "static" "AIF1 AD0L Stereo Mux"
in  "static" "RST AIF1"
$ cat './1c22e00.codec/dapm/AIF1 AD0L'
AIF1 AD0L: On  in 4 out 1 - R68(0x44) mask 0x8000
stream AIF1 Capture inactive
out  "static" "AIF1 Capture"
in  "static" "AIF1 AD0L Stereo Mux"
in  "static" "RST AIF1"
$ cat './1c22e00.codec/dapm/AIF1 AD0L Stereo Mux'
AIF1 AD0L Stereo Mux: On  in 4 out 1
out  "static" "AIF1 AD0L"
in  "Sum Mono" "AIF1 AD0R Mixer"
in  "Sum Mono" "AIF1 AD0L Mixer"
$ cat './1f015c0.codec-analog/dapm/Mic2 Amplifier'
Mic2 Amplifier: On  in 1 out 2 - R8(0x8) mask 0x8
out  "Mic2 Capture Switch" "Right ADC Mixer"
out  "Mic2 Capture Switch" "Left ADC Mixer"
in  "static" "MIC2"


  Virtual keyboard for decrypting the disk
Posted by: LienRag - 08-10-2023, 12:32 PM - Forum: PinePhone Software - Replies (3)

I installed a Lenovo tablet (an x86 model) with a vanilla Debian, and one of the problems is that at boot, when prompted for the password that decrypts the disk, there is no virtual keyboard that spawns, which means that the tablet is not usable if one hasn't a USB keyboard nearby during boot.

It's quite logical that the minimum software loaded to decrypt LUKS doesn't have a virtual keyboard in it, but that made me think : how does Pinephone manage it ? I have an encrypted Pinephone, and (luckily for me) the virtual keyboard spawns when I boot, so that I can decrypt the partition which has the OS.

Not that I'd be able to port this solution to a Debian tablet, but still it made me curious...


  [Presentation] What's inside a PinePhone? Exploring the internals with Apache NuttX
Posted by: lupyuen - 08-09-2023, 09:43 PM - Forum: PinePhone Software - No Replies

At the Apache Asia Conference "Community Over Code" (19 Aug 2023), I'll talk (remotely) about Apache NuttX Real-Time Operating System (RTOS) for PinePhone. Here are the pre-recorded video and presentation slides...

Video Presentation

PDF Slides with Transcript

Presentation Slides

What's inside a Smartphone? Exploring the internals with Apache NuttX Real-Time Operating System

Smartphones are incredibly complex gadgets. What if we could learn the internals of smartphones... By booting Apache NuttX RTOS (Real-Time Operating System) on our phone?

Over the past year, we have written a series of 24 articles explaining the inner workings of PINE64 PinePhone, and how we implemented the smartphone features with Apache NuttX RTOS.

The articles cover the essential (and esoteric) topics on smartphone technology: MIPI DSI LCD Display, I2C Touch Panel, USB Controller, LTE Modem, Accelerometer / Gyroscope, Arm64 Interrupts and many more.

We are also experimenting with newer, easier ways to create Smartphone Apps, with LVGL Graphics Library, Zig Programming Language, WebAssembly Simulation and Arm64 Emulation.

More about Apache NuttX RTOS for PinePhone

Articles on Apache NuttX RTOS for PinePhone

Apache NuttX RTOS for Star64 64-bit RISC-V SBC (StarFive JH7110)


  can't get any audio to work
Posted by: gadgetguy - 08-09-2023, 02:19 PM - Forum: P64-LTS / SOPINE Hardware, Accessories and POT - No Replies

I have a couple of PINE A64(+) boards and I use the hdmi audio, which works fine. I have script with a pactl command to set the sink automatically and it then works.

I how have several LTS boards, and I can not get any audio/sound (headphone jack or HDMI) to work on the LTS/SOPINE linux version.
I am running Armbian 23.02.2 Buster with Lumix 5.15.93-sunxi64. I run apt update -> upgrade to keep up to date.

I have tried the html sound coming out of my monitor, it doesn't work, but I have ready that its not support in the LTS release.
I have also tried the headphone jack. I test using play and aplay. They both look like they are generating audio, but nothing comes out.

When I try to run pactl, I get:
# pactl info
Connection failure: Connection refused
pa_context_connect() failed: Connection refused


My DTC listing for sound is:
/dts-v1/;

/ {
#address-cells = < 0x01 >;
model = "SoPine with baseboard";
serial-number = "92c0a5baf0f6ec54";
#size-cells = < 0x01 >;
interrupt-parent = < 0x01 >;
compatible = "pine64,sopine-baseboard\0pine64,sopine\0allwinner,sun50i-a64";

sound {
simple-audio-card,name = "sun50i-a64-audio";
#address-cells = < 0x01 >;
simple-audio-card,aux-devs = < 0x12 >;
simple-audio-card,widgets = "Microphone\0Microphone Jack\0Headphone\0Headphone Jack";
simple-audio-card,routing = "Left DAC\0DACL\0Right DAC\0DACR\0Headphone Jack\0HP\0ADCL\0Left ADC\0ADCR\0Right ADC\0MIC2\0Microphone Jack";
#size-cells = < 0x00 >;
compatible = "simple-audio-card";
status = "okay";
phandle = < 0x58 >;

simple-audio-card,dai-link@0 {
mclk-fs = < 0x80 >;
format = "i2s";
frame-master = < 0x13 >;
bitclock-master = < 0x13 >;

cpu {
phandle = < 0x13 >;
sound-dai = < 0x14 >;
};

codec {
phandle = < 0x59 >;
sound-dai = < 0x15 0x00 >;
};
};
};

sound_hdmi {
compatible = "allwinner,sun9i-a80-hdmi-audio\0allwinner,sun50i-a64-hdmi-audio";
status = "okay";
phandle = < 0x5a >;

cpu {
sound-dai = < 0x17 >;
};

codec {
sound-dai = < 0x16 >;
};
};
};


(sorry all the indenting is lost).\\I can post a screen shot of running alsamixer if that helps.

Any recommendations/things to test will be appreciated.


  Battery life thread: discussion, support and tips
Posted by: apink - 08-09-2023, 12:50 PM - Forum: PinePhone Pro Software - Replies (12)

This is an invitation to discuss the status and development of ppp battery life using various software configurations.  Please feel free to let us know the following;
    -the os you are using,
    -your battery life performance:
        -idle performance,
        -active use performance,
    -any tweaks or settings that helped with your system.

I am currently using postmarketos edge and getting around 4 hours battery life while suspended and around 1 hour while doing light browsing, depending on screen brightness.


  shipping time?
Posted by: killick - 08-09-2023, 09:59 AM - Forum: General Discussion on PineTime - Replies (3)

Hi.  How many months did you have to wait to get your pineTime? I am in my second month of waiting. I have tried writing to sales (3 times) and I tried writing to @pine64@fosstodon.org (2 times) but have never had a reply. 

When I ordered on June 24, I got a notice that the device had shipped on June 27. But something went wrong. I put in a support ticket and was told that there was a problem getting the device out of China and that I would hear about a new shipment soon, but I never heard back. When I went back to support, they fobbed me off to sales. When sales never replied, I tried going back to support, but they have stopped responding, too. Should I try and get my money back from my credit card company? Did pine64 go out of business?

Thanks,

Killick


  Battery
Posted by: mshelby - 08-09-2023, 09:11 AM - Forum: PineTab Hardware - Replies (2)

Anybody else having issue that battery seems to run down rapidly, and the "charging. Time to full charge" estimates are really long?

I have a dell tablet with the same plug in charging port. The wall plug in charging chord charges my tablet in about 30 minutes. When I plug the same chord into the pinetab I get a "time to fully charged" estimate of 7 hours or more! My battery is listed as "battery_rk817" I believe.

Anyone else noticed this?


  Remove modem firmware
Posted by: aular - 08-09-2023, 07:19 AM - Forum: Arch Linux on PinePhone - Replies (10)

How or where can I remove all the modem firmware from the phone. I know about the exploit in the firmware but that is not my main concern right now. My main goal at this time is to remove all traces and files of the qucell modem and just leave the modem empty. I have other plans for that later. If that modem firmware has dependency issues is there a way to fill those files with empty slots with empty files and garbage to hold up the phone from breaking. Thanks


  SOQuartz BLADE 3D server rack screws
Posted by: agriffith2134 - 08-08-2023, 08:35 PM - Forum: Quartz64 Hardware and Accessories - Replies (1)

Hi,

What screws are recommended for assembling the SOQuartz BLADE 3D Print 1U full width server rack?


  SOQuartz BLADE 1U Rack Screw Details
Posted by: agriffith2134 - 08-08-2023, 05:58 PM - Forum: Getting Started - No Replies

Does anyone have any screw size/type recommendations for use with the 3D-printable SOQuartz BLADE 1U Rack?