3 DragonFly currently supports the Acer C720 and C720p Intel-haswell chromebook. You must follow the linux directions on how to unlock the chromebook so non-chrome OSs can be installed. Generally speaking, the linux directions get you to a point where you can boot any kernel via the built-in SeaBIOS. Note that you can always restore your chromebook back to using chrome by following Google's directions on recovering a chromebook.
5 On the Acer C720 you need to load specific drivers to gain support for the touchpad and touchscreen. In "/boot/loader.conf" add:
12 The atmel module is only needed for the touchscreen model.
14 DragonFly supports accelerated X on haswell cpus via the "intel" driver. You no longer have to recompile the X server, the dports binaries are completely up-to-date and support it properly.
16 The "/etc/X11/xorg.conf" configuration file should consist of the following:
18 Section "ServerLayout"
19 Identifier "X.org Configured"
20 Screen 1 "Screen0" 0 0
21 InputDevice "Mouse0" "CorePointer"
22 InputDevice "Mouse1" "SendCoreEvents"
23 InputDevice "TouchScreen0" "SendCoreEvents"
24 InputDevice "Keyboard0" "CoreKeyboard"
27 # This may be needed to prevent X from ignoring keyboard
28 # and mouse devices in xorg.conf.
31 Option "AutoAddDevices" "False"
35 ModulePath "/usr/local/lib/xorg/modules"
36 FontPath "/usr/local/lib/X11/fonts/misc/"
37 FontPath "/usr/local/lib/X11/fonts/TTF/"
38 FontPath "/usr/local/lib/X11/fonts/OTF/"
39 FontPath "/usr/local/lib/X11/fonts/Type1/"
40 FontPath "/usr/local/lib/X11/fonts/100dpi/"
41 FontPath "/usr/local/lib/X11/fonts/75dpi/"
54 Identifier "Keyboard0"
61 Option "Protocol" "imps/2"
62 Option "Device" "/dev/cyapa0-67"
68 Option "Protocol" "auto"
69 Option "Device" "/dev/ums0"
70 Option "ZAxisMapping" "4 5 6 7"
74 Identifier "TouchScreen0"
76 Option "Device" "/dev/atmel1-4a"
77 # Option "ZAxisMapping" "4 5 6 7"
82 VendorName "Monitor Vendor"
83 ModelName "Monitor Model"
87 #Option "NoAccel" "true" # [<bool>]
88 #Option "AccelMethod" # <str>
89 #Option "Backlight" # <str>
93 #Option "ReprobeOutputs" "true"
121 For the touchscreen to work, you need to install the "xf86-input-elographics" driver:
123 pkg install xf86-input-elographics
125 We suggest [starting X via xdm](http://www.dragonflybsd.org/docs/newhandbook/X/#index4h3) which needs a package in addition to xorg:
129 For WIFI support you will want this in your "/etc/rc.conf"
132 ifconfig_wlan0="DHCP WPA"
134 And your "/etc/wpa_supplicant.conf" file should contain entries for all the wifi basestations you can connect to. Most typically an entry looks like this:
141 ### Volume and backlight adjustment keys
142 In order to use these keys make two scripts:
148 set curvol = "`mixer -f /dev/mixer1 -s vol`"
150 if ( -f ~/.savemute ) then
151 set lastvol = "`cat ~/.savemute`"
156 if ( "$curvol" == "vol 0:0" ) then
157 if ( "$lastvol" != "" ) then
158 eval mixer -f /dev/mixer1 $lastvol
161 if ( "$lastvol" != "$curvol" ) then
162 echo "$curvol" > ~/.savemute
164 mixer -f /dev/mixer1 vol 0
171 set level = `sysctl -n hw.backlight_level`
172 @ level = $level + $argv
173 sysctl hw.backlight_level=${level}
175 add next lines to `~/.xbindkeysrc`:
179 "/path/to/scripts/mute"
182 "mixer -f /dev/mixer1 vol -5"
185 "mixer -f /dev/mixer1 vol +5"
190 "/path/to/scripts/backlight -20"
193 "/path/to/scripts/backlight 20"
196 You must call xbindkeys somewhere in your `.xinitrc`.
198 *Hint:* You can set default blacklight level by placing next line in `.xinitrc`:
200 sysctl hw.backlight_level=370
202 ### Home, End, Delete, ...
204 With Alt as modifier you can get:
208 Delete = Alt + BackSpace
216 PageDown = Alt + Down
218 Create dirs for keyboard configuration
220 mkdir -p ${HOME}/.config/xkb/types ${HOME}/.config/xkb/symbols
222 Create modifiers' config file `${HOME}/.config/xkb/types/c720` which contains
225 virtual_modifiers Alt;
227 modifiers = Shift+Alt;
230 map[Alt+Shift] = Level3;
231 level_name[Level1] = "Base";
232 level_name[Level2] = "Caps";
233 level_name[Level3] = "Alt";
237 Create symbols' config file `${HOME}/.config/xkb/symbols/c720` which contains
243 symbol[Group1] = [backslash, bar, Insert],
244 symbol[Group2] = [backslash, slash, Insert],
248 RedirectKey(key=<INS>, clearmods=Alt)
253 RedirectKey(key=<INS>, clearmods=Alt)
259 [BackSpace, BackSpace, Delete],
263 RedirectKey(key=<DELE>, clearmods=Alt)
272 RedirectKey(key=<HOME>, clearmods=Alt)
282 RedirectKey(key=<END>, clearmods=Alt)
292 RedirectKey(key=<PGUP>, clearmods=Alt)
301 RedirectKey(key=<PGDN>, clearmods=Alt)
306 Add next line to `.xinitrc` (or in some autoload/autostart)
308 setxkbmap -layout "us+c720" -types "complete+c720" -print|xkbcomp -I"$HOME/.config/xkb" - "${DISPLAY%%.*}"