GithubHelp home page GithubHelp logo

frederikschaff / yogabook-linux Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jekhor/yogabook-linux

0.0 0.0 0.0 52.33 MB

Yoga Book Linux porting efforts, umbrella repository for link all pieces together

C 0.07% ASL 99.93%

yogabook-linux's Introduction

Yoga Book Linux Porting Repository

This repository serves as a central hub for software related to running GNU/Linux on Lenovo Yoga Book tablets (YB1-X91L/F, YB1-X90L/F).

Status

Currently, it works on YB1-X91 models only (originally equipped with Windows OS). Hans de Goede (@jwrdegoede) has contributed significantly to running Linux on the Android variants of the tablet, but this has not been tested.

Most of the hardware is functional, with the following exceptions:

  • Cameras
  • LTE modem (in L modifications of the tablet)
  • Keyboard vibration feedback

Most Linux patches have been mainlined, except for the sound drivers.

What You Need to Know

The Yoga Book tablet features a sensor keyboard, which essentially functions as a touchpad. To use it as a keyboard, a userspace 'driver' is utilized. Therefore, installing the OS without connecting a physical keyboard via an OTG hub can be challenging.

Quick Start

I personally use Debian, so the instructions below describe its installation. Ubuntu should also be compatible. For other distributions, you may need to download and build packages from the source.

Instructions are approximate, details may vary. Please create an issue if something goes wrong.

OS Installation

  1. Download an ISO image and write it to a USB flash drive (refer to Debian's official site for instructions).
  2. Connect a powered microUSB OTG hub to the tablet.
  3. Connect the USB flash drive and a keyboard to the hub.
  4. Power on the tablet while holding the Volume Up key.
  5. Select the USB drive in the boot menu.
  6. Install Debian as you normally would, and boot into the new system. The Gnome desktop is recommended because it supports screen rotation based on accelerometer data.
  7. Download the latest .deb packages (check the Tags section in this repository):
    • linux-image
    • touch-keyboard
    • yogabook-support
    • alsa-ucm-conf-yogabook
  8. Open a terminal emulator, navigate to the directory containing the .deb files, and install them using the command sudo dpkg -i --force-depends *.deb.
  9. Resolve any missing dependencies with the command sudo apt -f install.
  10. Reboot. Verify that the new kernel is in use with the command uname -a (the output should include 'yogabook' in the version).
  11. If the system has a newer kernel than the one you downloaded, reboot again, select the Yoga Book kernel from the boot menu, and verify that it boots successfully. After this, remove the default kernel from the system with sudo apt remove linux-image-<version> command.
  12. The touch keyboard should now be operational, allowing you to detach the OTG hub and enjoy your Yoga Book.

Troubleshooting

Known issues:

  • Camera and vibration force-feedback don't work.
  • alsa-lib (libasound2 package in Debian/Ubuntu) should has version >= 1.2.9
  • To have automatic screen rotation working, it should be supported by desktop environment. Try Gnome first.
  • My Yoga Book randomly freezes after some time. If you have the same behavior, let me know.

yogabook-linux's People

Contributors

jekhor avatar

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.