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.

Models covered
ASUS UX360UA

Overall Status

Core Components

[ATTACH]

Boot Standard Kernel:

{i}

Detect hard drives:

{OK}

Extra Features

CPU Frequency Scaling

{OK}

CPU Fan Control

{X}

Hibernation

{OK}

Sleep / Suspend

{OK}

Xorg

{OK}

OpenGL

{OK}

Resize-and-Rotate

{i}

Screen Backlight

{OK} (use kernel >= 4.0)

Switch to External Screen

{i}

Mouse

{OK}

Built-in (Touchpad)

{OK}

Wireless/Wifi

{i} (use kernel >= 4.0)

Bluetooth

{OK}

Keyboard's backlight hotkeys

{OK}

SDcard reader

{OK}

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 Note

{i} Before installing Debian, Secure Boot needs to be disabled in BIOS, and CSM feature enabled.

Configuration

Resize-and-Rotate

Debian doesn't seem to support natively the rotation. However the Accelerometer is correctly detected. You can ensure by installing and running monitor sensor. I am currently using this:

user@ ~$ monitor-sensor
    Waiting for iio-sensor-proxy to appear
        +++ iio-sensor-proxy appeared
        === Has accelerometer (orientation: normal)
        === No ambient light sensor

I created a script to handle automatically orientation changes.

This sh handles not only orientation, but correctly sets the Touchscreen matrix (it changes when we orient the screen).

I also managed to shut the keyboard backlight and the touchpad.

(even though keyboard automatically disables itself when completely closed (Notebook in "tablet-mode")).

You can start a script like this simply by adding it in xfce autostart menu.

Thanks to Links2004:

The script looks like this:

LOGPATH="~/.orientation_sensor.log"
> $LOGPATH

set_orientation () {
 xrandr --output eDP1 --rotate $1
}

set_touchscreen() {
 xinput set-prop "FTSC1000:00 2808:5120" --type=float "Coordinate Transformation Matrix" $1
}

set_keyboard_backlight() {
 tee /sys/class/leds/asus::kbd_backlight/brightness <<< $1
}

lock_things() {
 set_keyboard_backlight "0"
 xinput float 14
}

monitor-sensor >> $LOGPATH 2>&1 &
while inotifywait -e modify $LOGPATH; do
ORIENTATION=$(tail -n 1 $LOGPATH | grep 'orientation' | grep -oE '[^ ]+$')

case "$ORIENTATION" in
 normal)
  set_orientation normal
  set_touchscreen "0 0 0 0 0 0 0 0 0"
  set_keyboard_backlight "3"
  #unlock things
  xinput reattach 14 2
  xinput --map-to-output 15 eDP1
  ;;

 bottom-up)
  set_orientation inverted
  set_touchscreen "-1 0 1 0 -1 1 0 0 1"
  lock_things
  ;;

 right-up)
  set_orientation right
  set_touchscreen "0 1 0 -1 0 1 0 0 1"
  lock_things
  ;;

 left-up)
  set_orientation left
  set_touchscreen "0 -1 1 1 0 0 0 0 1"
  lock_things
  ;;
esac
done

Kernel

To get the kernel Linux in version 4.* starting from a standard Jessie, you need to set some repositories. Edit  /etc/apt/sources.list , mine looks like this:

# jessie
deb http://deb.debian.org/debian/ jessie main
deb-src http://deb.debian.org/debian/ jessie main

deb http://security.debian.org/ jessie/updates main contrib
deb-src http://security.debian.org/ jessie/updates main contrib

# jessie-updates, previously known as 'volatile'
deb http://deb.debian.org/debian/ jessie-updates main contrib
deb-src http://deb.debian.org/debian/ jessie-updates main contrib

# backports
deb http://deb.debian.org/debian/ jessie-backports main contrib non-free
deb-src http://deb.debian.org/debian/ jessie-backports main contrib non-free
deb http://deb.debian.org/debian/ unstable main contrib non-free
deb-src http://deb.debian.org/debian/ unstable main contrib non-free

Then, do an apt-get update; apt-get upgrade

HiDPI

The UX360UA monitor has a resolution of 3200x1800px.

There's a scaling problem when connecting an external monitor. I'm using these commands to connect either FullHD and 2K monitors along the main one.

FullHD Monitor (1920x1080)

xrandr --output eDP1 --auto --output HDMI1 --auto --scale 2x2 --right-of eDP1
xrandr --output HDMI1 --scale 2x2 --mode 1920x1080 --fb 3840x4200 --pos 3250x0
xrandr --output eDP1 --scale 1x1 --pos 0x0

#Sometimes the touchscreen loses its calibration
#I restore it as follows
xinput --map-to-output 15 eDP1

2K Monitor (2560x1440)

xrandr --output HDMI1 --scale 1.5x1.5 --mode 2560x1440 --fb 3840x4200 --pos 3250x0
xrandr --output eDP1 --scale 1x1 --pos 0x0
xinput --map-to-output 15 eDP1
#Sometimes the touchscreen loses its calibration
#I restore it as follows
xinput --map-to-output 15 eDP1

You can read a detailed explaination here, in the "Multiple displays" paragraph:

XFCE

Using XFCE, you'll be able to set a DPI value in the Appearance settings, tab Fonts. A value of 192 is reasonably good.

Nevertheless I also recommend to activated anti-aliasing of the fonts, and Inconsolata as xfce4-terminal font (from  fonts-inconsolata  Debian package).

Audio

Everything worked out of the box, including hotkeys.

Touchpad

Works out of the box. Tap-clicks (single, double for right click, triple for middle) can be setup through XFCE mouse parameters. I had to tweak its acceleration (through Xfce configuration menu) because it felt too fast. You can also try tweaking using xset. xset m 1/2

Hotkey F9 works out of the box.

Power Management

The only thing to notice is the lack of managing the CPU Fan speed.

Sleep and hibernate

Sleep and Hibernate both do work without problems.

Screen backlight

Works with 4.9.0-3-amd64.


System Summary

xinput

⎡ Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ ELAN1200:00 04F3:3022 Touchpad            id=14   [slave  pointer  (2)]
⎜   ↳ FTSC1000:00 2808:5120                     id=15   [slave  pointer  (2)]
⎣ Virtual core keyboard                         id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ↳ Power Button                              id=6    [slave  keyboard (3)]
    ↳ Asus Wireless Radio Control               id=7    [slave  keyboard (3)]
    ↳ Video Bus                                 id=8    [slave  keyboard (3)]
    ↳ Power Button                              id=9    [slave  keyboard (3)]
    ↳ Sleep Button                              id=10   [slave  keyboard (3)]
    ↳ USB2.0 HD UVC WebCam                      id=13   [slave  keyboard (3)]
    ↳ Asus WMI hotkeys                          id=16   [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard              id=17   [slave  keyboard (3)]

lspci

00:00.0 Host bridge [0600]: Intel Corporation Device [8086:5904] (rev 02)
        Subsystem: ASUSTeK Computer Inc. Device [1043:14f0]
        Flags: bus master, fast devsel, latency 0
        Capabilities: <access denied>

00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:5916] (rev 02) (prog-if 00 [VGA controller])
        Subsystem: ASUSTeK Computer Inc. Device [1043:14f0]
        Flags: bus master, fast devsel, latency 0, IRQ 282
        Memory at ee000000 (64-bit, non-prefetchable) [size=16M]
        Memory at d0000000 (64-bit, prefetchable) [size=256M]
        I/O ports at f000 [size=64]
        [virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
        Capabilities: <access denied>
        Kernel driver in use: i915
        Kernel modules: i915

00:04.0 Signal processing controller [1180]: Intel Corporation Skylake Processor Thermal Subsystem [8086:1903] (rev 02)
        Subsystem: ASUSTeK Computer Inc. Skylake Processor Thermal Subsystem [1043:14f0]
        Flags: fast devsel, IRQ 16
        Memory at ef120000 (64-bit, non-prefetchable) [size=32K]
        Capabilities: <access denied>
        Kernel driver in use: proc_thermal
        Kernel modules: processor_thermal_device

00:13.0 Non-VGA unclassified device [0000]: Intel Corporation Device [8086:9d35] (rev 21)
        Subsystem: Intel Corporation Device [8086:9d35]
        Flags: bus master, fast devsel, latency 0, IRQ 20
        Memory at ef139000 (64-bit, non-prefetchable) [size=4K]
        Capabilities: <access denied>
        Kernel driver in use: intel_ish_ipc
        Kernel modules: intel_ish_ipc

00:14.0 USB controller [0c03]: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller [8086:9d2f] (rev 21) (prog-if 30 [XHCI])
        Subsystem: ASUSTeK Computer Inc. Sunrise Point-LP USB 3.0 xHCI Controller [1043:201f]
        Flags: bus master, medium devsel, latency 0, IRQ 276
        Memory at ef110000 (64-bit, non-prefetchable) [size=64K]
        Capabilities: <access denied>
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci

00:14.2 Signal processing controller [1180]: Intel Corporation Sunrise Point-LP Thermal subsystem [8086:9d31] (rev 21)
        Subsystem: ASUSTeK Computer Inc. Sunrise Point-LP Thermal subsystem [1043:14f0]
        Flags: fast devsel, IRQ 18
        Memory at ef138000 (64-bit, non-prefetchable) [size=4K]
        Capabilities: <access denied>
        Kernel driver in use: intel_pch_thermal
        Kernel modules: intel_pch_thermal

00:15.0 Signal processing controller [1180]: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 [8086:9d60] (rev 21)
        Subsystem: ASUSTeK Computer Inc. Sunrise Point-LP Serial IO I2C Controller [1043:14f0]
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Memory at ef137000 (64-bit, non-prefetchable) [size=4K]
        Capabilities: <access denied>
        Kernel driver in use: intel-lpss
        Kernel modules: intel_lpss_pci

00:15.1 Signal processing controller [1180]: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #1 [8086:9d61] (rev 21)
        Subsystem: ASUSTeK Computer Inc. Sunrise Point-LP Serial IO I2C Controller [1043:14f0]
        Flags: bus master, fast devsel, latency 0, IRQ 17
        Memory at ef136000 (64-bit, non-prefetchable) [size=4K]
        Capabilities: <access denied>
        Kernel driver in use: intel-lpss
        Kernel modules: intel_lpss_pci

00:16.0 Communication controller [0780]: Intel Corporation Sunrise Point-LP CSME HECI #1 [8086:9d3a] (rev 21)
        Subsystem: ASUSTeK Computer Inc. Sunrise Point-LP CSME HECI [1043:14f0]
        Flags: bus master, fast devsel, latency 0, IRQ 280
        Memory at ef135000 (64-bit, non-prefetchable) [size=4K]
        Capabilities: <access denied>
        Kernel driver in use: mei_me
        Kernel modules: mei_me

00:17.0 SATA controller [0106]: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] [8086:9d03] (rev 21) (prog-if 01 [AHCI 1.0])
        Subsystem: ASUSTeK Computer Inc. Sunrise Point-LP SATA Controller [AHCI mode] [1043:14f0]
        Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 277
        Memory at ef130000 (32-bit, non-prefetchable) [size=8K]
        Memory at ef134000 (32-bit, non-prefetchable) [size=256]
        I/O ports at f090 [size=8]
        I/O ports at f080 [size=4]
        I/O ports at f060 [size=32]
        Memory at ef133000 (32-bit, non-prefetchable) [size=2K]
        Capabilities: <access denied>
        Kernel driver in use: ahci
        Kernel modules: ahci

00:1c.0 PCI bridge [0604]: Intel Corporation Device [8086:9d10] (rev f1) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 274
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        I/O behind bridge: 00002000-00002fff
        Memory behind bridge: a0000000-a01fffff
        Prefetchable memory behind bridge: 00000000a0200000-00000000a03fffff
        Capabilities: <access denied>
        Kernel driver in use: pcieport
        Kernel modules: shpchp

00:1c.5 PCI bridge [0604]: Intel Corporation Sunrise Point-LP PCI Express Root Port #6 [8086:9d15] (rev f1) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 275
        Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
        Memory behind bridge: ef000000-ef0fffff
        Capabilities: <access denied>
        Kernel driver in use: pcieport
        Kernel modules: shpchp

00:1f.0 ISA bridge [0601]: Intel Corporation Device [8086:9d58] (rev 21)
        Subsystem: ASUSTeK Computer Inc. Device [1043:14f0]
        Flags: bus master, medium devsel, latency 0

00:1f.2 Memory controller [0580]: Intel Corporation Sunrise Point-LP PMC [8086:9d21] (rev 21)
        Subsystem: ASUSTeK Computer Inc. Sunrise Point-LP PMC [1043:14f0]
        Flags: fast devsel
        Memory at ef12c000 (32-bit, non-prefetchable) [disabled] [size=16K]

00:1f.3 Audio device [0403]: Intel Corporation Device [8086:9d71] (rev 21)
        Subsystem: ASUSTeK Computer Inc. Device [1043:14f0]
        Flags: bus master, fast devsel, latency 32, IRQ 283
        Memory at ef128000 (64-bit, non-prefetchable) [size=16K]
        Memory at ef100000 (64-bit, non-prefetchable) [size=64K]
        Capabilities: <access denied>
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel, snd_soc_skl

00:1f.4 SMBus [0c05]: Intel Corporation Sunrise Point-LP SMBus [8086:9d23] (rev 21)
        Subsystem: ASUSTeK Computer Inc. Sunrise Point-LP SMBus [1043:14f0]
        Flags: medium devsel, IRQ 16
        Memory at ef132000 (64-bit, non-prefetchable) [size=256]
        I/O ports at f040 [size=32]
        Kernel driver in use: i801_smbus
        Kernel modules: i2c_i801

02:00.0 Network controller [0280]: Intel Corporation Wireless 8260 [8086:24f3] (rev 3a)
        Subsystem: Intel Corporation Wireless 8260 [8086:0110]
        Flags: bus master, fast devsel, latency 0, IRQ 281
        Memory at ef000000 (64-bit, non-prefetchable) [size=8K]
        Capabilities: <access denied>
        Kernel driver in use: iwlwifi
        Kernel modules: iwlwifi

CategoryLaptopComputer CategoryDebianOn