User Tools

Site Tools


doc:appunti:hardware:jumper_ezbook_s3

This is an old revision of the document!


Jumper EZbook S3

Installing Debian testing (Buster) on the Jumper EZbook S3 notepad.

Booting from USB Key

We downloaded the netinst image debian-buster-DI-alpha3-amd64-netinst.iso from the Debian Installer Page and copied over an USB memory stick (using dd, destination the whole device).

  1. Insert the USB key and power-on the notebook. Quickly press the ESC key to eneter the BIOS setup.
  2. Into the Boot section, increased the Setup Prompt Timeout to 5 seconds and disabled the Quiet Boot (not strictly required, but useful).
  3. Changed the boot priority: at the 1st position choosed the UEFI: Generic Flash Disk, at the 2nd position the Windows Boot Manager.
  4. Exit BIOS setup, saving changes.

Installing From the Network

During the installation we had an USB-Ethernet dongle connected, because the WiFi is almost certainly non-working. The product we used is identified on the USB bus as 0bda:5401: USB3.0 Hub with gigabit Ethernet.

We had to install the following non-free packages, to obtain the required firmwares:

  • firmware-realtek (for rtlwifi/rtl8723bu_nic.bin and rtl_bt/rtl8723b_fw.bin)
  • firmware-misc-nonfree (for i915/bxt_dmc_ver1_07.bin)

How To Make the WiFi Working

The integrated WiFi card is attached to the USB bus, it is identified by ID obda:b720.

The WiFi did not work with the stock installation. The scanning for available access points is indeed working, but associating fails. After the failed association, even the scanning stops working. We upgraded the kernel to linux-image-4.17.0-1-amd64 in the hope that this will fix the WiFi problem, but nope.

We downloaded the sources of a kernel module which expressly states the compatibility with that device. This is the source code GitHub page.

apt-get install git build-essential
cd /usr/local/src
git clone https://github.com/lwfinger/rtl8723bu.git
cd rtl8723bu
# In Makefile: commented-out from the line EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
make
make install

This will install a new kernel module into /lib/modules/4.17.0-1-amd64/kernel/drivers/net/wireless/8723bu.ko and execute depmod to update the kernel modules list.

The kernel module will not survive a kernel upgrade (it should be recompilerd and reinstalled), so we have deinstalled the pseudo package linux-image-amd64 and leaved only the specific linux-image-4.17.0-1-amd64, to avoid automatic upgrades. The kernel module should be compatible with DKMS (the Debian kernel modules auto-building system), but our first try failed, so we went with the manual mode.

To be safe, blacklist the original kernel module by writing into /etc/modprobe.d/blacklist.conf the line:

blacklist rtl8xxxu

After a reboot you should find (lsmod) the module 8723bu loaded, instead of rtl8xxxu. Scanning for WiFi netwroks and association should work.

WiFi Resume Problem Workaround

The WiFi adapter does not resume after the stand-by! It seems there is the issue #91 already fiexd? A manual workaround is:

rmmod 8723bu
modprobe 8723bu

An automatic workaround seems to be creating a file /usr/lib/systemd/system-sleep/fix_internet.sh with:

#!/bin/sh
case $1/$2 in
    pre/*)
        ;;
    post/*)
        modprobe -r 8723bu
        modprobe 8723bu
        ;;
esac

TODO

  • How to prevent the notebook to go into stand-by mode, which make it unreachable from the network (e.g. ssh login).
  • Bluetooth not working?
  • WiFi adapter not working after resume?
  • How to hibernate instead of stand-by?
doc/appunti/hardware/jumper_ezbook_s3.1533029981.txt.gz · Last modified: 2018/07/31 11:39 by niccolo