Chuwi hi10 plus 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.

This is a collection of settings and scripts to enhance Linux Mint on the Chuwi Hi10 Plus tablet 2 in 1 PC

License

MPagliari/Chuwi-Hi10-Plus-Linux

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

This is a collection of settings and scripts to enhance Linux Mint on the Chuwi Hi10 Plus tablet 2 in 1 PC

This has been created from other scripts found around the web This is a first release as working The Bash script code may contain unused segments from previouse sources and has not been optomized in any may. How ever this is working on my tablet so its time to share with everyone 🙂

Enjoy and please feel free to modify as needed.

This contains code from these soures:

About

This is a collection of settings and scripts to enhance Linux Mint on the Chuwi Hi10 Plus tablet 2 in 1 PC

Источник

Just use Windows 10, you’re supposed to use it

Other than that, there are plenty reasons why all I want is just GNU/Linux.

Drivers Support?

It’s nearly finished as far I can tell, some of them requires proprietary blobs.

Читайте также:  Angry ip scanner linux установка

Here is “what’s working/not-working” list:

Components Status (5.3.12) Requires Blob?
Internal MMC Yes
SD Card Slot Partial
GPU Yes
MicroUSB Port Yes
Type-C® Port Yes
USB Hubs Yes
Touchscreen Yes Yes
Keyboard/Touchpad Case .
WLAN (RTL8723BS) Yes Yes
Bluetooth (RTL8723BS) Yes Yes
Sounds (Speakers + Headphones) Yes Yes
Microphone Yes Yes
HDMI Output Yes
HDMI Audio Yes
Battery/Charging Yes
Backlight Yes
Hardware Buttons Yes
Light Sensor (CM3218) No
Accelerometer (BMA250) No
Camera
Stylus Pen .

My setup

For this, I use Arch Linux, which is a rolling release distro, so the results can be what you’re expecting to be on a kernel.org release.

On October of this year, I reinstalled Arch Linux because it was quite bloated with my own configuration, things such as USB standby and a bunch more, so I decided to start fresh.

After I reinstalled Arch, I installed XFCE since I decided to go with a floating type desktop, I could setup floating on i3, but that destroyed the purpose of having a tiling WM.

For the theme, I just don’t want to rice it much, so I use Equilux for the theme, and the default WM theme.

Browsing

For this, I’m using Chromium 78.0.3904.97 (maximbaz build).

As far I can tell, web browsing experience on this tablet is fine for most parts, however intense HTML5 websites may suffer, but that’s because websites have gone through so many changes, so better avoid them if you don’t want to bake your Z8350. 🙂

But for most parts, I do review merge requests and issues for postmarketOS, which uses GitLab and going through random GitHub repository seems to be fine as it is designed for such computers.

As for Twitter and Mastodon, it may be a bit too much but the experience is alright.

I don’t recommend YouTube since it eats your CPU usage… quite alot.

Video Decoding

Intel CPUs uses VA-API to decode media files and the Z8350 seems to decode H264, HEVC, MPEG2 and VP8 just fine, you just need to install libva-intel-driver then you can watch your favorite movies with HW decoding.

Alternatively, you can use Big Buck Bunny to test video decoding as it’s a free movie.

Video Decoding for Browser

Chromium (from Official Arch Linux repository) is not compiled with support for VAAPI, so you’ll have to get chromium-vaapiᵃᵘʳ or chromium-vaapi-binᵃᵘʳ.

Make sure you have installed libva-intel-driver, you can also check to make sure VAAPI is working correctly by vainfo from libva-utils.

The following output from vainfo shows that VAAPI is working:

vainfo: VA-API version: 1.5 (libva 2.5.0) vainfo: Driver version: Intel i965 driver for Intel(R) CherryView - 2.3.0 vainfo: Supported profile and entrypoints VAProfileMPEG2Simple : VAEntrypointVLD VAProfileMPEG2Simple : VAEntrypointEncSlice VAProfileMPEG2Main : VAEntrypointVLD VAProfileMPEG2Main : VAEntrypointEncSlice VAProfileH264ConstrainedBaseline: VAEntrypointVLD VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice VAProfileH264Main : VAEntrypointVLD VAProfileH264Main : VAEntrypointEncSlice VAProfileH264High : VAEntrypointVLD VAProfileH264High : VAEntrypointEncSlice VAProfileH264MultiviewHigh : VAEntrypointVLD VAProfileH264MultiviewHigh : VAEntrypointEncSlice VAProfileH264StereoHigh : VAEntrypointVLD VAProfileH264StereoHigh : VAEntrypointEncSlice VAProfileVC1Simple : VAEntrypointVLD VAProfileVC1Main : VAEntrypointVLD VAProfileVC1Advanced : VAEntrypointVLD VAProfileNone : VAEntrypointVideoProc VAProfileJPEGBaseline : VAEntrypointVLD VAProfileJPEGBaseline : VAEntrypointEncPicture VAProfileVP8Version0_3 : VAEntrypointVLD VAProfileVP8Version0_3 : VAEntrypointEncSlice VAProfileHEVCMain : VAEntrypointVLD 

After you installed it and have verified that VAAPI is working properly, add two lines to $HOME/.config/chromium-flags.conf :

--ignore-gpu-blacklist --disable-gpu-driver-bug-workarounds 

Then restart Chromium and go to about:gpu , if “Video Decode” is hardware accelerated then it works.

Читайте также:  Check application port linux

Audio

Audio requires Intel SST firmware, which is taking away your freedom, but can be installed from linux-firmware package.

Touchscreen

Requires this silead firmware, put it to /lib/firmware/silead/gsl1680-chuwi-hi10plus.fw and reload the module.

What about.. gaming?

While I don’t game much anymore, it’s still fun to play games. Quake 3 and Extreme Tux Racer runs flawlessly. However Team Fortress 2 suffered from framerate issues, on low it’s around 20 at 640×480.

It’s not a gaming tablet so I don’t expect much out of it, but hey, you get the idea.

What about in daily use?

So far, it never let me down, I mainly use it to SSH to my home box and do work, and also I use it to work on postmarketOS and such.

It’s great, while it’s not powerful, it certainly did a great job.

Doing spreadsheets, writing documents or presentations should be fine, you can use LibreOffice if you don’t want to pay for Office 365 (and having your privacy taken away).

Issues

One of the issue is that even if the tablet is in suspend/sleep mode, it still waste quite a bit of battery for doing nothing, I assume that had something to do with the C-states, but I can confirm that one of my other friend which uses another laptop with the same CPU also got the same problem.

So I assume this is an issue with Linux’s power management on this particular chipset.

Another problem is that when you hibernate the tablet, it saves content to swap, which is a normal thing. However when you power it back on, the tablet display stays off, and it seems to completely frozen.

The only thing I could do is to hard reset the tablet, which made me lost unsaved works.

Should I buy this tablet?

If you’re looking for a system to compile packages, gaming, or doing some intense work.. this is not the system you’re looking for, look for something way more better.

Comments on this site uses Disqus, please read Disqus Privacy Policy before clicking the button below.

Click here to load comments

Источник

Мой дневник

UPD 01.12.2017: Вопрос практически решен. Установил свежую Fedora. Ядро понимает почти все железо, умеет уходить в standby и главное возвращаться из него ). Debian с ядром 4.9 не подошел. Можно наверное ядро заменить, но на шапке все хорошо подобрано. Тачскрин пока не использую, звук и видео на hdmi выводится (правда hdmi иногда теряет).

Читайте также:  Очистка логов astra linux

Продолжаю воевать в кривым железом Chuwi Hi10.

Цель – получить приличную рабочую лошадку.

Вначале было… UEFI. Первое, что было сделано, это ужимание штатного раздела windows, создание раздела для linux, установка туда Debian Jessie (впрочем, можно и другие варианты), настройка EFI и GRUB. Если будет много каментов – создам отдельную страничку.

До выхода ядра 4.8 драйвер i915 выдавал массу ошибок. Но теперь ситуация изменилась. Однако, оставалась большая проблема с HDMI – в линуксе он вроде бы совсем не работал, под штатным windows – срабатывал только если снести драйвер и дать его снова поставить (!)

Итак, для начала, была решена проблема с wifi: в ядро добавлен модуль https://github.com/hadess/rtl8723bs Тонкости:

  • в bios установлено south bridge LSS&… SDIO control ->PCI
  • в ядре патч: /net/wireless/Kconfig -> config WIRELESS_EXT – bool + def_bool y
  • патчи от модуля на ядро 4.8 не ставятся и не нужны, нужен только патч laszlo из ветки https://github.com/hadess/rtl8723bs/issues/76 (https://github.com/hadess/rtl8723bs/files/379444/0001-My-changes-for-4.7.0-rc7-for-Baytrail-T.patch.txt

После этого wifi работает отлично, лагов нет. К сведению, существует другой драйвер wifi, но на новых ядрах он не собирается (https://github.com/anthonywong/rtl8723bs)

Важно: я запустил свое ядро на github! https://github.com/sae/linux/tree/hi10

На данный момент работает:

  • wifi
  • hdmi audio
  • battery status (через скрипт axpd)
  • тачскрин – не полностью, драйвер есть но отображение “зеркальное”

А вообще обновления теперь будут в файле README.sae

Большая проблема – с шиной i2c. Без семафора шина не работает, семафор стандартный тоже. Проблема случайно решилась в одной ветке дискуссий: — a/drivers/i2c/busses/i2c-designware-baytrail.c
+++ b/drivers/i2c/busses/i2c-designware-baytrail.c
@@ -22,7 +22,7 @@
#include “i2c-designware-core.h”

#define SEMAPHORE_TIMEOUT 100
-#define PUNIT_SEMAPHORE 0x7
+#define PUNIT_SEMAPHORE 0x10E //0x7
#define PUNIT_SEMAPHORE_BIT BIT(0)
#define PUNIT_SEMAPHORE_ACQUIRE BIT(1)
После этого патча устройства стали доступны!

Дальше я занялся HDMI. Глюки пока не полностью выловлены, но прогресс есть. Оказалось, выход hdmi заведен на порт HDMI-2, хотя при выключенном телевизоре edid можно получить с порта gmbus panel. Самое веселое что при включении телевизора edid пропадает. Поэтому:

xrandr –newmode “1920x1080_60.00” 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
xrandr –output HDMI-2 –addmode HDMI-2 1920x1080_60.00
xrandr –output HDMI-2 –mode 1920x1080_60.00

Тачскрин: у меня в ACPI устройство видно как CHPN0001, частично походит драйвер chipone_ts (https://github.com/Dax89/chuwi-dev), но выдает координаты перевернутые относительно центра экрана. Поскольку код открытый, буду адаптировать в ближайшее время.

*Звук, в сети много патчей, нужно пробовать, в том числе вывод на hdmi

+Питание и батарея – используем AXP288 и его множество функций

Источник

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