Differences between revisions 2 and 3
Revision 2 as of 2016-03-11 15:53:56
Size: 9803
Editor: ?BernhardU
Comment:
Revision 3 as of 2016-03-11 16:05:41
Size: 10129
Editor: ?BernhardU
Comment:
Deletions are marked like this. Additions are marked like this.
Line 22: Line 22:
<<BR>> - MicroSD card slot
Line 32: Line 33:
||Boot Standard Kernel: || {OK} {i} ||
|| LAN network card: || {OK} ||
||Boot Standard Kernel: || {OK} ||
|| LAN network card: || {i}  ||
Line 37: Line 38:
|| Hibernation || [?] ||
|| Sleep / Suspend || [?] ||
|| Xorg || {OK} ||
|| Hibernation || [?]  ||
|| Sleep / Suspend || [?]  ||
|| Xorg || {i}  ||
Line 42: Line 43:
|| Switch to External Screen || [?] ||
|| Touchscreen || /!\ ||
|| Wireless/Wifi || X-( ||
|| Sound Card || /!\ ||
|| Switch to External Screen || [?]  ||
|| Touchscreen || /!\  ||
|| Wireless/Wifi || X-(  ||
|| Sound Card || /!\  ||
|| MicroSD card slot || [?] ||
|| Micro-USB connector || [?] ||
|| Power and volume buttons || [?] ||
Line 82: Line 86:

The short time between efifb and inteldrmfb it seems module simplefb is used <<BR>> for display output and due to the selected rotate value the screen is upside down.
''After editing execute "update-grub" to rebuild grub config and test by rebooting.''

The framebuffer seems to be controlled after efifb by module simplefb. <<BR>>
Because of the used rotate value the framebuffer is shown upside down. <<BR>>
But some seconds later module inteldrmfb takes over and shows correct landscape view.

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
PIPO X8
- CPU: Intel Atom Z3736F @ 1.33GHz
- Video card: Integrated Intel HD Graphics
- Screen size: 7" (800x1280, touchscreen)
- Wireless card: RTL8723BE (SDIO)
- LAN network card: 10/100M
- 32 GB ROM, 2 GB RAM
- MicroSD card slot
- Sound card: ?
- Bluetooth: ?

Overall Status

Installation was taken from an USB stick installed at a similar device. Debian Installer was just not tested on this device.
Tests were done with a testing/Stretch installation as of March 2016.

Core Components

[ATTACH]

Boot Standard Kernel:

{OK}

LAN network card:

{i}

Extra Features

CPU Frequency Scaling

{OK}

Hibernation

[?]

Sleep / Suspend

[?]

Xorg

{i}

- OpenGL

{OK}

- Resize-and-Rotate(randr)

{OK}

Switch to External Screen

[?]

Touchscreen

/!\

Wireless/Wifi

X-(

Sound Card

/!\

MicroSD card slot

[?]

Micro-USB connector

[?]

Power and volume buttons

[?]

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

{i} linux-image-4.4.0-1-amd64 4.4.4-2

Important Note

Device has UEFI x64 firmware with secure boot disabled.
Boot device selection is requested with F7 key.
Device is deliverd with Windows/Android 4.4 dual boot installation.
PIPO seems not to release kernel sources for their Android kernel.

Configuration

Display

Display adapter is identified in dmesg as:

[   10.193194] [drm] Initialized i915 1.6.0 20151010 for 0000:00:02.0 on minor 0

In UEFI and efifb stage the screen is rotated to portrait view.
Kernel module inteldrmfb needs kernel parameter to show in landscape view.

/etc/default/grub

GRUB_CMDLINE_LINUX="fbcon=rotate:3"

After editing execute "update-grub" to rebuild grub config and test by rebooting.

The framebuffer seems to be controlled after efifb by module simplefb.
Because of the used rotate value the framebuffer is shown upside down.
But some seconds later module inteldrmfb takes over and shows correct landscape view.

Xorg by default tried to use driver in package xserver-xorg-video-intel.
"This driver is deprecated in favor of the server builtin modesetting driver."
Both drivers comming up again in portrait mode.
This could be resolved with this change:

/usr/share/X11/xorg.conf.d/10-pipo-driver-and-rotation.conf

Section "Device"
        Identifier  "Card0"
        Driver      "modesetting"
EndSection

Section "Monitor"
        Identifier  "DSI-1"
        Option      "Rotate" "left"
EndSection

Audio

Got it not to work, even when some firmware from package firmware-intel-sound is loaded at boot.

Power Management

  • (not covered yet)

Touchscreen

Manufacturer is Goodix.
This module is not enabled in the default kernel.
Tried to build upstream version:

mkdir linux-git-goodix; cd linux-git-goodix
wget http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/plain/drivers/input/touchscreen/goodix.c
echo -e "obj-m += goodix.o\nall:\n\tmake -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules\nclean:\n\tmake -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean" > Makefile
make
echo -n 'file gpiolib.c +p' > /sys/kernel/debug/dynamic_debug/control
echo -n 'file gpiolib-acpi.c +p' > /sys/kernel/debug/dynamic_debug/control
echo -n 'file property.c +p' > /sys/kernel/debug/dynamic_debug/control
insmod goodix.ko dyndbg==pmf

But failed with these messages:

Mär 11 14:18:02 kernel: acpi GDIX1001:01: GPIO: looking up 0 in _CRS
Mär 11 14:18:02 kernel: goodix:goodix_ts_probe: Goodix-TS i2c-GDIX1001:01: I2C Address: 0x14
Mär 11 14:18:02 kernel: Goodix-TS i2c-GDIX1001:01: GPIO lookup for consumer irq
Mär 11 14:18:02 kernel: Goodix-TS i2c-GDIX1001:01: using ACPI for GPIO lookup
Mär 11 14:18:02 kernel: acpi GDIX1001:01: GPIO: looking up irq-gpios
Mär 11 14:18:02 kernel: acpi GDIX1001:01: GPIO: looking up irq-gpio
Mär 11 14:18:02 kernel: acpi GDIX1001:01: GPIO: looking up 0 in _CRS
Mär 11 14:18:02 kernel: Goodix-TS i2c-GDIX1001:01: lookup for GPIO irq failed
Mär 11 14:18:02 kernel: goodix:goodix_get_gpio_config: Goodix-TS i2c-GDIX1001:01: Failed to get irq GPIO: -22
Mär 11 14:18:02 kernel: Goodix-TS: probe of i2c-GDIX1001:01 failed with error -22

WiFi

Got it to work as described below. The HP Pavilion x2 10 seems to have the same wireless device.

mkdir hadess; cd hadess
git clone https://github.com/hadess/rtl8723bs.git
cd rtl8723bs
make -j4
make install
echo r8723bs >> /etc/modules-load.d/modules.conf

[ 9220.925733] RTL8723BS: module init start
[ 9220.925741] RTL8723BS: rtl8723bs v4.3.5.5_12290.20140916_BTCOEX20140507-4E40
[ 9220.925745] RTL8723BS: rtl8723bs BT-Coex version = BTCOEX20140507-4E40
...

LAN network card

[    3.357232] usb 1-1: New USB device found, idVendor=0a46, idProduct=1269
[    3.357255] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.357271] usb 1-1: Product: DM9621A USB To FastEther
[    3.357284] usb 1-1: Manufacturer: DAVICOM

Current testing/Stretch seems to load for this device two drivers: dm9601 and cdc_ether
If dm9601 is faster loading device does not work.

Therefore blacklisted dm9601 for now:

echo blacklist dm9601 > /etc/modprobe.d/blacklist-dm9601.conf

But sometimes cdc_ether still fails and required a reboot.


System Summary

lspci

00:00.0 Host bridge [0600]: Intel Corporation Atom Processor Z36xxx/Z37xxx Series SoC Transaction Register [8086:0f00] (rev 0f)
00:02.0 VGA compatible controller [0300]: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Graphics & Display [8086:0f31] (rev 0f)
00:03.0 Multimedia controller [0480]: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Camera ISP [8086:0f38] (rev 0f)
00:14.0 USB controller [0c03]: Intel Corporation Atom Processor Z36xxx/Z37xxx Series USB xHCI [8086:0f35] (rev 0f)
00:16.0 USB controller [0c03]: Intel Corporation Atom Processor Z36xxx/Z37xxx Series OTG USB Device [8086:0f37] (rev 0f)
00:1a.0 Encryption controller [1080]: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Trusted Execution Engine [8086:0f18] (rev 0f)
00:1f.0 ISA bridge [0601]: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Power Control Unit [8086:0f1c] (rev 0f)

lsusb

Bus 001 Device 002: ID 0a46:1269 Davicom Semiconductor, Inc. 

USB Host controllers entries (without OHCI, UHCI, EHCI) are removed too.

Resources

Attachments

Some configuration files and sample outputs.

  • [get | view] (2016-03-14 14:01:10, 2.0 KB) [[attachment:0001-Input-goodix-add-changes-to-support-PIPO-X8.patch]]
  • [get | view] (2016-03-15 13:21:53, 34.3 KB) [[attachment:amixer.txt]]
  • [get | view] (2016-03-14 16:37:33, 37.2 KB) [[attachment:efi-ia32-booted_dsdt.dsl.gz]]
  • [get | view] (2016-03-14 16:37:49, 38.0 KB) [[attachment:efi-x86_64-booted_dsdt.dsl.gz]]
 All files | Selected Files: delete move to page copy to page

Credits