1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-15 11:03:37 +03:00
not really known
Go to file
Daniel Barlow 632fa13be0 fix touchscreen without need of quirk
mdss_fb_release_all runs when the display blanks between the splash
screen and launching the main menu (in "hello" example). If ref_cnt is
zero, it calls fb_notifier_call_chain with the payload of
FB_BLANK_POWERDOWN. The synaptics_dsx_i2c touchscreen driver is
subscribed to this notifier, and disables touch.

This is all fine except that the corresponding opposite operation - to
notify the subscribers with FB_BLANK_UNBLANK when the display
is *opened* - is not done anywhere. Add a call to mdss_fb_open
to do this whenever it's calling mdss_fb_blank_sub

For context, this behaviour was introduced in

   commit a12be25aec3fd648f2a9c4c27e88d470bed41f67
   Author: parasur <parasur@motorola.com>
   Date:   Mon Nov 7 09:45:54 2016 +0800
   a12be25aec (diff-eab94fa9ea3e15183d23b93fbaf4e08bc137ae4ebbdc589fc106355b753d1b6a)

but probably (speculating) goes unnoticed in Androd because the
framebuffer is never closed in Android unless something crashes, at
which point most people probably reboot anyway
2021-06-27 23:24:52 +01:00
.ci ci: Add assertion that validates evaluations are differents 2020-04-07 23:12:18 -04:00
.github/workflows ci: Actually run instantiate task 2021-02-02 05:52:46 -05:00
artwork boot/error: Rework UI for better reporting 2020-11-13 19:46:44 -05:00
bin bin/hydra-eval: Add hydra-like eval helper 2021-02-24 18:19:10 -05:00
boot Merge pull request #305 from samueldr-wip/feature/lvgui-pan 2021-02-23 20:59:51 -05:00
devices fix touchscreen without need of quirk 2021-06-27 23:24:52 +01:00
doc Merge pull request #310 from samueldr-wip/fix/more-hermetic-release.nix 2021-02-23 21:02:59 -05:00
examples profiles/installer.nix: Remove 2021-04-30 17:59:35 -04:00
lib lib: Add missing eval-with-configuration.nix file 2021-02-23 21:05:28 -05:00
modules fix touchscreen without need of quirk 2021-06-27 23:24:52 +01:00
overlay fix tyop 2021-06-27 23:24:52 +01:00
.gitignore gitignore: Ignore old config files 2020-09-29 20:15:53 -04:00
CONTRIBUTING.adoc doc: Add a contributing document 2020-04-29 18:02:34 -04:00
default.nix default.nix: Use eval-with-configuration.nix 2021-02-23 20:17:19 -05:00
LICENSE LICENSE: update license notice 2020-05-04 19:28:41 -04:00
README.adoc README: move chat links 2021-05-21 14:53:59 -04:00
release.nix release.nix: Use canaries from overlay 2021-03-07 17:53:10 -05:00
shell.nix shell.nix: Add dtc and ubootTools 2021-02-11 18:15:34 -05:00

++++
<div align="center"><a href="https://mobile.nixos.org/"><img src="artwork/logo/logo.svg" alt="Mobile NixOS" title="Mobile NixOS" width="500" height="130" /></a></div>
++++

*Mobile NixOS* is a superset on top of link:https://nixos.org/nixos/[NixOS Linux],
link:https://nixos.org/nixpkgs/[Nixpkgs] and link:https://nixos.org/nix/[Nix],
aiming to abstract away the differences between _mobile_ devices.

In four words: _“NixOS, on your phone”_.

ifdef::env-github[]
Read more: <<doc/about.adoc#,About Mobile NixOS>>.
endif::[]
ifndef::env-github[]
Read more: <<about.adoc#,About Mobile NixOS>>.
endif::[]

ifdef::env-github[]
⚠️ **Note**: Mobile NixOS is only expected to build succesfully against the **unstable** branch of Nixpkgs.
endif::[]
ifndef::env-github[]
[NOTE]
====
Mobile NixOS is only expected to build succesfully against the **unstable** branch of Nixpkgs.
====
endif::[]

== Documentation

 * link:https://mobile.nixos.org/[The Mobile NixOS website] hosts the rendered link:https://github.com/NixOS/mobile-nixos/tree/master/doc[doc folder] for Mobile NixOS documentation.

As Mobile NixOS is a superset of NixOS Linux, the following documentation applies:

 * link:https://nixos.org/nixos/manual[NixOS Manual] - how to install, configure, and maintain a purely-functional Linux distribution
 * link:https://nixos.org/nixpkgs/manual/[Nixpkgs Manual] - contributing to Nixpkgs and using programming-language-specific Nix expressions
 * link:https://nixos.org/nix/manual[Nix Package Manager Manual] - how to write Nix expressions (programs), and how to use Nix command line tools

== Community

Mobile NixOS development and questions is currently hosted on the
**NixOS on ARM** channel.

 * link:https://matrix.to/#/#nixos-on-arm:nixos.org?via=nixos.org&via=matrix.org[NixOS on ARM on the NixOS Matrix Space]

The following community resources are also available, for NixOS questions.

 * link:https://matrix.to/#/#nix:nixos.org?via=nixos.org&via=matrix.org[Nix and NixOS support channel on the NixOS Matrix Space]
 * link:https://discourse.nixos.org/[Discourse Forum]

== Other Project Repositories

 * link:https://github.com/NixOS/nix[Nix] - the purely functional package manager
 * link:https://github.com/NixOS/nixpkgs[Nixpkgs] - the Nix packages collection

== Continuous Integration

Mobile NixOS is continuously built on the link:https://hydra.nixos.org/[organization's Hydra instance].

 * link:https://hydra.nixos.org/jobset/mobile-nixos/unstable[Against the `nixos-unstable` branch of NixOS]
 ** link:https://hydra.nixos.org/job/mobile-nixos/unstable/tested[`tested` job]

There is no published artifacts for the time being, but the documentation
should point you towards resources that you can use to get started quicker when
your device is supported.

== Contributing

There are two ways your contributions can reach this project.

ifdef::env-github[]
 * <<CONTRIBUTING.adoc#,Contributing to Mobile NixOS>>
endif::[]
ifndef::env-github[]
 * <<contributing.adoc#,Contributing to Mobile NixOS>>
endif::[]
 * link:https://github.com/NixOS/nixpkgs/blob/master/.github/CONTRIBUTING.md[Contributing to Nixpkgs or NixOS]

Contributions are always welcome. If it's your first time contributing:
jump in and don't be scared. Mistakes in your first contributions are room for
improvement; it is not in our nature to scold new contributors.

== License

Mobile NixOS is licensed under the link:https://github.com/NixOS/mobile-nixos/blob/master/LICENSE[MIT License].

[NOTE]
====
As with Nixpkgs, the MIT license does not apply to the packages built,
but only to the files in this repository (expressions, scripts, modules, etc.).

Patches and derivative work are covered by the licenses of their respective
packages.
====