Differences between revisions 2 and 6 (spanning 4 versions)
Revision 2 as of 2013-12-23 03:20:38
Size: 9888
Editor: ?NickWhite
Comment: Move AutoShutdownDaemon to its own page
Revision 6 as of 2013-12-23 03:33:12
Size: 9780
Editor: ?NickWhite
Comment: Update attachment links
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
## page was renamed from InstallingDebianOn/Google/ChromebookPixel
Line 24: Line 25:
|| Xorg || {i} || || Xorg || {i} ([[#Display|see below]]) ||
Line 33: Line 34:
|| Keyboard's Hotkeys || {i} || || Keyboard's Hotkeys || {OK} ||
Line 38: Line 39:
Installing Debian onto the Chromebook Pixel is a slightly unusual affair due to its signed bootloader, but is quite straightforward providing the instructions are followed. See [[#Installing Debian]]. Installing Debian onto the Chromebook Pixel is a slightly unusual affair due to its signed bootloader, but is quite straightforward providing the instructions are followed precisely. See [[#Installing Debian]].
Line 40: Line 41:
Each time you boot once Debian is installed you need to press Ctrl-L when presented with the white warning screen by coreboot. SeaBIOS will then be loaded, which will load Grub. This is unavoidable without flashing a modified version of coreboot. Each time you boot once Debian is installed you need to press Ctrl-L when presented with the white warning screen by coreboot. SeaBIOS will then be loaded, which will load Grub. This is unavoidable (without flashing a modified version of coreboot).
Line 44: Line 45:
It's very important not to let the battery run completely out or you may be forced to reinstall Debian! See [[#Ensuring the battery doesn't run right down]]. It's very important not to let the battery run completely out or you may lose all your data! See [[#Ensuring the battery doesn't run right down]].
Line 48: Line 49:
A 3.10 kernel or later is required for all of the drivers to work. However the touchscreen & touchpad don't work with the latest backported kernels (3.10 and 3.11) because the CHROMEOS_LAPTOP option is disabled in those versions. That should change soon; see [[#Useful Links]]. For now you need to compile your own kernel with the [[#Attachments|attached]] .config. A 3.10 kernel or later is required for all of the drivers to work. However the touchscreen & touchpad don't work with the latest backported kernels (3.10 and 3.11) because the CHROMEOS_LAPTOP option is disabled in those versions. That should change soon; see [[#Useful Links]]. For now you need to compile your own kernel with the [[attachment:3.10.25 kernel .config|.config]].
Line 54: Line 55:
You can then either follow his remaining instructions to compile the necessary modules, or compile your own kernel using the .config file [[#Attachments|attached to this wiki]]. You can then either follow his remaining instructions to compile the necessary modules, or compile your own kernel using the [[attachment:3.10.25 kernel .config|.config file attached to this wiki]].
Line 165: Line 166:
## - Xorg.conf file (then "include" it inline below)
Line 176: Line 176:
* [[http://vger.kernel.org/~davem/chromebook_pixel_linux.txt|Simple instructions to install Debian onto the Chromebook Pixel]]
* http://blog.brocktice.com/2013/03/09/running-debian-wheezy-7-0-on-the-chromebook-pixel/
Line 182: Line 180:

[[http://njw.me.uk|Nick White]]

Translation(s): none

Models covered
Chromebook Pixel WiFi, Chromebook Pixel LTE

Overall Status

Core Components

[ATTACH]

Boot Standard Kernel:

{X}

LAN network card:

{OK}

Detect hard drives:

{OK}

Extra Features

CPU Frequency Scaling

{OK}

Hibernation

[?] (not tested)

Sleep / Suspend

{i} (see below)

Xorg

{i} (see below)

- OpenGL

{OK}

- Resize-and-Rotate(randr)

{OK}

Switch to External Screen

{OK}

Mouse

{OK}

- Built-in (Touchpad)

{OK}

- Built-in (Touchscreen)

{OK}

Modem

[?] (not tested)

Wireless/Wifi

{OK}

Keyboard's Hotkeys

{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 Notes

Installing Debian onto the Chromebook Pixel is a slightly unusual affair due to its signed bootloader, but is quite straightforward providing the instructions are followed precisely. See #Installing Debian.

Each time you boot once Debian is installed you need to press Ctrl-L when presented with the white warning screen by coreboot. SeaBIOS will then be loaded, which will load Grub. This is unavoidable (without flashing a modified version of coreboot).

Closing the lid without suspending the laptop can cause the touchscreen to go crazy (at least with the 3.10 kernel). To resolve this reload the touchscreen module with this command after reopening the screen:  modprobe -r atmel_mxt_ts && modprobe atmel_mxt_ts 

It's very important not to let the battery run completely out or you may lose all your data! See #Ensuring the battery doesn't run right down.

Kernel

A 3.10 kernel or later is required for all of the drivers to work. However the touchscreen & touchpad don't work with the latest backported kernels (3.10 and 3.11) because the CHROMEOS_LAPTOP option is disabled in those versions. That should change soon; see #Useful Links. For now you need to compile your own kernel with the .config.

Installing Debian

Follow steps 1-9 of DaveM's excellent Installing Linux on the Chromebook Pixel guide. This will get Debian installed and working, except for the touchpad & touchscreen.

You can then either follow his remaining instructions to compile the necessary modules, or compile your own kernel using the .config file attached to this wiki.

Configuration

Display

The size of the screen isn't automatically detected, which leads to incorrect DPI assumptions. To fix that create a file called /etc/X11/xorg.conf.d/90-monitor.conf containing this:

Section "Monitor"
    Identifier  "<default monitor>"
    DisplaySize 270 180 # millimeters
EndSection

Power Management

Suspend

For suspend to work reliably you need to add the following line to /etc/modules (source):

tpm_tis force=1 interrupts=0

Ensuring the battery doesn't run right down

The Chromebook Pixel has a very unfortunate design bug where if the battery is completely empty it will not allow you to boot up an operating system other than ChromeOS, requiring a reinstall of Debian. This is because it the "Developer Mode" setting is battery backed, so is lost if the battery runs out, and it can't be set except in a running ChromeOS install. Needless to say this is very bad news! Source.

It is therefore advisable to make sure the battery never gets to empty by forcing a shutdown when the battery level is low. You can do that with various graphical power management tools, or by creating an automatic shutdown daemon.


System Summary

lspci

lspci -nn

00:00.0 Host bridge [0600]: Intel Corporation 3rd Gen Core processor DRAM Controller [8086:0154] (rev 09)
00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09)
00:1a.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 [8086:1e2d] (rev 04)
00:1b.0 Audio device [0403]: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller [8086:1e20] (rev 04)
00:1c.0 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 3 [8086:1e14] (rev c4)
00:1d.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 [8086:1e26] (rev 04)
00:1f.0 ISA bridge [0601]: Intel Corporation HM75 Express Chipset LPC Controller [8086:1e5d] (rev 04)
00:1f.2 SATA controller [0106]: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] [8086:1e03] (rev 04)
00:1f.3 SMBus [0c05]: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller [8086:1e22] (rev 04)
00:1f.6 Signal processing controller [1180]: Intel Corporation 7 Series/C210 Series Chipset Family Thermal Management Controller [8086:1e24] (rev 04)
01:00.0 Network controller [0280]: Atheros Communications Inc. AR9462 Wireless Network Adapter [168c:0034] (rev 01)

lsusb

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

Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
  bDeviceClass            9 Hub
  bDeviceProtocol         1 Single TT
  iProduct                0 
  bDeviceClass            9 Hub
  bDeviceProtocol         0 Full speed (or root) hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
  bDeviceClass            9 Hub
  bDeviceProtocol         1 Single TT
  iProduct                0 
  bDeviceClass            9 Hub
  bDeviceProtocol         0 Full speed (or root) hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  bDeviceClass            9 Hub
  bDeviceProtocol         0 Full speed (or root) hub
  iProduct                2 EHCI Host Controller
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  bDeviceClass            9 Hub
  bDeviceProtocol         0 Full speed (or root) hub
  iProduct                2 EHCI Host Controller
Bus 001 Device 003: ID 2232:1033  
  bDeviceClass          239 Miscellaneous Device
  bDeviceProtocol         1 Interface Association
  iProduct                2 Chromebook HD WebCam
      (Bus Powered)
  bDeviceClass          239 Miscellaneous Device
  bDeviceProtocol         1 Interface Association
  (Bus Powered)
Bus 001 Device 004: ID 0489:e057 Foxconn / Hon Hai 
  bDeviceClass          224 Wireless
  bDeviceProtocol         1 Bluetooth
  iProduct                2 
Bus 002 Device 003: ID 05e3:0727 Genesys Logic, Inc. microSD Reader/Writer
  bDeviceClass            0 (Defined at Interface level)
  bDeviceProtocol         0 
  iProduct                4 USB Storage
      (Bus Powered)
  bDeviceClass            0 (Defined at Interface level)
  bDeviceProtocol         0 
  (Bus Powered)
Bus 002 Device 004: ID 1410:9010 Novatel Wireless 
  bDeviceClass          239 Miscellaneous Device
  bDeviceProtocol         1 Interface Association
  iProduct                3 Novatel Wireless 4G
  bDeviceClass          239 Miscellaneous Device
  bDeviceProtocol         1 Interface Association

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

Resources

Attachments

Some configuration files and sample outputs.

  • [get | view] (2013-12-23 03:28:33, 105.7 KB) [[attachment:3.10.25 kernel .config]]
  • [get | view] (2013-12-23 03:31:07, 315.3 KB) [[attachment:Chromebook Pixel photo from https___en.wikipedia.org_wiki_File_Chromebook_Pixel_(WiFi)_open.JPG by Pmsyyz]]
  • [get | view] (2013-12-23 03:41:56, 315.3 KB) [[attachment:Chromebook_Pixel__28WiFi_29_open.JPG]]
 All files | Selected Files: delete move to page copy to page

* Bug 731271 blocking kernel from working fully with the laptop * Request to debian-backports to update the backported kernel to one with CHROMEOS_LAPTOP enabled

Credits

Nick White