* [[Laptops/Lenovo_Yoga_3_14/DualBoot|DualBoot]]
* [[Laptops/Lenovo_Yoga_3_14/X|X]]
====== Lenovo Yoga 3 14 ======
* Year introduced: 2015
----
===== Hardware =====
* CPU: ?
* Graphics: Nvidia %%GeForce%% 940M, Intel HD Graphics 5500 (Broadwell)
* Memory: DDR3L-1600MHz (max 8 GB)
* Screen: 14.0 inch
* Storage: ?
* Wireless: ?
==== References ====
* https://www.manualslib.com/manual/886487/Lenovo-Yoga-3-14.html?page=31#manual
----
===== Support overview =====
^ Component ^^ Status ^ Details ^
| Graphics | Graphical sessions | ✔ | See [[Graphics/FAQ|Graphics/FAQ]]. |
| Backlight (brightness) control | ✔ | Install graphics/intel-backlight to change the brightness from the command line. |
| Input devices | Keyboard backlight | ✔ | |
| Touchpad | ✔ | |
| Touch screen | :!: | Probably requires evdev. |
| Media keys | Brightness keys | :?: | Load //acpi_video(4)// to make the function keys work. The function keys do not work after suspend. |
| ::: | Volume keys | :?: | Requires some tweaking when using //x11-wm/dwm// but should work when using a more advanced window environment like Xfce (at least the volume-up and the volume-down keys) |
| Network | Wi-Fi | ✔ | |
| Other | Battery | ✘ | Battery is not detected. See the [[https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227191|bug report]] |
| ::: | Bluetooth | :!: | |
| ::: | SD card reader | ✘ | Does not //just// work. |
| ::: | Suspend & resume | ✔ | Sometimes the laptop wakes up all of the sudden. |
| ::: | Webcam | :!: | |
| Ports | HDMI | :?: | With //drm-next-kmod// it didn't work with projectors and TV sets I've tried. I have to use a VGA adapter. |
| ::: | USB | ✔ | |
| Sound | Headphone jack | :?: | See the tweaks section. |
| ::: | Speakers | ✔ | |
| Last update: 2018-08-02 01:38:48+0200 ||||
* **Legend**
* ✔ OK
* :?: Somewhat OK: requires additional tweaking or works worse than expected
* :!: Status unknown, untested
* ✘ Does not work
----
===== Topics =====
* How to dual boot %%FreeBSD%% 12.0-CURRENT #0 r315864 and Ubuntu Linux (Zesty Zapus) 17.04 Final Beta on Lenovo Yoga 3 14 with UEFI and GRUB 2?
See [[Laptops/Lenovo_Yoga_3_14/DualBoot|DualBoot]].
* How to set up X server? How to set up Intel and Nvidia GPU drivers support for Yoga 3 14?
See [[Laptops/Lenovo_Yoga_3_14/X]].
----
===== Tweaks =====
==== Disable power button ====
The power button on the right side of the machine is too easy to hit by accident. It can be disabled with:
sysctl hw.acpi.power_button_state=NONE
It can be done automatically. See ''%%man 5 sysctl.conf%%''.
==== Headphones ====
Headphones do not work out of the box. In order to use them it is necessary to add the following to ''%%/boot/device.hints%%'':
hint.hdaa.1.nid22.config="as=1 seq=15"
Now they should //just work//.
=== Resources ===
* [[https://unix.stackexchange.com/a/185021/128489|FreeBSD 10.1 sound not working (unix.stackexchange.com)]]
* ''%%man 4 snd_hda%%''
==== Volume keys ====
The volume keys are not working out-of-the-box with x11-wm/dwm.
| **Physical key** | **//keycode//** | **//keysym//** |
| F1 | 140 | //no symbol// |
| F2 | 174 | ''%%XF86AudioLowerVolume%%'' |
| F3 | 176 | ''%%XF86AudioRaiseVolume%%'' |
In order to bind the volume-up and the volume-down keys it is necessary to include the ''%%X11/XF86keysym.h%%'' header into dwm's ''%%config.h%%'' (using ''%%XF86XK_AudioRaiseVolume%%'' and ''%%XF86XK_AudioLowerVolume%%'', respectively)
It is not so straightforward to bind the mute key, however. x11/xev reports that the mute key has no //keysym// although the //keycode// value of 140 suggests that it might be %%SunFront%%. The solution is to:
- Use x11/xmodmap to bind the mute key to XF86AudioMute:
xmodmap -e "keycode 140 = XF86AudioMute"
- Bind ''%%XF86XK_AudioMute%%'' to an action of your choice in dwm's ''%%config.h%%''.
=== References ===
* [[https://unix.stackexchange.com/q/45686/128489|What are/were the keys on a Sun keyboard for? (unix.stackexchange.com)]]
* [[https://superuser.com/q/1095592/442991|XF86Close hotkey won't work (superuser.com)]]
----
===== Files =====
* [[http://dmesgd.nycbug.org/index.cgi?do=view&id=3460|/var/run/dmesg.boot posted at NYC*BUG dmesgd]]
* {{laptops/lenovo_yoga_3_14/acpiconf-i0.out.txt?linkonly|acpiconf-i0.out.txt}}
* {{laptops/lenovo_yoga_3_14/devinfo.out.txt?linkonly|devinfo.out.txt}}
* {{laptops/lenovo_yoga_3_14/pciconf.out.txt?linkonly|pciconf.out.txt}}
----
{{tag>Laptop Lenovo}}