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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 30,120
» Latest member: benstoke
» Forum threads: 16,364
» Forum posts: 117,538

Full Statistics

Latest Threads
Pinephone software
Forum: General Discussion on PinePhone
Last Post: Zebulon Walton
Yesterday, 02:21 PM
» Replies: 3
» Views: 307
Real women, real desire, ...
Forum: General
Last Post: Spaker
Yesterday, 01:04 AM
» Replies: 0
» Views: 65
Weatherproof case build
Forum: Enclosures
Last Post: ltorsini
07-07-2026, 07:01 PM
» Replies: 12
» Views: 38,543
Pinephone + Keyboard for ...
Forum: PinePhone Hardware
Last Post: PinePhoneProUser
07-07-2026, 04:47 PM
» Replies: 16
» Views: 11,133
pinecil v2 dosent negotia...
Forum: General Discussion on Pinecil
Last Post: moses
07-07-2026, 07:28 AM
» Replies: 0
» Views: 125
Rock64 v2.0 u-boot SPI is...
Forum: General Discussion on ROCK64
Last Post: ju0n
07-05-2026, 11:02 AM
» Replies: 0
» Views: 152
Libby - ebook reader that...
Forum: PineNote Software
Last Post: kiwigoldfish
07-04-2026, 04:41 PM
» Replies: 6
» Views: 4,117
PineNote v1.2 - Charges N...
Forum: General Discussion on Pinebook Pro
Last Post: ttsp
07-02-2026, 02:52 AM
» Replies: 0
» Views: 368
How to change the PineNot...
Forum: General Discussion on PineNote
Last Post: cameronharring
07-01-2026, 12:22 PM
» Replies: 0
» Views: 208
PinePhone Pro disable Vol...
Forum: PinePhone Pro Hardware
Last Post: FR_IV
07-01-2026, 10:53 AM
» Replies: 1
» Views: 1,656

 
  GPIO Kernel Module
Posted by: Foxchild - 03-09-2020, 03:10 PM - Forum: PinePhone Software - Replies (5)

So, I would like to use the pinephone to learn more about device driver kernel modules in linux and device nodes. My main goal would be to write a kernel module that I can load, to control an LED in user space but I know, that's a long way to go. Smile As you can see, there's going to be some very naive things I'm going to say, so please bear with me... I'd really like to know how this works!

I am fairly new to the subject and by now I was only developing firmware for STM32 devices and some software backend things, but no embedded linux at all. On a microcontroller I would look up on which GPIO pin the LED is connected, then search the programming manual for the registers that configure and controle the pin and write to those register addresses.

Still, I think I know at least SOME things about how the linux kernel works. Correct me if I'm wrong, but I suppose there is a kernel module which is basically executable machine code and does the "writing-to-register-addresses"-part? This module can be "loaded" in order to control a peripheral. The module then uses files (or nodes) to offer some sort of interface to applications in user space, in order to easily control the peripheral. These files are located either in /sys or /dev (I guess?). Is that kind of true so far? I already saw the files that can be used to turn an LED on or off in /sys/platform/leds/leds/.

If the above isn't too far off, I have many follow-up questions, but one after the other.  Smile
It would be really kind if someone would like to take time and provide some inside knowledge and just help me find my way here!


  phone working on UT-#246
Posted by: colin hodsdon - 03-09-2020, 02:52 PM - Forum: UBPorts on PinePhone - Replies (2)

big improvements ,from UT-#244 and 246
 texts work
phone calls  working (decent sound )




#246 (Mar 9, 2020 7:49:36 AM)


  1. Use a lighter wallpaper for pine — Marius Gripsgard / gitlab

  2. Make sure to set correct modem audio config — Marius Gripsgard / gitlab
#244 (Mar 7, 2020 10:48:27 PM)

  1. [pinetab] set 'tablet' machine type — nekit1000 / gitlab

  2. Add debug mode to selected images — Marius Gripsgard / gitlab

  3. Add audio, modem and voicecall fixes — Marius Gripsgard / gitlab


  20mm straps for PineTime
Posted by: danielt - 03-09-2020, 10:56 AM - Forum: PineTime Hardware and Accessories - Replies (3)

So I was a little surprised that one of the most common reactions to my most recent wasp-os video wasn't so much "wow... coding for PineTime in Python is so awesome" but instead more "wow... that's a neat watch strap you got there". As I said, a little suprised but I am more than happy to roll with it!

In other words I hope others will enrich this thread with their own watch strap reviews... but here's mine.

I'm not a big fan or rubber straps. However soft they just don't breath well enough perhaps because I favour a relatively tight strap. On that basis I started casting about for a different strap.

I tried the metal strap from my old Seiko 5 at well as a simple black leather strap I had lying around. Both worked at holding the watch on but both also looked a bit weird. The metal strap, being silver just didn't work and although the black leather should have worked it just didn't do it for me so I cast the net a bit wider. Eventually I found a magnetic Milanese strap on eBay (this one if you are interested).

It's working out pretty well so far. Once on it is comfortable and (I think that) it looks pretty good. It is a bit fiddly to take on and off because the strap (being magnetic) sticks to itself but it doesn't take long to get the hang of it. The black surface will also wear a little over time, especially at the point the magnet holds it. If you like that sort of thing then you'd call it a "nice patina" but there are also people who will simply see it as starting to look worn in less than a month. Personally I'm in the "nice patina" camp and am happy with the way it is wearing so far. I've been wearing it for about three weeks now. There are some very minor signs of wear but currently they are subtle and almost impossible to photograph. I expect them to start look a little more silver streaked as time goes by.

Or the TL; DR: stylish, cheap, comfortable, patina  Cool

[Image: 49640158391_0aaf780d97_w.jpg]
20mm Milanese strap for Pine64 PineTime (flickr)


  sw4 jumper for disabling eMMC boot / multiboot
Posted by: ChriChri - 03-09-2020, 08:54 AM - Forum: General Discussion on ROCKPRO64 - No Replies

Ran into the following: I wanted to connect a little switch to choose between sdcard and emmc boot.

Didn't work: Open was fine - eMMC booted.

But closed seemed to boot from eMMC, too, but the archlinux didn't come up and got stuck while looking for its root device.

After some fiddling around, trying and reading serial console I tried a _jumper_.

Worked. As described in the layout the jumper shortens the clock of the emmc to ground. Is it possible that already a 5cm wire has too much resistance to disable the eMMC?

And if so, is there a smarter way to multiboot?


  Howto test the 7" LCD
Posted by: ChriChri - 03-09-2020, 02:37 AM - Forum: RockPro64 Hardware and Accessories - Replies (3)

Just got a Rock64Pro 4GB, an eMMC 128GB and the LCD 7" Touchscreen.

I successfully tested the Rock64Pro with Linux, LibreELEC and Android 7.

But never saw lights on the 7" LCD screen.

Could anybody provide a working setup for just checking the function of the screen?

E.g. Which Android version and url to download? Where installed (sdcard or emmc)? Anything else needed to make it work? HDMI-Monitor connected or not?


  sales@ non-responsive
Posted by: olegb - 03-09-2020, 02:13 AM - Forum: General Discussion on PinePhone - Replies (2)

I ordered my PinePhone on jan. 2. and on that same day I wrote sales@.

Since I gotten no respons, I also wrote sales@ on 11/1, 04/02 and 16/02.  With no respons from sales@ (I checked my spam-folder).

On 27/2 I wrote sales@ asking that my order is canceled and my money refunded ... No reply.

So, how does one contect the sales-team?


  Want to buy a pinebook pro
Posted by: Quaa - 03-08-2020, 07:55 PM - Forum: General Discussion on Pinebook Pro - No Replies

Anyone looking to sell one in the US?


  Developing the software in the web browser
Posted by: kreyren - 03-08-2020, 06:49 PM - Forum: Development Discussion on PineTime - Replies (2)

i was messing with gitpod (https://gitpod.io) that provides a free hosting of theia for open-source projects (Theia is Online IDE) and i came up with this:

https://gitpod.io/#snapshot/ea526246-80f...7b00b29c25 (requires github/gitlab account)

What do you think? Would you want to use this kind of environment? (looking for feedback since i plan on using this for my development)


  Did anyone experiment with pogopins?
Posted by: kreyren - 03-08-2020, 06:44 PM - Forum: Development Discussion on PineTime - Replies (1)

Did anyone experiment with pogopins added to the pcb yet?

I was thinking about sordering the pogopins to the pcb in a way taht would allow connecting to the custom contacts on the backplate so that the watch could be connected to the custom charger that would have a socket for the debugging cable (or ideally solution that would allow flashing via USB)


  Plans to the casing?
Posted by: kreyren - 03-08-2020, 06:42 PM - Forum: Development Discussion on PineTime - Replies (3)

I am unable to find the plans/projects for the pinetime casing, can anyone reference it or can i request it from the upstream (ideally 3D model)?

I would like to fork it for my design. Angel