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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 29,660
» Latest member: ZetaR
» Forum threads: 16,239
» Forum posts: 117,128

Full Statistics

Latest Threads
Pinetab2s running DanctNI...
Forum: PineTab Software
Last Post: biketool
7 hours ago
» Replies: 0
» Views: 30
Open-Source Support for P...
Forum: General Discussion on PineTime
Last Post: euiccc2025
Yesterday, 05:55 PM
» Replies: 2
» Views: 2,175
StarPro64 Irradium (based...
Forum: Getting Started
Last Post: mara
Yesterday, 04:04 PM
» Replies: 11
» Views: 5,614
irradium (based on crux l...
Forum: Linux on RockPro64
Last Post: mara
10-31-2025, 06:33 PM
» Replies: 9
» Views: 16,530
Slashdot re:Cellbright (P...
Forum: General Discussion on PinePhone
Last Post: biketool
10-31-2025, 04:15 AM
» Replies: 0
» Views: 102
What's stopping you from ...
Forum: General Discussion of PinePhone Pro
Last Post: biketool
10-30-2025, 03:49 AM
» Replies: 15
» Views: 5,237
I'm going to be waist-dee...
Forum: Pinebook Pro Hardware and Accessories
Last Post: Ronandez
10-29-2025, 08:15 PM
» Replies: 1
» Views: 1,762
need help whit pinephone
Forum: News
Last Post: InFerNo
10-29-2025, 04:17 AM
» Replies: 1
» Views: 2,790
How to create a valid fir...
Forum: Getting Started
Last Post: henryclayton
10-28-2025, 10:02 PM
» Replies: 1
» Views: 1,539
Upgrading from Trixie to ...
Forum: PinePhone Pro Software
Last Post: biketool
10-28-2025, 03:31 PM
» Replies: 6
» Views: 388

 
  Installing CH431SER on Ayufan 0.9.14: gitlab-ci-linux-build-159
Posted by: Thisone - 07-11-2023, 01:12 AM - Forum: Linux on RockPro64 - Replies (4)

Hello

when I try to install the Driver CH341SER from CH341SER_LINUX.ZIP - 南京沁恒微电子股份有限公司 (wch.cn) for the Ayufan linux build. I get this error Message during the compilation:

Code:
rock64@rockpro64:~/CH341SER_LINUX/driver$ make
make -C /lib/modules/4.4.190-1233-rockchip-ayufan-gd3f1be0ed310/build  M=/home/rock64/CH341SER_LINUX/driver 
make[1]: Entering directory '/usr/src/linux-headers-4.4.190-1233-rockchip-ayufan-gd3f1be0ed310'
  CC [M]  /home/rock64/CH341SER_LINUX/driver/ch341.o
gcc: error: unrecognized command line option '-mgeneral-regs-only'
gcc: error: unrecognized command line option '-mcmodel=large'
scripts/Makefile.build:283: recipe for target '/home/rock64/CH341SER_LINUX/driver/ch341.o' failed
make[2]: *** [/home/rock64/CH341SER_LINUX/driver/ch341.o] Error 1
Makefile:1479: recipe for target '_module_/home/rock64/CH341SER_LINUX/driver' failed
make[1]: *** [_module_/home/rock64/CH341SER_LINUX/driver] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.4.190-1233-rockchip-ayufan-gd3f1be0ed310'
Makefile:5: recipe for target 'default' failed
make: *** [default] Error 2


I want to use the PineDisplay as Display on Linux and since Ayufan has a Documentation how to use it on his Linux Build, i use it.
But i need to install the Driver to use a CH340c RS485 to USB converter.

Any help is greatly appreciated.


  Keyboard charges, won't type - ERROR: I2C_RDWR failed: No such device or address
Posted by: jovval - 07-10-2023, 08:11 AM - Forum: PinePhone Pro Accessories - No Replies

With a new PPP, I am on stock software (Manjaro-Plasma, I believe).
I have installed necessary packages for compiling megi's userland software for ppkb.
Too, I have compiled it, and added the system service as I explained (in the wrong sub-forum) here,
PinePhone Keyboard won't work. read_kb_reg(PPKB_SYS_CONFIG) needs what? - https://forum.pine64.org/showthread.php?tid=18476

My PPKB charges but won't type.
lsmod ends with
pinephone_keyboard
but has no instance of kb151.
With the PPP firmly seated in my PPKB (and charging, battery staying at 100%), I tried the command
build/ppkb-i2c-flasher --rom-in firmware/build/fw-user.bin write reset
and saw
ERROR: I2C_RDWR failed: No such device or address

I did
rmmod pinephone_keyboard
and repeated the above. I had the same result.

Installing i2c-tools
pacman -S i2c-tools
had no effect on the command above.

I did see the following.
i2cdetect -l
i2c-0 i2c      rk3x-i2c                        I2C adapter
i2c-1 i2c      rk3x-i2c                        I2C adapter
i2c-3 i2c      rk3x-i2c                        I2C adapter
i2c-4 i2c      rk3x-i2c                        I2C adapter
i2c-5 i2c      rk3x-i2c                        I2C adapter
i2c-9 i2c      i2c-4-mux (chan_id 0)          I2C adapter

I can not blacklist anything b/c
update-initramfs -u
bash: update-initramfs: command not found

I installed both
mkinitcpio
mkinitcpio-busybox
and still can not update-initramfs.

As a user posted here,
keyboard case charging but not typing - https://forum.pine64.org/showthread.php?tid=17464
with the PPP firmly seated in the PPKB and booted therein, I too found,
dmesg | grep keyboard
pinephone-keyboard 2-0015: Keyboard was not found on the I2C bus, maybe it's disconnected.

How do I get "such device or address", shown above?


  PinePhone Keyboard won't work. read_kb_reg(PPKB_SYS_CONFIG) needs what?
Posted by: jovval - 07-09-2023, 09:03 PM - Forum: PinePhone Pro Hardware - No Replies

As root, I did,
pacman -Syu
pacman -S git php sdcc make gcc
As a normal user I did,
git clone https://megous.com/git/pinephone-keyboard
cd pinephone-keyboard
make all

As root, I continued with
cp -a Downloads/pinephone-keyboard/build/* /usr/local/bin/
vi /etc/systemd/system/ppkb-i2c-inputd.service
and added,
[Unit]
Description=Pinephone Keyboard Service Daemon

[Service]
Type=simple
ExecStart=/usr/local/bin/ppkb-i2c-inputd

[Install]
WantedBy=multi-user.target

I had no need to blacklist kbd51
lsmod | grep kbd
gave nothing. I did see
pinephone_keyboard    16384  0
at the end of lsmod.
I enabled the new systemd service.
systemctl enable ppkb-i2c-inputd.service
Created symlink /etc/systemd/system/multi-user.target.wants/ppkb-i2c-inputd.service → /etc/systemd/system/ppkb-i2c-inputd.service.
The following did/showed nothing.
systemctl start ppkb-i2c-inputd
ps ax | grep ppkb
gave no match.
I rebooted and found the same results both above and below.

The following command (with the PPP out of and in the ppkb) generated a WARNING and an ERROR.
pkb-i2c-inputd
WARNING: I2C_RDWR failed (6)
ERROR: read_kb_reg(PPKB_SYS_CONFIG) failed: No such device or address

Having inserted the PPP into the ppkb, I found that charging works.
The keys do not work.
How may I obtain "such device or address"?


  Upgrade Fedora from 37 to 38?
Posted by: acruhl - 07-09-2023, 05:07 PM - Forum: Linux on Pinebook Pro - Replies (2)

Does anyone know if it's possible to upgrade Fedora from 37 to 38? I'm running Fedora 37 on an SD card. It's slow but it works.

The built in software manager GUI gives me an error when it tries to upgrade. 

I'll read up on the CLI method. I'm asking in case it isn't possible in this particular case or if someone has experience with it.

Thanks!


  Orignal PineBook
Posted by: jwp1000 - 07-09-2023, 10:29 AM - Forum: Linux on Pinebook - Replies (1)

Hi guys - I did not touch my pinebook for a long time.
I turned it on today.  I am using the 4QOS.
I updated my Wifi password.

Opened the console did sudo apt update which could not find some things.  Then sudo apt upgrade which did not a thing.

So I said it sat too long.  I got the new Armbian - but the jammy and xfce on an SD card - it booted

How do I get it over to the EMMC?

Thanks

JWP


  Broke pinebook GUI, what to do, fix or install new?
Posted by: acruhl - 07-09-2023, 09:59 AM - Forum: Linux on Pinebook - Replies (2)

So a while back I managed to break the stock Neon OS when trying to switch from Plasma to something else. There was some change I did to systemctl and it broke it. It will boot to a command prompt. I set it aside and ignored it for a while.

I know Neon has been out of style for a while so I don't know how much effort I should put into fixing it, or should I just put something else on it?

I'm noticing that there isn't a nice list of "mainstream" Linux operating systems for it like there is for the Pinebook Pro, which sucks.

Is there an OS I can install onto it without it being to hacky to get it working? I just want something I can use instead of having to tinker with all the time.

At the moment I'm using NetBSD from a SD card but I have to use a different WiFi adapter.

Thanks!


  arch rock64 does not boot
Posted by: nemnob - 07-09-2023, 03:28 AM - Forum: Linux on Rock64 - Replies (1)

Hello,

I followed this guide: https://archlinuxarm.org/platforms/armv8...ner/pine64  to install arch on an sd card and then successfully booted to rock64, but I did the mistake and run "rm /boot/boot.scr" and now I'm unable to boot again.

After than I tried following again the same steps (from step 5-10) a couple of times but I always get the same result (when I boot all the leds are working and the the monitor does not display anything)

Any ideas on what is going on and how I can debug this?


  Questions Before I Buy Anything
Posted by: Tourma - 07-09-2023, 03:21 AM - Forum: Linux on Pinebook Pro - Replies (5)

Hi all,



So my main comp is starting(?) to die and repairing it is rated as "pain in the butt."  So alongside researching that, I'm also looking into a cheap daily driver.  Pinebook Pros sound like that, though I still have some questions.



How "snappy" is it? -  Right now I'm using a old Windows Tablet and it can barely handle Win10.  Its aggravating as all get out. 

  • What I mean is say, when I try and load a website, is the only restriction my internet speed, or is there a the lack of RAM that gets in the way?
  • And more broadly, how quickly do the usual suspects, (like firefox, libreoffice, the music player,) load?


Can it remember where it was?  Like, I was on Mastodon with Firefox on this shabby windows device earlier and went to a new tab and shopped for a bit.  When I came back, Mastodon had reloaded back at the top, having to reallocate its RAM to Walmart.



How is the keybaord/touchpad?
  • Is there any lag to characters appearing on the screen?
  • double presses/ignored presses?
            Can you tell some other issues I have with this current machine?
  • do the keys feel logical? I've had laptops for years and never got used to the layout.
       Not this one!  An old HP I had.
  • backlit?
       A high hope for something so inexpensive, but I do enjoy them.


I was thinking of adding an SSD if I get one, do I need a heatsink too?  I've never done that on any computer.  I see Samsung 980s are on sale.  There are also ones with built in headsinks.



I've mooched around with Mint as a Virtual Machine, but that's my extent of Linux experience.  Is there anything I should know abut Manjaro before diving in?
  • Does Discord have a reliable distribution for it?
  • Does Steam run at all?
  • Itchio etc?


~~~



I might think of more questions, but thanks in advance!



Leia


  Is that a Multiboot selection on startup?
Posted by: jojuma - 07-09-2023, 03:09 AM - Forum: Mobian on PinePhone - Replies (3)

I recently flashed the current build from July 2nd on my emmc since I had issues lately after updating.
When I switch the phone on now, there appears a screen showing 'Mobian' which I have to select to continue booting. 

Is that meant to be a multi boot option?
If so, can I omit that screen somehow as long as there's one OS only?
On the other hand, how would I add an OS?

Thanks in advance for clarification


  [Article] Apache NuttX RTOS on RISC-V: Star64 JH7110 SBC
Posted by: lupyuen - 07-08-2023, 05:46 PM - Forum: General - No Replies

In this article we’ll boot a tiny bit of Apache NuttX RTOS on the Star64 64-bit RISC-V Single-Board Computer. (Based on StarFive JH7110 SoC)

(1) Migrate NuttX RTOS from QEMU Emulator to Star64
(2) Print to the Serial Console in RISC-V Assembly
(3) Trick U-Boot Bootloader into thinking we’re Linux
(4) Downgrade from Machine to Supervisor Privilege Level
(5) Helped by OpenSBI Supervisor Interface

Check out the article:

Apache NuttX RTOS on RISC-V: Star64 JH7110 SBC