Differences between revisions 15 and 18 (spanning 3 versions)
Revision 15 as of 2019-02-19 22:02:04
Size: 14300
Editor: ?IdaBoustead
Comment:
Revision 18 as of 2019-02-20 20:20:14
Size: 28137
Editor: ?IdaBoustead
Comment:
Deletions are marked like this. Additions are marked like this.
Line 18: Line 18:
~- Sub-models ('''SW14-05''') options :<<BR>> - Processor: '''Intel Atom X5-Z8300 (Quad-Core)'''<<BR>> - Video card: '''Intel HD Graphics (Cherrytrail) 500MHz''' <<BR>> - Screen size: '''10.1"'''<<BR>> - Wireless card: '''Broadcom 43241b4 SDIO (brcmfmac43241b4-sdio)'''<<BR>> - Disk: '''eMMC 32GB (/dev/mmcblk0)'''<<BR>> - RAM: '''DDR3L 2048MB -~


= Overall Status =
~- Sub-models ('''SW14-05''') options :<<BR>> - Processor: '''Intel Atom x5-Z8300 (Quad-Core, 1.44GHz, 2MB, 64-bit)'''<<BR>> - Video card: '''Intel HD Graphics (Cherrytrail) 500MHz''' <<BR>> - Screen size: '''10.1"'''<<BR>> - Disk: '''eMMC 32GB (/dev/mmcblk0)'''<<BR>> - RAM: '''LPDDR3 2048MB ''' <<BR>> - Wireless card: '''Broadcom 43241b4 SDIO (brcmfmac43241b4-sdio)'''<<BR>> - Front Camera/Webcam: '''2 Megapixel (Auto-focus)'''<<BR>> - Rear Camera: '''5 Megapixel (Auto-focus)'''<<BR>> - Microphone: '''1'''<<BR>> - Micro HDMI: '''1'''<<BR>> - Sensors: '''Proximity, Digital Compass, Accelerometer, Gyroscope'''<<BR>> - Touchscreen: '''Multi-Touch'''<<BR>> - Dock: '''<<BR>> - Physical Keyboard: Yes <<BR>> - Touchpad: Multi-Touch Gesture <<BR>> - USB Port: 2.0'''<<BR>> - USB 3.0 Port: '''Type-C'''<<BR>> - Battery: '''2-cell Li-Polymer, 8060mAh, 30Wh''' -~

<<TableOfContents(3)>>

= Overall Status in Debian Testing =
Line 25: Line 26:
||Boot Standard Kernel: || {OK} ||
|| USB to Ethernet Adapter || {OK} ||
|| Detect Installation Media: || {i} ||
|| Detect eMMC as bootable: || {i} ||
## If Xorg doesn't work at all (not even with vesa driver), then move Xorg line here.
||||'''Extra Features'''||
|| CPU Frequency Scaling || [?] ||
|| Hibernation || [?] ||
|| Sleep / Suspend || [?] ||
|| Xorg || {OK} ||
|| - OpenGL || {OK} ||
|| - Resize-and-Rotate(randr) || {OK} ||
|| Switch to External Screen || [?] ||
|| Dock || {OK} ||
|| - Built-in (Touchpad) || {OK} ||
|| - Built-in (Keyboard) || {OK} ||
|| - Built-in (USB Port) || {OK} ||
|| Modem || [?] ||
|| Wireless/Wifi || [?] ||
|| Keyboard's Hotkeys || [?] ||
|| Boot Standard Kernel: || {OK} ||
|| Dock: || {OK} ||
|| - TouchPad: || {OK} ||
|| - Multi-Touch Support || {OK} ||
|| - Keyboard: || {OK} ||
|| - Hot Keys (fn+f3,f7,f8,f11,f12) || {OK} ||
|| - USB 2.0 Port: || {OK} ||
|| USB 3.0 Type C Port: || {OK} ||
|| Detect and Boot Installation Media: || {i} ||
|| Detect and Boot eMMC Storage: || {i} ||
|||| '''Extra Features''' ||
|| CPU Frequency Scaling: || [?] ||
|| Shutdown: || {OK} ||
|| Reboot: || {OK} ||
|| Hibernation: || /!\ ||
|| Sleep / Suspend: || /!\ ||
|| Screensaver / Lock Screen: || {OK} ||
|| Battery Monitor: || /!\ ||
|| Xorg: || {OK} ||
|| - OpenGL: || {OK} ||
|| - Resize-and-Rotate(randr): || {i} ||
|| Screen Backlight: || {X} (always at full brightness) ||
|| Touchscreen: || {OK} (but no multi-touch) ||
|| Sensors: || {i} (only auto-rotate is known to work in Gnome Desktop but out of alignment with orientation) ||
|| - Accelerometer: || [?] ||
|| - Proximity: || [?] ||
|| - Gyroscope: || {i} (works but out of alignment with orientation) ||
|| - Digital Compass: || [?] ||
|| Micro HDMI Port: || [?] ||
|| Bluetooth: || [?] ||
|| WiFi: || /!\ (method to get working exists but tests unsuccessful due to suspected hardware malfunction [as in mine is broken], issue was present in original operating system [Windows 10 Home]) ||
|| Modem: || /!\ (may be locked to a carrier, needs testing with said carrier) ||
|| Sound: || /!\ (all attempts to get audio working have failed so far) ||
|| MicroSD card reader: || [?] ||
|| Front Camera: || [?] ||
|| Rear Camera: || [?] ||
Line 47: Line 64:
= Important Note =
### Any Important note, before the user starts installing Debian
### Like Bios, Disk, MBR Configuration. (default : ''none'')
{i} In this setup I used a Generic USB to 1Gb Ethernet Adapter as I could not get the WiFi to work. I would recommend having one handy. <<BR>> {i} In this setup I used the Debian 9.7 Gnome Desktop Live CD image. <<BR>> {i} In this setup I assume that you have the Keyboard/Touchpad Dock. If you don't then you will need a USB C OTG Adapter and USB 3 or 4 way Hub for a Keyboard, Mouse and USB Key (and a USB to Ethernet Adapter for network access). <<BR>> {i} In this Setup there is a requirement for BIOS configuration. <<BR>> {i} I am currently testing an LXDE image and experimenting with a Debootstrap installation method.
= Important Notes =
{i} In this setup I assume you have the "Dock" that comes with the tablet and that you have a USB Key of at the least 4GB. If you do not then you will need the following:- '''<<BR>> - A USB Type C Male to USB Type A Female (On The Go [OTG]) Adapter <<BR>> - A three or four way USB Hub <<BR>> - A USB Mouse <<BR>> - A USB Keyboard'''<<BR>> {i} In this setup you will need to make changes to the BIOS which is UEFI with no known legacy support. <<BR>> - {i} In this setup a Generic USB to Ethernet Adapter was used for network connectivity, I would recommend having one handy. They are plug and play devices, no configuration is required. <<BR>> - Currently included in this Wiki page is the Installation Procedure for [[https://cdimage.debian.org/debian-cd/9.7.0-live/amd64/iso-hybrid/|Debian 9.7(Stretch)]] with Gnome Desktop CD.

= Other Notes =
{i} I am currently in the process of testing [[https://cdimage.debian.org/debian-cd/9.7.0-live/amd64/iso-hybrid/|Debian 9.7(Stretch)]] with LXDE Desktop CD, XFCE Desktop CD and a experimental Debootstrap Installation Method(s).



= Creating the Installation Media =
 {i} You will need at the least a 4GB USB Key, preferrably with USB Type C or an OTG Adapter for it. If you have the dock then you can at the least do an offline install if the WiFi doesn't work. <<BR>> - You will need to create a '100MB FAT16 (vFAT) EFI Partition' and the rest a 'FAT32 (FAT) Partition'. <<BR>> - Find out what the device path of the USB Key is with:-
{{{
# fdisk -l
}}}
 - Then do:-
{{{
# fdisk /dev/sdX

Welcome to fdisk (util-linux 2.29.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.


Command (m for help): g
Created a new GPT disklabel (GUID: 22EFEFD6-7826-4F19-BE8F-BAC5ABC362FC).

Command (m for help): n
Partition number (1-128, default 1): 1
First sector (2048-61079518, default 2048): 2048
Last sector, +sectors or +size{K,M,G,T,P} (2048-61079518, default 61079518): +100M

Created a new partition 1 of type 'Linux filesystem' and of size 100 MiB.

Command (m for help): n
Partition number (2-128, default 2): 2
First sector (206848-61079518, default 206848): 206848
Last sector, +sectors or +size{K,M,G,T,P} (206848-61079518, default 61079518): 61079518

Command (m for help): t
Partition number (1-4, default 4): 1
Hex code (type L to list all codes): 1

Changed type of partition 'Linux filesystem' to 'EFI System'.

Command (m for help): p
Disk /dev/mmcblk0: 29.1 GiB, 31272730624 bytes, 61079552 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 22EFEFD6-7826-4F19-BE8F-BAC5ABC362FC

Device Start End Sectors Size Type
/dev/mmcblk0p1 2048 206847 204800 100M EFI System
/dev/mmcblk0p2 206848 61079518 60870625 29G Linux filesystem

Command (m for help): w

# mkfs.vfat -n EFI /dev/sdX1
# mkfs.vfat -n LIVE /dev/sdX2

# mkdir -p mnt debian-live/EFI debian-live/LIVE debian-live/ISO

# mount /dev/sdX1 /mnt/debian-live/EFI
# mount /dev/sdX2 /mnt/debian-live/LIVE
# mount -oro /[Path-to-ISO-Directory]/debian-live-9.7.0-amd64-[Desktop].iso /mnt/debian-live/ISO

# cp -ar /mnt/debian-live/ISO/* /mnt/debian-live/LIVE

# apt install grub-efi

# grub-install --removable --target=x86_64-efi --boot-directory=/mnt/debian-live/LIVE/boot/ --efi-directory=/mnt/debian-live/EFI/ /dev/sdX

umount /mnt/debian-live/EFI
umount /mnt/debian-live/LIVE
umount /mnt/debian-live/ISO

}}}



= BIOS =
 - You must boot into the BIOS using the following procedure:- '''<<BR>> - From off state simultaneously hold 'Power'+'Volume-Up' Keys on the right handside of the tablet. '''<<BR>> - On the left side menu select 'Boot', make sure 'Secure Boot' is 'Enabled' and move USB HDD/[Device Name] to the top of the list using the 'Arrows'. <<BR>> - On the left side menu select 'Security', then select 'Erase all Secure Boot Setting' and select Yes. <<BR>> On the left side menu select 'Boot', using the 'Up Arrow' on the screen move 'USB HDD' to the top. <<BR>> - On the left side menu select 'Exit', select 'Save and Exit'.

Line 53: Line 150:
== BIOS ==
 - To get into the BIOS power off and then simultaneously press/hold power + vol-up <<BR>> - Select Boot on the side menu and make sure Secure Boot is Enabled. <<BR>> - Select Security on the side menu and then Select an UEFI file as trusted for executing, select the USB device, navigate to and select the *.efi file, give it a name, Ok. <<BR>> - Select Boot again and disable secure boot and move USB HDD/Device to the top of the boot order. <<BR>> - Select Exit on the side menu, Save and Exit.
== Installing Debian using Debian 9.7 Gnome Desktop Live CD image ==
 - Choose your method of installation and follow prompts until you get to disk partitioning. <<BR>> - Select Partition Disks Manually. <<BR>> - Delete all Partitions under eMMC or /dev/mmcblk0. <<BR>> - Create a 100MB EFI Partition, 28GB ext4 / Partition and 2GB SWAP Partition then Finnish and Write Changes. <<BR>> - Continue the setup as normal then allow to reboot with the USB Key still in.
== Finalising Installation ==
 - In Grub menu highlight an installer option and press 'e'. <<BR>> - Amend 'linux ~/vmlinuz ~' line to 'linux ~/vmlinuz root=/dev/mmcblk0p2' and press f10. This will boot you to the newly installed Debian environment. <<BR>> - If graphical open a terminal window. <<BR>> - Like the [[https://wiki.debian.org/InstallingDebianOn/Asus/T100TA|T100TA]] to get the WiFi working, if at all, you need to run

##== Debootstrap Install ==
## {i} This method requires either a USB Key with USB Type C support or an OTG connector as the wifi may not work you will also need a USB to Ethernet Adapter, again assuming you have the Dock as this is neccessary for Mouse, Keyboard and the USB 2.0 Port on the side for the USB to Ethernet Adapater. <<BR>> - Boot to USB and select 'Live'. <<BR>> - Open a terminal window:-
##{{{
##$ ip link show
##}}}
## - look for something starting 'enx' make note of this a LXDE at least requires some configuration for the USB to Ethernet Adapter to connect to the network. Now run:-
##{{{
##$ ip address show
##}}}
## - If no IP Address shows for a device 'enx' then run:-
##{{{
##$ sudo nano /etc/network/interfaces
##
## auto lo
## iface lo inet loopback
##
## auto enx[Some-MAC-Address]
## iface enx[Some-MAC-Address] inet dhcp
##
##ctrl+x y return
##
##$ sudo ifup enx[Some-MAC-Address]
##}}}
## - Now we need to install some packages on the live system:-
##{{{
##$ sudo apt update
##$ sudo apt install debootstrap grub-efi
##}}}
## - Now we need to partition '/dev/mmcblk0':-
##{{{
##$ sudo fdisk /dev/mmcblk0
##
##Welcome to fdisk (util-linux 2.29.2).
##Changes will remain in memory only, until you decide to write them.
##Be careful before using the write command.
##
##
##Command (m for help): g
##Created a new GPT disklabel (GUID: 22EFEFD6-7826-4F19-BE8F-BAC5ABC362FC).
##
##Command (m for help): n
##Partition number (1-128, default 1): 1
##First sector (2048-61079518, default 2048): 2048
##Last sector, +sectors or +size{K,M,G,T,P} (2048-61079518, default 61079518): +100M
##
##Created a new partition 1 of type 'Linux filesystem' and of size 100 MiB.
##
##Command (m for help): n
##Partition number (2-128, default 2): 2
##First sector (206848-61079518, default 206848): 206848
##Last sector, +sectors or +size{K,M,G,T,P} (206848-61079518, default 61079518): +2152449
##
##Created a new partition 2 of type 'Linux filesystem' and of size 1 GiB.
##Partition #2 contains a ext4 signature.
##
##Do you want to remove the signature? [Y]es/[N]o: y
##
##The signature will be removed by a write command.
##
##Command (m for help): n
##Partition number (3-128, default 3): 3
##First sector (2359298-61079518, default 2361344): 2361344
##Last sector, +sectors or +size{K,M,G,T,P} (2361344-61079518, default 61079518): +26G
##
##Created a new partition 3 of type 'Linux filesystem' and of size 26 GiB.
##
##Command (m for help): n
##Partition number (4-128, default 4): 4
##First sector (2359298-61079518, default 56887296): 56887296
##Last sector, +sectors or +size{K,M,G,T,P} (56887296-61079518, default 61079518): 61079518
##
##Created a new partition 4 of type 'Linux filesystem' and of size 2 GiB.
##
##Command (m for help): t
##Partition number (1-4, default 4): 1
##Hex code (type L to list all codes): 1
##
##Changed type of partition 'Linux filesystem' to 'EFI System'.
##
##Command (m for help): t
##Partition number (1-4, default 4): 4
##Hex code (type L to list all codes): 19
##
##Changed type of partition 'Linux filesystem' to 'Linux swap'.
##
##Command (m for help): p
##Disk /dev/mmcblk0: 29.1 GiB, 31272730624 bytes, 61079552 sectors
##Units: sectors of 1 * 512 = 512 bytes
##Sector size (logical/physical): 512 bytes / 512 bytes
##I/O size (minimum/optimal): 512 bytes / 512 bytes
##Disklabel type: gpt
##Disk identifier: 22EFEFD6-7826-4F19-BE8F-BAC5ABC362FC
##
##Device Start End Sectors Size Type
##/dev/mmcblk0p1 2048 206847 204800 100M EFI System
##/dev/mmcblk0p2 206848 2359297 2152450 1G Linux filesystem
##/dev/mmcblk0p3 2361344 56887295 54525952 26G Linux filesystem
##/dev/mmcblk0p4 56887296 61079518 4192223 2G Linux swap
##
##Command (m for help): w
##
##}}}
## - Open Disks and make File System Structures:-
## - Partition 1, Format Partition, Type 'Custom', Filesystem 'vfat', Name 'EFI'.
## - Partition 2, Format Partition, Type 'Custom', Filesystem 'ext3', Name 'BOOT'.
## - Partition 3, Format Partition, Type 'Custom', Filesystem 'ext4', Name 'DEBIAN'.
## - Partition 4, Format Partition, Type 'Custom', Filesystem 'swap', Name 'SWAP'.
## - Now we need to setup a directory structure before we can install the new operating system:-
##{{{
##$ sudo mkdir -p /mnt/DEBIAN
##$ sudo mount /dev/mmcblk0p3 /mnt/DEBIAN
##$ sudo mkdir /mnt/DEBIAN/boot
##$ sudo mount /dev/mmcblk0p2 /mnt/DEBIAN/boot
##$ sudo mkdir /mnt/DEBIAN/boot/efi
##$ sudo mount /dev/mmcblk0p3 /mnt/DEBIAN/boot/efi
##}}}
## - Now we need to initialise the SWAP Partition:-
##{{{
##$ sudo swapon /dev/mmcblk0p4
##}}}
## - Now we can set up our Debootstrap environment and chroot into it:-
##{{{
##$ sudo debootstrap --arch amd64 stretch /mnt/emmc/DEBIAN http://ftp.uk.debian.org/debian
##$ sudo -t proc proc /mnt/DEBIAN/proc/
##$ sudo -t sysfs sys /mnt/DEBIAN/sys/
##$ sudo -o bind /dev /mnt/DEBIAN/dev/
##$ sudo LANG=C.UTF-8 chroot /mnt/emmc/DEBIAN /bin/bash
### export TERM=xterm-color
##}}}
## - Now we need to setup the the System:-
##{{{
### nano /etc/apt/sources.list
##
## deb http://ftp.uk.debian.org/debian stretch main contrib non-free
## deb http://security.debian.org/ stretch/updates main contrib non-free
##
##ctrl+x y return
##
### apt update
##
### apt install locales console-setup grub-efi linux-image-4.9.0-8-amd64 xfce4 firmware-linux
### nano /etc/fstab
##
## /dev/mmcblk0p4 swap swap defaults 0 0
## /dev/mmcblk0p3 / ext4 acl,user_xattr 1 1
## /dev/mmcblk0p2 /boot ext3 defaults 1 2
## /dev/mmcblk0p1 /boot/efi vfat defaults 1 0
##
## proc /proc proc defaults 0 0
## sysfs /sys sysfs noauto 0 0
## debugfs /sys/kernel/debug debugfs noauto 0 0
## usbfs /proc/bus/usb usbfs noauto 0 0
## devpts /dev/pts devpts mode=0630,gid=5 0 0
##
##ctrl+x y return
##
### grub-install --target=x86_64-efi --boot-directory=/boot --efi-directory=/boot/efi /dev/mmcblk0
### apt clean
### exit
##$ sudo umount /mnt/DEBIAN/proc
##$ sudo umount /mnt/DEBIAN/sys
##$ sudo umount /mnt/DEBIAN/dev
##$ sudo umount /mnt/DEBIAN/boot/efi
##$ sudo umount /mnt/DEBIAN/boot
##$ sudo umount /mnt/DEBIAN
##$ sudo reboot
##}}}
##
== Debian 9.7(Stretch) with Gnome/LXDE Desktop CD Hybrid ISO Normal Install ==
 - Choose your method of installation and follow the prompts until you get to 'Partition Disks'. <<BR>> - You have the choice of using 'The Partitioner' or 'fdisk'. '''<<BR>> - The Partitioner:- '''<<BR>> - Select 'Manually Partition Disks'. <<BR>> - Delete all partitions under 'eMMC' or '/dev/mmcblk0'. <<BR>> - Create a '100MB EFI Partition', a '1GB ext3 /boot Partition', a '26GB ext4 / Partition' and a '2GB SWAP Partition', then select 'Finish and Write Changes'. '''<<BR>> - fdisk:- '''<<BR>> - Select 'Go Back', on the menu select 'Execute a Shell', if prompted select 'Yes'. <<BR>> - Now run the following:-
Line 60: Line 322:
# mkdir /lib/firmware/brcm
# cp /sys/firmware/efi/efivars/nvram-74b00bd9-805a-4d61-b51f-43268123d113 /lib/firmware/brcm/brcmfmac43241b4-sdio.txt
}}}
- If the WiFi still is not working then a USB to Ethernet Adapter will be required for access to the internet otherwise you will have to create a local repository on a USB Key. You could of course try a USB WiFi Adapter but I didn't have any luck with mine. <<BR>> - To boot without the USB Key you need to install Grub EFI.
{{{
# apt install grub-efi
# grub-install --target=x86_64-efi
}}}
- Shutdown the system and return to the BIOS by simultaneously holding power + Vol-up. <<BR>> - Select Boot and turn on Secureboot. <<BR>> - Select Security then Select an UEFI file as trusted for executing, Select EMMC, <EFI>, <debian>, grubx64.efi, give name GrubX64 and press YES, Select Exit, Exit Saving Changes. <<BR>> - You should now be able to boot without the USB Key. If not then follow the steps below. <<BR>> - Press and hold the power button to switch of the tablet. <<BR>> - In Grub menu highlight an installer option and press 'e'. <<BR>> - Amend 'linux ~/vmlinuz ~' line to 'linux ~/vmlinuz root=/dev/mmcblk0p2' and press f10. This will boot you to the newly installed Debian environment. <<BR>> - Open a terminal window and run as root.
{{{
# apt install grub-efi-ia32 grub-efi-ia32-bin
# grub-install --target=i386-efi
}}}
- Shutdown the system and return to the BIOS by simultaneously holding power + Vol-up. <<BR>> - Select Boot and turn on Secureboot. <<BR>> - Select Security then Select an UEFI file as trusted for executing, Select EMMC, <EFI>, <debian>, grubx64.efi, give name GrubX64 and press YES, Select Exit, Exit Saving Changes. <<BR>> - You should now be able to boot without the USB Key.
# fdisk /dev/mmcblk0

Welcome to fdisk (util-linux 2.29.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.


Command (m for help): g
Created a new GPT disklabel (GUID: 22EFEFD6-7826-4F19-BE8F-BAC5ABC362FC).

Command (m for help): n
Partition number (1-128, default 1): 1
First sector (2048-61079518, default 2048): 2048
Last sector, +sectors or +size{K,M,G,T,P} (2048-61079518, default 61079518): +100M

Created a new partition 1 of type 'Linux filesystem' and of size 100 MiB.

Command (m for help): n
Partition number (2-128, default 2): 2
First sector (206848-61079518, default 206848): 206848
Last sector, +sectors or +size{K,M,G,T,P} (206848-61079518, default 61079518): +2152449

Created a new partition 2 of type 'Linux filesystem' and of size 1 GiB.
Partition #2 contains a ext4 signature.

Do you want to remove the signature? [Y]es/[N]o: y

The signature will be removed by a write command.

Command (m for help): n
Partition number (3-128, default 3): 3
First sector (2359298-61079518, default 2361344): 2361344
Last sector, +sectors or +size{K,M,G,T,P} (2361344-61079518, default 61079518): +26G

Created a new partition 3 of type 'Linux filesystem' and of size 26 GiB.

Command (m for help): n
Partition number (4-128, default 4): 4
First sector (2359298-61079518, default 56887296): 56887296
Last sector, +sectors or +size{K,M,G,T,P} (56887296-61079518, default 61079518): 61079518

Created a new partition 4 of type 'Linux filesystem' and of size 2 GiB.

Command (m for help): t
Partition number (1-4, default 4): 1
Hex code (type L to list all codes): 1

Changed type of partition 'Linux filesystem' to 'EFI System'.

Command (m for help): t
Partition number (1-4, default 4): 4
Hex code (type L to list all codes): 19

Changed type of partition 'Linux filesystem' to 'Linux swap'.

Command (m for help): p
Disk /dev/mmcblk0: 29.1 GiB, 31272730624 bytes, 61079552 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 22EFEFD6-7826-4F19-BE8F-BAC5ABC362FC

Device Start End Sectors Size Type
/dev/mmcblk0p1 2048 206847 204800 100M EFI System
/dev/mmcblk0p2 206848 2359297 2152450 1G Linux filesystem
/dev/mmcblk0p3 2361344 56887295 54525952 26G Linux filesystem
/dev/mmcblk0p4 56887296 61079518 4192223 2G Linux swap

Command (m for help): w

# exit

}}}
   - Now go back to 'Partition Disks' and select 'Manually Partition Disks'. <<BR>> - Select the '1GB /dev/mmcblk0p2' Partition and make it 'ext3' and mount to '/boot'. <<BR>> - Select the '26GB /dev/mmcblk0p3' Partition and make it 'ext4' and mount to '/'. <<BR>> - Select the '2GB /dev/mmcblk0p4' Partition make it 'SWAP'. <<BR>> - Select 'Finish and Write Changes'. <<BR>> - Now continue the setup as normal and then as the system shuts down simultaneously hold the 'Power'+'Volume-Up' Keys on the righthand side of the tablet. <<BR>> - BIOS:- <<BR>> - Select 'Security' on the left menu, then 'Select an UEFI file as trusted for executing', select 'EMMC', select '<EFI>', select '<debian>', select 'GrubX64.efi', give the name 'DebianGrubX64', select 'Yes'. <<BR>> - Select 'Exit', select 'Save and Exit'. <<BR>> - As it boots again simultaneously hold 'Power'+'Volume-Up' Keys on the righthand side of the tablet. <<BR>> - On the left side menu select 'Boot', using the 'Up Arrow' on the screen move 'EFI Boot File 0: DebianGrubX64' to the top. <<BR>> - On the left side menu select 'Exit', select 'Save and Exit'. <<BR>> {i} Your system should now boot to Debian, First boot with desktop seems to take about 5-10 minutes and then it seems to boot instantly from there on, so please be patient with first boots. <<BR>> <<BR>>
Line 98: Line 420:
 The Audio is not working yet.  The Audio is not working yet, However I have narrowed down the driver to '/lib/firmware/intel/fw_sst_22a8.bin' from 'firmware-intel-sound' which can be installed via
{{{
$ sudo apt install firmware-intel-sound
}}}
The sound card I found by running:-
{{{
$ sudo dmesg | grep 22A8
 [ 3.663969] intel_sst_acpi 808622A8:00: No matching machine driver found
}}}
I have tried everything I can think of to get this driver working but all has failed, maybe someone with more experience might have some luck or some pointers in the right direction.
Line 101: Line 432:
 The Dock works splendidly, USB Port works. Touchscreen and Touchpad works
 but the multitouch doesn't.
 The Dock works and its USB Port works. Touchscreen and Touchpad works
 but the multitouch doesn't on the Touchscreen doesn't and Touchpad has limited multitouch support (Two fingers do scrolling).
Line 107: Line 438:
 (not covered yet)  Hibernation is an unknown as it hibernated but got stuck at boot, maybe I was too impatient but will test this again later.
Line 110: Line 441:
 Not Working although I believe that in this instance that there is a
physical fault in this SDIO Card not the driver as before migrating
to Debian I had the same issue in Windows 10?
 Not Working although I believe that in this instance that there is a physical fault in this SDIO Card not the driver as before migrating to Debian I had the same issue in Windows 10?
Line 115: Line 444:
 Not working yet but it may be carrier locked and haven't test "said carrier"
Sim Card yet.
 Not working yet but it may be carrier locked and haven't tested a Sim Card on "said carrier" Yet.
Line 222: Line 550:
''USB Host controllers entries (without OHCI, UHCI, EHCI) are removed too.'' ##''USB Host controllers entries (without OHCI, UHCI, EHCI) are removed too.''
Line 226: Line 554:
<<Anchor(attachments)>>
== Attachments ==
##<<Anchor(attachments)>>
##== Attachments ==
Line 233: Line 561:
''Some configuration files and sample outputs.''
<<AttachList>>

== Useful Links ==
##''Some configuration files and sample outputs.''
##<<AttachList>>

##== Useful Links ==
Line 243: Line 571:
Ida Boustead | hezukame@gmail.com
Line 245: Line 574:
## CategoryLaptopComputer | CategoryDesktopComputer | CategoryEmbeddedComputer CategoryTabletComputer

Translation(s): none

DebianOn is an effort to document how to install, configure and use Debian on some specific hardware. Therefore potential buyers would know if that hardware is supported and owners would know how get the best out of that hardware.

The purpose is not to duplicate the Debian Official Documentation, but to document how to install Debian on some specific hardware.

If you need help to get Debian running on your hardware, please have a look at our user support channels where you may find specific channels (mailing list, IRC channel) dedicated to certain types of hardware.

Models covered
Aspire Switch 10

Sub-models (SW14-05) options :
- Processor: Intel Atom x5-Z8300 (Quad-Core, 1.44GHz, 2MB, 64-bit)
- Video card: Intel HD Graphics (Cherrytrail) 500MHz
- Screen size: 10.1"
- Disk: eMMC 32GB (/dev/mmcblk0)
- RAM: LPDDR3 2048MB
- Wireless card: Broadcom 43241b4 SDIO (brcmfmac43241b4-sdio)
- Front Camera/Webcam: 2 Megapixel (Auto-focus)
- Rear Camera: 5 Megapixel (Auto-focus)
- Microphone: 1
- Micro HDMI: 1
- Sensors: Proximity, Digital Compass, Accelerometer, Gyroscope
- Touchscreen: Multi-Touch
- Dock:
- Physical Keyboard: Yes
- Touchpad: Multi-Touch Gesture
- USB Port: 2.0

- USB 3.0 Port: Type-C
- Battery: 2-cell Li-Polymer, 8060mAh, 30Wh

Overall Status in Debian Testing

Core Components

[ATTACH]

Boot Standard Kernel:

{OK}

Dock:

{OK}

- ?TouchPad:

{OK}

- Multi-Touch Support

{OK}

- Keyboard:

{OK}

- Hot Keys (fn+f3,f7,f8,f11,f12)

{OK}

- USB 2.0 Port:

{OK}

USB 3.0 Type C Port:

{OK}

Detect and Boot Installation Media:

{i}

Detect and Boot eMMC Storage:

{i}

Extra Features

CPU Frequency Scaling:

[?]

Shutdown:

{OK}

Reboot:

{OK}

Hibernation:

/!\

Sleep / Suspend:

/!\

Screensaver / Lock Screen:

{OK}

Battery Monitor:

/!\

Xorg:

{OK}

- OpenGL:

{OK}

- Resize-and-Rotate(randr):

{i}

Screen Backlight:

{X} (always at full brightness)

Touchscreen:

{OK} (but no multi-touch)

Sensors:

{i} (only auto-rotate is known to work in Gnome Desktop but out of alignment with orientation)

- Accelerometer:

[?]

- Proximity:

[?]

- Gyroscope:

{i} (works but out of alignment with orientation)

- Digital Compass:

[?]

Micro HDMI Port:

[?]

Bluetooth:

[?]

WiFi:

/!\ (method to get working exists but tests unsuccessful due to suspected hardware malfunction [as in mine is broken], issue was present in original operating system [Windows 10 Home])

Modem:

/!\ (may be locked to a carrier, needs testing with said carrier)

Sound:

/!\ (all attempts to get audio working have failed so far)

MicroSD card reader:

[?]

Front Camera:

[?]

Rear Camera:

[?]

Legend :
{OK} = OK ; {X} Unsupported(No Driver) ; /!\ = Error (Couldn't get it working); [?] Unknown, Not Test ; [-] Not-applicable
{i} = Configuration Required; X-( = Only works with a non-free driver and or firmware

Important Notes

{i} In this setup I assume you have the "Dock" that comes with the tablet and that you have a USB Key of at the least 4GB. If you do not then you will need the following:-
- A USB Type C Male to USB Type A Female (On The Go [OTG]) Adapter
- A three or four way USB Hub
- A USB Mouse
- A USB Keyboard

{i} In this setup you will need to make changes to the BIOS which is UEFI with no known legacy support.
- {i} In this setup a Generic USB to Ethernet Adapter was used for network connectivity, I would recommend having one handy. They are plug and play devices, no configuration is required.
- Currently included in this Wiki page is the Installation Procedure for Debian 9.7(Stretch) with Gnome Desktop CD.

Other Notes

{i} I am currently in the process of testing Debian 9.7(Stretch) with LXDE Desktop CD, XFCE Desktop CD and a experimental Debootstrap Installation Method(s).

Creating the Installation Media

  • {i} You will need at the least a 4GB USB Key, preferrably with USB Type C or an OTG Adapter for it. If you have the dock then you can at the least do an offline install if the WiFi doesn't work.
    - You will need to create a '100MB FAT16 (vFAT) EFI Partition' and the rest a 'FAT32 (FAT) Partition'.
    - Find out what the device path of the USB Key is with:-

# fdisk -l
  • - Then do:-

# fdisk /dev/sdX

Welcome to fdisk (util-linux 2.29.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.


Command (m for help): g
Created a new GPT disklabel (GUID: 22EFEFD6-7826-4F19-BE8F-BAC5ABC362FC).

Command (m for help): n
Partition number (1-128, default 1): 1
First sector (2048-61079518, default 2048): 2048
Last sector, +sectors or +size{K,M,G,T,P} (2048-61079518, default 61079518): +100M

Created a new partition 1 of type 'Linux filesystem' and of size 100 MiB.

Command (m for help): n
Partition number (2-128, default 2): 2
First sector (206848-61079518, default 206848): 206848
Last sector, +sectors or +size{K,M,G,T,P} (206848-61079518, default 61079518): 61079518

Command (m for help): t   
Partition number (1-4, default 4): 1
Hex code (type L to list all codes): 1

Changed type of partition 'Linux filesystem' to 'EFI System'.

Command (m for help): p
Disk /dev/mmcblk0: 29.1 GiB, 31272730624 bytes, 61079552 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 22EFEFD6-7826-4F19-BE8F-BAC5ABC362FC

Device            Start      End  Sectors  Size Type
/dev/mmcblk0p1     2048   206847   204800  100M EFI System
/dev/mmcblk0p2   206848 61079518 60870625   29G Linux filesystem

Command (m for help): w

# mkfs.vfat -n EFI /dev/sdX1
# mkfs.vfat -n LIVE /dev/sdX2

# mkdir -p mnt debian-live/EFI debian-live/LIVE debian-live/ISO

# mount /dev/sdX1 /mnt/debian-live/EFI
# mount /dev/sdX2 /mnt/debian-live/LIVE
# mount -oro /[Path-to-ISO-Directory]/debian-live-9.7.0-amd64-[Desktop].iso /mnt/debian-live/ISO

# cp -ar /mnt/debian-live/ISO/* /mnt/debian-live/LIVE

# apt install grub-efi

# grub-install --removable --target=x86_64-efi --boot-directory=/mnt/debian-live/LIVE/boot/ --efi-directory=/mnt/debian-live/EFI/ /dev/sdX

umount /mnt/debian-live/EFI
umount /mnt/debian-live/LIVE
umount /mnt/debian-live/ISO

BIOS

  • - You must boot into the BIOS using the following procedure:-
    - From off state simultaneously hold 'Power'+'Volume-Up' Keys on the right handside of the tablet.

    - On the left side menu select 'Boot', make sure 'Secure Boot' is 'Enabled' and move USB HDD/[Device Name] to the top of the list using the 'Arrows'.
    - On the left side menu select 'Security', then select 'Erase all Secure Boot Setting' and select Yes.
    On the left side menu select 'Boot', using the 'Up Arrow' on the screen move 'USB HDD' to the top.
    - On the left side menu select 'Exit', select 'Save and Exit'.

Installation Procedure

Debian 9.7(Stretch) with Gnome/LXDE Desktop CD Hybrid ISO Normal Install

  • - Choose your method of installation and follow the prompts until you get to 'Partition Disks'.
    - You have the choice of using 'The Partitioner' or 'fdisk'.
    - The Partitioner:-

    - Select 'Manually Partition Disks'.
    - Delete all partitions under 'eMMC' or '/dev/mmcblk0'.
    - Create a '100MB EFI Partition', a '1GB ext3 /boot Partition', a '26GB ext4 / Partition' and a '2GB SWAP Partition', then select 'Finish and Write Changes'.
    - fdisk:-

    - Select 'Go Back', on the menu select 'Execute a Shell', if prompted select 'Yes'.
    - Now run the following:-

# fdisk /dev/mmcblk0

Welcome to fdisk (util-linux 2.29.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.


Command (m for help): g
Created a new GPT disklabel (GUID: 22EFEFD6-7826-4F19-BE8F-BAC5ABC362FC).

Command (m for help): n
Partition number (1-128, default 1): 1
First sector (2048-61079518, default 2048): 2048
Last sector, +sectors or +size{K,M,G,T,P} (2048-61079518, default 61079518): +100M

Created a new partition 1 of type 'Linux filesystem' and of size 100 MiB.

Command (m for help): n
Partition number (2-128, default 2): 2
First sector (206848-61079518, default 206848): 206848
Last sector, +sectors or +size{K,M,G,T,P} (206848-61079518, default 61079518): +2152449

Created a new partition 2 of type 'Linux filesystem' and of size 1 GiB.
Partition #2 contains a ext4 signature.

Do you want to remove the signature? [Y]es/[N]o: y 

The signature will be removed by a write command.

Command (m for help): n
Partition number (3-128, default 3): 3
First sector (2359298-61079518, default 2361344): 2361344
Last sector, +sectors or +size{K,M,G,T,P} (2361344-61079518, default 61079518): +26G

Created a new partition 3 of type 'Linux filesystem' and of size 26 GiB.

Command (m for help): n
Partition number (4-128, default 4): 4
First sector (2359298-61079518, default 56887296): 56887296
Last sector, +sectors or +size{K,M,G,T,P} (56887296-61079518, default 61079518): 61079518

Created a new partition 4 of type 'Linux filesystem' and of size 2 GiB.

Command (m for help): t   
Partition number (1-4, default 4): 1
Hex code (type L to list all codes): 1

Changed type of partition 'Linux filesystem' to 'EFI System'.

Command (m for help): t
Partition number (1-4, default 4): 4
Hex code (type L to list all codes): 19

Changed type of partition 'Linux filesystem' to 'Linux swap'.

Command (m for help): p
Disk /dev/mmcblk0: 29.1 GiB, 31272730624 bytes, 61079552 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 22EFEFD6-7826-4F19-BE8F-BAC5ABC362FC

Device            Start      End  Sectors  Size Type
/dev/mmcblk0p1     2048   206847   204800  100M EFI System
/dev/mmcblk0p2   206848  2359297  2152450    1G Linux filesystem
/dev/mmcblk0p3  2361344 56887295 54525952   26G Linux filesystem
/dev/mmcblk0p4 56887296 61079518  4192223    2G Linux swap

Command (m for help): w

# exit

  • - Now go back to 'Partition Disks' and select 'Manually Partition Disks'.
    - Select the '1GB /dev/mmcblk0p2' Partition and make it 'ext3' and mount to '/boot'.
    - Select the '26GB /dev/mmcblk0p3' Partition and make it 'ext4' and mount to '/'.
    - Select the '2GB /dev/mmcblk0p4' Partition make it 'SWAP'.
    - Select 'Finish and Write Changes'.
    - Now continue the setup as normal and then as the system shuts down simultaneously hold the 'Power'+'Volume-Up' Keys on the righthand side of the tablet.
    - BIOS:-
    - Select 'Security' on the left menu, then 'Select an UEFI file as trusted for executing', select 'EMMC', select '<EFI>', select '<debian>', select '?GrubX64.efi', give the name '?DebianGrubX64', select 'Yes'.
    - Select 'Exit', select 'Save and Exit'.
    - As it boots again simultaneously hold 'Power'+'Volume-Up' Keys on the righthand side of the tablet.
    - On the left side menu select 'Boot', using the 'Up Arrow' on the screen move 'EFI Boot File 0: ?DebianGrubX64' to the top.
    - On the left side menu select 'Exit', select 'Save and Exit'.
    {i} Your system should now boot to Debian, First boot with desktop seems to take about 5-10 minutes and then it seems to boot instantly from there on, so please be patient with first boots.

Configuration

Display

  • Seems to work out of the box without any user configuration although I would note that the auto rotate feature has a glitch where when landscape it orientates to portrait? I haven't found a fix for that yet.

Audio

  • The Audio is not working yet, However I have narrowed down the driver to '/lib/firmware/intel/fw_sst_22a8.bin' from 'firmware-intel-sound' which can be installed via

$ sudo apt install firmware-intel-sound

The sound card I found by running:-

$ sudo dmesg | grep 22A8
 [    3.663969] intel_sst_acpi 808622A8:00: No matching machine driver found

I have tried everything I can think of to get this driver working but all has failed, maybe someone with more experience might have some luck or some pointers in the right direction.

Touchpad & Keyboard Dock and Touchscreen

  • The Dock works and its USB Port works. Touchscreen and Touchpad works but the multitouch doesn't on the Touchscreen doesn't and Touchpad has limited multitouch support (Two fingers do scrolling).

Power Management

  • Hibernation is an unknown as it hibernated but got stuck at boot, maybe I was too impatient but will test this again later.

WiFi

  • Not Working although I believe that in this instance that there is a physical fault in this SDIO Card not the driver as before migrating to Debian I had the same issue in Windows 10?

Modem

  • Not working yet but it may be carrier locked and haven't tested a Sim Card on "said carrier" Yet.


System Summary

lspci

00:00.0 Host bridge [0600]: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series SoC Transaction Register [8086:2280] (rev 22)
        Subsystem: Acer Incorporated [ALI] Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series SoC Transaction Register [1025:1021]
        Flags: bus master, fast devsel, latency 0
        Kernel driver in use: iosf_mbi_pci

00:02.0 VGA compatible controller [0300]: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCI Configuration Registers [8086:22b0] (rev 22) (prog-if 00 [VGA controller])
        Subsystem: Acer Incorporated [ALI] Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCI Configuration Registers [1025:1021]
        Flags: bus master, fast devsel, latency 0, IRQ 301
        Memory at 90000000 (64-bit, non-prefetchable) [size=16M]
        Memory at 80000000 (64-bit, prefetchable) [size=256M]
        I/O ports at 1000 [size=64]
        [virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
        Capabilities: <access denied>
        Kernel driver in use: i915
        Kernel modules: i915

00:03.0 Multimedia controller [0480]: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series Imaging Unit [8086:22b8] (rev 22)
        Subsystem: Acer Incorporated [ALI] Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series Imaging Unit [1025:1021]
        Flags: bus master, fast devsel, latency 0, IRQ 255
        Memory at 91000000 (32-bit, non-prefetchable) [size=4M]
        Capabilities: <access denied>

00:0b.0 Signal processing controller [1180]: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series Power Management Controller [8086:22dc] (rev 22)
        Subsystem: Acer Incorporated [ALI] Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series Power Management Controller [1025:1021]
        Flags: bus master, fast devsel, latency 0, IRQ 298
        Memory at 91818000 (64-bit, non-prefetchable) [size=4K]
        Capabilities: <access denied>
        Kernel driver in use: proc_thermal
        Kernel modules: processor_thermal_device

00:14.0 USB controller [0c03]: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series USB xHCI Controller [8086:22b5] (rev 22) (prog-if 30 [XHCI])
        Subsystem: Acer Incorporated [ALI] Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series USB xHCI Controller [1025:1021]
        Flags: bus master, medium devsel, latency 0, IRQ 297
        Memory at 91800000 (64-bit, non-prefetchable) [size=64K]
        Capabilities: <access denied>
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci

00:1a.0 Encryption controller [1080]: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series Trusted Execution Engine [8086:2298] (rev 22)
        Subsystem: Acer Incorporated [ALI] Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series Trusted Execution Engine [1025:1021]
        Flags: bus master, fast devsel, latency 0, IRQ 255
        Memory at 91700000 (32-bit, non-prefetchable) [size=1M]
        Memory at 91600000 (32-bit, non-prefetchable) [size=1M]
        Capabilities: <access denied>

00:1f.0 ISA bridge [0601]: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCU [8086:229c] (rev 22)
        Subsystem: Acer Incorporated [ALI] Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCU [1025:1021]
        Flags: bus master, medium devsel, latency 0
        Capabilities: <access denied>
        Kernel driver in use: lpc_ich
        Kernel modules: lpc_ich

lsusb

lsusb -v | grep -E '\<(Bus|iProduct|bDeviceClass|bDeviceProtocol)' 2>/dev/null

Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
  bDeviceClass            9 Hub
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
  bDeviceProtocol         3 
  iProduct                2 
Bus 001 Device 003: ID 12d1:15bb Huawei Technologies Co., Ltd. 
  bDeviceClass          239 Miscellaneous Device
  bDeviceProtocol         1 Interface Association
  iProduct                5 
      (Bus Powered)
      (Bus Powered)
      (Bus Powered)
Bus 001 Device 004: ID 06cb:73f5 Synaptics, Inc. 
  bDeviceClass            0 (Defined at Interface level)
  bDeviceProtocol         0 
  iProduct                2 
Bus 001 Device 005: ID 0bda:8153 Realtek Semiconductor Corp. 
  bDeviceClass            0 (Defined at Interface level)
  bDeviceProtocol         0 
  iProduct                2 
      (Bus Powered)
      (Bus Powered)
Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. Hub
  bDeviceClass            9 Hub
  bDeviceProtocol         1 Single TT
  iProduct                1 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  bDeviceClass            9 Hub
  bDeviceProtocol         1 Single TT
  iProduct      

Resources

Credits

Ida Boustead | hezukame@gmail.com


CategoryTabletComputer