Microsoft surface and linux

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

Linux Kernel for Surface Devices

linux-surface/linux-surface

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Sign In Required

Please sign in to use Codespaces.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching Xcode

If nothing happens, download Xcode and try again.

Launching Visual Studio Code

Your codespace will open once ready.

There was a problem preparing your codespace, please try again.

Latest commit

Git stats

Files

Failed to load latest commit information.

README.md

Linux running on the Microsoft Surface devices. Follow the instructions below to install the latest kernel.

  • Surface Book
  • Surface Book 2
  • Surface Book 3
  • Surface 3
  • Surface Go
  • Surface Go 2
  • Surface Go 3
  • Surface Laptop
  • Surface Laptop 2
  • Surface Laptop 3
  • Surface Laptop 4
  • Surface Laptop 5
  • Surface Laptop Go
  • Surface Laptop Go 2
  • Surface Laptop Studio
  • Surface Pro 3
  • Surface Pro 4
  • Surface Pro (5th Gen) / Surface Pro 2017
  • Surface Pro 6
  • Surface Pro 7
  • Surface Pro 7+
  • Surface Pro 8
  • Surface Pro 9
  • Surface Studio

See the feature matrix for more information about each device.

  • For the most part, things are tested on a Surface Book 2. While most things are reportedly fully working on other devices, your mileage may vary. Please look at the issues list for possible exceptions.
Читайте также:  Adding network routes linux

We provide package repositories for the patched kernel and other utilities. Please refer to the detailed installation and setup guide. There, you may also find device-specific caveats. In case you have disk encryption set up or plan to use it, take care to follow the respective instructions in the installation guide and have a look at the respective wiki page. After installation, you may want to have a look at the wiki and the contrib/ directory for useful tweaks.

If you want to compile the kernel yourself (e.g. if your distribution is not supported), please have a look at the wiki.

  • If you are getting stuck at boot when loading the ramdisk, you need to install the Processor Microcode Firmware for Intel CPUs (usually found under Additional Drivers in Software and Updates).
  • Using TLP can cause slowdowns, laggy performance, and occasional hangs if not configured properly! You have been warned.
  • If you want to use hibernate instead of suspend, you need to create a swap partition or file, please follow your distribution’s instructions (or here).

If you have questions or need support, please join our Matrix Space! This space contains

  • a support channel for general support and
  • a development channel for all development related questions and discussions. If you prefer IRC, you can also join in via our channel at libera.chat/#linux-surface , to which the matrix room is bridged to.

This repository contains patches, which are either derivative work targeting a specific already licensed source, i.e. parts of the Linux kernel, or introduce new parts to the Linux kernel. These patches fall thus, if not explicitly stated otherwise, under the license of the source they are targeting, or if they introduce new code, the license they explicitly specify inside of the patch. Please refer to the specific patch and source in question for further information. License texts can be obtained at https://github.com/torvalds/linux/tree/master/LICENSES.

About

Linux Kernel for Surface Devices

Источник

Как установить Linux/Ubuntu на планшеты Surface Pro

Что ж, Windows 10 и Windows 8.1 работают на Surface Pro без проблем, но я думаю, что некоторые пользователи задаются вопросом, как и если они могут установить любые другие операционные системы на свое устройство Surface Pro. Вы будете рады услышать, что ответ «Да». Вы всегда можете изменить свою операционную систему на Ubuntu. Эта ОС является операционной системой типа Linux. Для пользователей Linux настоятельно рекомендуется установить Ubuntu на Surface Pro, и ее очень легко использовать и установить .

Все, что вам нужно для этого, – это только USB-накопитель или, возможно, карта Micro SD, и вы можете сразу приступить к установке Linux на свой Surface Про устройство. Кроме того, прежде чем приступить к установке Linux на устройстве Surface Pro, настоятельно рекомендуется выполнить резервное копирование всех файлов и папок в Windows 8 или Windows 8.1, чтобы предотвратить потерю информации.

Шаги по установке Linux/Ubuntu на Surface Pro

1. Отключите безопасную загрузку

Прежде всего, нам нужно отключить функцию «Безопасная загрузка».

  1. Наведите курсор мыши на правую часть экрана, чтобы открыть панель чудо-кнопок в вашей системе Windows 8.1.
  2. Щелкните левой кнопкой мыши или коснитесь значка «Настройки», который находится на панели чудо-кнопок.
  3. Щелкните левой кнопкой мыши или нажмите «Изменить настройки ПК», расположенную в нижней части окна настроек.
  4. Под темой «Общие» у вас будет панель «Настройки», вам нужно будет выбрать функцию «Расширенный запуск».
  5. Пусть ваш Surface Pro загрузится в меню Blue. Нажмите или коснитесь значка «Устранение неполадок».
  6. После того, как вы войдете в меню «Устранение неполадок», вам нужно нажать или нажать «Дополнительные параметры».
  7. В меню «Дополнительные параметры» вам нужно будет нажать или нажать «Настройки прошивки UEFI».
  8. Эта функция снова перезагрузит вашу систему и вернет ее обратно с черным экраном и двумя доступными вам опциями.
  9. Нажмите или выберите функцию «Безопасный контроль загрузки» (эта функция должна быть включена).
  10. После того, как вы нажмете «Функция безопасной загрузки», появится меню, и у вас будет возможность установить для него значение Отключить.
  11. После того, как вы установили для «Secure Boot Feature» значение «Disable», вам нужно нажать «Exit Setup», и ваш Surface Pro перезагрузится снова.
  • СВЯЗАННО: установите новый «Skype для Linux» в Ubuntu, Debian, Fedora и др.
Читайте также:  Killing a user linux

2. Загрузка с USB/Micro SD-карты

Следующим шагом в этом процессе является загрузка с карты USB или Micro SD. Конечно, для этого вам понадобится загрузочная копия Ubuntu Linux на USB-накопителе или карте MicroSD.

  1. Вставьте USB-накопитель или карту памяти Micro SD в разъем USB Surface Pro или в разъем Micro SD.
  2. Переместите курсор мыши в правую часть экрана и на панели чудо-кнопок коснитесь значка «Настройки».
  3. Оттуда нажмите «Изменить настройки ПК» и снова нажмите «Расширенный запуск», как вы делали выше.
  4. Нажмите или коснитесь значка, напоминающего USB-накопитель, в меню.
  5. Нажмите или коснитесь DVD-диска «Используйте устройство, которое Surface Pro загрузил в Дополнительные настройки».
  6. В этом меню у вас будет доступ к доступным опциям загрузки, которые есть в вашей системе.
  7. В этом меню нажмите на флешку или Micro SD, на которой установлена ​​Linux Ubuntu.
  8. Теперь он загрузится в USB-накопитель или MicroSD.
  9. После загрузки USB с Linux Ubuntu вам будет предложено два варианта:
    • Установите Linux Ubuntu в вашей системе
    • Загрузитесь прямо с USB-накопителя и попробуйте сами, прежде чем устанавливать его на свой Surface Pro.
      Мы выберем второй вариант и загрузим непосредственно Linux Ubuntu с накопителя.
  10. Когда мы войдем в Ubuntu, у вас будет возможность на рабочем столе продолжить установку Ubuntu.
  11. Нажмите на значок на рабочем столе, чтобы начать установку Linux Ubuntu.
    Примечание . После завершения установки с USB-накопителя или карты Micro SD вы увидите, что ваш экран будет выглядеть немного меньше, и это будет довольно сложно использовать его должным образом. Для этого вам нужно будет установить масштаб чуть выше изнутри Ubuntu. Если вы не возражаете против маленьких значков, вы можете сразу начать использовать их.

Было ли сложно установить Ubuntu на ваше устройство Surface Pro? Теперь у вас есть новая операционная система Linux Ubuntu на вашем устройстве Surface Pro. Как видите, установка займет не более получаса. По любым вопросам, касающимся статьи, используйте комментарии ниже. Мы ответим на любые вопросы, касающиеся установки Ubuntu Linux.

Говоря о вопросах и проблемах, в редких случаях у вас могут возникнуть различные проблемы после установки Ubuntu на вашем устройстве Surface Pro. Возможно, одна из наиболее распространенных проблем связана с запуском вашего устройства с помощью Windows. Если вы не можете загрузиться в Windows 10 после установки Ubuntu, вы можете использовать это руководство для решения проблемы.

Читайте также:  Удалить линукс из винд

Источник

1) Shrink the windows partition.

Go to Control Panel -> System and Security -> Administrative Tools -> Computer Management -> Storage -> Disk Management. Then right click on the windows partition and go shrink volume as much as you’d like (a minimum of 50 GB is recommended).

2) Make a bootable Ubuntu usb drive.

3) Have a USB-hub ready (refer to the «State of Surface-Series Devices» thread linked above to see if your keyboard will work OOB).

If it is reported to not work OOB, plug in an external keyboard/mouse as necessary, but be sure to leave a USB port open.

4) Boot from USB.

Turn the Surface off and then hold the volume up button while powering on to boot to USB.

5) Install Ubuntu.

You should be able to boot off the Ubuntu usb stick now. I chose all the default options and installed alongside Windows 10. Reboot and enjoy Ubuntu.

6) Install a patched kernel (optional: some devices, really the SP3 and older really don’t need the added functions anymore because they’ve been mainlined).

You should now be able to boot to a working Ubuntu. If you choose to install a patched kernel (see the «State of Surface-Series Devices» to see if your device needs one to enable functionality), please see the below:

6a) Compile your own kernel from source.

This is recommended if you have the time/are willing to learn. Most of the modifications/patches you will need can be found detailed in these three Github pages. I will be compiling a guide to build/install your own in the coming weeks when I have free time.

  • https://github.com/jimdigriz/debian-mssp4
  • https://github.com/ipts-linux-org/ipts-linux-new/wiki
  • https://github.com/tiggerite/mint-17.3-for-surface-pro-3

6b) Install u/JakeDay42’s kernel. — 4.14.y (he updates the subversions as they come out)

7) Change the kernel that boots by default.

Everything is now installed, however there is a good chance that your laptop won’t boot the right kernel by default. You can select it manually in grub at boot by going Advanced options for Ubuntu -> Ubuntu, with Linux $YourCustomKernel. To switch out the default you will need to edit grub (I did this with grub-customizer http://www.howtogeek.com/howto/43471/how-to-configure-the-linux-grub2-boot-menu-the-easy-way/ followed by sudo update-grub)

8) (Optional)

8)a) Swap Suspend (S3 — Sleep/Connected Standby) for hibernation (see the «State of Surface-Series Devices» thread above for reasoning):

    1. sudo rm -Rf /etc/systemd/system/suspend.target && sudo ln -sf /usr/lib/systemd/system/hibernate.target /etc/systemd/system/suspend.target
  • 2) sudo rm -Rf /etc/systemd/system/systemd-suspend.service && sudo ln -sf /usr/lib/systemd/system/systemd-hibernate.service /etc/systemd/system/systemd-suspend.service

This will replace suspend with hibernate system wide and will prevent any program from suspending as the units the system uses to suspend will call hibernate instead. If you just want to disable sleep without substituting hibernate, just mask suspend.target and systemd-suspend.service instead.

8)b) Disable Lid-Wake if you find lid-events to cause sleep issues.

8)c) Disable Touch (on supported custom kernels) when you want to.

Источник

Оцените статью
Adblock
detector