Differences between revisions 23 and 25 (spanning 2 versions)
Revision 23 as of 2014-06-05 20:10:39
Size: 11567
Editor: ?NickWhite
Comment: Add link to local mirror of davem's instructions, & fix useful links list syntax
Revision 25 as of 2014-06-19 19:45:59
Size: 11554
Editor: ?NickWhite
Comment: Explain that >3.12 kernels should work fine too
Deletions are marked like this. Additions are marked like this.
Line 49: Line 49:
Once the basics are working, the easiest way to get the touchpad and touchscreen working is to use the 3.12 kernel from [[Backports|wheezy-backports]]. The 3.12 kernel works very well, though a little configuration is necessary for [[#Suspend]] and the [[#Touchpad and touchscreen]] to work fully. Once the basics are working, the easiest way to get the touchpad and touchscreen working is to use kernel 3.12 or newer from [[Backports|wheezy-backports]] (the linux-image package). The 3.12 and newer kernels work very well, though a little configuration is necessary for [[#Suspend]] and the [[#Touchpad and touchscreen]] to work fully.
Line 228: Line 228:
### Keep only one good category and remove others
## CategoryLaptopComputer
CategoryLaptopComputer

Translation(s): none

Models covered
Chromebook Pixel WiFi, Chromebook Pixel LTE

Chromebook_Pixel__28WiFi_29_open.JPG

Overall Status

Core Components

Boot Standard Kernel:

{i} (see below)

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}

Touchpad and touchscreen

{i} (see below)

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).

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.

Installing Debian

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

Once the basics are working, the easiest way to get the touchpad and touchscreen working is to use kernel 3.12 or newer from wheezy-backports (the linux-image package). The 3.12 and newer kernels work very well, though a little configuration is necessary for #Suspend and the #Touchpad and touchscreen to work fully.

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

Also note that if you have an SD card mounted it may not remount correctly after a suspend. You can force a remount by adding an executable file /etc/pm/sleep.d/10extraresume with the following (presuming the SD card is mounted at /mnt/sd):

umount /mnt/sd && sleep 1 && mount /mnt/sd

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.

Touchpad and touchscreen

The touchpad and touchscreen both work well with the 3.12 kernel. However the driver doesn't load properly when booting, and needs to be reloaded once everything else has finished. You can automate this by adding these two lines to /etc/rc.local:

modprobe -r chromeos_laptop
modprobe chromeos_laptop

This seems to be caused by this kernel bug, which is fixed in newer kernels.

Tap to click

If you want tap to click, you need to tell the synaptics driver about it. There will be graphical ways to do that in desktop environments, but an alternative is just to run these commands (e.g. from .xinitrc):

synclient TapButton1=1 # one finger tap is left click
synclient TapButton2=2 # two finger tap is middle click
synclient TapButton3=3 # three finger tap is right click

Keyboard

The keyboard works fine, but Google left out some useful keys (like delete and page up, page down, home and end), and made the key that is usually caps lock into a big "search" key (that reports itself as Super_L). One way to reassign them is with xmodmap, by adding something like the following to ~/.xmodmap and running 'xmodmap ~/.xmodmap' (e.g. from .xinitrc):

! Set Super_L (Search) key to be a Control key
remove Mod4 = Super_L
add Control = Super_L

! Set Left Control key to Mode Switch
keycode 37 = Mode_switch

! Set PgUp / PgDown / Home / End to Mode Switch (Left Control) + arrow keys
keycode 113 = Left Left Home
keycode 114 = Right Right End
keycode 115 = Up Up Prior
keycode 116 = Down Down Next

! Set Mode Switch (Left Control) + Backspace to Delete
keycode 22 = BackSpace BackSpace Delete


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

Credits


CategoryLaptopComputer