| Welcome, Guest |
You have to register before you can post on our site.
|
| Forum Statistics |
» Members: 29,708
» Latest member: Ninjacat
» Forum threads: 16,262
» Forum posts: 117,201
Full Statistics
|
| Latest Threads |
what is the point?
Forum: General Discussion on PinePhone
Last Post: zetabeta
38 minutes ago
» Replies: 2
» Views: 55
|
irradium (based on crux l...
Forum: Linux on Rock64
Last Post: mara
2 hours ago
» Replies: 10
» Views: 15,920
|
irradium (based on crux l...
Forum: Linux on RockPro64
Last Post: mara
Yesterday, 02:45 PM
» Replies: 10
» Views: 16,844
|
PinePhone, PinePhone Pro,...
Forum: PinePhone Hardware
Last Post: j_s
Yesterday, 11:33 AM
» Replies: 4
» Views: 215
|
Quill OS for the PineNote
Forum: PineNote Software
Last Post: JhonSmith
Yesterday, 01:42 AM
» Replies: 1
» Views: 118
|
auto-owning the SD card i...
Forum: PineTab Software
Last Post: biketool
11-25-2025, 04:16 AM
» Replies: 1
» Views: 400
|
Old Danctnix server in Pa...
Forum: PineTab Software
Last Post: Stunnned
11-24-2025, 01:27 PM
» Replies: 2
» Views: 228
|
Volumio (PINE A64-LTS / S...
Forum: Linux on PINE A64-LTS / SOPINE
Last Post: kapqa
11-23-2025, 02:02 AM
» Replies: 8
» Views: 15,567
|
Reinstallation Arch Linux...
Forum: General Discussion on PineTab
Last Post: rth
11-22-2025, 08:25 PM
» Replies: 1
» Views: 249
|
Recycling pinephone as ho...
Forum: PinePhone Hardware
Last Post: biketool
11-20-2025, 09:04 AM
» Replies: 5
» Views: 669
|
|
|
| Accessing UART4 on RockPro64 (Armbian) |
|
Posted by: antonlyap - 08-27-2020, 01:36 PM - Forum: Linux on RockPro64
- Replies (1)
|
 |
Hi there! I am trying to set up communication between an Attiny85 and my RockPro64 over UART (running Armbian, kernel `Linux rockpro64 5.7.15-rockchip64 #20.08 SMP PREEMPT Mon Aug 17 00:26:28 CEST 2020 aarch64 aarch64 aarch64 GNU/Linux`). The issue is that I can't connect to the serial port:
Code: rock64@rockpro64:~$ sudo picocom -b 115200 /dev/ttyS4
[sudo] password for rock64:
picocom v3.1
port is : /dev/ttyS4
flowcontrol : none
baudrate is : 115200
parity is : none
databits are : 8
stopbits are : 1
escape is : C-a
local echo is : no
noinit is : no
noreset is : no
hangup is : no
nolock is : no
send_cmd is : sz -vv
receive_cmd is : rz -vv -E
imap is :
omap is :
emap is : crcrlf,delbs,
logfile is : none
initstring : none
exit_after is : not set
exit is : no
FATAL: failed to add port: Filedes is not a tty
I can see that UART4 is not initialized on boot:
Code: rock64@rockpro64:~$ dmesg | grep tty
[ 0.000000] Kernel command line: mmc_cmdqueue=0 earlycon=uart8250,mmio32,0xff1a0000 root=UUID=73fac48d-4f73-4ac1-b899-e67dc98b5794 rootwait rootfstype=ext4 console=ttyS2,1500000 console=tty1 consoleblank=0 loglevel=1 ubootpart=f499ef85-01 usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1
[ 0.001600] printk: console [tty1] enabled
[ 4.089584] ff180000.serial: ttyS0 at MMIO 0xff180000 (irq = 38, base_baud = 1500000) is a 16550A
[ 4.089974] serial serial0: tty port ttyS0 registered
[ 4.091686] ff1a0000.serial: ttyS2 at MMIO 0xff1a0000 (irq = 39, base_baud = 1500000) is a 16550A
[ 4.092153] printk: console [ttyS2] enabled
[ 10.755654] systemd[1]: Created slice system-serial\x2dgetty.slice.
[ 14.723780] systemd[1]: Found device /dev/ttyS2.
Even though it is enabled as an overlay:
Code: rock64@rockpro64:~$ cat /boot/armbianEnv.txt
verbosity=1
bootlogo=false
overlay_prefix=rockchip
rootdev=UUID=73fac48d-4f73-4ac1-b899-e67dc98b5794
rootfstype=ext4
overlays=uart4
usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u
If this is helpful - here are some details about my setup:
An Attiny85 is powered from a 3V coin cell. Here is the wiring:
- Battery positive - Attiny85 pin 8
- Battery negative - Attiny85 pin 4 - RockPro64 ground on GPIO pin 6
- Attiny85 pin 6 (PB1) - RockPro64 UART4_RX on GPIO pin 21 (connected through a 1K current-limiting resistor)
- UART4_TX is not connected because currently I only need unidirectional communication
I used Arduino IDE with a USBtinyISP programmer to program my Attiny85 with the following test code:
Code: #include <SoftwareSerial.h>
#define RX 0
#define TX 1
SoftwareSerial serial(RX, TX);
void setup() {
// put your setup code here, to run once:
serial.begin(115200);
}
void loop() {
// put your main code here, to run repeatedly:
serial.println("ping");
}
Is there any way I can fix this issue? Are there any other easy-to-use alternatives to UART for establishing bidirectional communication? Any help is appreciated!
Thanks,
Anton
|
|
|
|
| info on touch screen APIs? |
|
Posted by: Rich_Morin - 08-27-2020, 12:18 PM - Forum: PinePhone Software
- No Replies
|
 |
I'm interested in supporting braille input on a PinePhone. The datasheet contains a lot of useful-looking information on the hardware, but (of course) it says nothing about software APIs for the touch screen. Assuming that I'm running Linux (e.g., Mobian, pmOS), where should I look for this information?
|
|
|
|
| My Daily QA - 2020-08-27 |
|
Posted by: AmazingNutria - 08-27-2020, 11:58 AM - Forum: Mobian on PinePhone
- Replies (3)
|
 |
Be aware, these tests are being executed using an out-of-box testing methodology. All tests are preformed with minimal interaction/setup of devices outside of: OS imaging/updating, SIM installation, Wifi Configuration, and Power Cycling the devices.
Results: mobian/2020-08-27-Verizon.html
mobian/2020-08-27-TMobile.html
[b]Conclusion: OS is not Ready for pinephone to be daily driver.
Notes: Today was an interesting testing day. MMS is still not working. The camera is still lagging. Call quality varied between TMobile and Verizon. Call quality of the microphone on TMobile was great. Clear, no echo, no problems. Call quality of the microphone on Verizon is very sensitive. Louder then necessary. It made the call experience very poor.
|
|
|
|
| My Daily Manual QA |
|
Posted by: plainenough - 08-27-2020, 11:42 AM - Forum: PostmarketOS on PinePhone
- Replies (1)
|
 |
Now that I have recruited some help with Mobain from @AmazingNutria I am considering beginning some daily manual QA on this OS.
First I have a few questions:
- Is this OS ready to even consider for a Release Candidate yet?
- Has anyone seen any progress on this OS since they started tinkering with it?
- How many features are available on the dev builds?
- Is this something people might look forward to?
Let me know your thoughts.
|
|
|
|
| My Daily QA - 2020-08-27 |
|
Posted by: plainenough - 08-27-2020, 11:31 AM - Forum: UBPorts on PinePhone
- Replies (1)
|
 |
Be aware, these tests are being executed using an out-of-box testing methodology. All tests are preformed with minimal interaction/setup of devices outside of: OS imaging/updating, SIM installation, Wifi Configuration, and Power Cycling the devices.
Results: ubports/2020-08-27-TMobile
ubports/2020-08-27-Verizon
Conclusion: This OS is not ready for the pinephone to become a daily driver.
Notes: Inbound texting still not working on Verizon. Issues with outbound 3G texts in TMobile. I have noticed that I am unable to change the MP rating of the camera. Since this feature is so new I don't think it is appropriate to introduce a test case around this. Didn't even attempt MMS. Speakerphone still not an option.
Known Issues: 4G calling is broken.
Locking issues.
If you want to help contribute I suggest logging into gitlab and commenting on these issues. Also, ubports has forums that they read from separately. I find them hard to navigate personally. But you have the information to help influence a change. That is all.
|
|
|
|
| Prevent suspend & keep the screen |
|
Posted by: spaetz - 08-27-2020, 05:23 AM - Forum: Mobian on PinePhone
- Replies (1)
|
 |
Some applications do not keep the screen on and the screensaver (or suspend) kicks in. (Video players such as mpv come to mind). In this case the little wrapper app “coffeine” comes in handy (source). Download the latest .deb file and install it with
Code: sudo dpkg -i ./coffeine*.deb
Use it just by prepending it to the application you want to execute, e.g.
Code: coffeine apt dist-upgrade
and the screen will stay on while you upgrade your system and won't suspend in between.
UPDATE: Disclaiimer, it was written my me, so this is a shameless self-plug.
|
|
|
|
| Catch up time for my Fav OS! |
|
Posted by: Cree - 08-26-2020, 08:32 PM - Forum: UBPorts on PinePhone
- Replies (5)
|
 |
Okay Ubuntu touch devs. I've tested the field. Mobian, Arch, and Manjaro are way ahead on functionality. But UB touch is by far the nicest, snappiest, crisp distro for mobile. Once complete this will be my favorite! But with others achieving daily driver status, what gives? Some improvements in the last month for sure by i dont get the order of priorities. Most of our feedback here doesn't seem to be getting applied. Im sure one or 2 more OTAs could implement everything where the other distros have surpassed. Is it just that there's less activity from UT devs on this forum?
|
|
|
|
|