超激安WinタブレットにLinux、*BSDを入れよう 最新情報編 in KOF2018 Install Linux and Re-use 「newer my reports」 on inexpensive Windows Tablet in 2018 #kof2018
1
超激安WinタブレットにLinux、*BSDを入れよう
最新情報編 in KOF2018
Install Linux and Re-use 「newer my reports」 on inexpensive
Windows Tablet in 2018
1、自己紹介 Self introduction
2、格安タブレット定義 inexpensive Tablet
3、更新情報 The new my report
4、タブレットリサイクル事例 Reuse Tablet example
5、Intel Atom関係 Install linux on Intel Atom
6、最新Kernel関係 Mainline Kernel, Installer
7、NetBSD8.0インストール Install NetBSD8.0
8、Android-x86関係 Android-x86
9、結論 Conclusion
Speaker:
Kapper
関西オープンフォーラム 2018
2018/11/10 16:00~ 16:50
Place: 大阪南港 ATC ITM棟 10Fサロン
This Presentation:
Slideshare & PDF files
publication of my HP
http://kapper1224.sakura.ne.jp
〜5,000 TW708
Windows Tablet
+NetBSD8.0
2
自己紹介 Self Introduction
●
My name: Kapper
●
Twitter account:@kapper1224
●
HP:http://kapper1224.sakura.ne.jp
●
Slideshare: http://www.slideshare.net/kapper1224
●
ニコナレ: http://niconare.nicovideo.jp/users/59379263
●
Facebook:https://www.facebook.com/kapper1224/
●
My Hobby:Linux、*BSD、and Mobile Devices
●
My favorite words:The record than the experiment important
●
Test Model:Netwalker(PC-Z1,T1)、Nokia N900、DynabookAZ、RaspberryPi
Nexus7(2012、2013)、Jetson TK-1、OpenPandora、Chromebook、
Fx0(FirefoxOS)、台湾Android電子辞書 無敵CD-920、CD-928
TW708、GPD-WIN、GPD-Pocket、Windows Tablet
●
Recent my Activity:
Hacking Linux on Windows10 Tablet (Intel Atom base).
Hacking NetBSD on UEFI and Windows Tablet.
I have been exhibiting in NT Nagoya and NT Kanazawa.(like MakerFaire)
I have about 110 Windows Tablet and 40 ARM Android, and test it now.
3
Recently my test こんな事やってます
1. Linux distro on x86 Windows Tablet 2. Machine Learning on Linux
3.Linux distributions on Android 4. Plesentations in Asia(Singapore,Taiwan)
Opensouce Conference
機械学習を勉強しています。
ビッグデータ解析などやっています。
8
Windows Tablet VS ARM Android
Windows Tablet Android Tablet RaspberryPi
OS x86_64
Win,Android,Ubuntu
,Debian,Fedora,Arc
h,openSUSE,others
MultiRom
CustomROM,
Difficult OS replace
ARM
Raspbian,NetBSD,Debian,
Ubuntu,Fedora,Arch,openS
USE,Android,others
Bootloader UEFI(BIOS):Easy Android bootloader U-Boot (and others)
Kernel
(Driver)
Mainline Kernel
Supported
Default only
Non opensources?
Mainline Kernel
Supported
Cost US$30〜
(USED)
US$20〜
(USED)
US$10〜
(New)
Speed Fast Fast or Slow Slow
KVM
Virtualbox
KVM
Virtualbox
KVM(only x86) KVM(only ARM)
Display
Battery
Yes Yes No
(option)
GPIO
(Elec Kit)
No
(option)
No
(option)
Yes
USB,SD
Live Boot
Yes No Yes
WindowsタブレットはKernelが進化して簡単にインストールが可能になりました
9
・Atom is a half as fast as Core i5 series.(on Power mode)
It is differences CPU clocks on Power mode.
(But Battery mode is low CPU clocks… They are not so...)
RaspberryPi3:
BCM2837:1.2GHz
Integer: 15313
Floating: 972
RaspberryPi3 x1
Atom VS Core i5 BOINC CPU Benchmarks
CF-NX2:Core i5 3340M
2.70GHz(⇒Powersave)
Integer: 99630(37342)
Floating: 3386(1273)
RaspberryPi3 x6.5
YOGA Tablet2:Z3745
1.33GHz
Integer: 53323
Floating: 1474
RaspberryPi3 x3.5
11
Ubuntu18.10 on GPD-Pocket2,Win2
●
There types are 「CoreM」 like Notebook.
No Atom bugs on Linux, very stable and drivers.
●
Testing Ubuntu, openSUSE, Fedora, GhostBSD.
GhostBSD(FreeBSD) Ubuntu18.10 NetBSD8.0
12
Fixed Ubuntu18.10 and others on
GPD-Pocket,Win?
●
The first generations of GPD-WIN and GPD-Pocket have
some Atom Linux bugs, like blackscreen.
●
But newest kernel distributions fixed now, Fedora,
openSUSE and Ubuntu… I think it.
●
The other Z8700's is not fixed blackscreen,like Portabook
13
Testing *BSD on UEFI and Windows Tablet
大手*BSDのフォローアップを開始しました。UEFI対応済です。
NetBSD on UEFI (2018/7〜)
GhostBSD(FreeBSD) on UEFI
(2014/11〜)
OpenBSD on UEFI (2015/10〜) DragonFly BSD on UEFI(2017/3〜)
14
Official supported out Hardware Hacking on Linux
サポート終了したハードウェアをLinuxでリサイクル
980 EasyCap(FS-VC200)
on Linux
500 Wacom PenTablet
PS-S1 UD on Linux
Some DisplayLink devices on Linux
15
Official supported out Hardware Hacking on Linux
サポート終了したハードウェアをLinuxでリサイクル
700 Video Capture, 5,000 Windows Tablet and MPlayer
USBVideo Capture
Mplayer
Ichigo-Jam
NES-Takeshi
Windows Tablet
16
Old UMPC Hacking on Linux
サポート終了したUMPCをLinuxでリサイクル
UX50X/V on Linux
RaspberryPi Desktop
Vaio Type P on Linux
CF-U1 on NetBSD
18
Recently openSUSE Tumbleweed is stable on Atom.
最近openSUSE TumbleweedがAtomでかなり安定
難しいマシンでも動作するので大変お気に入りです。
openSUSE on GPD-Pocket openSUSE on Portabook
Atom環境で急激に進化したopenSUSE
19
Fadora27 official supported UEFI32,64 bit
2017年7月のFedora27以降、UEFi32bitに正式対応。
Windowsタブレットでそのまま動くので動作テストに最適。
Fedora on Dynabook S68
20
Let's install RaspberryPi Desktop on Old UMPC
RaspberryPi Desktopで古いUMPCをリサイクルしよう
RaspberryPi Desktop
UX50X/V
RaspberryPi Desktop S68
22
NetBSD 8.0 on Window Tablet T100TAM
OS無し Windows タブレット T100TAMでNetBSD8.0
NetBSD8.0 T100TAM
23
NetBSD 8.0 on the other Window Tablet
その他Windows タブレットでNetBSD8.0テスト中
HPStream 7
GPD-Pocket
24
Bug Fixed Gnome 3.30 on Ubuntu18.10 and Wubi?
Gnome3.28の時の激しいバグは一旦収束した様に
見えます。UbuntuやFedoraで様子見。
25
Bug Fixed Touchscreen angle Ubuntu18.10 on T90Chi
T90Chiのタッチスクリーンの角度が反転するバグが直った
●
Fixed Touchscreen roatation angle bugs on Ubuntu 18.10.
●
The Screen is vertical orientation. Please use 「xrandr -o right」
to landscape orientation.If you want to use it autostart, add
「gnome-session-properties」 it’s command.
●
Not use build-in Bluetooth. Please use USB-Bluetooth.
27
Linux on 7 inch Windows Tablet
●
Install Linux Small 7 inch Windows Tablet.
HP Stream7 and WDP-71 can use touchscreen.
KVI-70 and WIN-70b can’t use it.
HPStream 7 WDP-71
28
Haiku OS supported UEFI
●
BeOS based Haiku OS supported UEFI.
(But no boot on T100TAM...)
CF-NX2 T100TAM
30
Recently Netwalker in 2018
●
Netwalker produced from Sharp Corp. in 2009.
Today,I opereted Android 〜4.0, NetBSD8.0,
Debian Wheezy chrooted.
31
Android Electronic Dictionary
●
Android based Electronic Dictionary have Qwerty
keyboard and Linux.
●
They can use chrooted Linux, like Debian noroot.
DOSBox, Windows9x, bochs and Qemu.
Edaco LUX4 Pro 無敵CD-928
無敵CD-920
Dayfiler
32
Gemini-Lake Windows Tablet 11/11?
●
I bought Gemini-Lake Windows Tablet in 11/11…
11/11 is a single’s day sales In china.
36
Manjaro openSUSE
CyanogenMOD-x86 Extix Linux
Surface3 (Cherry-Trail)UEFI64bit
≧Kernel4.8 and Ubuntu 17.04~ distro.
Mainline Kernel supported surface series.
SurfaceRT(WindowsRT) was able to install Windows10 Mobile!?
Ubuntu
LinuxMINT(Update Kernel)
37
Manjaro
Debian
Old Kernel Freeze Bug
Chinese Cheap Windows Tablet UEFI32bit
UEFI 32bit bootloader, Power and blackscreen problem
Ubuntu
Fedora
Android-x86 ExTixLinux
openSUSE
38
Intel VS AMD Windows Tablet
IntelのAtomはバグが多い。AMDはノートPCに近く、Surface 似
Intel Atom has a lot of bugs. Surface is UEFI64bit like
notebookPC. AMD Tablet is UEFI64bit and Radeon.
Easy to install Linux on AMD Tablet.(but 12V power supply)
Intel Surface and Tablet AMD Windows Tablet
Surface3
UEFI64bit
some bugs
Atom Tablet
UEFI32bit
Bay-Trail
~Cherry-Trail
A lot of bugs
AMD Tablet
W500S
LegacyBIOS
few bugs
Radeon
10 inch only
AMD Tablet
Photon2
UEFI64bit
few bugs
Radeon
10 inch only
44
インテル Atom UEFI Devices
●
Intel機種は仕様がほぼ同一でLinux移殖が容易
Intel PC is easy to install Linux distributions.
UEFIブートローダーのトラブルでUEFI32bit面倒
UEFI 32bit has some bootloader ploblems on Linux.
●
UEFI32bit Difficult
AtomWindows Tablet,
Stick PC
BasedOS:Windows10(32bit)
●
UEFI64bit Easy
Notebook、Surface,AMD
BasedOS:Windows10(64bit)
46
Touchscreen Driver
タッチスクリーンはドライバが動く機種と動かない機種があります。
Touchscreen is different chip on Tablet models.
This Lists Checked my Windows Tablet on Linux.
●
ATML1000:T100TA,Miix2 8,Yoga300,WT8-A32、ThinkPad8 ○
●
FTSC1000:TW708,XPS12,Flexx10.1,Cubei7,WinpadA1,UX360UX、T100TAM ○
●
SIS0817:T100TAF ◎
●
SIS0457:T100HA ◎
●
GSX1680(MSSL1680):WIN-7b、WN892,WDP-072,
and the other Chinese Tablet △(add Driver and xrandr)
●
MSHW0037:Surface3 (Kernel4.8〜) ◎
●
SYNA7500:Venue 8 Pro,Envy x2,W4-820 △(nomodeset)
●
Goodix Touch HID: Steam8,W1-810,Encore Mini WT7-C, GPD-WIN1,2
GPD-Pocket1,2、Star-Q、WDP-71 ◎
●
Atmel:Photon2 ◎
●
eGalax USB TouchController: W500S ○
●
ELAN 04f3:0732: Dynabook Tab S50 ◎
●
Wacom: DELL Venue Pro、 ◎
47Search Touchscreen driver 「MSSL1680」on
Mainline Kernel Git-Tree
●
Search 「Touchscreen」 or 「silead」 on Kernel git-
tree.If you want to use it, Please update kernel.
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/log/?qt=gre
p&q=silead
Search!
48Check your Windows Tablet Touchscreen driver
on Windows 「Devicemanager」 and dmesg.
●
Please check 「Devicemanager」,「HID Touchscreen」,「Hard
ware ID」 and 「Devicename」. I recommended to check no
「MSSL1680」, before you buy it.
Devicemanager
HID Touchscreen
Hardware ID
Devicename
Driver
50
~2week
新機能問題 New Drivers problem
●
新機能、ドライバがLinuxディストリに採用されるまでに結構
時間が掛る。問題はISOにバグがあるとブートしない事
If Kernel have few bugs, ISO image has no boot problem.
NEW
Devices
Chip
NEW
PC
Patch
Driver
Github
Release
Mainline
Kernel
LTS
Mainline
Kernel
Ubuntu
Fedora
Linux
Debian
CentOS
Linux
Some month
〜Some years?
3month
〜3year? 6month ~2year
openSUSE
Android-x86
Linux
3~6
month
~10
month
Few
Bugs
Some
Bugs
A lot of driver
No merged
Mainline
Next-β
Mainline
Kernel
3month
Patched
kernel
Arch
ExTiX
Linuxium
51Mainline Linux Kernel changelog on Atom
Kernel day Changelog Comments
4.10 2017/2 Generic Governors Support Coming For Intel P-State
supporting multi-touch data with the Surface 3. Surface 4 HID support
drm/i915/dsi: Do not clear DPOUNIT_CLOCK_GATE_DISABLE from vlv_init_display
Surface3/4
Blackscreen
4.11 2017/4 intel_idle.max_cstate=1 required on baytrail to prevent crashes Turbo Freeze fix
4.12 2017/7 platform-drivers-x86 for 4.12-1 (Cherry-Trail battery sensor INT33FE) 5/4
rtc: cmos: Do not assume irq 8 for rtc when there are no legacy irqs (Clock)
INT33FE
bcrm8723BS
4.13 2017/9 Add entry for Ployer Momo7w tablet touchscreen,GP-electronic T701
,I.T.Works TW891 2-in-1,PoV mobii wintab p800w
intel-hid: Wake up the system from suspend-to-idle,support RTL8153B
MSSL1680
4.14 2017/11 Add driver for Realtek RTL8822BE 802.11ac PCIe wireless network
Add support of 13d3:3494 RTL8723BE Bluetooth device
asus: Add T100CHI bluetooth keyboard dock special keys mapping,T100
touchpad,T100CHI bluetooth keyboard dock touchpad support
RTL8822BE
RTL8723BE
Multi-touch
4.15 2018/1 Meltdown/Spectre
silead_dmi: Add entry for the Chuwi Hi8 Pro tablet, the Digma e200 table
alps: add support for Alps T4 Touchpad device
Meltdown/Spectre
MSSL1680
4.16 2018/4 ALSA: hda - Revert power_save option default value
drm/i915/vlv: Add cdclk workaround for DSI, screen shift fix
platform/x86: GPD pocket fan: Stop work on suspend
HID: asus: Add touchpad max x/y and resolution info for the T200TA
platform/x86: silead_dmi: Add entry for newer BIOS for Trekstor Surftab 7.0
ASoC: rt5645: add platform data for the Teclast X80 Pro tablet,GPD-Win
Powersave
Screen shift
GPD-Pocket
MSSL1680 Patch
RT5645
4.17 2018/6 drm/i915: fix intel_backlight_device_register declaration
iio: hid-sensor-trigger: Fix sometimes not powering up the sensor after resume
Backlight Bug Fix
4.18 2018/8 Input: xpad - fix GPD Win 2 controller name
Input: silead - Add MSSL0002 ACPI HID
iio: imu: inv_mpu6050: Fix probe() failure on older ACPI based machines
GPD-WIN2
Chuwi Vi8 tablet
4.19 2018/10 ACPI / scan: Create platform device for INT33FE ACPI nodes
pwm: lpss: Check PWM powerstate after resume on Cherry Trail devices
Input: of_touchscreen - add support for touchscreen-min-x|y
platform/x86: touchscreen_dmi: Add info for the Cube KNote i1101 tablet
platform/x86: touchscreen_dmi: Add info for the Onda V820w tablet
platform/x86: touchscreen_dmi: Add info for the ONDA V891W Dual OS tablet
platform/x86: silead_dmi: Add touchscreen info for the Chuwi Vi10 tablet
ACPI Fix
Resume Fix
touchscreen-X/Y
OndaV820,891
Chuwi Vi10
52
UEFIブートエントリとnvramおさらい
UEFI boot entry and nvram.
UEFI(BIOS)
NVRAM
entry
entry
entry
HDD、SSD、USB Memory
boot-entry(インストール時などで書込み)
(when install OS,edit boot-entry)
efibootmgr
EasyUEFIなど編集
Edit EasyUEFI and
efibootmgr
EFI system partitons(FAT32)
GPT (EXT4,NTFS)・・・rootfs
/EFI/Boot/ubuntu/grubx64.efi
~/Microsoft/Boot/Bootmgfw.efi
~/refind/Refind_x64.EFI
⇒〜.conf、.cfg設定ファイルを読み込む
when boot 〜.efi, read 〜.conf, .cfg files
Ubuntu Android
-x86 Windows
注)Early Bay-Trail can boot only
「Bootmgfw.efi」. Please change
filename from grubx64.efi to it.
Disk
Bootloader?
ROM
bootloader
注)If NVRAM have no boot entry,to
read /EFI/boot/bootx64.efi, and
boot it.
BCD
store
Path only
53Why does USB memory write ISO to use dd command linux
(non supported UEFI32bit) on ISO images⇒Read−only
何故UEFI32bit非対応のISOをddコマンドで焼くとRead-onlyに
なるの?(bootia32.efiをコピーできない)
⇒CD-ROM形式のISOファイルは元々Read-onlyだから
UEFI 32bitのタブレットには
1.WinでRufusを使ってISOを
USBメモリに焼く
2.FAT32でフォーマットして
生ファイルをコピー貼り付け
3.UNetbootinを使う
4.FedoraやAndroid-x86
NetBSDなどUEFI32bit
対応OSを使う
こんどうさんの発表(Excellent!)
63
Install ISO for Android-x86
1.ISOファイルをダウンロードしてRufusでUSBメモリに焼く
Download ISO files and Write USB memory 「Rufus」.
2.UbuntuなどをLiveで起動してGpartedで容量確保(デュアルブート)
Boot Ubuntu Live and resize 「Gparted」(Install dualboot)
3.USBメモリから起動してインストール
Boot USB Memory and install.
4.HDDのパーティション変更(デュアルブート時は消さない様)
Make HDD Partations.(No Erase partations on Windows)
5.grub2ブートローダー設定(/EFI/bootなど)
Make grub2 bootloader and config (/EFI/boot and also)
6.再起動してAndroidの初期設定 Reboot and setting Android
Download
ISO
Rufus
Write ISO
on USB
memory
Boot
USB
Memory
Installl
Make
Partitions
Android
Install
Android-x86
Write
Grub2
Reboot
And
Setthings
Android
Start! ④ ⑤
Resize
HDD
/EFIboot
Gparted
② 注意)Android-x86のcfdiskにパーティション
リサイズ機能はありません。データ消えます。
自己責任で。
Android-x86 have partitons tools
「cfdisk」,doesn’t have resize HDD.
64
Install RPM files Android on Linux
●
公式HPにRPM方式でイメージ配布。Linuxで使える
●
Rpm -Uvh cm-x86-14.1-rc1.x86_64.rpm
もしくは、sudo apt install alien
sudo alien -ci cm-x86-14.1-rc1.x86_64.rpm
●
簡単インストール
Easy to install it.
66
Paint Graphics Tablet on Debian?
マウスカーソルとペンの2つが出ます
●
Some Tablet supported writing pen pressure,
on Linux kernel like a WACOM⇒ Surface.
But inexpensive Tablet is not supported it.
●
Debian and Wine can use Krita, Clip studio and
the other paint applications.
●
Clip Studio Paint on Wine
●
YOGA Tablet2 is not supported
Pen pressure.(no Hardware)
67
Windows Steam on Wine
●
Windows Steam on Wine32bit+.Net Frameworks4.
●
A lot of Games operate on Wine (No protect on Steam)
●
Antimicro supported keyboard emulate on GamePad
68
Play PC-98 emulation on DOSBox-X
●
DOSBox-X can play PC-98 games and old Touhou.
●
Supported Fedora RPM and Windows.
●
Need to build Ubuntu or any other Linux.