Giter Club home page Giter Club logo

mw_pinenote_misc's Introduction

Misc Pinenote thingies

So I got a Pinenote and started to work on getting Debian to run on this nice little piece of hardware.

This repository contains various documents and patches that I hope prove useful to others also playing around with their Pinenote.

Videos

A few videos can be found in videos

Kernel Patches

I added a few small quality-of-live features to the eink display controller driver developed by smaeul (https://github.com/smaeul/linux/tree/rk35/pinenote-next).

These changes can be found here: https://github.com/m-weigand/linux. Refer to the Readme in the description branch for explanation of the branches, but if you are looking for a kernel to use with the pinenote, I suggest to use this branch here: https://github.com/m-weigand/linux/tree/mw/rk35/pinenote-next-t1.

My kernel configuration and patch level can be reproduced using this script: custom_kernel/clone_and_prepare_git.sh. This includes my ebc modifications, usb support and touch screen support.

Gnome extension

A hacky GNOME extension that exposes some of the ebc parameters can be found in the gnome_extension subdirecty.

Reading and modifying waveform files using Python

Reading, modifying and writing waveform files is useful to optimize the existing waveforms or generate new ones.

A rudimentary Python interface for reading/writing these waveform files can be found in waveforms.

As a working (and useful) example, the A2 waveform was shortened to 5 phases and white->white and black->black transitions were added.

Links

mw_pinenote_misc's People

Contributors

alexanderburker avatar m-weigand avatar phodina avatar samsapti avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mw_pinenote_misc's Issues

gnome extension: bug on archlinux arm when locking screen/suspend

Hi,

Using your debian rootfs kernel and dtb files but with archlinux arm userland - per Dorian tutorial - and Gnome 43, when suspending or locking screen, the gnome extension menu is reduced to "rotate screen", and Gnome's extension manager reports an error. Not sure if this behavior is identical on debian bookworm, but a simple fix in my case was, in the file extension.js, function disable() lines, to modify it like this:

    disable() {
        log(`disabling ${Me.metadata.name}`);

        this._m_warm_backlight_slider.destroy();
        this._m_warm_backlight_slider = null;
        this._indicator.destroy();
        this._indicator = null;
    }

Thus destroying sliders before destroying the indicator, which seems to correct the problem encountered in my case,

Please excuse my bad english, and excuse me if I break any rule. feel free to delete this post if it is the case.

By the way, thanks a lot for the work you and the pinenote community put in making this awesome little piece of hardware working nicely with GNU/Linux, which I'm typing this issue from.

Best regards,

Allow for default values

Copied from PNDeb/pinenote-debian-image#17

Hi Maximilian,

My preferred driver settings are:

rockchip_ebc.bw_mode=1 rockchip_ebc.default_waveform=1 rockchip_ebc.refresh_threshold=30 rockchip_ebc.auto_refresh=1
I tried setting those in extlinux.conf, but the bw_mode at least is overwritten by the gnome helper here.

It seems like in other places we read the file first with _get_content (in _add_auto_refresh_button for example) -- I will try doing something similar for changing bw mode (and will try to clean up the spacing as well).

Let me know if you disagree with this approach. I am planning on issuing a pull request for this, but if someone beats me to it, no problamo :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.