https://wiki.archlinux.org/api.php?action=feedcontributions&user=XenGi&feedformat=atomArchWiki - User contributions [en]2024-03-29T09:02:18ZUser contributionsMediaWiki 1.41.0https://wiki.archlinux.org/index.php?title=Qt&diff=766246Qt2023-02-02T12:21:43Z<p>XenGi: Adapt the code to show how similar the two frameworks are</p>
<hr />
<div>[[Category:Widget toolkits]]<br />
[[es:Qt]]<br />
[[ja:Qt]]<br />
[[ru:Qt]]<br />
[[zh-hans:Qt]]<br />
{{Related articles start}}<br />
{{Related|KDE}}<br />
{{Related|Uniform look for Qt and GTK applications}}<br />
{{Related|GTK}}<br />
{{Related articles end}}<br />
[https://www.qt.io/ Qt] is a cross-platform application and widget toolkit that uses standard C++ but makes extensive use of a special code generator (called the [https://doc.qt.io/qt-5.12/moc.html Meta Object Compiler], or ''moc'') together with several macros to enrich the language. Some of its more important features include:<br />
<br />
* Running on the major desktop platforms and some of the mobile platforms.<br />
* Extensive internationalization support.<br />
* A complete library that provides SQL database access, XML parsing, thread management, network support, and a unified cross-platform application programming interface (API) for file handling.<br />
<br />
The Qt framework is the basis of the [[KDE]] software community, as well as other important open source and proprietary applications such as [[VLC]], [[VirtualBox]], [[Mathematica]] and many others.<br />
<br />
== Installation ==<br />
<br />
Qt 6.x and 5.x are available in the [[official repositories]]. Legacy versions of Qt (4.x and 3.x) are available from the [[AUR]]. They can be [[Pacman|installed]] with the following packages:<br />
<br />
* '''Qt 6.x''' is available in the {{Pkg|qt6-base}} package, with documentation in the {{Pkg|qt6-doc}} package.<br />
* '''Qt 5.x''' is available in the {{Pkg|qt5-base}} package, with documentation in the {{Pkg|qt5-doc}} package.<br />
* '''Qt 4.x''' is available in the {{AUR|qt4}} package, with documentation in the {{AUR|qt4-doc}} package.<br />
* '''Qt 3.x''' is available in the {{AUR|qt3}} package, with documentation in the {{AUR|qt3-doc}} package.<br />
<br />
== Default Qt toolkit ==<br />
<br />
By installing {{AUR|qtchooser}} you can make the Qt binaries in {{ic|/usr/bin}} (e.g. ''qmake''), which point to the Qt 5 versions by default (e.g. ''qmake-qt5''), point to older versions of those tools (e.g. ''qmake-qt4'' or ''qmake-qt3'') instead.<br />
<br />
{{Note|{{AUR|qtchooser}} is now in conflict with {{Pkg|qt5-base}}. You can install it to {{ic|/usr/local}} if you really need it, but it is not officially supported anymore. See {{Bug|51308}}.}}<br />
<br />
=== Using environment variables ===<br />
<br />
To define the default Qt toolkit, you can create {{ic|QT_SELECT}} [[environment variable]]. For example, to use Qt 4, set {{ic|1=QT_SELECT=4}}.<br />
<br />
=== Using configuration files ===<br />
<br />
You can set the default Qt toolkit by creating a symlink {{ic|~/.config/qtchooser/default.conf}} to one of ''.conf'' files in {{ic|/etc/xdg/qtchooser/}} directory. For example, to set Qt 4 symlink {{ic|/etc/xdg/qtchooser/4.conf}} to {{ic|~/.config/qtchooser/default.conf}}:<br />
<br />
$ ln -s {{ic|/etc/xdg/qtchooser/4.conf}} {{ic|~/.config/qtchooser/default.conf}}<br />
<br />
== Configuration ==<br />
<br />
=== Styles in Qt 5 ===<br />
<br />
Qt 5 decides the style to use based on what desktop environment is used:<br />
<br />
* In KDE Plasma, it uses the actually selected Qt style. It can be configured using ''KDE System Settings'' (''systemsettings''), the settings can be found in ''Appearance > Application Style > Widget Style''.<br />
* In Cinnamon, GNOME, MATE, LXDE, Xfce, it uses GTK ([[Uniform look for Qt and GTK applications#QGtkStyle|QGtkStyle]]).<br />
* In other desktop environments, it uses Fusion.<br />
<br />
To force a specific style, you can set the {{ic|1=QT_STYLE_OVERRIDE}} [[environment variable]]. Specifically, set it to {{ic|gtk2}} if you want to use the [[GTK]] theme (Note: you will need to install the Qt style plugins mention below to get the GTK style). Qt 5 applications also support the {{ic|-style}} flag, which you can use to launch a Qt 5 application with a specific style.<br />
<br />
The following styles are included in Qt 5: ''Fusion'', ''Windows''. Others can be installed separately:<br />
<br />
* {{App|Breeze|Artwork, styles and assets for the Breeze visual style for the Plasma Desktop.|https://invent.kde.org/plasma/breeze|{{Pkg|breeze}}}}<br />
* {{App|Oxygen|KDE Oxygen style.|https://invent.kde.org/plasma/oxygen|{{Pkg|oxygen}}}}<br />
* {{App|Lightly|Lightly is a fork of breeze theme style that aims to be visually modern and minimalistic.|https://github.com/Luwx/Lightly|{{AUR|lightly-git}}}}<br />
<br />
* {{App|QtCurve|A configurable set of widget styles for KDE and Gtk.|https://invent.kde.org/system/qtcurve|{{Pkg|qtcurve-qt5}}}}<br />
* {{App|Adwaita-Qt|A style to bend Qt applications to look like they belong into GNOME Shell.|https://github.com/MartinBriza/adwaita-qt|{{Pkg|adwaita-qt5}}}}<br />
* {{App|Qt style plugins|Additional style plugins for Qt 5, including ''GTK'', ''Cleanlooks'', ''Motif'', ''Plastique''.|https://code.qt.io/cgit/qt/qtstyleplugins.git|{{AUR|qt5-styleplugins}}}}<br />
* {{App|Kvantum|customizable SVG-based theme engine with a variety of built-in styles, including imitations of some popular GTK themes such as ''Adapta'', ''Arc'', ''Ambiance''|https://github.com/tsujan/Kvantum/tree/master/Kvantum|{{Pkg|kvantum}}}}<br />
<br />
=== Styles in Qt 4 ===<br />
<br />
Qt 4 application will try to mimic the behavior of the desktop environment they are running on, unless they run into some problems or hard-coded settings.<br />
<br />
* In KDE Plasma, it uses the actually selected Qt style. It can be configured using ''KDE System Settings'' (''systemsettings''), the settings can be found in ''Appearance > Application Style > Widget Style''.<br />
* In Cinnamon, GNOME, Xfce, it uses GTK ([[Uniform look for Qt and GTK applications#QGtkStyle|QGtkStyle]]).<br />
* In other desktop environments, it uses Windows.<br />
<br />
For those who want to change the look and feel of Qt 4 applications, the ''Qt Configuration'' (''qtconfig-qt4'') GUI tool is provided by the {{AUR|qt4}} package. It offers a simple interface to configure the appearance of Qt 4 applications including style, colors, fonts and some further options.<br />
<br />
{{Note|If you use ''GTK'' style, then color and font settings will be ignored, and inherited from GTK 2.}}<br />
<br />
Qt keeps all its configuration information in {{ic|/etc/xdg/Trolltech.conf}} (system-wide) or {{ic|~/.config/Trolltech.conf}} (user-specific). The file is rather difficult to navigate because it contains a lot of information not related to appearance, but for any changes you can just add to the end of the file and overwrite any previous values (make sure to add your modification under the [Qt] header).<br />
<br />
For example, to change the theme to QtCurve, add:<br />
<br />
{{hc|~/.config/Trolltech.conf|<nowiki><br />
...<br />
[Qt]<br />
style=QtCurve<br />
</nowiki>}}<br />
<br />
The following styles are included in Qt 4: ''CDE'', ''Cleanlooks'', ''GTK'', ''Motif'', ''Plastique'', ''Windows''. Others can be installed separately:<br />
<br />
* {{App|Breeze|Artwork, styles and assets for the Breeze visual style for the Plasma Desktop.|https://invent.kde.org/plasma/breeze|{{AUR|breeze-kde4}}}}<br />
* {{App|Adwaita-Qt| A style to bend Qt applications to look like they belong into GNOME Shell.|https://github.com/MartinBriza/adwaita-qt|{{AUR|adwaita-qt4}}}}<br />
<br />
=== Qt Style Sheets ===<br />
<br />
An interesting way of customizing the look and feel of a Qt application is using Style Sheets, which are just simple CSS files. Using Style Sheets, one can modify the appearance of every widget in the application.<br />
<br />
To run an application with a different style just execute:<br />
<br />
$ qt_application -stylesheet ''style.qss''<br />
<br />
For more information on Qt Style Sheets see the [https://doc.qt.io/qt-5/stylesheet-reference.html official documentation] or other [http://thesmithfam.org/blog/2009/09/10/qt-stylesheets-tutorial/ tutorials]. As an example Style Sheet see this [https://kde-apps.org/content/show.php/roxydoxy?content=125979 Dolphin modification].<br />
<br />
=== GTK and Qt ===<br />
<br />
If you have GTK and Qt applications, their looks might not exactly blend in very well. If you wish to make your GTK styles match your Qt styles please read [[Uniform look for Qt and GTK applications]].<br />
<br />
=== Configuration of Qt 5 applications under environments other than KDE Plasma ===<br />
<br />
Unlike Qt 4, Qt 5 does not ship a qtconfig utility to configure fonts, icons or styles. Instead, it will try to use the settings from the running desktop environment. In KDE Plasma or GNOME this works well, but in other less popular desktop environments or window managers it can lead to missing icons in Qt 5 applications. One way to solve this is to fake the running desktop environment by setting {{ic|1=XDG_CURRENT_DESKTOP=KDE}} or {{ic|GNOME}}, and then using the corresponding configuration application to set the desired icon set.<br />
<br />
Another solution is provided by the {{pkg|qt5ct}} package, which provides a Qt 5 [https://wiki.qt.io/Qt_Platform_Abstraction QPA] independent of the desktop environment and a configuration utility. After installing the package, run {{ic|qt5ct}} to set an icon theme, and set the [[environment variable]] {{ic|1=QT_QPA_PLATFORMTHEME=qt5ct}} so that the settings are picked up by Qt applications. Alternatively, use {{ic|--platformtheme qt5ct}} as argument to the Qt 5 application.<br />
<br />
{{AUR|qt5ct-kde}} provides a patched ''qt5ct'' with better integration to KDE applications, including KDE QML applications.<br />
<br />
If the errors below are received, and some icons still do not appear in some of the applications, install {{pkg|oxygen}} and {{pkg|oxygen-icons}}:<br />
<br />
Icon theme "oxygen" not found.<br />
Icon theme "oxygen" not found.<br />
Error: standard icon theme "oxygen" not found!<br />
<br />
== Development ==<br />
<br />
=== Supported platforms ===<br />
<br />
Qt supports most platforms that are available today, even some of the more obscure ones, with more ports appearing every once in a while. For a more complete list see the [[Wikipedia:Qt_(framework)#Platforms|Qt Wikipedia article]].<br />
<br />
==== Android ====<br />
<br />
{{Note|Qt Creator 4.12 or later can set up the SDK Tools, NDK, and essential packages automatically. For more information, see [https://doc.qt.io/qtcreator/creator-developing-android.html#specifying-android-device-settings Qt Creator: Specifying Android Device Settings]}}<br />
<br />
First of all, you need an [[Android|Android SDK]] and NDK from [[AUR]] or using [[Android|Android Studio]].<br />
<br />
SDK requires [[OpenJDK]] too. Diffenent Qt versions have different version requirements, check [https://doc.qt.io/qt-6/android-getting-started.html here] for detail.<br />
<br />
Next you are going to need Qt 5 for Android. You can install it from [[AUR]] as described below or build it yourself, you can find build instructions on Qt [https://wiki.qt.io/Android wiki] page.<br />
<br />
In case of problems you may want to visit [https://wiki.qt.io/Qt_for_Android_known_issues known issues].<br />
<br />
* {{AUR|android-armv7a-eabi-qt5}} - armeabi-v7a<br />
* {{AUR|android-aarch64-qt5}} - aarch64<br />
* {{AUR|android-x86-qt5}} - x86<br />
* {{AUR|android-x86-64-qt5}} - x86_64<br />
<br />
Alternatively, you can use the [https://download.qt.io/official_releases/qt/ official Qt installer].<br />
<br />
=== Tools ===<br />
<br />
The following are official Qt tools:<br />
<br />
* {{App|[[Wikipedia:Qt Creator|Qt Creator]]|A cross-platform IDE tailored for Qt that supports all of its features.|https://doc.qt.io/qtcreator/|{{Pkg|qtcreator}}}}<br />
* {{App|Qt Linguist|A set of tools that speed the translation and internationalization of Qt applications.|https://doc.qt.io/qt-5/qtlinguist-index.html|Qt 5: {{Pkg|qt5-tools}}, Qt 4: {{AUR|qt4}}}}<br />
* {{App|Qt Assistant|A configurable and redistributable documentation reader for Qt ''qch'' files.|https://doc.qt.io/qt-5/qtassistant-index.html|Qt 5: {{Pkg|qt5-tools}}, Qt 4: {{AUR|qt4}}}}<br />
* {{App|Qt Designer|A powerful cross-platform GUI layout and forms builder for Qt widgets.|https://doc.qt.io/qt-5/qtdesigner-manual.html|Qt 5: {{Pkg|qt5-tools}}, Qt 4: {{AUR|qt4}}}}<br />
* {{App|Qt Quick Designer|A visual editor for QML files which supports WYSIWYG. It allows you to rapidly design and build Qt Quick applications and components from scratch.|https://doc.qt.io/qtcreator/creator-qtquickdesigner-plugin.html|{{Pkg|qtcreator}}}}<br />
* {{App|qmlscene|A tool for loading QML documents that makes it easy to quickly develop and debug QML applications.|https://doc.qt.io/qt-5/qtquick-qmlscene.html|Qt 5: {{Pkg|qt5-declarative}}, Qt 4 QML Viewer: {{AUR|qt4}}}}<br />
* {{App|[[Wikipedia:Qmake|qmake]]|A tool that helps simplify the build process for development project across different platforms, similar to [[Wikipedia:CMake|cmake]], but with fewer options and tailored for Qt applications.|https://doc.qt.io/qt-5/qmake-manual.html|Qt 5: {{Pkg|qt5-base}}, Qt 4: {{AUR|qt4}}}}<br />
* {{App|uic|A tool that reads ''*.ui'' XML files and generates the corresponding C++ files.|https://doc.qt.io/qt-5/uic.html|Qt 5: {{Pkg|qt5-base}}, Qt 4: {{AUR|qt4}}}}<br />
* {{App|rcc|A tool that is used to embed resources (such as pictures) into a Qt application during the build process. It works by generating a C++ source file containing data specified in a Qt resource (.qrc) file.|https://doc.qt.io/qt-5/rcc.html|Qt 5: {{Pkg|qt5-base}}, Qt 4: {{AUR|qt4}}}}<br />
* {{App|moc|A tool that handles Qt's C++ extensions (the signals and slots mechanism, the run-time type information, and the dynamic property system, etc.).|https://doc.qt.io/qt-5/moc.html|Qt 5: {{Pkg|qt5-base}}, Qt 4: {{AUR|qt4}}}}<br />
<br />
=== Bindings ===<br />
<br />
Qt has bindings for all of the more popular languages, see https://wiki.qt.io/Language_Bindings for a full list.<br />
<br />
The following examples display a small 'Hello world!' message in a window.<br />
<br />
==== C++ ====<br />
<br />
* Package: {{Pkg|qt5-base}}<br />
* Website: https://www.qt.io/developers/<br />
* Build: {{ic|g++ $(pkg-config --cflags --libs Qt5Widgets) -fPIC -o hello hello.cpp}}<br />
* Run with: {{ic|./hello}}<br />
<br />
{{hc|hello.cpp|<br />
#include <QApplication><br />
#include <QLabel><br />
<br />
int main(int argc, char **argv)<br />
{<br />
QApplication app(argc, argv);<br />
QLabel hello("Hello world!");<br />
<br />
hello.show();<br />
return app.exec();<br />
}<br />
}}<br />
<br />
==== QML ====<br />
<br />
* Package: {{Pkg|qt5-declarative}}.<br />
* Website: https://doc.qt.io/qt-5/qtquick-qmlscene.html<br />
* Run with: {{ic|qmlscene hello.qml}}<br />
<br />
{{hc|hello.qml|<br />
import QtQuick 2.3<br />
<br />
Rectangle {<br />
id: page<br />
width: 400; height: 100<br />
color: "lightgray"<br />
<br />
Text {<br />
id: helloText<br />
text: "Hello world!"<br />
anchors.horizontalCenter: page.horizontalCenter<br />
anchors.verticalCenter: page.verticalCenter<br />
font.pointSize: 24; font.bold: true<br />
}<br />
}<br />
}}<br />
<br />
==== Python (PyQt) ====<br />
<br />
* Package: {{Pkg|python-pyqt5}} - Python 3 bindings<br />
<br />
* Website: https://riverbankcomputing.com/software/pyqt/intro<br />
* Run with: {{ic|python hello-pyqt.py}}.<br />
<br />
{{hc|hello-pyqt.py|<nowiki><br />
import sys<br />
from PyQt5.QtWidgets import QApplication, QLabel<br />
<br />
app = QApplication(sys.argv)<br />
label = QLabel("Hello world!")<br />
<br />
label.show()<br />
sys.exit(app.exec_())<br />
</nowiki>}}<br />
<br />
==== Python (PySide2) ====<br />
<br />
* Package: {{Pkg|pyside2}}<br />
* Website: https://wiki.qt.io/Qt_for_Python<br />
* Run with: {{ic|python hello-pyside.py}}<br />
<br />
{{hc|hello-pyside2.py|<nowiki><br />
import sys<br />
from PySide2.QtWidgets import QApplication, QLabel<br />
<br />
app = QApplication(sys.argv)<br />
label = QLabel("Hello world!")<br />
<br />
label.show()<br />
sys.exit(app.exec_())<br />
</nowiki>}}<br />
<br />
==== C# ====<br />
<br />
See [https://gitlab.com/ddobrev/QtSharp QtSharp].<br />
<br />
== Troubleshooting ==<br />
<br />
=== Disable/Change Qt journal logging behaviour ===<br />
<br />
When using [[KDE]] and/or any other Qt [[desktop environment]] debug info may be frequently be logged in the [[systemd journal]].<br />
<br />
Set {{ic|QT_LOGGING_RULES}} as [[environment variable]] to change this behaviour, e.g. to completely disable logging:<br />
<br />
{{hc|/etc/environment|2=<br />
QT_LOGGING_RULES='*=false'<br />
}}<br />
<br />
To disable only debug logging, use {{ic|1=QT_LOGGING_RULES="*.debug=false"}}.<br />
<br />
=== Icon theme is not applied ===<br />
<br />
Since Qt 5.1 SVG support has moved into a module. Since {{Pkg|qt5-base}} does not depend on {{Pkg|qt5-svg}} it may happen that the {{Pkg|qt5-base}} is installed but not {{Pkg|qt5-svg}}. This results in deceptive icon theme behaviour. Since SVG is not supported the icons are silently skipped and the icon theme may seem to be unused. Installing {{Pkg|qt5-svg}} explicitly solves the problem.<br />
<br />
=== Theme not applied to root applications ===<br />
<br />
As the user theme file ({{ic|$XDG_CONFIG_HOME/Trolltech.conf}}), are not read by other accounts, the selected theme will not apply to [[Running X apps as root|X applications run as root]]. Possible solutions include:<br />
<br />
* Create symlinks, e.g {{bc|# ln -s /home/[username]/.config/Trolltech.conf /etc/xdg/Trolltech.conf}}<br />
* Configure system-wide theme file: {{ic|/etc/xdg/Trolltech.conf}}<br />
* Adjust the theme as root<br />
<br />
=== Qt 4 style not respected ===<br />
<br />
If pure Qt 4 (non-KDE) applications do not stick with your selected Qt 4 style, then you will probably need to tell Qt 4 how to find KDE's styles (Oxygen, Phase etc.). You just need to set the [[environment variable]] {{ic|QT_PLUGIN_PATH}}. E.g.:<br />
<br />
QT_PLUGIN_PATH=$HOME/.kde4/lib/kde4/plugins/:/usr/lib/kde4/plugins/<br />
<br />
{{ic|qtconfig-qt4}} should then be able to find your kde styles and everything should look nice again!<br />
<br />
Alternatively, you can symlink the Qt 4 styles directory to the KDE4 styles one:<br />
<br />
# ln -s /usr/lib/{kde,qt}4/plugins/styles/''theme_name''<br />
<br />
=== All Qt 5-based applications fail to run after Qt 5 update ===<br />
<br />
If you get an error similar to<br />
<br />
Qt FATAL: Cannot mix incompatible Qt library (version 0x50900) with this library (version 0x50901)<br />
<br />
then you are most likely using a Qt 5 platform theme or style plugin which has not been recompiled against the latest version of Qt 5. These usually use Qt private headers which means they depend on an exact version of Qt and not just a matching soname. Figure out which theme/style you are using by checking the {{ic|QT_STYLE_OVERRIDE}} and {{ic|QT_QPA_PLATFORMTHEME}} environment variables, and rebuild the AUR package that provides it.<br />
<br />
=== QXcbConnection: XCB error: 2 (BadValue) ===<br />
<br />
Create a file with such content [https://bugzilla.redhat.com/show_bug.cgi?id=1497564#c6]:<br />
<br />
{{hc|/etc/xdg/QtProject/qtlogging.ini|2=<br />
[Rules]<br />
qt.qpa.xcb.xcberror=false<br />
}}<br />
<br />
=== Graphics misaligned or scaled improperly ===<br />
<br />
See [[HiDPI#Qt 5]].<br />
<br />
=== Dead keys not working for Qt apps ===<br />
<br />
If you have set the right [[Xorg/Keyboard configuration#Setting keyboard layout|keyboard configuration]] and dead keys are working in [[GTK]] apps (or other [[:Category:Widget toolkits|widget toolkits]]) but not in [[KDE]] or any [[Qt]] apps, then you might not have the proper compose file loaded in your [[Xorg]] session.<br />
<br />
A way to confirm that is to:<br />
<br />
# launch a Qt app with {{ic|qt.xkb.compose.debug}} logging rule enabled, eg. launching {{Pkg|qtqr}}: {{ic|1=QT_LOGGING_RULES=qt.xkb.compose.debug=true qtqr}}<br />
# then try to write a character using a dead key, eg. {{ic|<dead_circumflex> <e>}} for {{ic|ê}} (LATIN SMALL LETTER E WITH CIRCUMFLEX)<br />
# if you encounter {{ic|qt.xkb.compose: failed to create compose table}} then you probably have this issue.<br />
<br />
To fix this, first identify your [[locale]]. Then, if your locale doesn't have its own folder in {{ic|/usr/share/X11/locale/}}, eg. {{ic|fr_FR.UTF-8}}, look for it in the {{ic|compose.dir}} mapping file to find the corresponding compose file (eg. {{ic|en_US.UTF-8/Compose}}):<br />
<br />
{{hc|head=$ grep fr_FR.UTF-8 /usr/share/X11/locale/compose.dir|output=<br />
en_US.UTF-8/Compose fr_FR.UTF-8<br />
en_US.UTF-8/Compose: fr_FR.UTF-8<br />
}}<br />
<br />
Now create or edit {{ic|~/.XCompose}} to include this compose file:<br />
<br />
{{hc|~/.XCompose|2=<br />
include "%S/en_US.UTF-8/Compose"<br />
}}<br />
<br />
Finally, restart your [[Qt]] app, dead keys should be working and {{ic|qt.xkb.compose: failed to create compose table}} error should have disappeared whenever you debug with {{ic|1=QT_LOGGING_RULES=qt.xkb.compose.debug=true}}.<br />
<br />
== See also ==<br />
<br />
* [https://qt.io/ Official Website]<br />
* [https://doc.qt.io Qt Documentation]<br />
* [https://planet.qt.io Planet Qt]</div>XenGihttps://wiki.archlinux.org/index.php?title=Talk:Ceph&diff=694268Talk:Ceph2021-09-05T11:21:05Z<p>XenGi: /* cephadm replacing ceph-deploy */ new section</p>
<hr />
<div>== cephadm replacing ceph-deploy ==<br />
<br />
cephadm replaced ceph-deploy as the deployment tool. It is not officially supported but compatible with Arch Linux because it uses containers to install all ceph daemons. It only needs ssh, lvm, python and podman/docker as dependencies.<br />
I packaged cephadm in the AUR and used it successfully to bootstrap a cluster.<br />
[[User:XenGi|XenGi]] ([[User talk:XenGi|talk]]) 11:21, 5 September 2021 (UTC)</div>XenGihttps://wiki.archlinux.org/index.php?title=User:XenGi&diff=594196User:XenGi2020-01-07T16:05:28Z<p>XenGi: </p>
<hr />
<div>[[Category:Relational DBMSs]]<br />
From the [http://rqlite.com/ project home page]:<br />
:rqlite is a lightweight, distributed relational database, which uses SQLite as its storage engine.<br />
<br />
== Installation ==<br />
<br />
[[Install]] the {{AUR|rqlite}} package.<br />
<br />
== Forming a cluster ==<br />
<br />
Let's create a cluster with 3 nodes which have the IP addresses 10.0.0.1, 10.0.0.2 and 10.0.0.3.<br />
<br />
On the first node, edit {{ic|/etc/default/rqlite}}:<br />
<br />
RQLITED_ARGS="-http-addr 10.0.0.1:4001 -raft-addr 10.0.0.1:4002"<br />
<br />
On the second node:<br />
<br />
RQLITED_ARGS="-http-addr 10.0.0.2:4001 -raft-addr 10.0.0.2:4002 -join http://10.0.0.1:4001,http://10.0.0.3:4001"<br />
<br />
On the third node:<br />
<br />
RQLITED_ARGS="-http-addr 10.0.0.3:4001 -raft-addr 10.0.0.3:4002 -join http://10.0.0.1:4001,http://10.0.0.2:4001"<br />
<br />
Now [[Start/enable]] the {{ic|rqlite.service}} on the first node. In the journal you should see something like that:<br />
<br />
[rqlited] 2020/01/07 16:18:16 rqlited starting, version v5.0.0, commit dd61a7a221bc3f8b0841dc298cdccc4fe4a81c6b, branch master<br />
[rqlited] 2020/01/07 16:18:16 go1.13, target architecture is amd64, operating system target is linux<br />
[store] 2020/01/07 16:18:16 opening store with node ID 10.0.0.1:4002<br />
[store] 2020/01/07 16:18:16 ensuring directory at /run/rqlite exists<br />
[store] 2020/01/07 16:18:16 SQLite in-memory database opened<br />
2020-01-07T16:18:16.468+0100 [INFO] raft: Initial configuration (index=0): []<br />
[store] 2020/01/07 16:18:16 bootstrap needed<br />
2020-01-07T16:18:16.468+0100 [INFO] raft: Node at 10.0.0.1:4002 [Follower] entering Follower state (Leader: "")<br />
[rqlited] 2020/01/07 16:18:16 no join addresses set<br />
2020-01-07T16:18:17.861+0100 [WARN] raft: Heartbeat timeout from "" reached, starting election<br />
2020-01-07T16:18:17.861+0100 [INFO] raft: Node at 10.0.0.1:4002 [Candidate] entering Candidate state in term 2<br />
2020-01-07T16:18:17.934+0100 [DEBUG] raft: Votes needed: 1<br />
2020-01-07T16:18:17.935+0100 [DEBUG] raft: Vote granted from 10.0.0.1:4002 in term 2. Tally: 1<br />
2020-01-07T16:18:17.935+0100 [INFO] raft: Election won. Tally: 1<br />
2020-01-07T16:18:17.935+0100 [INFO] raft: Node at 10.0.0.1:4002 [Leader] entering Leader state<br />
[store] 2020/01/07 16:18:17 waiting for up to 2m0s for application of initial logs<br />
[http] 2020/01/07 16:18:18 service listening on 10.0.0.1:4001<br />
<br />
Now you can add the other two nodes. In their journal it should look like this:<br />
<br />
[rqlited] 2020/01/07 16:18:33 rqlited starting, version v5.0.0, commit dd61a7a221bc3f8b0841dc298cdccc4fe4a81c6b, branch master<br />
[rqlited] 2020/01/07 16:18:33 go1.13, target architecture is amd64, operating system target is linux<br />
[store] 2020/01/07 16:18:33 opening store with node ID 10.0.0.2:4002<br />
[store] 2020/01/07 16:18:33 ensuring directory at /run/rqlite exists<br />
[store] 2020/01/07 16:18:33 SQLite in-memory database opened<br />
2020-01-07T16:18:33.907+0100 [INFO] raft: Initial configuration (index=0): []<br />
[store] 2020/01/07 16:18:33 no bootstrap needed<br />
[rqlited] 2020/01/07 16:18:33 join addresses are: [http://10.0.0.1:4001 http://10.0.0.3:4001]<br />
2020-01-07T16:18:33.908+0100 [INFO] raft: Node at 10.0.0.2:4002 [Follower] entering Follower state (Leader: "")<br />
2020/01/07 16:18:33 [DEBUG] raft-net: 10.0.0.2:4002 accepted connection from: 10.0.0.1:59672<br />
2020-01-07T16:18:33.922+0100 [WARN] raft: Failed to get previous log: 4 log not found (last: 0)<br />
[rqlited] 2020/01/07 16:18:33 successfully joined cluster at http://10.0.0.1:4001/join<br />
[store] 2020/01/07 16:18:34 waiting for up to 2m0s for application of initial logs<br />
2020/01/07 16:18:34 [DEBUG] raft-net: 10.0.0.2:4002 accepted connection from: 10.0.0.1:59674<br />
[http] 2020/01/07 16:18:34 service listening on 10.0.0.2:4001<br />
<br />
When the 3 nodes formed a cluster you should edit the file {{ic|/etc/default/rqlite}} on the first node to include the others:<br />
<br />
RQLITED_ARGS="-http-addr 10.0.0.1:4001 -raft-addr 10.0.0.1:4002 -join http://10.0.0.2:4001,http://10.0.0.3:4001"<br />
<br />
After that restart the first node. Now also the first node will always try to reconnect to the others when restarted.<br />
<br />
== Security ==<br />
<br />
<br />
<br />
== Using rqlite command line shell ==<br />
<br />
<br />
== See also ==<br />
<br />
* [http://www.rqlite.com rqlite homepage]<br />
* [http://sqlite.com SQLite homepage]</div>XenGihttps://wiki.archlinux.org/index.php?title=International_communities&diff=581839International communities2019-09-08T23:17:33Z<p>XenGi: /* German */ Luxemburg is its own country and not a part of Germany.</p>
<hr />
<div>[[Category:Arch community]]<br />
[[Category:Lists]]<br />
[[ar:International communities]]<br />
[[es:International communities]]<br />
[[ja:国際コミュニティ]]<br />
[[lt:International communities]]<br />
[[pt:International communities]]<br />
{{Related articles start}}<br />
{{Related|Help:i18n}}<br />
{{Related|ArchWiki:Translation Team}}<br />
{{Related|IRC channel}}<br />
{{Related articles end}}<br />
<br />
https://archlinux.org is the home of the official Arch Linux website, forums, and wiki. However, several unofficial community-run sites are available for international users who would rather communicate in their own language. You can find a list of these communities below.<br />
<br />
Please note that our official wiki also supports internationalized content. In addition, we have an international forum where you can post in your native language. These tools can be used in addition to, in parallel with, or as a part of the international communities listed below. <br />
<br />
This list is by no means complete. If you know of a community that is not listed, please feel free to add it. If you are looking for a community that doesn't have an existing community, start one or visit the [https://bbs.archlinux.org/viewforum.php?id=30 Other Languages forum].<br />
<br />
== Chinese ==<br />
<br />
=== China ===<br />
<br />
* Homepage: https://www.archlinuxcn.org/<br />
* Forum: https://bbs.archlinuxcn.org/<br />
* Forum: https://forum.ubuntu.org.cn/viewforum.php?f=155<br />
* Forum: http://tieba.baidu.com/f?kw=archlinux<br />
* Telegram Chat: https://t.me/archlinuxcn_group<br />
* [archlinuxcn] repo: https://github.com/archlinuxcn/repo<br />
* Wiki: [[Main page (简体中文)]]<br />
* Planet: https://planet.archlinuxcn.org/<br />
<br />
=== Taiwan ===<br />
<br />
* Homepage: https://archlinux.tw/<br />
* Telegram chat: https://t.me/ArchLinuxTaiwan<br />
* Forum: https://groups.google.com/forum/#!forum/archlinux-tw-general<br />
* Wiki: [[Main page (正體中文)]]<br />
<br />
== Danish ==<br />
<br />
* Homepage: http://www.archlinux.dk/<br />
* Forum: http://forum.archlinux.dk/<br />
* Wiki: [[Main page (Dansk)]]<br />
<br />
== French ==<br />
<br />
* Homepage: https://archlinux.fr/<br />
* Forum: https://forums.archlinux.fr/<br />
* Wiki: https://wiki.archlinux.fr/<br />
<br />
== German ==<br />
<br />
* Homepage: https://www.archlinux.de/<br />
* Forum: https://bbs.archlinux.de/<br />
* Wiki: https://wiki.archlinux.de/<br />
* Arch Linux User Group Berlin: https://archlinux.berlin/<br />
<br />
== Luxemburg ==<br />
<br />
* Arch Linux User Group Luxembourg: https://wiki.c3l.lu/doku.php?id=events:alugl<br />
<br />
== Greek ==<br />
<br />
* Homepage: http://archlinux.gr<br />
* Wiki: [[Main page (Ελληνικά)]]<br />
<br />
== Italian ==<br />
<br />
* Homepage: http://www.archlinux.it/<br />
* Forum: http://www.archlinux.it/forum<br />
* Wiki: [[Main page (Italiano)]]<br />
<br />
== Japanese ==<br />
<br />
* Homepage: https://www.archlinux.jp/<br />
* Forum: https://bbs.archlinux.jp/<br />
* Wiki: https://wiki.archlinux.jp/<br />
* Slack: https://slack.archlinux.jp/<br />
* Planet: https://planet.archlinux.jp/<br />
* Projects: https://github.com/ArchLinuxJP<br />
<br />
== Lithuanian ==<br />
<br />
* Forum: http://sls.archlinux.lt/<br />
* Wiki: [[:lt:Main page]]<br />
<br />
== Norwegian ==<br />
<br />
* IRC: #archlinux-nordics @ freenode<br />
* Homepage: https://archlinux.no/<br />
<br />
== Persian ==<br />
<br />
* Homepage: http://www.archusers.ir/<br />
* Forums: http://bbs.archusers.ir/<br />
* Wiki: http://wiki.archusers.ir/<br />
<br />
== Polish ==<br />
<br />
* Forum: http://forum.archlinux.org.pl/<br />
* Wiki: [[Main page (Polski)]]<br />
<br />
== Portuguese ==<br />
<br />
* Homepage: http://archlinux-br.org/<br />
* Forum: http://forum.archlinux-br.org/<br />
* Telegram group: https://t.me/archlinuxbr<br />
* Wiki: [[Main page (Português)]]<br />
<br />
== Russian ==<br />
<br />
* Homepage: https://archlinux.org.ru/<br />
* Forum: https://archlinux.org.ru/forum<br />
* Telegram groups:<br />
** https://t.me/archlinux_ru (with mirror in Matrix: [https://matrix.to/#/#archlinux_ru:matrix.org #archlinux_ru:matrix.org])<br />
** https://t.me/ArchLinuxChatRU<br />
* Wiki: [[Main page (Русский)]]<br />
<br />
== Serbian ==<br />
<br />
* Homepage: https://www.archlinux.rs/<br />
* Forum: https://bbs.archlinux.rs/<br />
* Wiki: [[:sr:Main page]]<br />
<br />
== Spanish ==<br />
<br />
* Homepage: http://www.archlinux-es.org/<br />
* Forum: http://foros.archlinux-es.org/<br />
* Wiki: [[Main page (Español)]]<br />
* Planet: http://planeta.archlinux-es.org<br />
* ArchlinuxLatinoamerica: https://ArchlinuxLatinoamerica.wordpress.com/<br />
<br />
== Swedish ==<br />
<br />
* Homepage: http://archlinux.se/<br />
<br />
== Turkish ==<br />
<br />
* Homepage: https://archtr.org/<br />
* Forum: https://forum.archtr.org/<br />
* Wiki: [[Ana sayfa (Türkçe)]]<br />
<br />
== Ukrainian ==<br />
<br />
* Forum thread: https://bbs.archlinux.org/viewtopic.php?id=27189<br />
* Telegram chat: https://t.me/archlinux_ukraine<br />
* Ukrainian Linux community forum: https://linux.org.ua/<br />
<br />
== Vietnamese ==<br />
<br />
* Homepage: http://archlinuxvn.tuxfamily.org/ (Vietnamese only)<br />
* Wiki: http://archlinuxvn.tuxfamily.org/<br />
* Projects: http://github.com/archlinuxvn/<br />
* Mailing list: http://groups.google.com/group/archlinuxvn/</div>XenGihttps://wiki.archlinux.org/index.php?title=Buildah&diff=581061Buildah2019-08-27T08:53:30Z<p>XenGi: fixed link to fuse-overlayfs package</p>
<hr />
<div>[[Category:Virtualization]]<br />
[[Category:Sandboxing]]<br />
[[ja:Buildah]]<br />
{{Related articles start}}<br />
{{Related|Cgroups}}<br />
{{Related|Docker}}<br />
{{Related|Linux Containers}}<br />
{{Related articles end}}<br />
<br />
[https://buildah.io/ Buildah] is a tool that facilitates building [https://www.opencontainers.org/ Open Container Initiative] (OCI) container images. The Buildah package provides a command line tool that can be used to:<br />
<br />
* create a working container, either from scratch or using an image as a starting point<br />
* create an image, either from a working container or via the instructions in a Dockerfile<br />
* images can be built in either the OCI image format or the traditional upstream docker image format<br />
* mount a working container's root filesystem for manipulation<br />
* unmount a working container's root filesystem<br />
* use the updated contents of a container's root filesystem as a filesystem layer to create a new image<br />
* delete a working container or an image<br />
* rename a local container<br />
<br />
The most widely known alternative for building containers is [[docker]]. Do note that Buildah does not run containers, for that you may want to consider {{Pkg|podman}}.<br />
<br />
== Installation ==<br />
[[Install]] the {{Pkg|buildah}} package or, for the development version, the {{Aur|buildah-git}} package.<br />
<br />
If you want to run as [[#Enable support to build unprivileged containers|non-root user]], also install {{Aur|fuse-overlayfs}} for better performance and storage space efficiency.<br />
<br />
== Configuration ==<br />
==== Enable support to build unprivileged containers ====<br />
Users wishing to use Buildah to build ''unprivileged'' containers need to complete additional setup steps.<br />
<br />
Firstly, a kernel is required that has support for '''User Namespaces''' (a kernel with {{ic|CONFIG_USER_NS}}). All Arch Linux kernels have support for {{ic|CONFIG_USER_NS}}. However, due to more general security concerns, the default Arch kernel does ship with User Namespaces enabled only for the ''root'' user.<br />
<br />
Enable the ''sysctl'' setting {{ic|kernel.unprivileged_userns_clone}} to allow normal users to run unprivileged containers. This can be done for the current session with {{ic|1=sysctl kernel.unprivileged_userns_clone=1}} and can be made permanent with {{man|5|sysctl.d}}.<br />
<br />
Finally, create both {{ic|/etc/subuid}} and {{ic|/etc/subgid}} to contain the mapping to the containerized uid/gid pairs for each user who shall be able to run the containers.[https://github.com/containers/libpod/blob/master/docs/tutorials/rootless_tutorial.md#etcsubuid-and-etcsubgid-configuration] The example below is for the root user (and systemd system unit) and an example user {{ic|buildah}}:<br />
<br />
{{hc|/etc/subuid|<br />
buildah:100000:65536<br />
}}<br />
<br />
{{hc|/etc/subgid|<br />
buildah:100000:65536<br />
}}<br />
<br />
== See also ==<br />
<br />
* [https://buildah.io/ Builah Blog Post Series]<br />
* [https://github.com/containers Containers Organization GitHub projects]<br />
* [https://podman.io/ Podman daemonless container engine]</div>XenGihttps://wiki.archlinux.org/index.php?title=Talk:Laptop/Lenovo&diff=560506Talk:Laptop/Lenovo2018-12-26T17:11:13Z<p>XenGi: added a question</p>
<hr />
<div>== Adding a new subsection for a-series thinkpads ( specifically a485 ) ==<br />
<br />
I recently installed archlinux on my new thinkpad a485 and would like to add a compatibility entry for people considering to buy that model. It would look somewhat like this:<br />
<br />
{{HCL/Laptops table header}}<br />
| IBM ThinkPad A485 || 2018.12.01 || Yes || Yes || Yes || Yes || Yes || Yes || NA || Touch Pad/Trackpoint (yes), Webcam (yes) || bluetooth does not work when activating [[ Laptop Mode Tools ]] <code>runtime-pm</code> module<br />
|}<br />
<br />
<br />
I added it to the page. You could also just do that. ;)<br />
Btw, How is the A485? I currently have the T480 and can't wait to see the A495 and A295. Would really like to switch to AMD.<br />
<br />
[[User:XenGi|XenGi]] ([[User talk:XenGi|talk]]) 17:09, 26 December 2018 (UTC)</div>XenGihttps://wiki.archlinux.org/index.php?title=Talk:Laptop/Lenovo&diff=560505Talk:Laptop/Lenovo2018-12-26T17:09:12Z<p>XenGi: added recommended change</p>
<hr />
<div>== Adding a new subsection for a-series thinkpads ( specifically a485 ) ==<br />
<br />
I recently installed archlinux on my new thinkpad a485 and would like to add a compatibility entry for people considering to buy that model. It would look somewhat like this:<br />
<br />
{{HCL/Laptops table header}}<br />
| IBM ThinkPad A485 || 2018.12.01 || Yes || Yes || Yes || Yes || Yes || Yes || NA || Touch Pad/Trackpoint (yes), Webcam (yes) || bluetooth does not work when activating [[ Laptop Mode Tools ]] <code>runtime-pm</code> module<br />
|}<br />
<br />
<br />
I added it to the page. You could also just do that. ;)<br />
<br />
[[User:XenGi|XenGi]] ([[User talk:XenGi|talk]]) 17:09, 26 December 2018 (UTC)</div>XenGihttps://wiki.archlinux.org/index.php?title=Laptop/Lenovo&diff=560504Laptop/Lenovo2018-12-26T17:07:34Z<p>XenGi: /* A series added */</p>
<hr />
<div>[[Category:Lenovo]]<br />
[[ja:ノートパソコン/Lenovo]]<br />
{{Laptops navigation}}<br />
{{Related articles start}}<br />
{{Related|ThinkPad docks}}<br />
{{Related articles end}}<br />
<br />
== IBM/Lenovo ==<br />
<br />
=== ThinkPad ===<br />
<br />
==== Edge series ====<br />
<br />
{{HCL/Laptops table header}}<br />
| [[Lenovo ThinkPad Edge E330]] || NA || Yes || Yes || Yes || Yes || Yes || Yes || NA || ||<br />
|-<br />
| [[Lenovo ThinkPad Edge E335]] || NA || Yes || Yes || Yes || Yes || NA || Yes || NA || ||<br />
|-<br />
| Lenovo ThinkPad Edge E420s || Yes || Yes || Yes || Yes || Yes || Yes || NA || NA || SDcard (Yes), Webcam (Yes), Trackpoint (No) || <br />
|-<br />
| [[Lenovo ThinkPad Edge E430]] || Yes || Yes || Yes* || Yes* || Not tested || Yes || NA || NA || SD card (yes) || <br />
|-<br />
| [[Lenovo ThinkPad Edge E455]] || 2015.04.01 || Yes* || Yes || Yes || Yes || Yes || Yes || NA || ||<br />
|-<br />
| Lenovo ThinkPad Edge E470 || 2017.09.01 || Yes || Yes || Yes || Yes || Not tested || NA || NA || trackpoint (yes) ||<br />
|-<br />
| Lenovo ThinkPad Edge E530 || Yes || Yes || Yes* || Yes* || Yes || Yes || NA || NA || SD card (yes), Finger Print (yes) || E530 without fingerprint reader can be equipt with one.<br />
|-<br />
| Lenovo ThinkPad Edge E531 || Yes || Yes || Yes || Yes || Yes* || Yes || Yes || NA || SD card (yes), Touch Pad/Trackpoint (yes), Webcam (yes) || WiFi only works with {{Pkg|broadcom-wl-dkms}}<br />
|-<br />
| Lenovo ThinkPad Edge E540 || 2015.08.01 || Yes || Yes || Yes || Yes || Yes || Yes* || NA || SD card (yes), Finger Print (yes), touch pad and trackpoint (yes), Webcam (yes) || <br />
|-<br />
| Lenovo ThinkPad Edge E545 || NA || Yes || Yes || Yes || Yes* || Not tested || Yes || NA || SD card (yes), touch pad and trackpoint (yes) Webcam (yes) || wifi works only with {{Pkg|broadcom-wl-dkms}}<br />
|-<br />
| Lenovo ThinkPad Edge E580 || 2018.05.01 || Yes || Yes || Yes || Yes || Yes || Yes || NA || Fingerprint sensor doesn't work because of proprietary firmware || ||<br />
|-<br />
|}<br />
<br />
==== E series ====<br />
<br />
{{HCL/Laptops table header}}<br />
| Lenovo ThinkPad E485 || 2018-10-01 || Yes || Yes || Yes || Yes || Yes || Yes || N/A || || Missing IVRS map in ACPI Table, add <code>amd_iommu=pt ivrs_ioapic[32]=00:14.0</code> in [[kernel parameters]]. In order to get microsd (SDHCI) working, <code>echo 'options sdhci debug_quirks2="0x8000"' > /etc/modprobe.d/sdhci.conf</code> and change module load order <code>MODULES=(sdhci sdhci_pci)</code> in <code>/etc/mkinitcpio.conf</code> (line 7). Don't forget to run <code>mkinitcpio -p linux</code> afterwards.<br />
|-<br />
| Lenovo ThinkPad E585 || 2018-11-01 || Yes || Yes || Yes || Yes || Yes || Yes || N/A || || Missing IVRS map in ACPI Table, add <code>amd_iommu=pt ivrs_ioapic[32]=00:14.0</code> in [[kernel parameters]] In order to get microsd (SDHCI) working, <code>echo 'options sdhci debug_quirks2="0x8000"' > /etc/modprobe.d/sdhci.conf</code> and change module load order <code>MODULES=(sdhci sdhci_pci)</code> in <code>/etc/mkinitcpio.conf</code> (line 7). Don't forget to run <code>mkinitcpio -p linux</code> afterwards.<br />
|-<br />
|}<br />
<br />
==== L series ====<br />
<br />
{{HCL/Laptops table header}}<br />
| [[Lenovo ThinkPad L380 Yoga]] || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || Trackpoint*, Fingerprint reader ||<br />
|-<br />
| Lenovo ThinkPad L420 || Yes || Yes || Yes || Yes || Yes || Not tested || Yes || NA || ||<br />
|-<br />
| Lenovo ThinkPad L430 || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || Trackpoint* ||<br />
|-<br />
| Lenovo ThinkPad L520 || 2018.09.01-x86_64|| Yes || Yes || Yes || Yes || Not tested|| Not tested|| Not tested|| Not tested ||<br />
|-<br />
| Lenovo ThinkPad L530 || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || Trackpoint*, Fingerprint reader ||<br />
|-<br />
|}<br />
<br />
==== A series ====<br />
<br />
{{HCL/Laptops table header}}<br />
| Lenovo ThinkPad A485 || 2018.12 || Yes || Yes || Yes || Yes || Yes || Yes || NA || Touch Pad/Trackpoint (yes), Webcam (yes) || bluetooth does not work when activating [[ Laptop Mode Tools ]] <code>runtime-pm</code> module<br />
|}<br />
<br />
==== P series ====<br />
<br />
{{HCL/Laptops table header}}<br />
| [[Lenovo ThinkPad P50]] || 2016.04 || Yes || Yes || Yes || Yes || Yes || Suspend working, hibernate not tested || NA || SD card (Yes), Webcam (Yes), Fingerprint Reader ({{AUR|libfprint-vfs0090-git}}), || Wifi requires Kernel 4.3.3+ <br />
|-<br />
| [[Lenovo ThinkPad P70]] || 2016.04 || Yes || Yes || Yes || Yes || Yes || Suspend working, hibernate not tested || NA || SD card (Yes), Webcam (Yes), Fingerprint Reader (No), || Wifi requires Kernel 4.3.3+ <br />
|-<br />
| Lenovo ThinkPad P51 || Unknown || Yes || Yes || Yes || Yes || Yes || Yes || Yes (No GNSS/GPS) ||<br />
* Working: SD card, Webcam, Express card, Smartcard reader, Fingerprint Reader ({{AUR|libfprint-vfs0097-git}})<br />
* Not working: TPM, Color calibrator, UEFI flash <br />
|| HDMI audio requires nvhda module<br />
|-<br />
| [[Lenovo ThinkPad P52]] || 2018.09 || Yes || Yes || Yes || Yes || Unknown || Suspend working, hibernate not tested || NA || Touchpad (No) ||<br />
|-<br />
| [[Lenovo ThinkPad P1]] || 2018.12 || Yes || Yes || Yes || Yes || Yes || Suspend working, hibernate not tested || NA || Webcam (Yes), multi-monitor (yes)|| <br />
|}<br />
<br />
==== T series ====<br />
<br />
{{HCL/Laptops table header}}<br />
| IBM ThinkPad T60 || Yes || Yes || Yes || Yes || Yes || Yes || ? || NA || ||<br />
|-<br />
| IBM ThinkPad T60p || Yes || Yes || Yes || Yes || Yes || Yes || ? || NA || ThinkFinger ||<br />
|-<br />
| [[IBM ThinkPad T61]] || Yes || Yes || Yes || Yes || Yes || Yes || NA || || ||<br />
|-<br />
| IBM ThinkPad T61p || Yes || Yes || Yes || Yes || Yes || Yes || NA || || ||<br />
|-<br />
| [[Lenovo ThinkPad T400]] || Yes || Yes || Yes || Yes || Yes || Yes || NA || NA || ||<br />
|-<br />
| [[Lenovo ThinkPad T400s]] || Yes || Yes || Yes || Yes || Yes || Yes || NA || NA || ||<br />
|-<br />
| Lenovo ThinkPad T410 || Yes || Yes || Yes || Yes || Yes || Yes || NA || NA || ||<br />
|-<br />
| [[Lenovo ThinkPad T420]] || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || Card reader tested, no Fingerprint scanner||<br />
|-<br />
| [[Lenovo ThinkPad T420s]] || Yes || Yes || Yes || Yes || Yes || Yes || NA || NA || Card Reader ||<br />
|-<br />
| [[Lenovo ThinkPad T430]] || Yes || Yes || Yes || Yes || Yes || Yes* || Yes* || Not tested || ||<br />
|-<br />
| [[#Lenovo ThinkPad T440p|Lenovo ThinkPad T440p]] || Yes || Yes || Yes || Yes || Yes || Yes* || NA || NA || Card Reader || See below<br />
|-<br />
| [[Lenovo ThinkPad T440s]] || Yes || Yes || Yes || Yes || Yes* || ? || Yes || ? || || See wiki page for more details about wireless<br />
|-<br />
| [[Lenovo ThinkPad T450s]] || 2015.10.01 || Yes || Yes || Yes || Yes || Yes || ? || NA || SD Card reader; fingerprint scanner|| <br />
|-<br />
| [[Lenovo ThinkPad T460s]] || Yes || Yes || no beep || Yes || Yes || Yes || ? || NA || SD Card reader|| <br />
|-<br />
| [[Lenovo ThinkPad T25]] || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || SD Card reader; fingerprint scanner; Touchscreen|| <br />
|-<br />
| [[Lenovo ThinkPad T470]] || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || SD Card reader; fingerprint scanner|| <br />
|-<br />
| [[Lenovo ThinkPad T470s]] || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || SD Card reader; fingerprint scanner|| <br />
|-<br />
| [[Lenovo ThinkPad T480]] || 2018.07.01 || Yes || Yes || Yes || Yes || Yes || ? || NA || Thunderbolt 3 (USB-C); SD Card reader; fingerprint scanner|| <br />
|-<br />
| [[Lenovo ThinkPad T480s]] || 2018.03.01 || Yes || Yes || Yes || Yes || Yes || Yes || NA || SD Card reader; Thunderbolt 3 (USB-C)|| For [[Hardware_video_acceleration|video h/w acceleration]] install {{AUR|chromium-vaapi-bin}} and ensure to enable acceleration in {{ic|about:flags}}. Check everything is working in {{ic|about:gpu}}.<br />
|-<br />
| Lenovo ThinkPad T500 || Yes || Yes || Yes || Yes || Yes || Yes || NA || NA || ||<br />
|-<br />
| [[Lenovo ThinkPad T520]] || Yes || Yes || Yes || Yes || Yes || Yes || NA || NA || ||<br />
|-<br />
| [[Lenovo ThinkPad T530]] || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || ||<br />
|-<br />
| [[Lenovo ThinkPad T550]] || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || DisplayPort ||<br />
|-<br />
| Lenovo ThinkPad T560 || Yes || Yes || Yes || Yes || Yes || Yes || Yes* || NA || MiniDP; Fingerprint scanner; Intel + Nvidia GPU; Card Reader || See special notes for the hardware specifications of this test device<br />
|-<br />
| [[Lenovo ThinkPad T570]] || Yes || Yes || Yes || Yes || Yes || ? || Yes* || NA || not yet fully tested || <br />
|-<br />
| Lenovo ThinkPad T580 || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || SD Card Reader is supported; [https://forums.lenovo.com/t5/Linux-Discussion/Thinkpad-T580-Synaptics-Metallica-MIS-Touch-Fingerprint-Reader/m-p/4057745 Fingerprint reader is not supported] || Tested on ''2 May 2018'' (with ''Linux 4.16.5'')<br />
|}<br />
<br />
==== W series ====<br />
{{HCL/Laptops table header}}<br />
|-<br />
| Lenovo ThinkPad W510 || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || SD card (Yes), Webcam (Yes), Touchscreen (Yes), Fingerprint Reader (Not tested) || Tested April 2017 / Linux 4.10.8<br />
|-<br />
| Lenovo ThinkPad W530 || 2016.03 || Yes || Yes || Yes || Yes || Yes || Yes || NA || SD card (Yes), Webcam (Yes), Fingerprint Reader (Yes) || Tested April 2018 / Linux 4.15.15<br />
|-<br />
| Lenovo ThinkPad W540 || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || SD card (Yes), Webcam (Yes), Fingerprint Reader (Yes) || Tested April 2017 / Linux 4.10.8<br />
|-<br />
| Lenovo ThinkPad W541 || Yes || Yes || Yes || Yes || Yes || Yes || Yes || Not tested || SD card (Yes), Webcam (Yes), Fingerprint Reader (Not tested) || Tested August 2018 / Linux 4.17.12<br />
|-<br />
| Lenovo ThinkPad W550s || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || SD card (Yes), Webcam (Yes), Fingerprint Reader (Yes) || Tested April 2018 / Linux 4.15.15<br />
|-<br />
|}<br />
<br />
==== X series ====<br />
<br />
{{HCL/Laptops table header}}<br />
| [[IBM ThinkPad X60s]] || Yes|| Yes || Yes || Yes || Yes || Yes || NA || NA || ||<br />
|-<br />
| Lenovo ThinkPad X61s || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || SD slot ||<br />
|-<br />
| [[Lenovo ThinkPad X100e]] || Yes|| Yes || Yes || Yes || Yes || Yes || Not tested || NA || SD card (Yes), Webcam (Yes) ||<br />
|-<br />
| [[Lenovo ThinkPad X200]] || Yes || Yes || Yes || Yes || Yes || Yes || NA || Yes || ||<br />
|-<br />
| [[Lenovo ThinkPad X200S]] || Yes || Yes || Yes || Yes || Yes || Not tested || NA || Not tested || Everything worked out of the box. However, fingerprint, SD card and webcam were not tested ||<br />
|-<br />
| [[Lenovo ThinkPad X201]] || Yes || Yes || Yes || Yes || Yes || Yes || Yes || Not tested || ||<br />
|-<br />
| [[Lenovo ThinkPad X220]] || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || SD card (Yes), Webcam (Yes) ||<br />
|-<br />
| [[Lenovo ThinkPad X230]] || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || SD card (Yes), Webcam (Yes), UMTS Modem (Yes) ||<br />
|-<br />
| [[Lenovo ThinkPad X240]] || Yes || Yes || Yes || Yes || Yes || Yes || Yes || WWAN LTE (yes) || SD card (Yes), Webcam (Yes), Fingerprint (Yes) ||<br />
|-<br />
| [[Lenovo ThinkPad X250]] || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || SD card (Yes), Webcam (Yes), Fingerprint (Yes) ||<br />
|-<br />
| [[Lenovo ThinkPad X260]] || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || SD card (Yes), Webcam (Yes), Fingerprint (Yes) ||<br />
|-<br />
| Lenovo ThinkPad X270 || Yes || Yes || Yes || Yes || Yes || Not tested || Yes || NA || Webcam (Yes) ||<br />
|-<br />
| Lenovo ThinkPad X280 || Yes || Yes || Yes || Yes || Yes || Not tested || Yes || NA || Webcam (Yes) ||<br />
|-<br />
| [[Lenovo ThinkPad X1 Carbon]] || NA || Yes || Yes || Yes || Yes || Proprietary/nonfree || Yes || NA || ||<br />
|-<br />
| [[Lenovo ThinkPad X1 Carbon (Gen 2)]] || NA || Yes || Yes || Yes || Yes || Yes || Yes || NA || ||<br />
|-<br />
| [[Lenovo ThinkPad X1 Carbon (Gen 3)]] || NA || Yes || Yes || Yes || Yes || Yes || Yes || NA || ||<br />
|-<br />
| [[Lenovo ThinkPad X1 Carbon (Gen 4)]] || NA || Yes || Yes || Yes || Yes || Yes || Yes || NA || ||<br />
|-<br />
| [[Lenovo ThinkPad X1 Carbon (Gen 5)]] || NA || Yes || Yes || Yes || Yes || Yes || Yes || Yes || ||<br />
|-<br />
| [[Lenovo ThinkPad X1 Carbon (Gen 6)]] || NA || Yes || Yes || Yes || Yes || Yes || Yes || Yes || ||<br />
|-<br />
| [[Lenovo ThinkPad X1 Extreme]] || NA || Yes || Yes || Yes || Yes || Yes || Yes || NA || Fingerprint reader not supported, Thunderbolt ports not tested || Graphics requires some configuration to work correctly<br />
|-<br />
| [[Lenovo ThinkPad X1 Yoga (Gen 3)]] || NA || Yes || Yes || Yes || Yes || Yes || Partial || NA || SD card (Yes), Webcam (Yes), Fingerprint (No), Touchscreen (Yes), Accelerometer (Yes) ||<br />
|}<br />
<br />
==== Yoga Series ====<br />
{{HCL/Laptops table header}}<br />
| [[Lenovo ThinkPad Yoga 260]] || USB || Yes || Yes || Yes || Yes || Yes || Unknown || Yes || SD card (Yes), Webcam (Yes), Fingerprint Reader (Unknown), Touchscreen (Yes), Tablet (Partial), Accelerometer (No) || Wifi requires Kernel 4.3.3+<br />
|-<br />
|}<br />
<br />
==== Helix Series ====<br />
{{HCL/Laptops table header}}<br />
| [[Lenovo ThinkPad Helix]] || Unknown || YES || YES || NA || YES || YES || NA || Touchscreen (yes), Pen (yes), Sensors (yes) || ||<br />
|-<br />
| [[Lenovo ThinkPad Helix 2nd Gen]] || 2018.04.01 (USB) || YES || YES || NA || YES || Not tested || Yes* (with updated BIOS) || Touchscreen (yes), Pen (not tested), Sensors (w/ patched kernel) || NA || Only suspend-to-idle ("freeze") is supported<br />
|-<br />
|}<br />
== Lenovo ==<br />
<br />
=== IdeaPad ===<br />
<br />
{{HCL/Laptops table header}}<br />
| Lenovo IdeaPad 120S || 2018-04-26 || Yes || Yes || NA || Yes || Yes || Yes || NA || Everything works ||<br />
|-<br />
| [[Lenovo IdeaPad Flex 10]] || Yes || Yes* || Yes || NA || Yes || Yes || Yes || NA || Touchscreen* ||<br />
|-<br />
| [[Lenovo IdeaPad S10]] || Yes || Yes || Yes || Yes || Yes || Yes || NA || NA || ||<br />
|-<br />
| [[Lenovo IdeaPad S400 Touch]] || Yes || Yes || Yes || Yes || Yes || Yes || Not tested || NA || ||<br />
|-<br />
| Lenovo IdeaPad U430p || Yes || Yes || Yes || Yes || Yes || Yes || Not tested || NA || ||<br />
|-<br />
| Lenovo IdeaPad Y700 || 2015.12.01 || Yes || Yes* || Yes || Yes || Yes || Not tested || NA || Trackpad - [https://unix.stackexchange.com/questions/362165/lenovo-y700-elantech-touchpad-query-0x01-failed buggy] || [https://bugzilla.kernel.org/show_bug.cgi?id=151681 Trackpad requires pata_legacy to be blacklisted]<br />
|-<br />
| [[Lenovo IdeaPad Z580]] || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || ||<br />
|-<br />
| [[Lenovo IdeaPad 720s]] || 2018.03.01 || Yes || Yes || NA* || Yes || Yes || Yes || NA || Fingerprint reader not working || *requires USB or USB C dongle<br />
|-<br />
| [[Lenovo IdeaPad 720s (Ryzen)]] || 2018.02.01 || Not tested || Not tested || Yes* || No || Not tested || Not tested || NA || Fingerprint reader not tested but most likely not working || *requires USB or USB C dongle<br />
|-<br />
| Lenovo Ideapad 320 || 2018.03.01 || Yes || Yes || Yes || Yes || Not tested || Not tested || NA || To stop constant annoying messages by AMD-Vi, use 'iommu=soft' & 'amd_iommu=off' in kernel arguments || <br />
|-<br />
| Lenovo Ideapad N24 || 2018.04.01 || Yes || Yes || NA || Yes || Not tested || Not tested || NA || Touchscreen || <br />
|-<br />
|}<br />
<br />
=== B series ===<br />
<br />
{{HCL/Laptops table header}}<br />
| Lenovo B50 || NA || Yes || Yes || Yes || Yes || Not tested || Not tested || Not tested || ||<br />
|-<br />
| Lenovo B50-70 || Yes || Yes* ||Yes || Yes || Yes || Yes || Not tested || NA || See below* ||<br />
|-<br />
| Lenovo B450 || Yes || Yes ||Yes || Yes || Yes || NA || Not tested || NA || ||<br />
|-<br />
|}<br />
<br />
=== K series ===<br />
<br />
{{HCL/Laptops table header}}<br />
| Lenovo K450e || NA || Yes || Yes || Yes || Yes || Not tested || Yes || Not tested || ||<br />
|-<br />
|}<br />
<br />
=== N series ===<br />
<br />
{{HCL/Laptops table header}}<br />
| Lenovo N200 (3000) || Yes || Yes* || Yes || Yes || Yes || Yes* || NA || NA || See below ||<br />
|-<br />
|}<br />
<br />
=== S series ===<br />
<br />
{{HCL/Laptops table header}}<br />
| Lenovo S21e-20 || 2015.07.01 || Yes || Yes || NA || Yes* || ? || Yes || NA || SD Card (Yes), USB 3.0 (Yes), HDMI Out (?), Touchpad (Yes*) ||<br />
|-<br />
|}<br />
<br />
=== U Series ===<br />
<br />
{{HCL/Laptops table header}}<br />
| Lenovo U31-70 || 2015.10.01 || Yes || Yes || Yes || Yes* || Yes || Yes || NA || SD Card (Yes), USB 3.0 (Yes), HDMI Out (Yes), Touchpad (Yes), Webcam (Yes) ||<br />
|-<br />
|}<br />
<br />
=== V Series ===<br />
<br />
{{HCL/Laptops table header}}<br />
| Lenovo V110-15ISK || ??? || Yes || Yes || Yes || Yes || Not Tested || Yes || NA || SD Card (Not Tested), USB 3.0 (Not Tested), HDMI Out (Not Tested), Touchpad (Yes), Webcam (Yes) ||<br />
|-<br />
| Lenovo V330-15IKB || 2018.10.01 || Yes || Yes || Yes || Yes || Not Tested || Yes || NA || Fingerprint (No, no driver exists for the Validity/Synaptics 06cb:0081 Fingerprint Reader), Touchpad (Yes), Webcam (Yes) ||<br />
|-<br />
|}<br />
<br />
=== Y series ===<br />
{{HCL/Laptops table header}}<br />
| Lenovo Legion Y520 || 2018.11.01 || Yes || Yes || Yes || Yes || Yes || Yes || Yes || SD card (Not tested), Webcam (Yes), USB & USB 3.0 (Yes), HDMI (Yes), USB-C (Not tested), Touchpad (Yes), NVMe M.2 SSD (Yes) || Tested November 2018 / Linux 4.18.6. Must change SATA configuration in BIOS from RAID to AHCI in order to recognize SSD.<br />
|-<br />
|}<br />
<br />
== Special Notes (*): ==<br />
<br />
{{Accuracy|Lots of vague or unproven bugs/workarounds, poor writing}}<br />
<br />
=== Lenovo U31-70 ===<br />
Wireless needs {{Pkg|linux}} >= 4.3 and latest {{Pkg|linux-firmware}}, both packages are currently in testing. Copy one of the firmware blobs {{ic|eeprom_ar6320_2p1_NFA345i.bin}} or {{ic|eeprom_ar6320_2p1_NFA345i_highTX.bin}} from the windows driver to {{ic|/usr/lib/firmware/ath10k/QCA6174/hw2.1/board-pci-168c:0041:17aa:3545.bin}}.<br />
<br />
Wireless with firmware blobs from windows driver may no longer work on {{Pkg|linux}} >= 4.4. Download firmware blob https://github.com/kvalo/ath10k-firmware/blob/f428f53b36b144971c9c4c3d2ebd5fa8cae86c89/QCA6174/hw2.1/board-2.bin and copy it to {{ic|/usr/lib/firmware/ath10k/QCA6174/hw2.1/board-2.bin}}. Tested with {{Pkg|linux}} 4.4.5-1 and {{Pkg|linux-firmware}} 20160113.40e9ae8-1nu<br />
<br />
With packages {{Pkg|linux}} 4.6.1-2 and {{Pkg|linux-firmware}} 20160516.80d463b-1 being in stable, wireless works without any additional steps needed.<br />
<br />
=== Lenovo B50-70 ===<br />
* UEFI:<br />
** to be able to disable Secure Boot (necessary for dual boot, not needed for Linux only), you have to switch from "UEFI first" to "UEFI only" (or something like this) in UEFI setup menu; the Secure Boot option appears then on the Security tab<br />
** after UEFI update having Linux and Windows installed, the Linux bootloader ceased to be the default one, UEFI started to load Windows by default and it was impossible to select the Linux one in the UEFI boot menu and in the UEFI setup - reinstalling the bootloader helped; having no access to a boot media that supports UEFI, a solution might be also replacing the Windows EFI bootloader file with a Linux one temporalily, in order to be able to boot Linux from HDD<br />
** for the UEFI update, a Windows OS is needed<br />
* Touchpad:<br />
** Synaptics - works after installing Synaptics drivers from repo, possible to change behaviour (like reaction for double tap) according to your wish<br />
* Video:<br />
** in laptops with dual video card (Intel and ATI) - detects both, Intel is active as a default, not checked if it's possible at all to switch between them<br />
<br />
==== Operation with a HDD caddy ====<br />
When you install an SSD in the place of the plate HDD drive and you want to have your HDD still inside the laptop, it is possible to install it in the place of the optical drive in a special "HDD caddy". The optical drive is of 9 mm height, but a 9,5 mm caddy (ultra slim) fits in the slot. A caddy with a SATA interface is needed. It is difficult to separate the front bezel from the original optical drive (and opening its case does not help, but brings a danger of making a mess in the opening mechanism; the only option is just to pull the bezel using a bit of force, but you risk breaking the latches).<br />
<br />
While the HDD installed instead of the optical drive operates flawlessly in Windows, it was not going to work out of the box in Linux, at least in one case. The kernel tries to establish a connection with the disk, but fails to do it (''SATA link down'' entry in /var/log/messages). The solution is to force a 1.5 Gbps transfer speed (instead of 6 Gbps) by adding a ''libata.force='' kernel parameter. See [https://www.kernel.org/doc/Documentation/kernel-parameters.txt] for details.<br />
<br />
=== Lenovo K450e ===<br />
<br />
After installing Arch Linux and booting, a single beep may be heard. To disable this beep, press F1 during startup, then change Boot Priority to 'UEFI First', as well as enabling 'CSM'.<br />
<br />
=== ThinkPad X1 Carbon 3rd ===<br />
<br />
* http://natalian.org/archives/2015/02/18/Archlinux_on_a_Lenovo_X1C3/<br />
<br />
=== Lenovo 3000 N200 ===<br />
<br />
* Sound:<br />
** You may have to append {{ic|1=options snd_hda_intel model=lenovo}} to {{ic|/etc/modprobe.d/modprobe.conf}} for sound to work.<br />
<br />
=== Lenovo ThinkPad T430 ===<br />
{{Accuracy | I was not able to reproduce this bug as of September 2017 }}<br />
<br />
* Bluetooth (0a5c:21e6 Broadcom Corp. BCM20702 Bluetooth 4.0 [ThinkPad]) appears to be functional, even during standby or hibernation.<br />
<br />
=== Lenovo ThinkPad T440p ===<br />
<br />
* ClickPad: the whole trackpad clicks, and disabling the trackpad using older versions of synclient makes the trackpoint essentially unusable. This has been resolved in newer versions of {{Pkg|xf86-input-synaptics}}.<br />
** See [http://who-t.blogspot.com.au/2014/03/xorg-synaptics-support-for-lenovo-t440.html this article] and [http://who-t.blogspot.com.au/2013/12/lenovo-t440-touchpad-button.html previous version].<br />
** Install {{AUR|xf86-input-synlx40}}{{Broken package link|{{aur-mirror|xf86-input-synlx40}}}} and {{AUR|xf86-input-mtrack}} for alternative drivers.<br />
* Audio:<br />
** HDMI audio is the default audio output device. Consult the [[ALSA]] page for details on changing the default.<br />
** As the X100e/Mini10, it's possible to mute the headset and speaker outputs separately to the master. Muting the speaker output improves bass output on the headset port.<br />
** If the system fails to wake from sleep, it can lose sync with the internal audio card and speakers/headphones may fail to work. In this case, put the system to sleep, and wake it again and audio functionality should be restored. <br />
* The fingerprint sensor is a Validity VFS5011, which requires [https://github.com/abbradar/fprint_vfs5011 a patched fprintd] and is apparently highly unreliable.<br />
* thinkpad_acpi:<br />
** To toggle Fn-Lock, press Fn + Esc, this will toggle the LED on the keyboard. While the Fn LED is on all Fn functionalities work as intended out of the box. <br />
** Controlling the 'glowing I' LED is apparently not possible.<br />
** fan control does not seem to work.<br />
* Graphics and Video:<br />
** With the integrated GPU, [[xrandr]] can crash while attaching or detaching displays connected via the dock.<br />
** The built-in miniDisplayPort will sometimes spew I²C issues into the kernel log.<br />
** [[Hardware video acceleration]] is highly recommended as it performs significantly better than CPU decoding of large media files.<br />
** '''The BIOS should not be upgraded past version 1.14, as newer BIOSes cause memory corruption when used with Bumblebee.''' See [https://github.com/Bumblebee-Project/bbswitch/issues/78#issuecomment-42741698 Bumblebee GitHub]<br />
* Connectivity:<br />
** Bluetooth is ''extremely'' fragile. The controller works fine most of the time, but can cause the system to wedge totally on sleep/wake cycles, especially if a connection was active at sleep. Disable the controller using {{ic|bluetoothctl}} before sleeping.<br />
<br />
=== Lenovo ThinkPad T560 ===<br />
* No automatic brightness adjusting when switching power supply battery <-> AC<br />
<br />
* Hardware specifications of test device<br />
** CPU: Intel CORE i7-6600U @ 2.60GHz or Intel CORE i5-6200U @ 2.30GHz or Intel CORE i5-6300U @ 2.40GHz<br />
** GPU Primary: Intel HD 520<br />
** GPU Secondary: Nvidia GeForce 940MX or None<br />
** WiFi: Intel 8260<br />
** Ethernet: Intel I219-LM<br />
** Card reader: Realtek RTS522A<br />
<br />
=== Lenovo S21e-20 ===<br />
* Tested with {{Pkg|broadcom-wl-dkms}} 802.11 wireless driver<br />
* Synaptics touchpad required 3 patches to {{Pkg|linux}}:drivers/hid/hid-rmi.c on 2015-07-26 ([https://bugs.freedesktop.org/show_bug.cgi?id=91102 bug report], [https://github.com/harisokanovic/archlinux-packages/commit/f4550c211ca7809ecf926f8074c7b7250a74bd92 kernel recipe patch]). The current 4.3 kernel includes these patches. You will also need to install the xf86_64-input-synaptics package([https://www.archlinux.org/packages/?name=xf86-input-synaptics]) <br />
<br />
==== tpacpi-bat ====<br />
<br />
There is an issue with tpacpi-bat not reporting the right value for the stop threshold. This seems to be related to a buggy BIOS and can not be fixed application wise. <br />
<br />
See https://github.com/teleshoes/tpacpi-bat/issues/44<br />
<br />
==== ThinkPad Edge E420s Delay with Space Bar====<br />
Solution: Update BIOS (at least 1.08).<br />
<br />
=== Lenovo IdeaPad Y700 ===<br />
* The subwoofer does not work out of the box.<br />
** Updating to Kernel 4.15 or later seems to fix the subwoofer.<br />
<br />
== See also ==<br />
* [http://www.thinkwiki.org/wiki Think wiki]</div>XenGihttps://wiki.archlinux.org/index.php?title=User:XenGi&diff=514600User:XenGi2018-03-23T19:35:12Z<p>XenGi: </p>
<hr />
<div>Sensu bla bla<br />
<br />
= Installation Strategies =<br />
<br />
== Standalone ==<br />
<br />
For a standalone setup you can install all of Sensu’s dependencies and services on a single system. Sensu’s modular design makes it easy to upgrade from a standalone installation to a distributed or high-availability installation, so unless you have some specific technical requirement that demands a distributed or high availability installation, there’s usually no need to start with a more complex installation.<br />
<br />
== Distributed ==<br />
<br />
For a distributed setup you can install Sensu’s dependencies (e.g. [[RabbitMQ]] and/or [[Redis]]) and services (i.e. the Sensu server and API) on separate systems. The only difference between a Standalone installation and a Distributed installation is that Sensu’s dependencies and services are running on different systems.<br />
<br />
= Prerequisites =<br />
<br />
== Data store ==<br />
<br />
Sensu uses [[Redis]] as a data-store for storing persistent data such as the client registry and check results. Two Sensu Core services, the server and API require access to the same instance of Redis to function (i.e. the Sensu client does not communicate with [[Redis]]).<br />
<br />
== Transport ==<br />
<br />
Sensu services use a message bus (e.g. [[RabbitMQ]]) for communication. This message bus communication is provided by the Sensu Transport, which is a library that makes it possible to leverage alternate transport solutions in place of [[RabbitMQ]] (the default transport). Sensu services requires access to the same instance of the defined transport (e.g. a [[RabbitMQ]] cluster) to function. Sensu check requests and check results are published as "messages" to the Sensu Transport, and the corresponding Sensu services receive these messages by subscribing to the appropriate subscriptions.<br />
<br />
=== Configure RabbitMQ access controls ===<br />
<br />
Access to [[RabbitMQ]] is restricted by access controls (e.g. username and password). For Sensu services to connect to [[RabbitMQ]] a virtual host (vhost) and user credentials will need to be created.<br />
<br />
Create a dedicated [[RabbitMQ]] vhost for Sensu<br />
<br />
sudo rabbitmqctl add_vhost /sensu<br />
<br />
Create a [[RabbitMQ]] user for Sensu<br />
<br />
sudo rabbitmqctl add_user sensu secret<br />
sudo rabbitmqctl set_permissions -p /sensu sensu ".*" ".*" ".*"<br />
<br />
=== Configure Sensu ===<br />
<br />
==== Example Standalone Configuration ====<br />
<br />
Copy the following contents to a configuration file located at /etc/sensu/conf.d/rabbitmq.json:<br />
<br />
{<br />
"rabbitmq": {<br />
"host": "127.0.0.1",<br />
"port": 5672,<br />
"vhost": "/sensu",<br />
"user": "sensu",<br />
"password": "secret"<br />
}<br />
}<br />
<br />
==== Example Distributed Configuration ====<br />
<br />
Obtain the IP address of the system where RabbitMQ is installed. For the purpose of this example, we will assume 10.0.1.6 is our IP address.<br />
Create a configuration file with the following contents at /etc/sensu/conf.d/rabbitmq.json on the Sensu server and API system(s), and all systems running the Sensu client:<br />
<br />
{<br />
"rabbitmq": {<br />
"host": "10.0.1.6",<br />
"port": 5672,<br />
"vhost": "/sensu",<br />
"user": "sensu",<br />
"password": "secret"<br />
}<br />
}<br />
<br />
= Server and API =</div>XenGihttps://wiki.archlinux.org/index.php?title=User:XenGi&diff=514174User:XenGi2018-03-19T19:41:53Z<p>XenGi: </p>
<hr />
<div>Sensu bla bla<br />
<br />
= Prerequisites =<br />
<br />
== Data store ==<br />
<br />
Install and configure Redis<br />
<br />
== Transport ==<br />
<br />
Install and configure RabbitMQ<br />
<br />
= Server and API =</div>XenGihttps://wiki.archlinux.org/index.php?title=User:XenGi&diff=514162User:XenGi2018-03-19T17:43:17Z<p>XenGi: Created page with "= Sensu = == Prerequisites == === Data store === Install and configure Redis === Transport === Install and configure RabbitMQ == Server and API =="</p>
<hr />
<div>= Sensu =<br />
<br />
== Prerequisites ==<br />
<br />
=== Data store ===<br />
<br />
Install and configure Redis<br />
<br />
=== Transport ===<br />
<br />
Install and configure RabbitMQ<br />
<br />
== Server and API ==</div>XenGihttps://wiki.archlinux.org/index.php?title=Lenovo_ThinkPad_T25&diff=494297Lenovo ThinkPad T252017-10-29T13:01:31Z<p>XenGi: fixed ssd entry in lspci</p>
<hr />
<div>[[Category:Lenovo]]<br />
[[ja:Lenovo ThinkPad T25]]<br />
{| class="wikitable" style="float: right;"<br />
| '''Device''' || '''Status''' <br />
|-<br />
| [[Intel graphics]] || {{Yes}} <br />
|-<br />
| [[NVIDIA|NVIDIA graphics]] || {{Yes}} <br />
|-<br />
| [[Wireless]] || {{Yes}}<br />
|-<br />
| [[Bluetooth]] || {{Yes}}<br />
|-<br />
| Mobile Broadband || {{Yes}}<br />
|-<br />
| [[Webcam]] || {{Yes}}<br />
|-<br />
| Microsoft Hello || {{No}}<br />
|-<br />
| [[TrackPoint]] || {{Yes}}<br />
|-<br />
| [[Touchpad]] || {{Yes}}<br />
|-<br />
| [[Touchscreen]] || {{Yes}}<br />
|-<br />
| Fingerprint Reader || {{No}}<br />
|-<br />
|}<br />
<br />
This article covers the installation and configuration of Arch Linux on a Lenovo T25 Anniversary Edition laptop. It is based on the Lenovo T470 laptop so most of the hardware is identical and therefore should work like the T470.<br />
<br />
For a general overview of laptop-related articles and recommendations, see [[Laptop]].<br />
<br />
== Firmware (e.g. bios and peripherals) ==<br />
<br />
As of writing, the current BIOS version is 1.42. By visiting the downloads section (T25) an ISO can be downloaded and burned to disk which will perform the update [https://pcsupport.lenovo.com/de/en/products/laptops-and-netbooks/thinkpad-t-series-laptops/thinkpad-t25-type-20k7/downloads from Lenovo]. Or [http://www.thinkwiki.org/wiki/BIOS_Upgrade#Booting_from_a_USB_Flash_drive extracted and copied on a USB Stick].<br />
<br />
== Kernel and hardware support ==<br />
<br />
[[Hardware video acceleration]] with Kaby Lake seems to work fine via va-api.<br />
<br />
As noted in [[Intel graphics]], the {{Pkg|xf86-video-intel}} driver seems to cause more issue than the builtin {{ic|modesetting}} Xorg driver.<br />
Works fine without the intel driver (on a Skylake configuration).<br />
<br />
138a:0097 will hopefully be supported as part of [https://github.com/nmikhailov/Validity90 Validity90].<br />
<br />
=== Screen backlight ===<br />
With the {{ic|intel}} driver ({{Pkg|xf86-video-intel}} the {{ic|xbacklight}} brightness control isn't working.<br />
It is possible that, with the good {{ic|acpi_*}} kernel parameters, the backlight related keys do their job.<br />
<br />
Other workaround exists, such as described [https://bbs.archlinux.org/viewtopic.php?pid=1449243#p1449243 on this post] or in the wiki [[acpid#Enabling_backlight_control]].<br />
Using the {{Aur|acpilight}} package as a {{ic|xbacklight}} replacement works well.<br />
You can also check [https://lab.knightsofnii.com/kristaba/tpacpi-backlight this repository]] as a base to add the ACPI rules to call {{ic|xbacklight}} when backlight keys are pressed.<br />
<br />
{{Note|The {{Aur|acpilight}} package is known to allow controlling the ThinkPad keyboard backlight. Similar ACPI rules should allow to toggle it when the keyboard backlight key is pressed.}}<br />
<br />
=== Thunderbolt 3 ===<br />
With the latest kernel (4.13.9 as of writing), the ''Alpine Ridge'' thunderbolt 3 controller is recognized without any additional configuration.<br />
Using a generic thunderbolt 3 to HDMI + USB3 hub works out of the box (the HDMI output is recognized by xrandr as DP-1 output).<br />
<br />
=== UEFI boot ===<br />
After configuring the BIOS setup to allow UEFI boot (either ''UEFI only'' or ''both''), it works flawlessly.<br />
<br />
== PCI and USB devices ==<br />
<br />
=== T25 model 20K7 ===<br />
<br />
Kernel '4.13.9-1-ARCH'<br />
<br />
==== lspci ====<br />
<br />
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 02)<br />
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 620 (rev 02)<br />
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)<br />
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)<br />
00:15.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 (rev 21)<br />
00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)<br />
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #1 (rev f1)<br />
00:1c.6 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #7 (rev f1)<br />
00:1d.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #9 (rev f1)<br />
00:1d.2 PCI bridge: Intel Corporation Device 9d1a (rev f1)<br />
00:1f.0 ISA bridge: Intel Corporation Sunrise Point-LP LPC Controller (rev 21)<br />
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)<br />
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)<br />
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)<br />
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (4) I219-V (rev 21)<br />
02:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 940MX] (rev ff)<br />
04:00.0 Network controller: Intel Corporation Wireless 8265 / 8275 (rev 78)<br />
3e:00.0 Non-Volatile memory controller: Lenovo Device 0004<br />
<br />
==== lsusb ====<br />
<br />
Bus 002 Device 006: ID 0bda:0316 Realtek Semiconductor Corp. <br />
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub<br />
Bus 001 Device 006: ID 138a:0097 Validity Sensors, Inc. <br />
Bus 001 Device 005: ID 04f2:b5ab Chicony Electronics Co., Ltd <br />
Bus 001 Device 004: ID 8087:0a2b Intel Corp. <br />
Bus 001 Device 019: ID 1199:9079 Sierra Wireless, Inc. <br />
Bus 001 Device 002: ID 04f2:b5ac Chicony Electronics Co., Ltd <br />
Bus 001 Device 007: ID 2386:310e <br />
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<br />
<br />
== See also ==<br />
<br />
* [https://pcsupport.lenovo.com/de/en/products/laptops-and-netbooks/thinkpad-t-series-laptops/thinkpad-t25-type-20k7?beta=false Lenovo Support Page]</div>XenGihttps://wiki.archlinux.org/index.php?title=Lenovo_ThinkPad_T25&diff=494264Lenovo ThinkPad T252017-10-28T20:06:09Z<p>XenGi: added the touchscreen to the hardware list</p>
<hr />
<div>[[Category:Lenovo]]<br />
[[ja:Lenovo ThinkPad T25]]<br />
{| class="wikitable" style="float: right;"<br />
| '''Device''' || '''Status''' <br />
|-<br />
| [[Intel graphics]] || {{Yes}} <br />
|-<br />
| [[NVIDIA|NVIDIA graphics]] || {{Yes}} <br />
|-<br />
| [[Wireless]] || {{Yes}}<br />
|-<br />
| [[Bluetooth]] || {{Yes}}<br />
|-<br />
| Mobile Broadband || {{Yes}}<br />
|-<br />
| [[Webcam]] || {{Yes}}<br />
|-<br />
| Microsoft Hello || {{No}}<br />
|-<br />
| [[TrackPoint]] || {{Yes}}<br />
|-<br />
| [[Touchpad]] || {{Yes}}<br />
|-<br />
| [[Touchscreen]] || {{Yes}}<br />
|-<br />
| Fingerprint Reader || {{No}}<br />
|-<br />
|}<br />
<br />
This article covers the installation and configuration of Arch Linux on a Lenovo T25 Anniversary Edition laptop. It is based on the Lenovo T470 laptop so most of the hardware is identical and therefore should work like the T470.<br />
<br />
For a general overview of laptop-related articles and recommendations, see [[Laptop]].<br />
<br />
== Firmware (e.g. bios and peripherals) ==<br />
<br />
As of writing, the current BIOS version is 1.39. By visiting the downloads section (T25) an ISO can be downloaded and burned to disk which will perform the update [https://pcsupport.lenovo.com/de/en/products/laptops-and-netbooks/thinkpad-t-series-laptops/thinkpad-t25-type-20k7/downloads from Lenovo]. Or [http://www.thinkwiki.org/wiki/BIOS_Upgrade#Booting_from_a_USB_Flash_drive extracted and copied on a USB Stick].<br />
<br />
== Kernel and hardware support ==<br />
<br />
[[Hardware video acceleration]] with Kaby Lake seems to work fine via va-api.<br />
<br />
As noted in [[Intel graphics]], the {{Pkg|xf86-video-intel}} driver seems to cause more issue than the builtin {{ic|modesetting}} Xorg driver.<br />
Works fine without the intel driver (on a Skylake configuration).<br />
<br />
138a:0097 will hopefully be supported as part of [https://github.com/nmikhailov/Validity90 Validity90].<br />
<br />
=== Screen backlight ===<br />
With the {{ic|intel}} driver ({{Pkg|xf86-video-intel}} the {{ic|xbacklight}} brightness control isn't working.<br />
It is possible that, with the good {{ic|acpi_*}} kernel parameters, the backlight related keys do their job.<br />
<br />
Other workaround exists, such as described [https://bbs.archlinux.org/viewtopic.php?pid=1449243#p1449243 on this post] or in the wiki [[acpid#Enabling_backlight_control]].<br />
Using the {{Aur|acpilight}} package as a {{ic|xbacklight}} replacement works well.<br />
You can also check [https://lab.knightsofnii.com/kristaba/tpacpi-backlight this repository]] as a base to add the ACPI rules to call {{ic|xbacklight}} when backlight keys are pressed.<br />
<br />
{{Note|The {{Aur|acpilight}} package is known to allow controlling the ThinkPad keyboard backlight. Similar ACPI rules should allow to toggle it when the keyboard backlight key is pressed.}}<br />
<br />
=== Thunderbolt 3 ===<br />
With the latest kernel (4.13.9 as of writing), the ''Alpine Ridge'' thunderbolt 3 controller is recognized without any additional configuration.<br />
Using a generic thunderbolt 3 to HDMI + USB3 hub works out of the box (the HDMI output is recognized by xrandr as DP-1 output).<br />
<br />
=== UEFI boot ===<br />
After configuring the BIOS setup to allow UEFI boot (either ''UEFI only'' or ''both''), it works flawlessly.<br />
<br />
== PCI and USB devices ==<br />
<br />
=== T25 model 20K7 ===<br />
<br />
Kernel '4.13.9-1-ARCH'<br />
<br />
==== lspci ====<br />
<br />
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 02)<br />
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 620 (rev 02)<br />
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)<br />
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)<br />
00:15.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 (rev 21)<br />
00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)<br />
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #1 (rev f1)<br />
00:1c.6 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #7 (rev f1)<br />
00:1d.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #9 (rev f1)<br />
00:1d.2 PCI bridge: Intel Corporation Device 9d1a (rev f1)<br />
00:1f.0 ISA bridge: Intel Corporation Sunrise Point-LP LPC Controller (rev 21)<br />
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)<br />
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)<br />
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)<br />
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (4) I219-V (rev 21)<br />
02:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 940MX] (rev ff)<br />
04:00.0 Network controller: Intel Corporation Wireless 8265 / 8275 (rev 78)<br />
3e:00.0 Non-Volatile memory controller: Intel Corporation Device f1a5 (rev 03)<br />
<br />
==== lsusb ====<br />
<br />
Bus 002 Device 006: ID 0bda:0316 Realtek Semiconductor Corp. <br />
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub<br />
Bus 001 Device 006: ID 138a:0097 Validity Sensors, Inc. <br />
Bus 001 Device 005: ID 04f2:b5ab Chicony Electronics Co., Ltd <br />
Bus 001 Device 004: ID 8087:0a2b Intel Corp. <br />
Bus 001 Device 019: ID 1199:9079 Sierra Wireless, Inc. <br />
Bus 001 Device 002: ID 04f2:b5ac Chicony Electronics Co., Ltd <br />
Bus 001 Device 007: ID 2386:310e <br />
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<br />
<br />
== See also ==<br />
<br />
* [https://pcsupport.lenovo.com/de/en/products/laptops-and-netbooks/thinkpad-t-series-laptops/thinkpad-t25-type-20k7?beta=false Lenovo Support Page]</div>XenGihttps://wiki.archlinux.org/index.php?title=Lenovo_ThinkPad_T25&diff=494263Lenovo ThinkPad T252017-10-28T20:05:25Z<p>XenGi: removed unneeded newlines</p>
<hr />
<div>[[Category:Lenovo]]<br />
[[ja:Lenovo ThinkPad T25]]<br />
{| class="wikitable" style="float: right;"<br />
| '''Device''' || '''Status''' <br />
|-<br />
| [[Intel graphics]] || {{Yes}} <br />
|-<br />
| [[NVIDIA|NVIDIA graphics]] || {{Yes}} <br />
|-<br />
| [[Wireless]] || {{Yes}}<br />
|-<br />
| [[Bluetooth]] || {{Yes}}<br />
|-<br />
| Mobile Broadband || {{Yes}}<br />
|-<br />
| [[Webcam]] || {{Yes}}<br />
|-<br />
| Microsoft Hello || {{No}}<br />
|-<br />
| [[TrackPoint]] || {{Yes}}<br />
|-<br />
| [[Touchpad]] || {{Yes}}<br />
|-<br />
| Fingerprint Reader || {{No}}<br />
|-<br />
|}<br />
<br />
This article covers the installation and configuration of Arch Linux on a Lenovo T25 Anniversary Edition laptop. It is based on the Lenovo T470 laptop so most of the hardware is identical and therefore should work like the T470.<br />
<br />
For a general overview of laptop-related articles and recommendations, see [[Laptop]].<br />
<br />
== Firmware (e.g. bios and peripherals) ==<br />
<br />
As of writing, the current BIOS version is 1.39. By visiting the downloads section (T25) an ISO can be downloaded and burned to disk which will perform the update [https://pcsupport.lenovo.com/de/en/products/laptops-and-netbooks/thinkpad-t-series-laptops/thinkpad-t25-type-20k7/downloads from Lenovo]. Or [http://www.thinkwiki.org/wiki/BIOS_Upgrade#Booting_from_a_USB_Flash_drive extracted and copied on a USB Stick].<br />
<br />
== Kernel and hardware support ==<br />
<br />
[[Hardware video acceleration]] with Kaby Lake seems to work fine via va-api.<br />
<br />
As noted in [[Intel graphics]], the {{Pkg|xf86-video-intel}} driver seems to cause more issue than the builtin {{ic|modesetting}} Xorg driver.<br />
Works fine without the intel driver (on a Skylake configuration).<br />
<br />
138a:0097 will hopefully be supported as part of [https://github.com/nmikhailov/Validity90 Validity90].<br />
<br />
=== Screen backlight ===<br />
With the {{ic|intel}} driver ({{Pkg|xf86-video-intel}} the {{ic|xbacklight}} brightness control isn't working.<br />
It is possible that, with the good {{ic|acpi_*}} kernel parameters, the backlight related keys do their job.<br />
<br />
Other workaround exists, such as described [https://bbs.archlinux.org/viewtopic.php?pid=1449243#p1449243 on this post] or in the wiki [[acpid#Enabling_backlight_control]].<br />
Using the {{Aur|acpilight}} package as a {{ic|xbacklight}} replacement works well.<br />
You can also check [https://lab.knightsofnii.com/kristaba/tpacpi-backlight this repository]] as a base to add the ACPI rules to call {{ic|xbacklight}} when backlight keys are pressed.<br />
<br />
{{Note|The {{Aur|acpilight}} package is known to allow controlling the ThinkPad keyboard backlight. Similar ACPI rules should allow to toggle it when the keyboard backlight key is pressed.}}<br />
<br />
=== Thunderbolt 3 ===<br />
With the latest kernel (4.13.9 as of writing), the ''Alpine Ridge'' thunderbolt 3 controller is recognized without any additional configuration.<br />
Using a generic thunderbolt 3 to HDMI + USB3 hub works out of the box (the HDMI output is recognized by xrandr as DP-1 output).<br />
<br />
=== UEFI boot ===<br />
After configuring the BIOS setup to allow UEFI boot (either ''UEFI only'' or ''both''), it works flawlessly.<br />
<br />
== PCI and USB devices ==<br />
<br />
=== T25 model 20K7 ===<br />
<br />
Kernel '4.13.9-1-ARCH'<br />
<br />
==== lspci ====<br />
<br />
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 02)<br />
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 620 (rev 02)<br />
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)<br />
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)<br />
00:15.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 (rev 21)<br />
00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)<br />
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #1 (rev f1)<br />
00:1c.6 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #7 (rev f1)<br />
00:1d.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #9 (rev f1)<br />
00:1d.2 PCI bridge: Intel Corporation Device 9d1a (rev f1)<br />
00:1f.0 ISA bridge: Intel Corporation Sunrise Point-LP LPC Controller (rev 21)<br />
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)<br />
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)<br />
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)<br />
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (4) I219-V (rev 21)<br />
02:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 940MX] (rev ff)<br />
04:00.0 Network controller: Intel Corporation Wireless 8265 / 8275 (rev 78)<br />
3e:00.0 Non-Volatile memory controller: Intel Corporation Device f1a5 (rev 03)<br />
<br />
==== lsusb ====<br />
<br />
Bus 002 Device 006: ID 0bda:0316 Realtek Semiconductor Corp. <br />
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub<br />
Bus 001 Device 006: ID 138a:0097 Validity Sensors, Inc. <br />
Bus 001 Device 005: ID 04f2:b5ab Chicony Electronics Co., Ltd <br />
Bus 001 Device 004: ID 8087:0a2b Intel Corp. <br />
Bus 001 Device 019: ID 1199:9079 Sierra Wireless, Inc. <br />
Bus 001 Device 002: ID 04f2:b5ac Chicony Electronics Co., Ltd <br />
Bus 001 Device 007: ID 2386:310e <br />
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<br />
<br />
== See also ==<br />
<br />
* [https://pcsupport.lenovo.com/de/en/products/laptops-and-netbooks/thinkpad-t-series-laptops/thinkpad-t25-type-20k7?beta=false Lenovo Support Page]</div>XenGihttps://wiki.archlinux.org/index.php?title=Laptop/Lenovo&diff=494262Laptop/Lenovo2017-10-28T20:04:58Z<p>XenGi: added the touchscreen to the T25</p>
<hr />
<div>[[Category:Lenovo]]<br />
[[ja:ノートパソコン/Lenovo]]<br />
{{Laptops navigation}}<br />
<br><br />
== IBM/Lenovo ==<br />
<br />
=== ThinkPad ===<br />
<br />
==== 300 series ====<br />
<br />
{{HCL/Laptops table header}}<br />
| IBM ThinkPad 380ED || NA|| NA || NA || NA || No || NA || NA || NA || ||<br />
|-<br />
|}<br />
<br />
==== Edge series ====<br />
<br />
{{HCL/Laptops table header}}<br />
| [[Lenovo ThinkPad Edge E330]] || NA || Yes || Yes || Yes || Yes || Yes || Yes || NA || ||<br />
|-<br />
| [[Lenovo ThinkPad Edge E335]] || NA || Yes || Yes || Yes || Yes || NA || Yes || NA || ||<br />
|-<br />
| Lenovo ThinkPad Edge E420s || Yes || Yes || Yes || Yes || Yes || Yes || NA || NA || SDcard (Yes), Webcam (Yes), Trackpoint (No) || <br />
|-<br />
| [[Lenovo ThinkPad Edge E430]] || Yes || Yes || Yes* || Yes* || Not tested || Yes || NA || NA || SD card (yes) || <br />
|-<br />
| [[Lenovo ThinkPad Edge E455]] || 2015.04.01 || Yes* || Yes || Yes || Yes || Yes || Yes || NA || ||<br />
|-<br />
| [[Lenovo ThinkPad Edge E470]] || 2017.09.01 || Yes || Yes || Not tested || Yes || Not tested || NA || NA || trackpoint (yes) ||<br />
|-<br />
| Lenovo ThinkPad Edge E530 || Yes || Yes || Yes* || Yes* || Yes || Yes || NA || NA || SD card (yes), Finger Print (not tested) || <br />
|-<br />
| Lenovo ThinkPad Edge E540 || 2015.08.01 || Yes || Yes || Yes || Yes || Yes || Yes* || NA || SD card (yes), Finger Print (yes), touch pad and trackpoint (yes), Webcam (yes) || <br />
|-<br />
| Lenovo ThinkPad Edge E545 || NA || Yes || Yes || Yes || Yes* || Not tested || Yes || NA || SD card (yes), touch pad and trackpoint (yes) Webcam (yes) || wifi works only with {{Pkg|broadcom-wl-dkms}}<br />
|-<br />
|}<br />
<br />
==== L series ====<br />
<br />
{{HCL/Laptops table header}}<br />
| Lenovo ThinkPad L420 || Yes || Yes || Yes || Yes || Yes || Not tested || Yes || NA || ||<br />
|-<br />
| Lenovo ThinkPad L430 || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || Trackpoint* ||<br />
|-<br />
| Lenovo ThinkPad L530 || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || Trackpoint*, Fingerprint reader ||<br />
|-<br />
|}<br />
<br />
==== P series ====<br />
<br />
{{HCL/Laptops table header}}<br />
| [[Lenovo ThinkPad P50]] || 2016.04 || Yes || Yes || Yes || Yes || Yes || Suspend working, hibernate not tested || NA || SD card (Yes), Webcam (Yes), Fingerprint Reader (No), || Wifi requires Kernel 4.3.3+ <br />
|-<br />
| [[Lenovo ThinkPad P70]] || 2016.04 || Yes || Yes || Yes || Yes || Yes || Suspend working, hibernate not tested || NA || SD card (Yes), Webcam (Yes), Fingerprint Reader (No), || Wifi requires Kernel 4.3.3+ <br />
|-<br />
|}<br />
<br />
==== R series ====<br />
{{HCL/Laptops table header}}<br />
| IBM ThinkPad R50 || Yes || Yes || Yes || Yes || NA || Yes || Yes || Infrared* || ||<br />
|-<br />
| IBM ThinkPad R52 || Yes || Yes || Yes || Yes || NA || Yes || Yes || Infrared* || ||<br />
|-<br />
| Lenovo ThinkPad R60 || Yes || Yes || Yes || Yes || Yes || Yes || NA || NA || ||<br />
|-<br />
|}<br />
<br />
==== T series ====<br />
<br />
{{HCL/Laptops table header}}<br />
| [[IBM ThinkPad T21]] || Yes* || Yes || Yes || NA || NA || Yes* || NA || NA || See below ||<br />
|-<br />
| [[IBM ThinkPad T23]] || Yes || Yes || Yes || NA || NA || Yes || NA || NA || ||<br />
|-<br />
| [[IBM ThinkPad T42]] || Yes || Yes || Yes || Yes || NA || Yes || NA || NA || ||<br />
|-<br />
| IBM ThinkPad T60 || Yes || Yes || Yes || Yes || Yes || Yes || ? || NA || ||<br />
|-<br />
| IBM ThinkPad T60p || Yes || Yes || Yes || Yes || Yes || Yes || ? || NA || ThinkFinger ||<br />
|-<br />
| [[IBM ThinkPad T61]] || Yes || Yes || Yes || Yes || Yes || Yes || NA || || ||<br />
|-<br />
| IBM ThinkPad T61p || Yes || Yes || Yes || Yes || Yes || Yes || NA || || ||<br />
|-<br />
| [[Lenovo ThinkPad T400]] || Yes || Yes || Yes || Yes || Yes || Yes || NA || NA || ||<br />
|-<br />
| [[Lenovo ThinkPad T400s]] || Yes || Yes || Yes || Yes || Yes || Yes || NA || NA || ||<br />
|-<br />
| Lenovo ThinkPad T410 || Yes || Yes || Yes || Yes || Yes || Yes || NA || NA || ||<br />
|-<br />
| [[Lenovo ThinkPad T420]] || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || Card reader tested, no Fingerprint scanner||<br />
|-<br />
| [[Lenovo ThinkPad T420s]] || Yes || Yes || Yes || Yes || Yes || Yes || NA || NA || Card Reader ||<br />
|-<br />
| [[Lenovo ThinkPad T430]] || Yes || Yes || Yes || Yes || Yes || Yes* || Yes* || Not tested || ||<br />
|-<br />
| [[#Lenovo_ThinkPad_T440p|Lenovo ThinkPad T440p]] || Yes || Yes || Yes || Yes || Yes || Yes* || NA || NA || Card Reader || See below<br />
|-<br />
| [[Lenovo ThinkPad T440s]] || Yes || Yes || Yes || Yes || Yes* || ? || Yes || ? || || See wiki page for more details about wireless<br />
|-<br />
| [[Lenovo ThinkPad T450s]] || 2015.10.01 || Yes || Yes || Yes || Yes || Yes || ? || NA || SD Card reader; fingerprint scanner|| <br />
|-<br />
| [[Lenovo ThinkPad T460s]] || Yes || Yes || no beep || Yes || Yes || Yes || ? || NA || SD Card reader|| <br />
|-<br />
| [[Lenovo ThinkPad T25]] || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || SD Card reader; fingerprint scanner; Touchscreen|| <br />
|-<br />
| [[Lenovo ThinkPad T470]] || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || SD Card reader; fingerprint scanner|| <br />
|-<br />
| [[Lenovo ThinkPad T470s]] || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || SD Card reader; fingerprint scanner|| <br />
|-<br />
| Lenovo ThinkPad T500 || Yes || Yes || Yes || Yes || Yes || Yes || NA || NA || ||<br />
|-<br />
| [[Lenovo ThinkPad T520]] || Yes || Yes || Yes || Yes || Yes || Yes || NA || NA || ||<br />
|-<br />
| [[Lenovo ThinkPad T530]] || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || ||<br />
|-<br />
| [[Lenovo ThinkPad T550]] || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || DisplayPort ||<br />
|-<br />
| Lenovo ThinkPad T560 || Yes || Yes || Yes || Yes || Yes || Yes || Yes* || NA || MiniDP; Fingerprint scanner; Intel + Nvidia GPU; Card Reader || See special notes for the hardware specifications of this test device<br />
|-<br />
| [[Lenovo ThinkPad T570]] || Yes || Yes || Yes || Yes || Yes || ? || Yes* || NA || not yet fully tested || <br />
|}<br />
<br />
==== W series ====<br />
{{HCL/Laptops table header}}<br />
|-<br />
| Lenovo ThinkPad W510 || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || SD card (Yes), Webcam (Yes), Touchscreen (Yes), Fingeprint Reader (Not tested) || Tested April 2017 / Linux 4.10.8<br />
|-<br />
| Lenovo ThinkPad W540 || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || SD card (Yes), Webcam (Yes), Fingeprint Reader (Yes) || Tested April 2017 / Linux 4.10.8<br />
|-<br />
| Lenovo ThinkPad W550s || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || SD card (Not tested), Webcam (Yes), Fingeprint Reader (Yes) ||<br />
|-<br />
|}<br />
<br />
==== X series ====<br />
<br />
{{HCL/Laptops table header}}<br />
| IBM ThinkPad X23 || Yes || Yes || Yes || NA || NA || Yes || NA || NA || ||<br />
|-<br />
| [[IBM ThinkPad X60s]] || Yes|| Yes || Yes || Yes || Yes || Yes || NA || NA || ||<br />
|-<br />
| Lenovo ThinkPad X61s || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || SD slot ||<br />
|-<br />
| [[Lenovo ThinkPad X100e]] || Yes|| Yes || Yes || Yes || Yes || Yes || Not tested || NA || SD card (Yes), Webcam (Yes) ||<br />
|-<br />
| [[Lenovo ThinkPad X200]] || Yes || Yes || Yes || Yes || Yes || Yes || NA || NA || ||<br />
|-<br />
| [[Lenovo ThinkPad X200S]] || Yes || Yes || Yes || Yes || Yes || Not tested || NA || Not tested || Everything worked out of the box. However, fingerprint, SD card and webcam were not tested ||<br />
|-<br />
| [[Lenovo ThinkPad X201]] || Yes || Yes || Yes || Yes || Yes || Yes || Yes || Not tested || ||<br />
|-<br />
| [[Lenovo ThinkPad X220]] || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || SD card (Yes), Webcam (Yes) ||<br />
|-<br />
| [[Lenovo ThinkPad X230]] || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || SD card (Yes), Webcam (Yes), UMTS Modem (Yes) ||<br />
|-<br />
| [[Lenovo ThinkPad X250]] || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || SD card (Yes), Webcam (Yes), Fingerprint (yes) ||<br />
|-<br />
| [[Lenovo ThinkPad X260]] || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || SD card (Yes), Webcam (Yes), Fingerprint (yes) ||<br />
|-<br />
| Lenovo ThinkPad X270 || Yes || Yes || Yes || Yes || Yes || Not tested || Yes || NA || Webcam (yes) ||<br />
|-<br />
| [[Lenovo ThinkPad X1 Carbon]] || NA || Yes || Yes || Yes || Yes || Proprietary/nonfree || Yes || NA || ||<br />
|-<br />
| [[Lenovo ThinkPad X1 Carbon (Gen 2)]] || NA || Yes || Yes || Yes || Yes || Yes || Yes || NA || ||<br />
|-<br />
| [[Lenovo ThinkPad X1 Carbon (Gen 3)]] || NA || Yes || Yes || Yes || Yes || Yes || Yes || NA || ||<br />
|-<br />
| [[Lenovo ThinkPad X1 Carbon (Gen 4)]] || NA || Yes || Yes || Yes || Yes || Yes || Yes || NA || ||<br />
|-<br />
| [[Lenovo ThinkPad X1 Carbon (Gen 5)]] || NA || Yes || Yes || Yes || Yes || Yes || Yes || NA || ||<br />
|-<br />
|}<br />
<br />
==== Yoga Series ====<br />
{{HCL/Laptops table header}}<br />
| [[Lenovo ThinkPad Yoga 260]] || USB || Yes || Yes || Yes || Yes || Yes || Unknown || Yes || SD card (Yes), Webcam (Yes), Fingerprint Reader (Unknown), Touchscreen (Yes), Tablet (Partial), Accelerometer (No) || Wifi requires Kernel 4.3.3+<br />
|-<br />
|}<br />
<br />
== Lenovo ==<br />
<br />
=== IdeaPad ===<br />
<br />
{{HCL/Laptops table header}}<br />
| [[Lenovo IdeaPad Flex 10]] || Yes || Yes* || Yes || NA || Yes || Yes || Yes || NA || Touchscreen* ||<br />
|-<br />
| [[Lenovo IdeaPad S10]] || Yes || Yes || Yes || Yes || Yes || Yes || NA || NA || ||<br />
|-<br />
| [[Lenovo IdeaPad S400 Touch]] || Yes || Yes || Yes || Yes || Yes || Yes || Not tested || NA || ||<br />
|-<br />
| Lenovo IdeaPad U430p || Yes || Yes || Yes || Yes || Yes || Yes || Not tested || NA || ||<br />
|-<br />
| Lenovo IdeaPad Y700 || 2015.12.01 || Yes || Yes* || Yes || Yes || Yes || Not tested || NA || Trackpad - [https://unix.stackexchange.com/questions/362165/lenovo-y700-elantech-touchpad-query-0x01-failed buggy] || [https://bugzilla.kernel.org/show_bug.cgi?id=151681 Trackpad requires pata_legacy to be blacklisted]<br />
|-<br />
| [[Lenovo IdeaPad Z580]] || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || ||<br />
|-<br />
|}<br />
<br />
=== B series ===<br />
<br />
{{HCL/Laptops table header}}<br />
| Lenovo B50 || NA || Yes || Yes || Yes || Yes || Not tested || Not tested || Not tested || ||<br />
|-<br />
| Lenovo B50-70 || Yes || Yes* ||Yes || Yes || Yes || Yes || Not tested || NA || See below* ||<br />
|-<br />
| Lenovo B450 || Yes || Yes ||Yes || Yes || Yes || NA || Not tested || NA || ||<br />
|-<br />
|}<br />
<br />
=== K series ===<br />
<br />
{{HCL/Laptops table header}}<br />
| Lenovo K450e || NA || Yes || Yes || Yes || Yes || Not tested || Yes || Not tested || ||<br />
|-<br />
|}<br />
<br />
=== N series ===<br />
<br />
{{HCL/Laptops table header}}<br />
| Lenovo N200 (3000) || Yes || Yes* || Yes || Yes || Yes || Yes* || NA || NA || See below ||<br />
|-<br />
|}<br />
<br />
=== S series ===<br />
<br />
{{HCL/Laptops table header}}<br />
| Lenovo S21e-20 || 2015.07.01 || Yes || Yes || NA || Yes* || ? || Yes || NA || SD Card (Yes), USB 3.0 (Yes), HDMI Out (?), Touchpad (Yes*) ||<br />
|-<br />
|}<br />
<br />
=== U Series ===<br />
<br />
{{HCL/Laptops table header}}<br />
| Lenovo U31-70 || 2015.10.01 || Yes || Yes || Yes || Yes* || Yes || Yes || NA || SD Card (Yes), USB 3.0 (Yes), HDMI Out (Yes), Touchpad (Yes), Webcam (Yes) ||<br />
|-<br />
|}<br />
<br />
<br />
=== V Series ===<br />
<br />
{{HCL/Laptops table header}}<br />
| Lenovo V110-15ISK || ??? || Yes || Yes || Yes || Yes || Not Tested || Yes || NA || SD Card (Not Tested), USB 3.0 (Not Tested), HDMI Out (Not Tested), Touchpad (Yes), Webcam (Yes) ||<br />
|-<br />
|}<br />
<br />
== Special Notes (*): ==<br />
<br />
{{Accuracy|Lots of vague or unproven bugs/workarounds, poor writing}}<br />
<br />
=== Lenovo U31-70 ===<br />
Wireless needs {{Pkg|linux}} >= 4.3 and latest {{Pkg|linux-firmware}}, both packages are currently in testing. Copy one of the firmware blobs {{ic|eeprom_ar6320_2p1_NFA345i.bin}} or {{ic|eeprom_ar6320_2p1_NFA345i_highTX.bin}} from the windows driver to {{ic|/usr/lib/firmware/ath10k/QCA6174/hw2.1/board-pci-168c:0041:17aa:3545.bin}}.<br />
<br />
Wireless with firmware blobs from windows driver may no longer work on {{Pkg|linux}} >= 4.4. Download firmware blob https://github.com/kvalo/ath10k-firmware/blob/f428f53b36b144971c9c4c3d2ebd5fa8cae86c89/QCA6174/hw2.1/board-2.bin and copy it to {{ic|/usr/lib/firmware/ath10k/QCA6174/hw2.1/board-2.bin}}. Tested with {{Pkg|linux}} 4.4.5-1 and {{Pkg|linux-firmware}} 20160113.40e9ae8-1nu<br />
<br />
With packages {{Pkg|linux}} 4.6.1-2 and {{Pkg|linux-firmware}} 20160516.80d463b-1 being in stable, wireless works without any additional steps needed.<br />
<br />
=== Lenovo B50-70 ===<br />
* UEFI:<br />
** to be able to disable Secure Boot (necessary for dual boot, not needed for Linux only), you have to switch from "UEFI first" to "UEFI only" (or something like this) in UEFI setup menu; the Secure Boot option appears then on the Security tab<br />
** after UEFI update having Linux and Windows installed, the Linux bootloader ceased to be the default one, UEFI started to load Windows by default and it was impossible to select the Linux one in the UEFI boot menu and in the UEFI setup - reinstalling the bootloader helped; having no access to a boot media that supports UEFI, a solution might be also replacing the Windows EFI bootloader file with a Linux one temporalily, in order to be able to boot Linux from HDD<br />
** for the UEFI update, a Windows OS is needed<br />
* Touchpad:<br />
** Synaptics - works after installing Synaptics drivers from repo, possible to change behaviour (like reaction for double tap) according to your wish<br />
* Video:<br />
** in laptops with dual video card (Intel and ATI) - detects both, Intel is active as a default, not checked if it's possible at all to switch between them<br />
<br />
==== Operation with a HDD caddy ====<br />
When you install an SSD in the place of the plate HDD drive and you want to have your HDD still inside the laptop, it is possible to install it in the place of the optical drive in a special "HDD caddy". The optical drive is of 9 mm height, but a 9,5 mm caddy (ultra slim) fits in the slot. A caddy with a SATA interface is needed. It is difficult to separate the front bezel from the original optical drive (and opening its case does not help, but brings a danger of making a mess in the opening mechanism; the only option is just to pull the bezel using a bit of force, but you risk breaking the latches).<br />
<br />
While the HDD installed instead of the optical drive operates flawlessly in Windows, it wasn't going to work out of the box in Linux, at least in one case. The kernel tries to establish a connection with the disk, but fails to do it (''SATA link down'' entry in /var/log/messages). The solution is to force a 1.5 Gbps transfer speed (instead of 6 Gbps) by adding a ''libata.force='' kernel parameter. See [https://www.kernel.org/doc/Documentation/kernel-parameters.txt] for details.<br />
<br />
=== Lenovo K450e ===<br />
<br />
After installing Arch Linux and booting, a single beep may be heard. To disable this beep, press F1 during startup, then change Boot Priority to 'UEFI First', as well as enabling 'CSM'.<br />
<br />
=== ThinkPad X1 Carbon 3rd ===<br />
<br />
* http://natalian.org/archives/2015/02/18/Archlinux_on_a_Lenovo_X1C3/<br />
<br />
=== IBM ThinkPad T21 ===<br />
<br />
* Video: <br />
** Incapable of running DRM at 1024x768 and 24-bit color due to 8 MB VRAM. Must drop color or resolution to get DRM.<br />
** For whatever reason, external VGA output (for an external monitor) was disabled. This was fixed by doing this:<br />
*** {{ic|echo 1 > /proc/acpi/video/VID/DOS}}<br />
<br />
=== Lenovo 3000 N200 ===<br />
<br />
* Sound:<br />
** You may have to append <code>options snd_hda_intel model=lenovo</code> to <code>/etc/modprobe.d/modprobe.conf</code> for sound to work.<br />
<br />
=== IBM ThinkPad R52 ===<br />
<br />
* USB network tethering<br />
** Inbound networking via interface ''usb0'' works.<br />
<br />
=== Lenovo ThinkPad T430 ===<br />
{{Accuracy | I wasn't able to reproduce this bug as of September 2017 }}<br />
<br />
* Bluetooth (0a5c:21e6 Broadcom Corp. BCM20702 Bluetooth 4.0 [ThinkPad]) appears to be functional, even during standby or hibernation.<br />
<br />
=== Lenovo ThinkPad T440p ===<br />
<br />
* ClickPad: the whole trackpad clicks, and disabling the trackpad using older versions of synclient makes the trackpoint essentially unusable. This has been resolved in newer versions of {{Pkg|xf86-input-synaptics}}.<br />
** See [http://who-t.blogspot.com.au/2014/03/xorg-synaptics-support-for-lenovo-t440.html this article] and [http://who-t.blogspot.com.au/2013/12/lenovo-t440-touchpad-button.html previous version].<br />
** Install {{AUR|xf86-input-synlx40}}{{Broken package link|{{aur-mirror|xf86-input-synlx40}}}} and {{AUR|xf86-input-mtrack}} for alternative drivers.<br />
* Audio:<br />
** HDMI audio is the default audio output device. Consult the [[ALSA]] page for details on changing the default.<br />
** As the X100e/Mini10, it's possible to mute the headset and speaker outputs separately to the master. Muting the speaker output improves bass output on the headset port.<br />
** If the system fails to wake from sleep, it can lose sync with the internal audio card and speakers/headphones may fail to work. In this case, put the system to sleep, and wake it again and audio functionality should be restored. <br />
* The fingerprint sensor is a Validity VFS5011, which requires [https://github.com/abbradar/fprint_vfs5011 a patched fprintd] and is apparently highly unreliable.<br />
* thinkpad_acpi:<br />
** Controlling the Fn-Lock, Mute, Mic Mute or 'glowing I' LEDs is apparently not possible.<br />
** fan control does not seem to work.<br />
* Graphics and Video:<br />
** With the integrated GPU, [[xrandr]] can crash while attaching or detaching displays connected via the dock.<br />
** The built-in miniDisplayPort will sometimes spew I²C issues into the kernel log.<br />
** [[Hardware video acceleration]] is highly recommended as it performs significantly better than CPU decoding of large media files.<br />
** '''The BIOS should not be upgraded past version 1.14, as newer BIOSes cause memory corruption when used with Bumblebee.''' See [https://github.com/Bumblebee-Project/bbswitch/issues/78#issuecomment-42741698 Bumblebee GitHub]<br />
* Connectivity:<br />
** Bluetooth is ''extremely'' fragile. The controller works fine most of the time, but can cause the system to wedge totally on sleep/wake cycles, especially if a connection was active at sleep. Disable the controller using {{ic|bluetoothctl}} before sleeping.<br />
<br />
=== Lenovo ThinkPad T560 ===<br />
* No automatic brightness adjusting when switching power supply battery <-> AC<br />
<br />
<br />
* Hardware specifications of test device<br />
** CPU: Intel CORE i7-6600U @ 2.60GHz or Intel CORE i5-6200U @ 2.30GHz or Intel CORE i5-6300U @ 2.40GHz<br />
** GPU Primary: Intel HD 520<br />
** GPU Secondary: Nvidia GeForce 940MX or None<br />
** WiFi: Intel 8260<br />
** Ethernet: Intel I219-LM<br />
** Card reader: Realtek RTS522A<br />
<br />
=== Lenovo S21e-20 ===<br />
* Tested with {{Pkg|broadcom-wl-dkms}} 802.11 wireless driver<br />
* Synaptics touchpad required 3 patches to {{Pkg|linux}}:drivers/hid/hid-rmi.c on 2015-07-26 ([https://bugs.freedesktop.org/show_bug.cgi?id=91102 bug report], [https://github.com/harisokanovic/archlinux-packages/commit/f4550c211ca7809ecf926f8074c7b7250a74bd92 kernel recipe patch]). The current 4.3 kernel includes these patches. You will also need to install the xf86_64-input-synaptics package([https://www.archlinux.org/packages/?name=xf86-input-synaptics]) <br />
<br />
==== tpacpi-bat ====<br />
<br />
There is an issue with tpacpi-bat not reporting the right value for the stop threshold. This seems to be related to a buggy BIOS and can not be fixed application wise. <br />
<br />
See https://github.com/teleshoes/tpacpi-bat/issues/44<br />
<br />
==== ThinkPad Edge E420s Delay with Space Bar====<br />
Solution: Update BIOS (at least 1.08).<br />
<br />
=== Lenovo IdeaPad Y700 ===<br />
* The subwoofer does not work out of the box and it seems that there is no solution yet.<br />
<br />
== See also ==<br />
* [http://www.thinkwiki.org/wiki Think wiki]</div>XenGihttps://wiki.archlinux.org/index.php?title=Laptop/Lenovo&diff=494261Laptop/Lenovo2017-10-28T20:04:05Z<p>XenGi: removed some hardware that doesn't work yet</p>
<hr />
<div>[[Category:Lenovo]]<br />
[[ja:ノートパソコン/Lenovo]]<br />
{{Laptops navigation}}<br />
<br><br />
== IBM/Lenovo ==<br />
<br />
=== ThinkPad ===<br />
<br />
==== 300 series ====<br />
<br />
{{HCL/Laptops table header}}<br />
| IBM ThinkPad 380ED || NA|| NA || NA || NA || No || NA || NA || NA || ||<br />
|-<br />
|}<br />
<br />
==== Edge series ====<br />
<br />
{{HCL/Laptops table header}}<br />
| [[Lenovo ThinkPad Edge E330]] || NA || Yes || Yes || Yes || Yes || Yes || Yes || NA || ||<br />
|-<br />
| [[Lenovo ThinkPad Edge E335]] || NA || Yes || Yes || Yes || Yes || NA || Yes || NA || ||<br />
|-<br />
| Lenovo ThinkPad Edge E420s || Yes || Yes || Yes || Yes || Yes || Yes || NA || NA || SDcard (Yes), Webcam (Yes), Trackpoint (No) || <br />
|-<br />
| [[Lenovo ThinkPad Edge E430]] || Yes || Yes || Yes* || Yes* || Not tested || Yes || NA || NA || SD card (yes) || <br />
|-<br />
| [[Lenovo ThinkPad Edge E455]] || 2015.04.01 || Yes* || Yes || Yes || Yes || Yes || Yes || NA || ||<br />
|-<br />
| [[Lenovo ThinkPad Edge E470]] || 2017.09.01 || Yes || Yes || Not tested || Yes || Not tested || NA || NA || trackpoint (yes) ||<br />
|-<br />
| Lenovo ThinkPad Edge E530 || Yes || Yes || Yes* || Yes* || Yes || Yes || NA || NA || SD card (yes), Finger Print (not tested) || <br />
|-<br />
| Lenovo ThinkPad Edge E540 || 2015.08.01 || Yes || Yes || Yes || Yes || Yes || Yes* || NA || SD card (yes), Finger Print (yes), touch pad and trackpoint (yes), Webcam (yes) || <br />
|-<br />
| Lenovo ThinkPad Edge E545 || NA || Yes || Yes || Yes || Yes* || Not tested || Yes || NA || SD card (yes), touch pad and trackpoint (yes) Webcam (yes) || wifi works only with {{Pkg|broadcom-wl-dkms}}<br />
|-<br />
|}<br />
<br />
==== L series ====<br />
<br />
{{HCL/Laptops table header}}<br />
| Lenovo ThinkPad L420 || Yes || Yes || Yes || Yes || Yes || Not tested || Yes || NA || ||<br />
|-<br />
| Lenovo ThinkPad L430 || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || Trackpoint* ||<br />
|-<br />
| Lenovo ThinkPad L530 || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || Trackpoint*, Fingerprint reader ||<br />
|-<br />
|}<br />
<br />
==== P series ====<br />
<br />
{{HCL/Laptops table header}}<br />
| [[Lenovo ThinkPad P50]] || 2016.04 || Yes || Yes || Yes || Yes || Yes || Suspend working, hibernate not tested || NA || SD card (Yes), Webcam (Yes), Fingerprint Reader (No), || Wifi requires Kernel 4.3.3+ <br />
|-<br />
| [[Lenovo ThinkPad P70]] || 2016.04 || Yes || Yes || Yes || Yes || Yes || Suspend working, hibernate not tested || NA || SD card (Yes), Webcam (Yes), Fingerprint Reader (No), || Wifi requires Kernel 4.3.3+ <br />
|-<br />
|}<br />
<br />
==== R series ====<br />
{{HCL/Laptops table header}}<br />
| IBM ThinkPad R50 || Yes || Yes || Yes || Yes || NA || Yes || Yes || Infrared* || ||<br />
|-<br />
| IBM ThinkPad R52 || Yes || Yes || Yes || Yes || NA || Yes || Yes || Infrared* || ||<br />
|-<br />
| Lenovo ThinkPad R60 || Yes || Yes || Yes || Yes || Yes || Yes || NA || NA || ||<br />
|-<br />
|}<br />
<br />
==== T series ====<br />
<br />
{{HCL/Laptops table header}}<br />
| [[IBM ThinkPad T21]] || Yes* || Yes || Yes || NA || NA || Yes* || NA || NA || See below ||<br />
|-<br />
| [[IBM ThinkPad T23]] || Yes || Yes || Yes || NA || NA || Yes || NA || NA || ||<br />
|-<br />
| [[IBM ThinkPad T42]] || Yes || Yes || Yes || Yes || NA || Yes || NA || NA || ||<br />
|-<br />
| IBM ThinkPad T60 || Yes || Yes || Yes || Yes || Yes || Yes || ? || NA || ||<br />
|-<br />
| IBM ThinkPad T60p || Yes || Yes || Yes || Yes || Yes || Yes || ? || NA || ThinkFinger ||<br />
|-<br />
| [[IBM ThinkPad T61]] || Yes || Yes || Yes || Yes || Yes || Yes || NA || || ||<br />
|-<br />
| IBM ThinkPad T61p || Yes || Yes || Yes || Yes || Yes || Yes || NA || || ||<br />
|-<br />
| [[Lenovo ThinkPad T400]] || Yes || Yes || Yes || Yes || Yes || Yes || NA || NA || ||<br />
|-<br />
| [[Lenovo ThinkPad T400s]] || Yes || Yes || Yes || Yes || Yes || Yes || NA || NA || ||<br />
|-<br />
| Lenovo ThinkPad T410 || Yes || Yes || Yes || Yes || Yes || Yes || NA || NA || ||<br />
|-<br />
| [[Lenovo ThinkPad T420]] || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || Card reader tested, no Fingerprint scanner||<br />
|-<br />
| [[Lenovo ThinkPad T420s]] || Yes || Yes || Yes || Yes || Yes || Yes || NA || NA || Card Reader ||<br />
|-<br />
| [[Lenovo ThinkPad T430]] || Yes || Yes || Yes || Yes || Yes || Yes* || Yes* || Not tested || ||<br />
|-<br />
| [[#Lenovo_ThinkPad_T440p|Lenovo ThinkPad T440p]] || Yes || Yes || Yes || Yes || Yes || Yes* || NA || NA || Card Reader || See below<br />
|-<br />
| [[Lenovo ThinkPad T440s]] || Yes || Yes || Yes || Yes || Yes* || ? || Yes || ? || || See wiki page for more details about wireless<br />
|-<br />
| [[Lenovo ThinkPad T450s]] || 2015.10.01 || Yes || Yes || Yes || Yes || Yes || ? || NA || SD Card reader; fingerprint scanner|| <br />
|-<br />
| [[Lenovo ThinkPad T460s]] || Yes || Yes || no beep || Yes || Yes || Yes || ? || NA || SD Card reader|| <br />
|-<br />
| [[Lenovo ThinkPad T25]] || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || SD Card reader; fingerprint scanner; Mobile Broadband|| <br />
|-<br />
| [[Lenovo ThinkPad T470]] || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || SD Card reader; fingerprint scanner|| <br />
|-<br />
| [[Lenovo ThinkPad T470s]] || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || SD Card reader; fingerprint scanner|| <br />
|-<br />
| Lenovo ThinkPad T500 || Yes || Yes || Yes || Yes || Yes || Yes || NA || NA || ||<br />
|-<br />
| [[Lenovo ThinkPad T520]] || Yes || Yes || Yes || Yes || Yes || Yes || NA || NA || ||<br />
|-<br />
| [[Lenovo ThinkPad T530]] || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || ||<br />
|-<br />
| [[Lenovo ThinkPad T550]] || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || DisplayPort ||<br />
|-<br />
| Lenovo ThinkPad T560 || Yes || Yes || Yes || Yes || Yes || Yes || Yes* || NA || MiniDP; Fingerprint scanner; Intel + Nvidia GPU; Card Reader || See special notes for the hardware specifications of this test device<br />
|-<br />
| [[Lenovo ThinkPad T570]] || Yes || Yes || Yes || Yes || Yes || ? || Yes* || NA || not yet fully tested || <br />
|}<br />
<br />
==== W series ====<br />
{{HCL/Laptops table header}}<br />
|-<br />
| Lenovo ThinkPad W510 || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || SD card (Yes), Webcam (Yes), Touchscreen (Yes), Fingeprint Reader (Not tested) || Tested April 2017 / Linux 4.10.8<br />
|-<br />
| Lenovo ThinkPad W540 || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || SD card (Yes), Webcam (Yes), Fingeprint Reader (Yes) || Tested April 2017 / Linux 4.10.8<br />
|-<br />
| Lenovo ThinkPad W550s || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || SD card (Not tested), Webcam (Yes), Fingeprint Reader (Yes) ||<br />
|-<br />
|}<br />
<br />
==== X series ====<br />
<br />
{{HCL/Laptops table header}}<br />
| IBM ThinkPad X23 || Yes || Yes || Yes || NA || NA || Yes || NA || NA || ||<br />
|-<br />
| [[IBM ThinkPad X60s]] || Yes|| Yes || Yes || Yes || Yes || Yes || NA || NA || ||<br />
|-<br />
| Lenovo ThinkPad X61s || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || SD slot ||<br />
|-<br />
| [[Lenovo ThinkPad X100e]] || Yes|| Yes || Yes || Yes || Yes || Yes || Not tested || NA || SD card (Yes), Webcam (Yes) ||<br />
|-<br />
| [[Lenovo ThinkPad X200]] || Yes || Yes || Yes || Yes || Yes || Yes || NA || NA || ||<br />
|-<br />
| [[Lenovo ThinkPad X200S]] || Yes || Yes || Yes || Yes || Yes || Not tested || NA || Not tested || Everything worked out of the box. However, fingerprint, SD card and webcam were not tested ||<br />
|-<br />
| [[Lenovo ThinkPad X201]] || Yes || Yes || Yes || Yes || Yes || Yes || Yes || Not tested || ||<br />
|-<br />
| [[Lenovo ThinkPad X220]] || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || SD card (Yes), Webcam (Yes) ||<br />
|-<br />
| [[Lenovo ThinkPad X230]] || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || SD card (Yes), Webcam (Yes), UMTS Modem (Yes) ||<br />
|-<br />
| [[Lenovo ThinkPad X250]] || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || SD card (Yes), Webcam (Yes), Fingerprint (yes) ||<br />
|-<br />
| [[Lenovo ThinkPad X260]] || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || SD card (Yes), Webcam (Yes), Fingerprint (yes) ||<br />
|-<br />
| Lenovo ThinkPad X270 || Yes || Yes || Yes || Yes || Yes || Not tested || Yes || NA || Webcam (yes) ||<br />
|-<br />
| [[Lenovo ThinkPad X1 Carbon]] || NA || Yes || Yes || Yes || Yes || Proprietary/nonfree || Yes || NA || ||<br />
|-<br />
| [[Lenovo ThinkPad X1 Carbon (Gen 2)]] || NA || Yes || Yes || Yes || Yes || Yes || Yes || NA || ||<br />
|-<br />
| [[Lenovo ThinkPad X1 Carbon (Gen 3)]] || NA || Yes || Yes || Yes || Yes || Yes || Yes || NA || ||<br />
|-<br />
| [[Lenovo ThinkPad X1 Carbon (Gen 4)]] || NA || Yes || Yes || Yes || Yes || Yes || Yes || NA || ||<br />
|-<br />
| [[Lenovo ThinkPad X1 Carbon (Gen 5)]] || NA || Yes || Yes || Yes || Yes || Yes || Yes || NA || ||<br />
|-<br />
|}<br />
<br />
==== Yoga Series ====<br />
{{HCL/Laptops table header}}<br />
| [[Lenovo ThinkPad Yoga 260]] || USB || Yes || Yes || Yes || Yes || Yes || Unknown || Yes || SD card (Yes), Webcam (Yes), Fingerprint Reader (Unknown), Touchscreen (Yes), Tablet (Partial), Accelerometer (No) || Wifi requires Kernel 4.3.3+<br />
|-<br />
|}<br />
<br />
== Lenovo ==<br />
<br />
=== IdeaPad ===<br />
<br />
{{HCL/Laptops table header}}<br />
| [[Lenovo IdeaPad Flex 10]] || Yes || Yes* || Yes || NA || Yes || Yes || Yes || NA || Touchscreen* ||<br />
|-<br />
| [[Lenovo IdeaPad S10]] || Yes || Yes || Yes || Yes || Yes || Yes || NA || NA || ||<br />
|-<br />
| [[Lenovo IdeaPad S400 Touch]] || Yes || Yes || Yes || Yes || Yes || Yes || Not tested || NA || ||<br />
|-<br />
| Lenovo IdeaPad U430p || Yes || Yes || Yes || Yes || Yes || Yes || Not tested || NA || ||<br />
|-<br />
| Lenovo IdeaPad Y700 || 2015.12.01 || Yes || Yes* || Yes || Yes || Yes || Not tested || NA || Trackpad - [https://unix.stackexchange.com/questions/362165/lenovo-y700-elantech-touchpad-query-0x01-failed buggy] || [https://bugzilla.kernel.org/show_bug.cgi?id=151681 Trackpad requires pata_legacy to be blacklisted]<br />
|-<br />
| [[Lenovo IdeaPad Z580]] || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || ||<br />
|-<br />
|}<br />
<br />
=== B series ===<br />
<br />
{{HCL/Laptops table header}}<br />
| Lenovo B50 || NA || Yes || Yes || Yes || Yes || Not tested || Not tested || Not tested || ||<br />
|-<br />
| Lenovo B50-70 || Yes || Yes* ||Yes || Yes || Yes || Yes || Not tested || NA || See below* ||<br />
|-<br />
| Lenovo B450 || Yes || Yes ||Yes || Yes || Yes || NA || Not tested || NA || ||<br />
|-<br />
|}<br />
<br />
=== K series ===<br />
<br />
{{HCL/Laptops table header}}<br />
| Lenovo K450e || NA || Yes || Yes || Yes || Yes || Not tested || Yes || Not tested || ||<br />
|-<br />
|}<br />
<br />
=== N series ===<br />
<br />
{{HCL/Laptops table header}}<br />
| Lenovo N200 (3000) || Yes || Yes* || Yes || Yes || Yes || Yes* || NA || NA || See below ||<br />
|-<br />
|}<br />
<br />
=== S series ===<br />
<br />
{{HCL/Laptops table header}}<br />
| Lenovo S21e-20 || 2015.07.01 || Yes || Yes || NA || Yes* || ? || Yes || NA || SD Card (Yes), USB 3.0 (Yes), HDMI Out (?), Touchpad (Yes*) ||<br />
|-<br />
|}<br />
<br />
=== U Series ===<br />
<br />
{{HCL/Laptops table header}}<br />
| Lenovo U31-70 || 2015.10.01 || Yes || Yes || Yes || Yes* || Yes || Yes || NA || SD Card (Yes), USB 3.0 (Yes), HDMI Out (Yes), Touchpad (Yes), Webcam (Yes) ||<br />
|-<br />
|}<br />
<br />
<br />
=== V Series ===<br />
<br />
{{HCL/Laptops table header}}<br />
| Lenovo V110-15ISK || ??? || Yes || Yes || Yes || Yes || Not Tested || Yes || NA || SD Card (Not Tested), USB 3.0 (Not Tested), HDMI Out (Not Tested), Touchpad (Yes), Webcam (Yes) ||<br />
|-<br />
|}<br />
<br />
== Special Notes (*): ==<br />
<br />
{{Accuracy|Lots of vague or unproven bugs/workarounds, poor writing}}<br />
<br />
=== Lenovo U31-70 ===<br />
Wireless needs {{Pkg|linux}} >= 4.3 and latest {{Pkg|linux-firmware}}, both packages are currently in testing. Copy one of the firmware blobs {{ic|eeprom_ar6320_2p1_NFA345i.bin}} or {{ic|eeprom_ar6320_2p1_NFA345i_highTX.bin}} from the windows driver to {{ic|/usr/lib/firmware/ath10k/QCA6174/hw2.1/board-pci-168c:0041:17aa:3545.bin}}.<br />
<br />
Wireless with firmware blobs from windows driver may no longer work on {{Pkg|linux}} >= 4.4. Download firmware blob https://github.com/kvalo/ath10k-firmware/blob/f428f53b36b144971c9c4c3d2ebd5fa8cae86c89/QCA6174/hw2.1/board-2.bin and copy it to {{ic|/usr/lib/firmware/ath10k/QCA6174/hw2.1/board-2.bin}}. Tested with {{Pkg|linux}} 4.4.5-1 and {{Pkg|linux-firmware}} 20160113.40e9ae8-1nu<br />
<br />
With packages {{Pkg|linux}} 4.6.1-2 and {{Pkg|linux-firmware}} 20160516.80d463b-1 being in stable, wireless works without any additional steps needed.<br />
<br />
=== Lenovo B50-70 ===<br />
* UEFI:<br />
** to be able to disable Secure Boot (necessary for dual boot, not needed for Linux only), you have to switch from "UEFI first" to "UEFI only" (or something like this) in UEFI setup menu; the Secure Boot option appears then on the Security tab<br />
** after UEFI update having Linux and Windows installed, the Linux bootloader ceased to be the default one, UEFI started to load Windows by default and it was impossible to select the Linux one in the UEFI boot menu and in the UEFI setup - reinstalling the bootloader helped; having no access to a boot media that supports UEFI, a solution might be also replacing the Windows EFI bootloader file with a Linux one temporalily, in order to be able to boot Linux from HDD<br />
** for the UEFI update, a Windows OS is needed<br />
* Touchpad:<br />
** Synaptics - works after installing Synaptics drivers from repo, possible to change behaviour (like reaction for double tap) according to your wish<br />
* Video:<br />
** in laptops with dual video card (Intel and ATI) - detects both, Intel is active as a default, not checked if it's possible at all to switch between them<br />
<br />
==== Operation with a HDD caddy ====<br />
When you install an SSD in the place of the plate HDD drive and you want to have your HDD still inside the laptop, it is possible to install it in the place of the optical drive in a special "HDD caddy". The optical drive is of 9 mm height, but a 9,5 mm caddy (ultra slim) fits in the slot. A caddy with a SATA interface is needed. It is difficult to separate the front bezel from the original optical drive (and opening its case does not help, but brings a danger of making a mess in the opening mechanism; the only option is just to pull the bezel using a bit of force, but you risk breaking the latches).<br />
<br />
While the HDD installed instead of the optical drive operates flawlessly in Windows, it wasn't going to work out of the box in Linux, at least in one case. The kernel tries to establish a connection with the disk, but fails to do it (''SATA link down'' entry in /var/log/messages). The solution is to force a 1.5 Gbps transfer speed (instead of 6 Gbps) by adding a ''libata.force='' kernel parameter. See [https://www.kernel.org/doc/Documentation/kernel-parameters.txt] for details.<br />
<br />
=== Lenovo K450e ===<br />
<br />
After installing Arch Linux and booting, a single beep may be heard. To disable this beep, press F1 during startup, then change Boot Priority to 'UEFI First', as well as enabling 'CSM'.<br />
<br />
=== ThinkPad X1 Carbon 3rd ===<br />
<br />
* http://natalian.org/archives/2015/02/18/Archlinux_on_a_Lenovo_X1C3/<br />
<br />
=== IBM ThinkPad T21 ===<br />
<br />
* Video: <br />
** Incapable of running DRM at 1024x768 and 24-bit color due to 8 MB VRAM. Must drop color or resolution to get DRM.<br />
** For whatever reason, external VGA output (for an external monitor) was disabled. This was fixed by doing this:<br />
*** {{ic|echo 1 > /proc/acpi/video/VID/DOS}}<br />
<br />
=== Lenovo 3000 N200 ===<br />
<br />
* Sound:<br />
** You may have to append <code>options snd_hda_intel model=lenovo</code> to <code>/etc/modprobe.d/modprobe.conf</code> for sound to work.<br />
<br />
=== IBM ThinkPad R52 ===<br />
<br />
* USB network tethering<br />
** Inbound networking via interface ''usb0'' works.<br />
<br />
=== Lenovo ThinkPad T430 ===<br />
{{Accuracy | I wasn't able to reproduce this bug as of September 2017 }}<br />
<br />
* Bluetooth (0a5c:21e6 Broadcom Corp. BCM20702 Bluetooth 4.0 [ThinkPad]) appears to be functional, even during standby or hibernation.<br />
<br />
=== Lenovo ThinkPad T440p ===<br />
<br />
* ClickPad: the whole trackpad clicks, and disabling the trackpad using older versions of synclient makes the trackpoint essentially unusable. This has been resolved in newer versions of {{Pkg|xf86-input-synaptics}}.<br />
** See [http://who-t.blogspot.com.au/2014/03/xorg-synaptics-support-for-lenovo-t440.html this article] and [http://who-t.blogspot.com.au/2013/12/lenovo-t440-touchpad-button.html previous version].<br />
** Install {{AUR|xf86-input-synlx40}}{{Broken package link|{{aur-mirror|xf86-input-synlx40}}}} and {{AUR|xf86-input-mtrack}} for alternative drivers.<br />
* Audio:<br />
** HDMI audio is the default audio output device. Consult the [[ALSA]] page for details on changing the default.<br />
** As the X100e/Mini10, it's possible to mute the headset and speaker outputs separately to the master. Muting the speaker output improves bass output on the headset port.<br />
** If the system fails to wake from sleep, it can lose sync with the internal audio card and speakers/headphones may fail to work. In this case, put the system to sleep, and wake it again and audio functionality should be restored. <br />
* The fingerprint sensor is a Validity VFS5011, which requires [https://github.com/abbradar/fprint_vfs5011 a patched fprintd] and is apparently highly unreliable.<br />
* thinkpad_acpi:<br />
** Controlling the Fn-Lock, Mute, Mic Mute or 'glowing I' LEDs is apparently not possible.<br />
** fan control does not seem to work.<br />
* Graphics and Video:<br />
** With the integrated GPU, [[xrandr]] can crash while attaching or detaching displays connected via the dock.<br />
** The built-in miniDisplayPort will sometimes spew I²C issues into the kernel log.<br />
** [[Hardware video acceleration]] is highly recommended as it performs significantly better than CPU decoding of large media files.<br />
** '''The BIOS should not be upgraded past version 1.14, as newer BIOSes cause memory corruption when used with Bumblebee.''' See [https://github.com/Bumblebee-Project/bbswitch/issues/78#issuecomment-42741698 Bumblebee GitHub]<br />
* Connectivity:<br />
** Bluetooth is ''extremely'' fragile. The controller works fine most of the time, but can cause the system to wedge totally on sleep/wake cycles, especially if a connection was active at sleep. Disable the controller using {{ic|bluetoothctl}} before sleeping.<br />
<br />
=== Lenovo ThinkPad T560 ===<br />
* No automatic brightness adjusting when switching power supply battery <-> AC<br />
<br />
<br />
* Hardware specifications of test device<br />
** CPU: Intel CORE i7-6600U @ 2.60GHz or Intel CORE i5-6200U @ 2.30GHz or Intel CORE i5-6300U @ 2.40GHz<br />
** GPU Primary: Intel HD 520<br />
** GPU Secondary: Nvidia GeForce 940MX or None<br />
** WiFi: Intel 8260<br />
** Ethernet: Intel I219-LM<br />
** Card reader: Realtek RTS522A<br />
<br />
=== Lenovo S21e-20 ===<br />
* Tested with {{Pkg|broadcom-wl-dkms}} 802.11 wireless driver<br />
* Synaptics touchpad required 3 patches to {{Pkg|linux}}:drivers/hid/hid-rmi.c on 2015-07-26 ([https://bugs.freedesktop.org/show_bug.cgi?id=91102 bug report], [https://github.com/harisokanovic/archlinux-packages/commit/f4550c211ca7809ecf926f8074c7b7250a74bd92 kernel recipe patch]). The current 4.3 kernel includes these patches. You will also need to install the xf86_64-input-synaptics package([https://www.archlinux.org/packages/?name=xf86-input-synaptics]) <br />
<br />
==== tpacpi-bat ====<br />
<br />
There is an issue with tpacpi-bat not reporting the right value for the stop threshold. This seems to be related to a buggy BIOS and can not be fixed application wise. <br />
<br />
See https://github.com/teleshoes/tpacpi-bat/issues/44<br />
<br />
==== ThinkPad Edge E420s Delay with Space Bar====<br />
Solution: Update BIOS (at least 1.08).<br />
<br />
=== Lenovo IdeaPad Y700 ===<br />
* The subwoofer does not work out of the box and it seems that there is no solution yet.<br />
<br />
== See also ==<br />
* [http://www.thinkwiki.org/wiki Think wiki]</div>XenGihttps://wiki.archlinux.org/index.php?title=Laptop/Lenovo&diff=494260Laptop/Lenovo2017-10-28T20:03:21Z<p>XenGi: added some hardware specs</p>
<hr />
<div>[[Category:Lenovo]]<br />
[[ja:ノートパソコン/Lenovo]]<br />
{{Laptops navigation}}<br />
<br><br />
== IBM/Lenovo ==<br />
<br />
=== ThinkPad ===<br />
<br />
==== 300 series ====<br />
<br />
{{HCL/Laptops table header}}<br />
| IBM ThinkPad 380ED || NA|| NA || NA || NA || No || NA || NA || NA || ||<br />
|-<br />
|}<br />
<br />
==== Edge series ====<br />
<br />
{{HCL/Laptops table header}}<br />
| [[Lenovo ThinkPad Edge E330]] || NA || Yes || Yes || Yes || Yes || Yes || Yes || NA || ||<br />
|-<br />
| [[Lenovo ThinkPad Edge E335]] || NA || Yes || Yes || Yes || Yes || NA || Yes || NA || ||<br />
|-<br />
| Lenovo ThinkPad Edge E420s || Yes || Yes || Yes || Yes || Yes || Yes || NA || NA || SDcard (Yes), Webcam (Yes), Trackpoint (No) || <br />
|-<br />
| [[Lenovo ThinkPad Edge E430]] || Yes || Yes || Yes* || Yes* || Not tested || Yes || NA || NA || SD card (yes) || <br />
|-<br />
| [[Lenovo ThinkPad Edge E455]] || 2015.04.01 || Yes* || Yes || Yes || Yes || Yes || Yes || NA || ||<br />
|-<br />
| [[Lenovo ThinkPad Edge E470]] || 2017.09.01 || Yes || Yes || Not tested || Yes || Not tested || NA || NA || trackpoint (yes) ||<br />
|-<br />
| Lenovo ThinkPad Edge E530 || Yes || Yes || Yes* || Yes* || Yes || Yes || NA || NA || SD card (yes), Finger Print (not tested) || <br />
|-<br />
| Lenovo ThinkPad Edge E540 || 2015.08.01 || Yes || Yes || Yes || Yes || Yes || Yes* || NA || SD card (yes), Finger Print (yes), touch pad and trackpoint (yes), Webcam (yes) || <br />
|-<br />
| Lenovo ThinkPad Edge E545 || NA || Yes || Yes || Yes || Yes* || Not tested || Yes || NA || SD card (yes), touch pad and trackpoint (yes) Webcam (yes) || wifi works only with {{Pkg|broadcom-wl-dkms}}<br />
|-<br />
|}<br />
<br />
==== L series ====<br />
<br />
{{HCL/Laptops table header}}<br />
| Lenovo ThinkPad L420 || Yes || Yes || Yes || Yes || Yes || Not tested || Yes || NA || ||<br />
|-<br />
| Lenovo ThinkPad L430 || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || Trackpoint* ||<br />
|-<br />
| Lenovo ThinkPad L530 || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || Trackpoint*, Fingerprint reader ||<br />
|-<br />
|}<br />
<br />
==== P series ====<br />
<br />
{{HCL/Laptops table header}}<br />
| [[Lenovo ThinkPad P50]] || 2016.04 || Yes || Yes || Yes || Yes || Yes || Suspend working, hibernate not tested || NA || SD card (Yes), Webcam (Yes), Fingerprint Reader (No), || Wifi requires Kernel 4.3.3+ <br />
|-<br />
| [[Lenovo ThinkPad P70]] || 2016.04 || Yes || Yes || Yes || Yes || Yes || Suspend working, hibernate not tested || NA || SD card (Yes), Webcam (Yes), Fingerprint Reader (No), || Wifi requires Kernel 4.3.3+ <br />
|-<br />
|}<br />
<br />
==== R series ====<br />
{{HCL/Laptops table header}}<br />
| IBM ThinkPad R50 || Yes || Yes || Yes || Yes || NA || Yes || Yes || Infrared* || ||<br />
|-<br />
| IBM ThinkPad R52 || Yes || Yes || Yes || Yes || NA || Yes || Yes || Infrared* || ||<br />
|-<br />
| Lenovo ThinkPad R60 || Yes || Yes || Yes || Yes || Yes || Yes || NA || NA || ||<br />
|-<br />
|}<br />
<br />
==== T series ====<br />
<br />
{{HCL/Laptops table header}}<br />
| [[IBM ThinkPad T21]] || Yes* || Yes || Yes || NA || NA || Yes* || NA || NA || See below ||<br />
|-<br />
| [[IBM ThinkPad T23]] || Yes || Yes || Yes || NA || NA || Yes || NA || NA || ||<br />
|-<br />
| [[IBM ThinkPad T42]] || Yes || Yes || Yes || Yes || NA || Yes || NA || NA || ||<br />
|-<br />
| IBM ThinkPad T60 || Yes || Yes || Yes || Yes || Yes || Yes || ? || NA || ||<br />
|-<br />
| IBM ThinkPad T60p || Yes || Yes || Yes || Yes || Yes || Yes || ? || NA || ThinkFinger ||<br />
|-<br />
| [[IBM ThinkPad T61]] || Yes || Yes || Yes || Yes || Yes || Yes || NA || || ||<br />
|-<br />
| IBM ThinkPad T61p || Yes || Yes || Yes || Yes || Yes || Yes || NA || || ||<br />
|-<br />
| [[Lenovo ThinkPad T400]] || Yes || Yes || Yes || Yes || Yes || Yes || NA || NA || ||<br />
|-<br />
| [[Lenovo ThinkPad T400s]] || Yes || Yes || Yes || Yes || Yes || Yes || NA || NA || ||<br />
|-<br />
| Lenovo ThinkPad T410 || Yes || Yes || Yes || Yes || Yes || Yes || NA || NA || ||<br />
|-<br />
| [[Lenovo ThinkPad T420]] || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || Card reader tested, no Fingerprint scanner||<br />
|-<br />
| [[Lenovo ThinkPad T420s]] || Yes || Yes || Yes || Yes || Yes || Yes || NA || NA || Card Reader ||<br />
|-<br />
| [[Lenovo ThinkPad T430]] || Yes || Yes || Yes || Yes || Yes || Yes* || Yes* || Not tested || ||<br />
|-<br />
| [[#Lenovo_ThinkPad_T440p|Lenovo ThinkPad T440p]] || Yes || Yes || Yes || Yes || Yes || Yes* || NA || NA || Card Reader || See below<br />
|-<br />
| [[Lenovo ThinkPad T440s]] || Yes || Yes || Yes || Yes || Yes* || ? || Yes || ? || || See wiki page for more details about wireless<br />
|-<br />
| [[Lenovo ThinkPad T450s]] || 2015.10.01 || Yes || Yes || Yes || Yes || Yes || ? || NA || SD Card reader; fingerprint scanner|| <br />
|-<br />
| [[Lenovo ThinkPad T460s]] || Yes || Yes || no beep || Yes || Yes || Yes || ? || NA || SD Card reader|| <br />
|-<br />
| [[Lenovo ThinkPad T25]] || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || SD Card reader; fingerprint scanner; Mobile Broadband; Microsoft Hello|| <br />
|-<br />
| [[Lenovo ThinkPad T470]] || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || SD Card reader; fingerprint scanner; Microsoft Hello|| <br />
|-<br />
| [[Lenovo ThinkPad T470s]] || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || SD Card reader; fingerprint scanner|| <br />
|-<br />
| Lenovo ThinkPad T500 || Yes || Yes || Yes || Yes || Yes || Yes || NA || NA || ||<br />
|-<br />
| [[Lenovo ThinkPad T520]] || Yes || Yes || Yes || Yes || Yes || Yes || NA || NA || ||<br />
|-<br />
| [[Lenovo ThinkPad T530]] || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || ||<br />
|-<br />
| [[Lenovo ThinkPad T550]] || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || DisplayPort ||<br />
|-<br />
| Lenovo ThinkPad T560 || Yes || Yes || Yes || Yes || Yes || Yes || Yes* || NA || MiniDP; Fingerprint scanner; Intel + Nvidia GPU; Card Reader || See special notes for the hardware specifications of this test device<br />
|-<br />
| [[Lenovo ThinkPad T570]] || Yes || Yes || Yes || Yes || Yes || ? || Yes* || NA || not yet fully tested || <br />
|}<br />
<br />
==== W series ====<br />
{{HCL/Laptops table header}}<br />
|-<br />
| Lenovo ThinkPad W510 || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || SD card (Yes), Webcam (Yes), Touchscreen (Yes), Fingeprint Reader (Not tested) || Tested April 2017 / Linux 4.10.8<br />
|-<br />
| Lenovo ThinkPad W540 || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || SD card (Yes), Webcam (Yes), Fingeprint Reader (Yes) || Tested April 2017 / Linux 4.10.8<br />
|-<br />
| Lenovo ThinkPad W550s || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || SD card (Not tested), Webcam (Yes), Fingeprint Reader (Yes) ||<br />
|-<br />
|}<br />
<br />
==== X series ====<br />
<br />
{{HCL/Laptops table header}}<br />
| IBM ThinkPad X23 || Yes || Yes || Yes || NA || NA || Yes || NA || NA || ||<br />
|-<br />
| [[IBM ThinkPad X60s]] || Yes|| Yes || Yes || Yes || Yes || Yes || NA || NA || ||<br />
|-<br />
| Lenovo ThinkPad X61s || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || SD slot ||<br />
|-<br />
| [[Lenovo ThinkPad X100e]] || Yes|| Yes || Yes || Yes || Yes || Yes || Not tested || NA || SD card (Yes), Webcam (Yes) ||<br />
|-<br />
| [[Lenovo ThinkPad X200]] || Yes || Yes || Yes || Yes || Yes || Yes || NA || NA || ||<br />
|-<br />
| [[Lenovo ThinkPad X200S]] || Yes || Yes || Yes || Yes || Yes || Not tested || NA || Not tested || Everything worked out of the box. However, fingerprint, SD card and webcam were not tested ||<br />
|-<br />
| [[Lenovo ThinkPad X201]] || Yes || Yes || Yes || Yes || Yes || Yes || Yes || Not tested || ||<br />
|-<br />
| [[Lenovo ThinkPad X220]] || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || SD card (Yes), Webcam (Yes) ||<br />
|-<br />
| [[Lenovo ThinkPad X230]] || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || SD card (Yes), Webcam (Yes), UMTS Modem (Yes) ||<br />
|-<br />
| [[Lenovo ThinkPad X250]] || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || SD card (Yes), Webcam (Yes), Fingerprint (yes) ||<br />
|-<br />
| [[Lenovo ThinkPad X260]] || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || SD card (Yes), Webcam (Yes), Fingerprint (yes) ||<br />
|-<br />
| Lenovo ThinkPad X270 || Yes || Yes || Yes || Yes || Yes || Not tested || Yes || NA || Webcam (yes) ||<br />
|-<br />
| [[Lenovo ThinkPad X1 Carbon]] || NA || Yes || Yes || Yes || Yes || Proprietary/nonfree || Yes || NA || ||<br />
|-<br />
| [[Lenovo ThinkPad X1 Carbon (Gen 2)]] || NA || Yes || Yes || Yes || Yes || Yes || Yes || NA || ||<br />
|-<br />
| [[Lenovo ThinkPad X1 Carbon (Gen 3)]] || NA || Yes || Yes || Yes || Yes || Yes || Yes || NA || ||<br />
|-<br />
| [[Lenovo ThinkPad X1 Carbon (Gen 4)]] || NA || Yes || Yes || Yes || Yes || Yes || Yes || NA || ||<br />
|-<br />
| [[Lenovo ThinkPad X1 Carbon (Gen 5)]] || NA || Yes || Yes || Yes || Yes || Yes || Yes || NA || ||<br />
|-<br />
|}<br />
<br />
==== Yoga Series ====<br />
{{HCL/Laptops table header}}<br />
| [[Lenovo ThinkPad Yoga 260]] || USB || Yes || Yes || Yes || Yes || Yes || Unknown || Yes || SD card (Yes), Webcam (Yes), Fingerprint Reader (Unknown), Touchscreen (Yes), Tablet (Partial), Accelerometer (No) || Wifi requires Kernel 4.3.3+<br />
|-<br />
|}<br />
<br />
== Lenovo ==<br />
<br />
=== IdeaPad ===<br />
<br />
{{HCL/Laptops table header}}<br />
| [[Lenovo IdeaPad Flex 10]] || Yes || Yes* || Yes || NA || Yes || Yes || Yes || NA || Touchscreen* ||<br />
|-<br />
| [[Lenovo IdeaPad S10]] || Yes || Yes || Yes || Yes || Yes || Yes || NA || NA || ||<br />
|-<br />
| [[Lenovo IdeaPad S400 Touch]] || Yes || Yes || Yes || Yes || Yes || Yes || Not tested || NA || ||<br />
|-<br />
| Lenovo IdeaPad U430p || Yes || Yes || Yes || Yes || Yes || Yes || Not tested || NA || ||<br />
|-<br />
| Lenovo IdeaPad Y700 || 2015.12.01 || Yes || Yes* || Yes || Yes || Yes || Not tested || NA || Trackpad - [https://unix.stackexchange.com/questions/362165/lenovo-y700-elantech-touchpad-query-0x01-failed buggy] || [https://bugzilla.kernel.org/show_bug.cgi?id=151681 Trackpad requires pata_legacy to be blacklisted]<br />
|-<br />
| [[Lenovo IdeaPad Z580]] || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || ||<br />
|-<br />
|}<br />
<br />
=== B series ===<br />
<br />
{{HCL/Laptops table header}}<br />
| Lenovo B50 || NA || Yes || Yes || Yes || Yes || Not tested || Not tested || Not tested || ||<br />
|-<br />
| Lenovo B50-70 || Yes || Yes* ||Yes || Yes || Yes || Yes || Not tested || NA || See below* ||<br />
|-<br />
| Lenovo B450 || Yes || Yes ||Yes || Yes || Yes || NA || Not tested || NA || ||<br />
|-<br />
|}<br />
<br />
=== K series ===<br />
<br />
{{HCL/Laptops table header}}<br />
| Lenovo K450e || NA || Yes || Yes || Yes || Yes || Not tested || Yes || Not tested || ||<br />
|-<br />
|}<br />
<br />
=== N series ===<br />
<br />
{{HCL/Laptops table header}}<br />
| Lenovo N200 (3000) || Yes || Yes* || Yes || Yes || Yes || Yes* || NA || NA || See below ||<br />
|-<br />
|}<br />
<br />
=== S series ===<br />
<br />
{{HCL/Laptops table header}}<br />
| Lenovo S21e-20 || 2015.07.01 || Yes || Yes || NA || Yes* || ? || Yes || NA || SD Card (Yes), USB 3.0 (Yes), HDMI Out (?), Touchpad (Yes*) ||<br />
|-<br />
|}<br />
<br />
=== U Series ===<br />
<br />
{{HCL/Laptops table header}}<br />
| Lenovo U31-70 || 2015.10.01 || Yes || Yes || Yes || Yes* || Yes || Yes || NA || SD Card (Yes), USB 3.0 (Yes), HDMI Out (Yes), Touchpad (Yes), Webcam (Yes) ||<br />
|-<br />
|}<br />
<br />
<br />
=== V Series ===<br />
<br />
{{HCL/Laptops table header}}<br />
| Lenovo V110-15ISK || ??? || Yes || Yes || Yes || Yes || Not Tested || Yes || NA || SD Card (Not Tested), USB 3.0 (Not Tested), HDMI Out (Not Tested), Touchpad (Yes), Webcam (Yes) ||<br />
|-<br />
|}<br />
<br />
== Special Notes (*): ==<br />
<br />
{{Accuracy|Lots of vague or unproven bugs/workarounds, poor writing}}<br />
<br />
=== Lenovo U31-70 ===<br />
Wireless needs {{Pkg|linux}} >= 4.3 and latest {{Pkg|linux-firmware}}, both packages are currently in testing. Copy one of the firmware blobs {{ic|eeprom_ar6320_2p1_NFA345i.bin}} or {{ic|eeprom_ar6320_2p1_NFA345i_highTX.bin}} from the windows driver to {{ic|/usr/lib/firmware/ath10k/QCA6174/hw2.1/board-pci-168c:0041:17aa:3545.bin}}.<br />
<br />
Wireless with firmware blobs from windows driver may no longer work on {{Pkg|linux}} >= 4.4. Download firmware blob https://github.com/kvalo/ath10k-firmware/blob/f428f53b36b144971c9c4c3d2ebd5fa8cae86c89/QCA6174/hw2.1/board-2.bin and copy it to {{ic|/usr/lib/firmware/ath10k/QCA6174/hw2.1/board-2.bin}}. Tested with {{Pkg|linux}} 4.4.5-1 and {{Pkg|linux-firmware}} 20160113.40e9ae8-1nu<br />
<br />
With packages {{Pkg|linux}} 4.6.1-2 and {{Pkg|linux-firmware}} 20160516.80d463b-1 being in stable, wireless works without any additional steps needed.<br />
<br />
=== Lenovo B50-70 ===<br />
* UEFI:<br />
** to be able to disable Secure Boot (necessary for dual boot, not needed for Linux only), you have to switch from "UEFI first" to "UEFI only" (or something like this) in UEFI setup menu; the Secure Boot option appears then on the Security tab<br />
** after UEFI update having Linux and Windows installed, the Linux bootloader ceased to be the default one, UEFI started to load Windows by default and it was impossible to select the Linux one in the UEFI boot menu and in the UEFI setup - reinstalling the bootloader helped; having no access to a boot media that supports UEFI, a solution might be also replacing the Windows EFI bootloader file with a Linux one temporalily, in order to be able to boot Linux from HDD<br />
** for the UEFI update, a Windows OS is needed<br />
* Touchpad:<br />
** Synaptics - works after installing Synaptics drivers from repo, possible to change behaviour (like reaction for double tap) according to your wish<br />
* Video:<br />
** in laptops with dual video card (Intel and ATI) - detects both, Intel is active as a default, not checked if it's possible at all to switch between them<br />
<br />
==== Operation with a HDD caddy ====<br />
When you install an SSD in the place of the plate HDD drive and you want to have your HDD still inside the laptop, it is possible to install it in the place of the optical drive in a special "HDD caddy". The optical drive is of 9 mm height, but a 9,5 mm caddy (ultra slim) fits in the slot. A caddy with a SATA interface is needed. It is difficult to separate the front bezel from the original optical drive (and opening its case does not help, but brings a danger of making a mess in the opening mechanism; the only option is just to pull the bezel using a bit of force, but you risk breaking the latches).<br />
<br />
While the HDD installed instead of the optical drive operates flawlessly in Windows, it wasn't going to work out of the box in Linux, at least in one case. The kernel tries to establish a connection with the disk, but fails to do it (''SATA link down'' entry in /var/log/messages). The solution is to force a 1.5 Gbps transfer speed (instead of 6 Gbps) by adding a ''libata.force='' kernel parameter. See [https://www.kernel.org/doc/Documentation/kernel-parameters.txt] for details.<br />
<br />
=== Lenovo K450e ===<br />
<br />
After installing Arch Linux and booting, a single beep may be heard. To disable this beep, press F1 during startup, then change Boot Priority to 'UEFI First', as well as enabling 'CSM'.<br />
<br />
=== ThinkPad X1 Carbon 3rd ===<br />
<br />
* http://natalian.org/archives/2015/02/18/Archlinux_on_a_Lenovo_X1C3/<br />
<br />
=== IBM ThinkPad T21 ===<br />
<br />
* Video: <br />
** Incapable of running DRM at 1024x768 and 24-bit color due to 8 MB VRAM. Must drop color or resolution to get DRM.<br />
** For whatever reason, external VGA output (for an external monitor) was disabled. This was fixed by doing this:<br />
*** {{ic|echo 1 > /proc/acpi/video/VID/DOS}}<br />
<br />
=== Lenovo 3000 N200 ===<br />
<br />
* Sound:<br />
** You may have to append <code>options snd_hda_intel model=lenovo</code> to <code>/etc/modprobe.d/modprobe.conf</code> for sound to work.<br />
<br />
=== IBM ThinkPad R52 ===<br />
<br />
* USB network tethering<br />
** Inbound networking via interface ''usb0'' works.<br />
<br />
=== Lenovo ThinkPad T430 ===<br />
{{Accuracy | I wasn't able to reproduce this bug as of September 2017 }}<br />
<br />
* Bluetooth (0a5c:21e6 Broadcom Corp. BCM20702 Bluetooth 4.0 [ThinkPad]) appears to be functional, even during standby or hibernation.<br />
<br />
=== Lenovo ThinkPad T440p ===<br />
<br />
* ClickPad: the whole trackpad clicks, and disabling the trackpad using older versions of synclient makes the trackpoint essentially unusable. This has been resolved in newer versions of {{Pkg|xf86-input-synaptics}}.<br />
** See [http://who-t.blogspot.com.au/2014/03/xorg-synaptics-support-for-lenovo-t440.html this article] and [http://who-t.blogspot.com.au/2013/12/lenovo-t440-touchpad-button.html previous version].<br />
** Install {{AUR|xf86-input-synlx40}}{{Broken package link|{{aur-mirror|xf86-input-synlx40}}}} and {{AUR|xf86-input-mtrack}} for alternative drivers.<br />
* Audio:<br />
** HDMI audio is the default audio output device. Consult the [[ALSA]] page for details on changing the default.<br />
** As the X100e/Mini10, it's possible to mute the headset and speaker outputs separately to the master. Muting the speaker output improves bass output on the headset port.<br />
** If the system fails to wake from sleep, it can lose sync with the internal audio card and speakers/headphones may fail to work. In this case, put the system to sleep, and wake it again and audio functionality should be restored. <br />
* The fingerprint sensor is a Validity VFS5011, which requires [https://github.com/abbradar/fprint_vfs5011 a patched fprintd] and is apparently highly unreliable.<br />
* thinkpad_acpi:<br />
** Controlling the Fn-Lock, Mute, Mic Mute or 'glowing I' LEDs is apparently not possible.<br />
** fan control does not seem to work.<br />
* Graphics and Video:<br />
** With the integrated GPU, [[xrandr]] can crash while attaching or detaching displays connected via the dock.<br />
** The built-in miniDisplayPort will sometimes spew I²C issues into the kernel log.<br />
** [[Hardware video acceleration]] is highly recommended as it performs significantly better than CPU decoding of large media files.<br />
** '''The BIOS should not be upgraded past version 1.14, as newer BIOSes cause memory corruption when used with Bumblebee.''' See [https://github.com/Bumblebee-Project/bbswitch/issues/78#issuecomment-42741698 Bumblebee GitHub]<br />
* Connectivity:<br />
** Bluetooth is ''extremely'' fragile. The controller works fine most of the time, but can cause the system to wedge totally on sleep/wake cycles, especially if a connection was active at sleep. Disable the controller using {{ic|bluetoothctl}} before sleeping.<br />
<br />
=== Lenovo ThinkPad T560 ===<br />
* No automatic brightness adjusting when switching power supply battery <-> AC<br />
<br />
<br />
* Hardware specifications of test device<br />
** CPU: Intel CORE i7-6600U @ 2.60GHz or Intel CORE i5-6200U @ 2.30GHz or Intel CORE i5-6300U @ 2.40GHz<br />
** GPU Primary: Intel HD 520<br />
** GPU Secondary: Nvidia GeForce 940MX or None<br />
** WiFi: Intel 8260<br />
** Ethernet: Intel I219-LM<br />
** Card reader: Realtek RTS522A<br />
<br />
=== Lenovo S21e-20 ===<br />
* Tested with {{Pkg|broadcom-wl-dkms}} 802.11 wireless driver<br />
* Synaptics touchpad required 3 patches to {{Pkg|linux}}:drivers/hid/hid-rmi.c on 2015-07-26 ([https://bugs.freedesktop.org/show_bug.cgi?id=91102 bug report], [https://github.com/harisokanovic/archlinux-packages/commit/f4550c211ca7809ecf926f8074c7b7250a74bd92 kernel recipe patch]). The current 4.3 kernel includes these patches. You will also need to install the xf86_64-input-synaptics package([https://www.archlinux.org/packages/?name=xf86-input-synaptics]) <br />
<br />
==== tpacpi-bat ====<br />
<br />
There is an issue with tpacpi-bat not reporting the right value for the stop threshold. This seems to be related to a buggy BIOS and can not be fixed application wise. <br />
<br />
See https://github.com/teleshoes/tpacpi-bat/issues/44<br />
<br />
==== ThinkPad Edge E420s Delay with Space Bar====<br />
Solution: Update BIOS (at least 1.08).<br />
<br />
=== Lenovo IdeaPad Y700 ===<br />
* The subwoofer does not work out of the box and it seems that there is no solution yet.<br />
<br />
== See also ==<br />
* [http://www.thinkwiki.org/wiki Think wiki]</div>XenGihttps://wiki.archlinux.org/index.php?title=Laptop/Lenovo&diff=494259Laptop/Lenovo2017-10-28T20:02:04Z<p>XenGi: added the T470 and T25</p>
<hr />
<div>[[Category:Lenovo]]<br />
[[ja:ノートパソコン/Lenovo]]<br />
{{Laptops navigation}}<br />
<br><br />
== IBM/Lenovo ==<br />
<br />
=== ThinkPad ===<br />
<br />
==== 300 series ====<br />
<br />
{{HCL/Laptops table header}}<br />
| IBM ThinkPad 380ED || NA|| NA || NA || NA || No || NA || NA || NA || ||<br />
|-<br />
|}<br />
<br />
==== Edge series ====<br />
<br />
{{HCL/Laptops table header}}<br />
| [[Lenovo ThinkPad Edge E330]] || NA || Yes || Yes || Yes || Yes || Yes || Yes || NA || ||<br />
|-<br />
| [[Lenovo ThinkPad Edge E335]] || NA || Yes || Yes || Yes || Yes || NA || Yes || NA || ||<br />
|-<br />
| Lenovo ThinkPad Edge E420s || Yes || Yes || Yes || Yes || Yes || Yes || NA || NA || SDcard (Yes), Webcam (Yes), Trackpoint (No) || <br />
|-<br />
| [[Lenovo ThinkPad Edge E430]] || Yes || Yes || Yes* || Yes* || Not tested || Yes || NA || NA || SD card (yes) || <br />
|-<br />
| [[Lenovo ThinkPad Edge E455]] || 2015.04.01 || Yes* || Yes || Yes || Yes || Yes || Yes || NA || ||<br />
|-<br />
| [[Lenovo ThinkPad Edge E470]] || 2017.09.01 || Yes || Yes || Not tested || Yes || Not tested || NA || NA || trackpoint (yes) ||<br />
|-<br />
| Lenovo ThinkPad Edge E530 || Yes || Yes || Yes* || Yes* || Yes || Yes || NA || NA || SD card (yes), Finger Print (not tested) || <br />
|-<br />
| Lenovo ThinkPad Edge E540 || 2015.08.01 || Yes || Yes || Yes || Yes || Yes || Yes* || NA || SD card (yes), Finger Print (yes), touch pad and trackpoint (yes), Webcam (yes) || <br />
|-<br />
| Lenovo ThinkPad Edge E545 || NA || Yes || Yes || Yes || Yes* || Not tested || Yes || NA || SD card (yes), touch pad and trackpoint (yes) Webcam (yes) || wifi works only with {{Pkg|broadcom-wl-dkms}}<br />
|-<br />
|}<br />
<br />
==== L series ====<br />
<br />
{{HCL/Laptops table header}}<br />
| Lenovo ThinkPad L420 || Yes || Yes || Yes || Yes || Yes || Not tested || Yes || NA || ||<br />
|-<br />
| Lenovo ThinkPad L430 || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || Trackpoint* ||<br />
|-<br />
| Lenovo ThinkPad L530 || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || Trackpoint*, Fingerprint reader ||<br />
|-<br />
|}<br />
<br />
==== P series ====<br />
<br />
{{HCL/Laptops table header}}<br />
| [[Lenovo ThinkPad P50]] || 2016.04 || Yes || Yes || Yes || Yes || Yes || Suspend working, hibernate not tested || NA || SD card (Yes), Webcam (Yes), Fingerprint Reader (No), || Wifi requires Kernel 4.3.3+ <br />
|-<br />
| [[Lenovo ThinkPad P70]] || 2016.04 || Yes || Yes || Yes || Yes || Yes || Suspend working, hibernate not tested || NA || SD card (Yes), Webcam (Yes), Fingerprint Reader (No), || Wifi requires Kernel 4.3.3+ <br />
|-<br />
|}<br />
<br />
==== R series ====<br />
{{HCL/Laptops table header}}<br />
| IBM ThinkPad R50 || Yes || Yes || Yes || Yes || NA || Yes || Yes || Infrared* || ||<br />
|-<br />
| IBM ThinkPad R52 || Yes || Yes || Yes || Yes || NA || Yes || Yes || Infrared* || ||<br />
|-<br />
| Lenovo ThinkPad R60 || Yes || Yes || Yes || Yes || Yes || Yes || NA || NA || ||<br />
|-<br />
|}<br />
<br />
==== T series ====<br />
<br />
{{HCL/Laptops table header}}<br />
| [[IBM ThinkPad T21]] || Yes* || Yes || Yes || NA || NA || Yes* || NA || NA || See below ||<br />
|-<br />
| [[IBM ThinkPad T23]] || Yes || Yes || Yes || NA || NA || Yes || NA || NA || ||<br />
|-<br />
| [[IBM ThinkPad T42]] || Yes || Yes || Yes || Yes || NA || Yes || NA || NA || ||<br />
|-<br />
| IBM ThinkPad T60 || Yes || Yes || Yes || Yes || Yes || Yes || ? || NA || ||<br />
|-<br />
| IBM ThinkPad T60p || Yes || Yes || Yes || Yes || Yes || Yes || ? || NA || ThinkFinger ||<br />
|-<br />
| [[IBM ThinkPad T61]] || Yes || Yes || Yes || Yes || Yes || Yes || NA || || ||<br />
|-<br />
| IBM ThinkPad T61p || Yes || Yes || Yes || Yes || Yes || Yes || NA || || ||<br />
|-<br />
| [[Lenovo ThinkPad T400]] || Yes || Yes || Yes || Yes || Yes || Yes || NA || NA || ||<br />
|-<br />
| [[Lenovo ThinkPad T400s]] || Yes || Yes || Yes || Yes || Yes || Yes || NA || NA || ||<br />
|-<br />
| Lenovo ThinkPad T410 || Yes || Yes || Yes || Yes || Yes || Yes || NA || NA || ||<br />
|-<br />
| [[Lenovo ThinkPad T420]] || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || Card reader tested, no Fingerprint scanner||<br />
|-<br />
| [[Lenovo ThinkPad T420s]] || Yes || Yes || Yes || Yes || Yes || Yes || NA || NA || Card Reader ||<br />
|-<br />
| [[Lenovo ThinkPad T430]] || Yes || Yes || Yes || Yes || Yes || Yes* || Yes* || Not tested || ||<br />
|-<br />
| [[#Lenovo_ThinkPad_T440p|Lenovo ThinkPad T440p]] || Yes || Yes || Yes || Yes || Yes || Yes* || NA || NA || Card Reader || See below<br />
|-<br />
| [[Lenovo ThinkPad T440s]] || Yes || Yes || Yes || Yes || Yes* || ? || Yes || ? || || See wiki page for more details about wireless<br />
|-<br />
| [[Lenovo ThinkPad T450s]] || 2015.10.01 || Yes || Yes || Yes || Yes || Yes || ? || NA || SD Card reader; fingerprint scanner|| <br />
|-<br />
| [[Lenovo ThinkPad T460s]] || Yes || Yes || no beep || Yes || Yes || Yes || ? || NA || SD Card reader|| <br />
|-<br />
| [[Lenovo ThinkPad T25]] || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || SD Card reader; fingerprint scanner|| <br />
|-<br />
| [[Lenovo ThinkPad T470]] || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || SD Card reader; fingerprint scanner|| <br />
|-<br />
| [[Lenovo ThinkPad T470s]] || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || SD Card reader; fingerprint scanner|| <br />
|-<br />
| Lenovo ThinkPad T500 || Yes || Yes || Yes || Yes || Yes || Yes || NA || NA || ||<br />
|-<br />
| [[Lenovo ThinkPad T520]] || Yes || Yes || Yes || Yes || Yes || Yes || NA || NA || ||<br />
|-<br />
| [[Lenovo ThinkPad T530]] || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || ||<br />
|-<br />
| [[Lenovo ThinkPad T550]] || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || DisplayPort ||<br />
|-<br />
| Lenovo ThinkPad T560 || Yes || Yes || Yes || Yes || Yes || Yes || Yes* || NA || MiniDP; Fingerprint scanner; Intel + Nvidia GPU; Card Reader || See special notes for the hardware specifications of this test device<br />
|-<br />
| [[Lenovo ThinkPad T570]] || Yes || Yes || Yes || Yes || Yes || ? || Yes* || NA || not yet fully tested || <br />
|}<br />
<br />
==== W series ====<br />
{{HCL/Laptops table header}}<br />
|-<br />
| Lenovo ThinkPad W510 || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || SD card (Yes), Webcam (Yes), Touchscreen (Yes), Fingeprint Reader (Not tested) || Tested April 2017 / Linux 4.10.8<br />
|-<br />
| Lenovo ThinkPad W540 || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || SD card (Yes), Webcam (Yes), Fingeprint Reader (Yes) || Tested April 2017 / Linux 4.10.8<br />
|-<br />
| Lenovo ThinkPad W550s || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || SD card (Not tested), Webcam (Yes), Fingeprint Reader (Yes) ||<br />
|-<br />
|}<br />
<br />
==== X series ====<br />
<br />
{{HCL/Laptops table header}}<br />
| IBM ThinkPad X23 || Yes || Yes || Yes || NA || NA || Yes || NA || NA || ||<br />
|-<br />
| [[IBM ThinkPad X60s]] || Yes|| Yes || Yes || Yes || Yes || Yes || NA || NA || ||<br />
|-<br />
| Lenovo ThinkPad X61s || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || SD slot ||<br />
|-<br />
| [[Lenovo ThinkPad X100e]] || Yes|| Yes || Yes || Yes || Yes || Yes || Not tested || NA || SD card (Yes), Webcam (Yes) ||<br />
|-<br />
| [[Lenovo ThinkPad X200]] || Yes || Yes || Yes || Yes || Yes || Yes || NA || NA || ||<br />
|-<br />
| [[Lenovo ThinkPad X200S]] || Yes || Yes || Yes || Yes || Yes || Not tested || NA || Not tested || Everything worked out of the box. However, fingerprint, SD card and webcam were not tested ||<br />
|-<br />
| [[Lenovo ThinkPad X201]] || Yes || Yes || Yes || Yes || Yes || Yes || Yes || Not tested || ||<br />
|-<br />
| [[Lenovo ThinkPad X220]] || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || SD card (Yes), Webcam (Yes) ||<br />
|-<br />
| [[Lenovo ThinkPad X230]] || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || SD card (Yes), Webcam (Yes), UMTS Modem (Yes) ||<br />
|-<br />
| [[Lenovo ThinkPad X250]] || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || SD card (Yes), Webcam (Yes), Fingerprint (yes) ||<br />
|-<br />
| [[Lenovo ThinkPad X260]] || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || SD card (Yes), Webcam (Yes), Fingerprint (yes) ||<br />
|-<br />
| Lenovo ThinkPad X270 || Yes || Yes || Yes || Yes || Yes || Not tested || Yes || NA || Webcam (yes) ||<br />
|-<br />
| [[Lenovo ThinkPad X1 Carbon]] || NA || Yes || Yes || Yes || Yes || Proprietary/nonfree || Yes || NA || ||<br />
|-<br />
| [[Lenovo ThinkPad X1 Carbon (Gen 2)]] || NA || Yes || Yes || Yes || Yes || Yes || Yes || NA || ||<br />
|-<br />
| [[Lenovo ThinkPad X1 Carbon (Gen 3)]] || NA || Yes || Yes || Yes || Yes || Yes || Yes || NA || ||<br />
|-<br />
| [[Lenovo ThinkPad X1 Carbon (Gen 4)]] || NA || Yes || Yes || Yes || Yes || Yes || Yes || NA || ||<br />
|-<br />
| [[Lenovo ThinkPad X1 Carbon (Gen 5)]] || NA || Yes || Yes || Yes || Yes || Yes || Yes || NA || ||<br />
|-<br />
|}<br />
<br />
==== Yoga Series ====<br />
{{HCL/Laptops table header}}<br />
| [[Lenovo ThinkPad Yoga 260]] || USB || Yes || Yes || Yes || Yes || Yes || Unknown || Yes || SD card (Yes), Webcam (Yes), Fingerprint Reader (Unknown), Touchscreen (Yes), Tablet (Partial), Accelerometer (No) || Wifi requires Kernel 4.3.3+<br />
|-<br />
|}<br />
<br />
== Lenovo ==<br />
<br />
=== IdeaPad ===<br />
<br />
{{HCL/Laptops table header}}<br />
| [[Lenovo IdeaPad Flex 10]] || Yes || Yes* || Yes || NA || Yes || Yes || Yes || NA || Touchscreen* ||<br />
|-<br />
| [[Lenovo IdeaPad S10]] || Yes || Yes || Yes || Yes || Yes || Yes || NA || NA || ||<br />
|-<br />
| [[Lenovo IdeaPad S400 Touch]] || Yes || Yes || Yes || Yes || Yes || Yes || Not tested || NA || ||<br />
|-<br />
| Lenovo IdeaPad U430p || Yes || Yes || Yes || Yes || Yes || Yes || Not tested || NA || ||<br />
|-<br />
| Lenovo IdeaPad Y700 || 2015.12.01 || Yes || Yes* || Yes || Yes || Yes || Not tested || NA || Trackpad - [https://unix.stackexchange.com/questions/362165/lenovo-y700-elantech-touchpad-query-0x01-failed buggy] || [https://bugzilla.kernel.org/show_bug.cgi?id=151681 Trackpad requires pata_legacy to be blacklisted]<br />
|-<br />
| [[Lenovo IdeaPad Z580]] || Yes || Yes || Yes || Yes || Yes || Yes || Yes || NA || ||<br />
|-<br />
|}<br />
<br />
=== B series ===<br />
<br />
{{HCL/Laptops table header}}<br />
| Lenovo B50 || NA || Yes || Yes || Yes || Yes || Not tested || Not tested || Not tested || ||<br />
|-<br />
| Lenovo B50-70 || Yes || Yes* ||Yes || Yes || Yes || Yes || Not tested || NA || See below* ||<br />
|-<br />
| Lenovo B450 || Yes || Yes ||Yes || Yes || Yes || NA || Not tested || NA || ||<br />
|-<br />
|}<br />
<br />
=== K series ===<br />
<br />
{{HCL/Laptops table header}}<br />
| Lenovo K450e || NA || Yes || Yes || Yes || Yes || Not tested || Yes || Not tested || ||<br />
|-<br />
|}<br />
<br />
=== N series ===<br />
<br />
{{HCL/Laptops table header}}<br />
| Lenovo N200 (3000) || Yes || Yes* || Yes || Yes || Yes || Yes* || NA || NA || See below ||<br />
|-<br />
|}<br />
<br />
=== S series ===<br />
<br />
{{HCL/Laptops table header}}<br />
| Lenovo S21e-20 || 2015.07.01 || Yes || Yes || NA || Yes* || ? || Yes || NA || SD Card (Yes), USB 3.0 (Yes), HDMI Out (?), Touchpad (Yes*) ||<br />
|-<br />
|}<br />
<br />
=== U Series ===<br />
<br />
{{HCL/Laptops table header}}<br />
| Lenovo U31-70 || 2015.10.01 || Yes || Yes || Yes || Yes* || Yes || Yes || NA || SD Card (Yes), USB 3.0 (Yes), HDMI Out (Yes), Touchpad (Yes), Webcam (Yes) ||<br />
|-<br />
|}<br />
<br />
<br />
=== V Series ===<br />
<br />
{{HCL/Laptops table header}}<br />
| Lenovo V110-15ISK || ??? || Yes || Yes || Yes || Yes || Not Tested || Yes || NA || SD Card (Not Tested), USB 3.0 (Not Tested), HDMI Out (Not Tested), Touchpad (Yes), Webcam (Yes) ||<br />
|-<br />
|}<br />
<br />
== Special Notes (*): ==<br />
<br />
{{Accuracy|Lots of vague or unproven bugs/workarounds, poor writing}}<br />
<br />
=== Lenovo U31-70 ===<br />
Wireless needs {{Pkg|linux}} >= 4.3 and latest {{Pkg|linux-firmware}}, both packages are currently in testing. Copy one of the firmware blobs {{ic|eeprom_ar6320_2p1_NFA345i.bin}} or {{ic|eeprom_ar6320_2p1_NFA345i_highTX.bin}} from the windows driver to {{ic|/usr/lib/firmware/ath10k/QCA6174/hw2.1/board-pci-168c:0041:17aa:3545.bin}}.<br />
<br />
Wireless with firmware blobs from windows driver may no longer work on {{Pkg|linux}} >= 4.4. Download firmware blob https://github.com/kvalo/ath10k-firmware/blob/f428f53b36b144971c9c4c3d2ebd5fa8cae86c89/QCA6174/hw2.1/board-2.bin and copy it to {{ic|/usr/lib/firmware/ath10k/QCA6174/hw2.1/board-2.bin}}. Tested with {{Pkg|linux}} 4.4.5-1 and {{Pkg|linux-firmware}} 20160113.40e9ae8-1nu<br />
<br />
With packages {{Pkg|linux}} 4.6.1-2 and {{Pkg|linux-firmware}} 20160516.80d463b-1 being in stable, wireless works without any additional steps needed.<br />
<br />
=== Lenovo B50-70 ===<br />
* UEFI:<br />
** to be able to disable Secure Boot (necessary for dual boot, not needed for Linux only), you have to switch from "UEFI first" to "UEFI only" (or something like this) in UEFI setup menu; the Secure Boot option appears then on the Security tab<br />
** after UEFI update having Linux and Windows installed, the Linux bootloader ceased to be the default one, UEFI started to load Windows by default and it was impossible to select the Linux one in the UEFI boot menu and in the UEFI setup - reinstalling the bootloader helped; having no access to a boot media that supports UEFI, a solution might be also replacing the Windows EFI bootloader file with a Linux one temporalily, in order to be able to boot Linux from HDD<br />
** for the UEFI update, a Windows OS is needed<br />
* Touchpad:<br />
** Synaptics - works after installing Synaptics drivers from repo, possible to change behaviour (like reaction for double tap) according to your wish<br />
* Video:<br />
** in laptops with dual video card (Intel and ATI) - detects both, Intel is active as a default, not checked if it's possible at all to switch between them<br />
<br />
==== Operation with a HDD caddy ====<br />
When you install an SSD in the place of the plate HDD drive and you want to have your HDD still inside the laptop, it is possible to install it in the place of the optical drive in a special "HDD caddy". The optical drive is of 9 mm height, but a 9,5 mm caddy (ultra slim) fits in the slot. A caddy with a SATA interface is needed. It is difficult to separate the front bezel from the original optical drive (and opening its case does not help, but brings a danger of making a mess in the opening mechanism; the only option is just to pull the bezel using a bit of force, but you risk breaking the latches).<br />
<br />
While the HDD installed instead of the optical drive operates flawlessly in Windows, it wasn't going to work out of the box in Linux, at least in one case. The kernel tries to establish a connection with the disk, but fails to do it (''SATA link down'' entry in /var/log/messages). The solution is to force a 1.5 Gbps transfer speed (instead of 6 Gbps) by adding a ''libata.force='' kernel parameter. See [https://www.kernel.org/doc/Documentation/kernel-parameters.txt] for details.<br />
<br />
=== Lenovo K450e ===<br />
<br />
After installing Arch Linux and booting, a single beep may be heard. To disable this beep, press F1 during startup, then change Boot Priority to 'UEFI First', as well as enabling 'CSM'.<br />
<br />
=== ThinkPad X1 Carbon 3rd ===<br />
<br />
* http://natalian.org/archives/2015/02/18/Archlinux_on_a_Lenovo_X1C3/<br />
<br />
=== IBM ThinkPad T21 ===<br />
<br />
* Video: <br />
** Incapable of running DRM at 1024x768 and 24-bit color due to 8 MB VRAM. Must drop color or resolution to get DRM.<br />
** For whatever reason, external VGA output (for an external monitor) was disabled. This was fixed by doing this:<br />
*** {{ic|echo 1 > /proc/acpi/video/VID/DOS}}<br />
<br />
=== Lenovo 3000 N200 ===<br />
<br />
* Sound:<br />
** You may have to append <code>options snd_hda_intel model=lenovo</code> to <code>/etc/modprobe.d/modprobe.conf</code> for sound to work.<br />
<br />
=== IBM ThinkPad R52 ===<br />
<br />
* USB network tethering<br />
** Inbound networking via interface ''usb0'' works.<br />
<br />
=== Lenovo ThinkPad T430 ===<br />
{{Accuracy | I wasn't able to reproduce this bug as of September 2017 }}<br />
<br />
* Bluetooth (0a5c:21e6 Broadcom Corp. BCM20702 Bluetooth 4.0 [ThinkPad]) appears to be functional, even during standby or hibernation.<br />
<br />
=== Lenovo ThinkPad T440p ===<br />
<br />
* ClickPad: the whole trackpad clicks, and disabling the trackpad using older versions of synclient makes the trackpoint essentially unusable. This has been resolved in newer versions of {{Pkg|xf86-input-synaptics}}.<br />
** See [http://who-t.blogspot.com.au/2014/03/xorg-synaptics-support-for-lenovo-t440.html this article] and [http://who-t.blogspot.com.au/2013/12/lenovo-t440-touchpad-button.html previous version].<br />
** Install {{AUR|xf86-input-synlx40}}{{Broken package link|{{aur-mirror|xf86-input-synlx40}}}} and {{AUR|xf86-input-mtrack}} for alternative drivers.<br />
* Audio:<br />
** HDMI audio is the default audio output device. Consult the [[ALSA]] page for details on changing the default.<br />
** As the X100e/Mini10, it's possible to mute the headset and speaker outputs separately to the master. Muting the speaker output improves bass output on the headset port.<br />
** If the system fails to wake from sleep, it can lose sync with the internal audio card and speakers/headphones may fail to work. In this case, put the system to sleep, and wake it again and audio functionality should be restored. <br />
* The fingerprint sensor is a Validity VFS5011, which requires [https://github.com/abbradar/fprint_vfs5011 a patched fprintd] and is apparently highly unreliable.<br />
* thinkpad_acpi:<br />
** Controlling the Fn-Lock, Mute, Mic Mute or 'glowing I' LEDs is apparently not possible.<br />
** fan control does not seem to work.<br />
* Graphics and Video:<br />
** With the integrated GPU, [[xrandr]] can crash while attaching or detaching displays connected via the dock.<br />
** The built-in miniDisplayPort will sometimes spew I²C issues into the kernel log.<br />
** [[Hardware video acceleration]] is highly recommended as it performs significantly better than CPU decoding of large media files.<br />
** '''The BIOS should not be upgraded past version 1.14, as newer BIOSes cause memory corruption when used with Bumblebee.''' See [https://github.com/Bumblebee-Project/bbswitch/issues/78#issuecomment-42741698 Bumblebee GitHub]<br />
* Connectivity:<br />
** Bluetooth is ''extremely'' fragile. The controller works fine most of the time, but can cause the system to wedge totally on sleep/wake cycles, especially if a connection was active at sleep. Disable the controller using {{ic|bluetoothctl}} before sleeping.<br />
<br />
=== Lenovo ThinkPad T560 ===<br />
* No automatic brightness adjusting when switching power supply battery <-> AC<br />
<br />
<br />
* Hardware specifications of test device<br />
** CPU: Intel CORE i7-6600U @ 2.60GHz or Intel CORE i5-6200U @ 2.30GHz or Intel CORE i5-6300U @ 2.40GHz<br />
** GPU Primary: Intel HD 520<br />
** GPU Secondary: Nvidia GeForce 940MX or None<br />
** WiFi: Intel 8260<br />
** Ethernet: Intel I219-LM<br />
** Card reader: Realtek RTS522A<br />
<br />
=== Lenovo S21e-20 ===<br />
* Tested with {{Pkg|broadcom-wl-dkms}} 802.11 wireless driver<br />
* Synaptics touchpad required 3 patches to {{Pkg|linux}}:drivers/hid/hid-rmi.c on 2015-07-26 ([https://bugs.freedesktop.org/show_bug.cgi?id=91102 bug report], [https://github.com/harisokanovic/archlinux-packages/commit/f4550c211ca7809ecf926f8074c7b7250a74bd92 kernel recipe patch]). The current 4.3 kernel includes these patches. You will also need to install the xf86_64-input-synaptics package([https://www.archlinux.org/packages/?name=xf86-input-synaptics]) <br />
<br />
==== tpacpi-bat ====<br />
<br />
There is an issue with tpacpi-bat not reporting the right value for the stop threshold. This seems to be related to a buggy BIOS and can not be fixed application wise. <br />
<br />
See https://github.com/teleshoes/tpacpi-bat/issues/44<br />
<br />
==== ThinkPad Edge E420s Delay with Space Bar====<br />
Solution: Update BIOS (at least 1.08).<br />
<br />
=== Lenovo IdeaPad Y700 ===<br />
* The subwoofer does not work out of the box and it seems that there is no solution yet.<br />
<br />
== See also ==<br />
* [http://www.thinkwiki.org/wiki Think wiki]</div>XenGihttps://wiki.archlinux.org/index.php?title=Lenovo_ThinkPad_T25&diff=494258Lenovo ThinkPad T252017-10-28T19:59:21Z<p>XenGi: fixed a link to the lenovo support page</p>
<hr />
<div>[[Category:Lenovo]]<br />
[[ja:Lenovo ThinkPad T25]]<br />
{| class="wikitable" style="float: right;"<br />
| '''Device''' || '''Status''' <br />
|-<br />
| [[Intel graphics]] || {{Yes}} <br />
|-<br />
| [[NVIDIA|NVIDIA graphics]] || {{Yes}} <br />
|-<br />
| [[Wireless]] || {{Yes}}<br />
|-<br />
| [[Bluetooth]] || {{Yes}}<br />
|-<br />
| Mobile Broadband || {{Yes}}<br />
|-<br />
| [[Webcam]] || {{Yes}}<br />
|-<br />
| Microsoft Hello || {{No}}<br />
|-<br />
| [[TrackPoint]] || {{Yes}}<br />
|-<br />
| [[Touchpad]] || {{Yes}}<br />
|-<br />
| Fingerprint Reader || {{No}}<br />
|-<br />
|}<br />
<br />
This article covers the installation and configuration of Arch Linux on a Lenovo T25 Anniversary Edition laptop. It is based on the Lenovo T470 laptop so most of the hardware is identical and therefore should work like the T470.<br />
<br />
For a general overview of laptop-related articles and recommendations, see [[Laptop]].<br />
<br />
== Firmware (e.g. bios and peripherals) ==<br />
<br />
As of writing, the current BIOS version is 1.39. By visiting the downloads section (T25) an ISO can be downloaded and burned to disk which will perform the update [https://pcsupport.lenovo.com/de/en/products/laptops-and-netbooks/thinkpad-t-series-laptops/thinkpad-t25-type-20k7/downloads from Lenovo]. Or [http://www.thinkwiki.org/wiki/BIOS_Upgrade#Booting_from_a_USB_Flash_drive extracted and copied on a USB Stick].<br />
<br />
== Kernel and hardware support ==<br />
<br />
[[Hardware video acceleration]] with Kaby Lake seems to work fine via va-api.<br />
<br />
As noted in [[Intel graphics]], the {{Pkg|xf86-video-intel}} driver seems to cause more issue than the builtin {{ic|modesetting}} Xorg driver.<br />
Works fine without the intel driver (on a Skylake configuration).<br />
<br />
138a:0097 will hopefully be supported as part of [https://github.com/nmikhailov/Validity90 Validity90].<br />
<br />
=== Screen backlight ===<br />
With the {{ic|intel}} driver ({{Pkg|xf86-video-intel}} the {{ic|xbacklight}} brightness control isn't working.<br />
It is possible that, with the good {{ic|acpi_*}} kernel parameters, the backlight related keys do their job.<br />
<br />
Other workaround exists, such as described [https://bbs.archlinux.org/viewtopic.php?pid=1449243#p1449243 on this post] or in the wiki [[acpid#Enabling_backlight_control]].<br />
Using the {{Aur|acpilight}} package as a {{ic|xbacklight}} replacement works well.<br />
You can also check [https://lab.knightsofnii.com/kristaba/tpacpi-backlight this repository]] as a base to add the ACPI rules to call {{ic|xbacklight}} when backlight keys are pressed.<br />
<br />
{{Note|The {{Aur|acpilight}} package is known to allow controlling the ThinkPad keyboard backlight. Similar ACPI rules should allow to toggle it when the keyboard backlight key is pressed.}}<br />
<br />
=== Thunderbolt 3 ===<br />
With the latest kernel (4.13.9 as of writing), the ''Alpine Ridge'' thunderbolt 3 controller is recognized without any additional configuration.<br />
Using a generic thunderbolt 3 to HDMI + USB3 hub works out of the box (the HDMI output is recognized by xrandr as DP-1 output).<br />
<br />
<br />
=== UEFI boot ===<br />
After configuring the BIOS setup to allow UEFI boot (either ''UEFI only'' or ''both''), it works flawlessly.<br />
<br />
<br />
== PCI and USB devices ==<br />
<br />
=== T25 model 20K7 ===<br />
<br />
Kernel '4.13.9-1-ARCH'<br />
<br />
==== lspci ====<br />
<br />
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 02)<br />
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 620 (rev 02)<br />
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)<br />
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)<br />
00:15.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 (rev 21)<br />
00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)<br />
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #1 (rev f1)<br />
00:1c.6 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #7 (rev f1)<br />
00:1d.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #9 (rev f1)<br />
00:1d.2 PCI bridge: Intel Corporation Device 9d1a (rev f1)<br />
00:1f.0 ISA bridge: Intel Corporation Sunrise Point-LP LPC Controller (rev 21)<br />
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)<br />
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)<br />
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)<br />
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (4) I219-V (rev 21)<br />
02:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 940MX] (rev ff)<br />
04:00.0 Network controller: Intel Corporation Wireless 8265 / 8275 (rev 78)<br />
3e:00.0 Non-Volatile memory controller: Intel Corporation Device f1a5 (rev 03)<br />
<br />
==== lsusb ====<br />
<br />
Bus 002 Device 006: ID 0bda:0316 Realtek Semiconductor Corp. <br />
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub<br />
Bus 001 Device 006: ID 138a:0097 Validity Sensors, Inc. <br />
Bus 001 Device 005: ID 04f2:b5ab Chicony Electronics Co., Ltd <br />
Bus 001 Device 004: ID 8087:0a2b Intel Corp. <br />
Bus 001 Device 019: ID 1199:9079 Sierra Wireless, Inc. <br />
Bus 001 Device 002: ID 04f2:b5ac Chicony Electronics Co., Ltd <br />
Bus 001 Device 007: ID 2386:310e <br />
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<br />
<br />
== See also ==<br />
<br />
* [https://pcsupport.lenovo.com/de/en/products/laptops-and-netbooks/thinkpad-t-series-laptops/thinkpad-t25-type-20k7?beta=false Lenovo Support Page]</div>XenGihttps://wiki.archlinux.org/index.php?title=Lenovo_ThinkPad_T25&diff=494257Lenovo ThinkPad T252017-10-28T19:56:27Z<p>XenGi: fixed a link to lenovo downloads page</p>
<hr />
<div>[[Category:Lenovo]]<br />
[[ja:Lenovo ThinkPad T25]]<br />
{| class="wikitable" style="float: right;"<br />
| '''Device''' || '''Status''' <br />
|-<br />
| [[Intel graphics]] || {{Yes}} <br />
|-<br />
| [[NVIDIA|NVIDIA graphics]] || {{Yes}} <br />
|-<br />
| [[Wireless]] || {{Yes}}<br />
|-<br />
| [[Bluetooth]] || {{Yes}}<br />
|-<br />
| Mobile Broadband || {{Yes}}<br />
|-<br />
| [[Webcam]] || {{Yes}}<br />
|-<br />
| Microsoft Hello || {{No}}<br />
|-<br />
| [[TrackPoint]] || {{Yes}}<br />
|-<br />
| [[Touchpad]] || {{Yes}}<br />
|-<br />
| Fingerprint Reader || {{No}}<br />
|-<br />
|}<br />
<br />
This article covers the installation and configuration of Arch Linux on a Lenovo T25 Anniversary Edition laptop. It is based on the Lenovo T470 laptop so most of the hardware is identical and therefore should work like the T470.<br />
<br />
For a general overview of laptop-related articles and recommendations, see [[Laptop]].<br />
<br />
== Firmware (e.g. bios and peripherals) ==<br />
<br />
As of writing, the current BIOS version is 1.39. By visiting the downloads section (T25) an ISO can be downloaded and burned to disk which will perform the update [https://pcsupport.lenovo.com/de/en/products/laptops-and-netbooks/thinkpad-t-series-laptops/thinkpad-t25-type-20k7/downloads from Lenovo]. Or [http://www.thinkwiki.org/wiki/BIOS_Upgrade#Booting_from_a_USB_Flash_drive extracted and copied on a USB Stick].<br />
<br />
== Kernel and hardware support ==<br />
<br />
[[Hardware video acceleration]] with Kaby Lake seems to work fine via va-api.<br />
<br />
As noted in [[Intel graphics]], the {{Pkg|xf86-video-intel}} driver seems to cause more issue than the builtin {{ic|modesetting}} Xorg driver.<br />
Works fine without the intel driver (on a Skylake configuration).<br />
<br />
138a:0097 will hopefully be supported as part of [https://github.com/nmikhailov/Validity90 Validity90].<br />
<br />
=== Screen backlight ===<br />
With the {{ic|intel}} driver ({{Pkg|xf86-video-intel}} the {{ic|xbacklight}} brightness control isn't working.<br />
It is possible that, with the good {{ic|acpi_*}} kernel parameters, the backlight related keys do their job.<br />
<br />
Other workaround exists, such as described [https://bbs.archlinux.org/viewtopic.php?pid=1449243#p1449243 on this post] or in the wiki [[acpid#Enabling_backlight_control]].<br />
Using the {{Aur|acpilight}} package as a {{ic|xbacklight}} replacement works well.<br />
You can also check [https://lab.knightsofnii.com/kristaba/tpacpi-backlight this repository]] as a base to add the ACPI rules to call {{ic|xbacklight}} when backlight keys are pressed.<br />
<br />
{{Note|The {{Aur|acpilight}} package is known to allow controlling the ThinkPad keyboard backlight. Similar ACPI rules should allow to toggle it when the keyboard backlight key is pressed.}}<br />
<br />
=== Thunderbolt 3 ===<br />
With the latest kernel (4.13.9 as of writing), the ''Alpine Ridge'' thunderbolt 3 controller is recognized without any additional configuration.<br />
Using a generic thunderbolt 3 to HDMI + USB3 hub works out of the box (the HDMI output is recognized by xrandr as DP-1 output).<br />
<br />
<br />
=== UEFI boot ===<br />
After configuring the BIOS setup to allow UEFI boot (either ''UEFI only'' or ''both''), it works flawlessly.<br />
<br />
<br />
== PCI and USB devices ==<br />
<br />
=== T25 model 20K7 ===<br />
<br />
Kernel '4.13.9-1-ARCH'<br />
<br />
==== lspci ====<br />
<br />
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 02)<br />
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 620 (rev 02)<br />
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)<br />
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)<br />
00:15.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 (rev 21)<br />
00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)<br />
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #1 (rev f1)<br />
00:1c.6 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #7 (rev f1)<br />
00:1d.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #9 (rev f1)<br />
00:1d.2 PCI bridge: Intel Corporation Device 9d1a (rev f1)<br />
00:1f.0 ISA bridge: Intel Corporation Sunrise Point-LP LPC Controller (rev 21)<br />
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)<br />
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)<br />
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)<br />
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (4) I219-V (rev 21)<br />
02:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 940MX] (rev ff)<br />
04:00.0 Network controller: Intel Corporation Wireless 8265 / 8275 (rev 78)<br />
3e:00.0 Non-Volatile memory controller: Intel Corporation Device f1a5 (rev 03)<br />
<br />
==== lsusb ====<br />
<br />
Bus 002 Device 006: ID 0bda:0316 Realtek Semiconductor Corp. <br />
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub<br />
Bus 001 Device 006: ID 138a:0097 Validity Sensors, Inc. <br />
Bus 001 Device 005: ID 04f2:b5ab Chicony Electronics Co., Ltd <br />
Bus 001 Device 004: ID 8087:0a2b Intel Corp. <br />
Bus 001 Device 019: ID 1199:9079 Sierra Wireless, Inc. <br />
Bus 001 Device 002: ID 04f2:b5ac Chicony Electronics Co., Ltd <br />
Bus 001 Device 007: ID 2386:310e <br />
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<br />
<br />
== See also ==<br />
<br />
* [http://support.lenovo.com/us/en/products/Laptops-and-netbooks/ThinkPad-T-Series-laptops/ThinkPad-T470?beta=false Lenovo Support Page]</div>XenGihttps://wiki.archlinux.org/index.php?title=Lenovo_ThinkPad_T25&diff=494256Lenovo ThinkPad T252017-10-28T19:55:12Z<p>XenGi: added a note that the t25 is based off the t470</p>
<hr />
<div>[[Category:Lenovo]]<br />
[[ja:Lenovo ThinkPad T25]]<br />
{| class="wikitable" style="float: right;"<br />
| '''Device''' || '''Status''' <br />
|-<br />
| [[Intel graphics]] || {{Yes}} <br />
|-<br />
| [[NVIDIA|NVIDIA graphics]] || {{Yes}} <br />
|-<br />
| [[Wireless]] || {{Yes}}<br />
|-<br />
| [[Bluetooth]] || {{Yes}}<br />
|-<br />
| Mobile Broadband || {{Yes}}<br />
|-<br />
| [[Webcam]] || {{Yes}}<br />
|-<br />
| Microsoft Hello || {{No}}<br />
|-<br />
| [[TrackPoint]] || {{Yes}}<br />
|-<br />
| [[Touchpad]] || {{Yes}}<br />
|-<br />
| Fingerprint Reader || {{No}}<br />
|-<br />
|}<br />
<br />
This article covers the installation and configuration of Arch Linux on a Lenovo T25 Anniversary Edition laptop. It is based on the Lenovo T470 laptop so most of the hardware is identical and therefore should work like the T470.<br />
<br />
For a general overview of laptop-related articles and recommendations, see [[Laptop]].<br />
<br />
== Firmware (e.g. bios and peripherals) ==<br />
<br />
As of writing, the current BIOS version is 1.39. By visiting the downloads section (T25) an ISO can be downloaded and burned to disk which will perform the update [http://pcsupport.lenovo.com/gb/en/products/laptops-and-netbooks/thinkpad-t-series-laptops/thinkpad-t25/downloads from Lenovo]. Or [http://www.thinkwiki.org/wiki/BIOS_Upgrade#Booting_from_a_USB_Flash_drive extracted and copied on a USB Stick].<br />
<br />
== Kernel and hardware support ==<br />
<br />
[[Hardware video acceleration]] with Kaby Lake seems to work fine via va-api.<br />
<br />
As noted in [[Intel graphics]], the {{Pkg|xf86-video-intel}} driver seems to cause more issue than the builtin {{ic|modesetting}} Xorg driver.<br />
Works fine without the intel driver (on a Skylake configuration).<br />
<br />
138a:0097 will hopefully be supported as part of [https://github.com/nmikhailov/Validity90 Validity90].<br />
<br />
=== Screen backlight ===<br />
With the {{ic|intel}} driver ({{Pkg|xf86-video-intel}} the {{ic|xbacklight}} brightness control isn't working.<br />
It is possible that, with the good {{ic|acpi_*}} kernel parameters, the backlight related keys do their job.<br />
<br />
Other workaround exists, such as described [https://bbs.archlinux.org/viewtopic.php?pid=1449243#p1449243 on this post] or in the wiki [[acpid#Enabling_backlight_control]].<br />
Using the {{Aur|acpilight}} package as a {{ic|xbacklight}} replacement works well.<br />
You can also check [https://lab.knightsofnii.com/kristaba/tpacpi-backlight this repository]] as a base to add the ACPI rules to call {{ic|xbacklight}} when backlight keys are pressed.<br />
<br />
{{Note|The {{Aur|acpilight}} package is known to allow controlling the ThinkPad keyboard backlight. Similar ACPI rules should allow to toggle it when the keyboard backlight key is pressed.}}<br />
<br />
=== Thunderbolt 3 ===<br />
With the latest kernel (4.13.9 as of writing), the ''Alpine Ridge'' thunderbolt 3 controller is recognized without any additional configuration.<br />
Using a generic thunderbolt 3 to HDMI + USB3 hub works out of the box (the HDMI output is recognized by xrandr as DP-1 output).<br />
<br />
<br />
=== UEFI boot ===<br />
After configuring the BIOS setup to allow UEFI boot (either ''UEFI only'' or ''both''), it works flawlessly.<br />
<br />
<br />
== PCI and USB devices ==<br />
<br />
=== T25 model 20K7 ===<br />
<br />
Kernel '4.13.9-1-ARCH'<br />
<br />
==== lspci ====<br />
<br />
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 02)<br />
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 620 (rev 02)<br />
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)<br />
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)<br />
00:15.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 (rev 21)<br />
00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)<br />
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #1 (rev f1)<br />
00:1c.6 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #7 (rev f1)<br />
00:1d.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #9 (rev f1)<br />
00:1d.2 PCI bridge: Intel Corporation Device 9d1a (rev f1)<br />
00:1f.0 ISA bridge: Intel Corporation Sunrise Point-LP LPC Controller (rev 21)<br />
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)<br />
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)<br />
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)<br />
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (4) I219-V (rev 21)<br />
02:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 940MX] (rev ff)<br />
04:00.0 Network controller: Intel Corporation Wireless 8265 / 8275 (rev 78)<br />
3e:00.0 Non-Volatile memory controller: Intel Corporation Device f1a5 (rev 03)<br />
<br />
==== lsusb ====<br />
<br />
Bus 002 Device 006: ID 0bda:0316 Realtek Semiconductor Corp. <br />
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub<br />
Bus 001 Device 006: ID 138a:0097 Validity Sensors, Inc. <br />
Bus 001 Device 005: ID 04f2:b5ab Chicony Electronics Co., Ltd <br />
Bus 001 Device 004: ID 8087:0a2b Intel Corp. <br />
Bus 001 Device 019: ID 1199:9079 Sierra Wireless, Inc. <br />
Bus 001 Device 002: ID 04f2:b5ac Chicony Electronics Co., Ltd <br />
Bus 001 Device 007: ID 2386:310e <br />
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<br />
<br />
== See also ==<br />
<br />
* [http://support.lenovo.com/us/en/products/Laptops-and-netbooks/ThinkPad-T-Series-laptops/ThinkPad-T470?beta=false Lenovo Support Page]</div>XenGihttps://wiki.archlinux.org/index.php?title=Lenovo_ThinkPad_T25&diff=494255Lenovo ThinkPad T252017-10-28T19:53:43Z<p>XenGi: Created page with "Category:Lenovo ja:Lenovo ThinkPad T25 {| class="wikitable" style="float: right;" | '''Device''' || '''Status''' |- | Intel graphics || {{Yes}} |- | NVIDIA|NVI..."</p>
<hr />
<div>[[Category:Lenovo]]<br />
[[ja:Lenovo ThinkPad T25]]<br />
{| class="wikitable" style="float: right;"<br />
| '''Device''' || '''Status''' <br />
|-<br />
| [[Intel graphics]] || {{Yes}} <br />
|-<br />
| [[NVIDIA|NVIDIA graphics]] || {{Yes}} <br />
|-<br />
| [[Wireless]] || {{Yes}}<br />
|-<br />
| [[Bluetooth]] || {{Yes}}<br />
|-<br />
| Mobile Broadband || {{Yes}}<br />
|-<br />
| [[Webcam]] || {{Yes}}<br />
|-<br />
| Microsoft Hello || {{No}}<br />
|-<br />
| [[TrackPoint]] || {{Yes}}<br />
|-<br />
| [[Touchpad]] || {{Yes}}<br />
|-<br />
| Fingerprint Reader || {{No}}<br />
|-<br />
|}<br />
<br />
This article covers the installation and configuration of Arch Linux on a Lenovo T25 Anniversary Edition laptop.<br />
<br />
For a general overview of laptop-related articles and recommendations, see [[Laptop]].<br />
<br />
== Firmware (e.g. bios and peripherals) ==<br />
<br />
As of writing, the current BIOS version is 1.39. By visiting the downloads section (T25) an ISO can be downloaded and burned to disk which will perform the update [http://pcsupport.lenovo.com/gb/en/products/laptops-and-netbooks/thinkpad-t-series-laptops/thinkpad-t25/downloads from Lenovo]. Or [http://www.thinkwiki.org/wiki/BIOS_Upgrade#Booting_from_a_USB_Flash_drive extracted and copied on a USB Stick].<br />
<br />
== Kernel and hardware support ==<br />
<br />
[[Hardware video acceleration]] with Kaby Lake seems to work fine via va-api.<br />
<br />
As noted in [[Intel graphics]], the {{Pkg|xf86-video-intel}} driver seems to cause more issue than the builtin {{ic|modesetting}} Xorg driver.<br />
Works fine without the intel driver (on a Skylake configuration).<br />
<br />
138a:0097 will hopefully be supported as part of [https://github.com/nmikhailov/Validity90 Validity90].<br />
<br />
=== Screen backlight ===<br />
With the {{ic|intel}} driver ({{Pkg|xf86-video-intel}} the {{ic|xbacklight}} brightness control isn't working.<br />
It is possible that, with the good {{ic|acpi_*}} kernel parameters, the backlight related keys do their job.<br />
<br />
Other workaround exists, such as described [https://bbs.archlinux.org/viewtopic.php?pid=1449243#p1449243 on this post] or in the wiki [[acpid#Enabling_backlight_control]].<br />
Using the {{Aur|acpilight}} package as a {{ic|xbacklight}} replacement works well.<br />
You can also check [https://lab.knightsofnii.com/kristaba/tpacpi-backlight this repository]] as a base to add the ACPI rules to call {{ic|xbacklight}} when backlight keys are pressed.<br />
<br />
{{Note|The {{Aur|acpilight}} package is known to allow controlling the ThinkPad keyboard backlight. Similar ACPI rules should allow to toggle it when the keyboard backlight key is pressed.}}<br />
<br />
=== Thunderbolt 3 ===<br />
With the latest kernel (4.13.9 as of writing), the ''Alpine Ridge'' thunderbolt 3 controller is recognized without any additional configuration.<br />
Using a generic thunderbolt 3 to HDMI + USB3 hub works out of the box (the HDMI output is recognized by xrandr as DP-1 output).<br />
<br />
<br />
=== UEFI boot ===<br />
After configuring the BIOS setup to allow UEFI boot (either ''UEFI only'' or ''both''), it works flawlessly.<br />
<br />
<br />
== PCI and USB devices ==<br />
<br />
=== T25 model 20K7 ===<br />
<br />
Kernel '4.13.9-1-ARCH'<br />
<br />
==== lspci ====<br />
<br />
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 02)<br />
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 620 (rev 02)<br />
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)<br />
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)<br />
00:15.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 (rev 21)<br />
00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)<br />
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #1 (rev f1)<br />
00:1c.6 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #7 (rev f1)<br />
00:1d.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #9 (rev f1)<br />
00:1d.2 PCI bridge: Intel Corporation Device 9d1a (rev f1)<br />
00:1f.0 ISA bridge: Intel Corporation Sunrise Point-LP LPC Controller (rev 21)<br />
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)<br />
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)<br />
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)<br />
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (4) I219-V (rev 21)<br />
02:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 940MX] (rev ff)<br />
04:00.0 Network controller: Intel Corporation Wireless 8265 / 8275 (rev 78)<br />
3e:00.0 Non-Volatile memory controller: Intel Corporation Device f1a5 (rev 03)<br />
<br />
==== lsusb ====<br />
<br />
Bus 002 Device 006: ID 0bda:0316 Realtek Semiconductor Corp. <br />
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub<br />
Bus 001 Device 006: ID 138a:0097 Validity Sensors, Inc. <br />
Bus 001 Device 005: ID 04f2:b5ab Chicony Electronics Co., Ltd <br />
Bus 001 Device 004: ID 8087:0a2b Intel Corp. <br />
Bus 001 Device 019: ID 1199:9079 Sierra Wireless, Inc. <br />
Bus 001 Device 002: ID 04f2:b5ac Chicony Electronics Co., Ltd <br />
Bus 001 Device 007: ID 2386:310e <br />
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<br />
<br />
== See also ==<br />
<br />
* [http://support.lenovo.com/us/en/products/Laptops-and-netbooks/ThinkPad-T-Series-laptops/ThinkPad-T470?beta=false Lenovo Support Page]</div>XenGihttps://wiki.archlinux.org/index.php?title=Keyboard_backlight&diff=443877Keyboard backlight2016-07-31T12:03:54Z<p>XenGi: done some code cleanup with the python script</p>
<hr />
<div>[[Category:Keyboards]]<br />
<br />
== Any vendor ==<br />
<br />
You can control your computer keyboard backlight via the [[D-Bus]] interface.<br />
The benefits of using it are that no modification to device files is required<br />
and it is vendor agnostic.<br />
<br />
Here is an example implementation in [[Python]] 3.<br />
Place the following script in {{ic|/usr/local/bin/}} and make it executable.<br />
You can then map your keyboard shortcuts to run {{ic|/usr/local/bin/kb-light.py +}}<br />
and {{ic|/usr/local/bin/kb-light.py -}} to increase and decrease your keyboard<br />
backlight level.<br />
<br />
{{hc|/usr/local/bin/kb-light.py|<nowiki><br />
#!/usr/bin/env python3<br />
# coding: utf-8<br />
<br />
from sys import argv<br />
import dbus<br />
<br />
<br />
def kb_light_set(delta):<br />
bus = dbus.SystemBus()<br />
kbd_backlight_proxy = bus.get_object('org.freedesktop.UPower', '/org/freedesktop/UPower/KbdBacklight')<br />
kbd_backlight = dbus.Interface(kbd_backlight_proxy, 'org.freedesktop.UPower.KbdBacklight')<br />
<br />
current = kbd_backlight.GetBrightness()<br />
maximum = kbd_backlight.GetMaxBrightness()<br />
new = max(0, current + delta)<br />
<br />
if new >= 0 and new <= maximum:<br />
current = new<br />
kbd_backlight.SetBrightness(current)<br />
<br />
# Return current backlight level percentage<br />
return 100 * current / maximum<br />
<br />
if __name__ == '__main__':<br />
if len(argv[1:]) == 1:<br />
if argv[1] == "--up" or argv[1] == "+":<br />
# ./kb-light.py (+|--up) to increment<br />
print(kb_light_set(1))<br />
elif argv[1] == "--down" or argv[1] == "-":<br />
# ./kb-light.py (-|--down) to decrement<br />
print(kb_light_set(-1))<br />
else:<br />
print("Unknown argument:", argv[1])<br />
else:<br />
print("Script takes exactly one argument.", len(argv[1:]), "arguments provided.")</nowiki>}}<br />
<br />
== Asus ==<br />
<br />
{{Warning|The following way is not recommended. It provides world-writeable permissions to the keyboard backlight device file meaning that any and every user can control it.}}<br />
The keyboard backlight file is usually locked out from editing. To unlock this file at bootup, you will need to create a [[systemd]] service.<br />
<br />
{{hc|/usr/lib/systemd/system/asus-kbd-backlight.service|<nowiki><br />
[Unit]<br />
Description=Asus Keyboard Backlight<br />
Wants=systemd-backlight@leds:asus::kbd_backlight.service<br />
After=systemd-backlight@leds:asus::kbd_backlight.service<br />
<br />
[Service]<br />
Type=oneshot<br />
RemainAfterExit=yes<br />
ExecStart=/bin/chmod 666 /sys/class/leds/asus::kbd_backlight/brightness<br />
<br />
[Install]<br />
WantedBy=multi-user.target</nowiki>}}<br />
You are now able to use a keyboard backlight changer script. For an example, see [[ASUS G55VW#keyboard backlight script]].</div>XenGihttps://wiki.archlinux.org/index.php?title=Nextcloud&diff=337378Nextcloud2014-09-26T00:30:09Z<p>XenGi: updated config file</p>
<hr />
<div>[[Category:Web Server]]<br />
[[fr:Owncloud]]<br />
[[ja:Owncloud]]<br />
{{lowercase title}}<br />
{{Related articles start}}<br />
{{Related|LAMP}}<br />
{{Related|Nginx}}<br />
{{Related|OpenSSL}}<br />
{{Related articles end}}<br />
From [[Wikipedia:ownCloud|Wikipedia]]:<br />
: ''ownCloud is a software suite that provides a location-independent storage area for data (cloud storage).''<br />
The ownCloud installation and configuration mainly depends on what web server and database you decide to run. Currently the wiki discusses [[#Apache configuration]] and [[#Nginx + uwsgi_php configuration]].<br />
== Prerequisites ==<br />
<br />
''ownCloud'' needs a [[:Category:Web_Server|web server]], [[PHP]] and a [[:Category:Database_management_systems|database]]. For instance, a classic [[LAMP|LAMP stack]] should work fine and is the [http://doc.owncloud.org/server/7.0/admin_manual/installation/installation_source.html#manual-installation recommended configuration].<br />
<br />
== Installation ==<br />
<br />
[[pacman|Install]] {{Pkg|owncloud}} from the [[official repositories]]. Alternatively see the packages available in the [[Arch User Repository]]: [https://aur.archlinux.org/packages.php?K=owncloud].<br />
<br />
Uncomment the following '''required''' extensions in {{ic|/etc/php/php.ini}}:<br />
gd.so<br />
iconv.so<br />
xmlrpc.so<br />
zip.so<br />
<br />
It is also [http://doc.owncloud.org/server/7.0/admin_manual/installation/installation_source.html#prerequisites recommended] to install {{Pkg|php-intl}}, {{Pkg|php-mcrypt}} and uncomment the following extensions:<br />
bz2.so<br />
curl.so<br />
intl.so<br />
mcrypt.so<br />
openssl.so<br />
<br />
For enhanced performance, you may install ''either'':<br />
* {{Pkg|php-apcu}}: only provides user data caching. Enable it by removing the comment in {{ic|/etc/php/conf.d/apcu.ini}}. Then for opcode caching use the [http://www.php.net/manual/de/book.opcache.php opcache extension]: uncomment {{ic|1=zend_extension=opcache.so}} in {{ic|/etc/php/php.ini}}.<br />
* {{Pkg|php-xcache}}: development version which provides both an opcode and user data cache. Uncomment it in {{ic|/etc/php/conf.d/xcache.ini}} after installation.<br />
<br />
==== Database support ====<br />
Depending on which database backend you are going to use, uncomment both of the following two extensions in {{ic|/etc/php/php.ini}}:<br />
{| class="wikitable"<br />
!SQLite!!MySQL!!PostgreSQL<br />
|-<br />
|{{bc|pdo_sqlite.so<br />
sqlite3.so}}<br />
|{{bc|pdo_mysql.so<br />
mysql.so}}<br />
|{{bc|pdo_pgsql.so<br />
pgsql.so}}<br />
|-<br />
|}<br />
<br />
{{note|1=When using [[MySQL]] you need {{ic|mysql.so}}, even though it's deprecated. As of July 2014 (ownCloud 7.0) {{ic|mysqli.so}} is not supported.[http://doc.owncloud.org/server/7.0/admin_manual/configuration/configuration_database.html][https://forum.owncloud.org/viewtopic.php?f=26&t=21534]}}<br />
Don't forget to install the appropriate php-module for the database. In the PostgreSQL case thats {{Pkg|php-pgsql}} or for SQLite {{Pkg|php-sqlite}}.<br />
<br />
==== Exif support ====<br />
Additionally enable exif support by installing {{Pkg|exiv2}} from the [[official repositories]] and uncommenting the {{ic|exif.so}} extension in {{ic|php.ini}}.<br />
<br />
== Docker ==<br />
<br />
A quick and safe alternative to installing and configuring ownCloud on your own is to use a [[Docker]] linux container. You can find several images of fully working LAMP stack with pre-installed ownCloud in the [https://index.docker.io/search?q=ownCloud Docker repositories]. Docker containers are generally safer than a chroot environment and the overhead is very low, ownCloud in docker works smoothly even on quite old machines. The whole setup including installing Docker and ownCloud image is considerably easier and quicker than a native installation.<br />
<br />
== Apache configuration ==<br />
<br />
=== Installation ===<br />
<br />
Set up the [[LAMP]] stack. <br />
<br />
Copy the Apache configuration file to its configuration directory:<br />
# cp /etc/webapps/owncloud/apache.example.conf /etc/httpd/conf/extra/owncloud.conf<br />
<br />
And include it at the bottom of {{ic|/etc/httpd/conf/httpd.conf}}:<br />
Include conf/extra/owncloud.conf<br />
<br />
OwnCloud comes with its own WebDAV implementation enabled, which might conflict with the one shipped with Apache. OwnCloud [http://forum.owncloud.org/viewtopic.php?f=17&t=7240 recommends] to disable {{ic|mod_dav}} and {{ic|mod_dav_fs}} in {{ic|/etc/httpd/conf/httpd.conf}}.<br />
<br />
Make sure the web server can write to the ownCloud directory:<br />
# chown -R http:http /usr/share/webapps/owncloud/<br />
<br />
Now restart Apache ({{ic|httpd.service}}).<br />
<br />
Open http://localhost/ in your browser. You should now be able to create a user account and follow the installation wizard.<br />
<br />
==== Running ownCloud in a subdirectory ====<br />
<br />
By including the default {{ic|owncloud.conf}} in {{ic|httpd.conf}}, ownCloud will take control of port 80 and your localhost domain. <br />
<br />
If you would like to have ownCloud run in a subdirectory, then edit the {{ic|/etc/httpd/conf/extra/owncloud.conf}} you included and comment out the {{ic|<nowiki><VirtualHost *:80> ... </VirtualHost></nowiki>}} part of the include file.<br />
<br />
== Nginx + uwsgi_php configuration ==<br />
<br />
You can avoid the use of Apache, and run ownCloud in it's own process by using the {{pkg|uwsgi-plugin-php}} application server. uWSGI itself has a wealth of features to limit the resource use, and to harden the security of the application, and by being a separate process it can run under its own user.<br />
*First of all you should set up your Nginx server. See the [[Nginx]] page for further information.<br />
*Set a server with the following lines in the http section of your {{ic|/etc/nginx/nginx.conf}} file:<br />
{{bc|<nowiki><br />
#this is to avoid Request Entity Too Large error<br />
client_max_body_size 1000M;<br />
# deny access to some special files<br />
location ~ ^/(data|config|\.ht|db_structure\.xml|README) {<br />
deny all;<br />
}<br />
# pass all .php or .php/path urls to uWSGI<br />
location ~ ^(.+\.php)(.*)$ {<br />
include uwsgi_params;<br />
uwsgi_modifier1 14;<br />
uwsgi_pass 127.0.0.1:3001;<br />
}<br />
# everything else goes to the filesystem,<br />
# but / will be mapped to index.php and run through uwsgi<br />
location / {<br />
root /usr/share/webapps/owncloud;<br />
index index.php;<br />
rewrite ^/.well-known/carddav /remote.php/carddav/ redirect;<br />
rewrite ^/.well-known/caldav /remote.php/caldav/ redirect;<br />
}<br />
</nowiki>}}<br />
*Then create a [[Uwsgi|uWSGI]] config file. {{ic|/etc/uwsgi/owncloud.ini}} could be a good choice:<br />
{{bc|<nowiki><br />
[uwsgi]<br />
master = true<br />
socket = 127.0.0.1:3001<br />
<br />
# Change this to where you want ownlcoud data to be stored (maybe /home/owncloud)<br />
owncloud_data_dir = /usr/share/webapps/owncloud/data/<br />
chdir = %(owncloud_data_dir)<br />
<br />
plugins = php<br />
php-docroot = /usr/share/webapps/owncloud<br />
php-index = index.php<br />
<br />
# only allow these php files, I don't want to inadvertently run something else<br />
php-allowed-ext = /index.php<br />
php-allowed-ext = /public.php<br />
php-allowed-ext = /remote.php<br />
php-allowed-ext = /cron.php<br />
php-allowed-ext = /status.php<br />
php-allowed-ext = /settings/apps.php<br />
php-allowed-ext = /core/ajax/update.php<br />
php-allowed-ext = /core/ajax/share.php<br />
php-allowed-ext = /core/ajax/requesttoken.php<br />
php-allowed-ext = /core/ajax/translations.php<br />
php-allowed-ext = /search/ajax/search.php<br />
php-allowed-ext = /search/templates/part.results.php<br />
php-allowed-ext = /settings/admin.php<br />
php-allowed-ext = /settings/users.php<br />
php-allowed-ext = /settings/personal.php<br />
php-allowed-ext = /settings/help.php<br />
php-allowed-ext = /settings/ajax/getlog.php<br />
php-allowed-ext = /settings/ajax/setlanguage.php<br />
php-allowed-ext = /settings/ajax/setquota.php<br />
php-allowed-ext = /settings/ajax/userlist.php<br />
php-allowed-ext = /settings/ajax/createuser.php<br />
php-allowed-ext = /settings/ajax/removeuser.php<br />
php-allowed-ext = /settings/ajax/enableapp.php<br />
php-allowed-ext = /core/ajax/appconfig.php<br />
php-allowed-ext = /settings/ajax/setloglevel.php<br />
<br />
# set php configuration for this instance of php, no need to edit global php.ini<br />
php-set = date.timezone=Etc/UTC<br />
php-set = open_basedir=%(owncloud_data_dir):/tmp/:/usr/share/pear/:/usr/share/webapps/owncloud:/etc/webapps/owncloud<br />
php-set = session.save_path=/tmp<br />
php-set = post_max_size=1000M<br />
php-set = upload_max_filesize=1000M<br />
<br />
# load all extensions only in this instance of php, no need to edit global php.ini<br />
php-set = extension=bz2.so<br />
php-set = extension=curl.so<br />
php-set = extension=intl.so<br />
php-set = extension=openssl.so<br />
php-set = extension=pdo_sqlite.so<br />
php-set = extension=exif.so<br />
php-set = extension=gd.so<br />
php-set = extension=imagick.so<br />
php-set = extension=gmp.so<br />
php-set = extension=iconv.so<br />
php-set = extension=mcrypt.so<br />
php-set = extension=sockets.so<br />
php-set = extension=sqlite3.so<br />
php-set = extension=xmlrpc.so<br />
php-set = extension=xsl.so<br />
php-set = extension=zip.so<br />
<br />
processes = 10<br />
cheaper = 2<br />
cron = -3 -1 -1 -1 -1 /usr/bin/php -f /usr/share/webapps/owncloud/cron.php 1>/dev/null<br />
<br />
</nowiki>}}<br />
*You can run it with:<br />
# uwsgi_php --ini /etc/uwsgi/owncloud.ini<br />
*Otherwise, a simple systemd unit file to start the uwsgi instance can be (this is without using the emperor):<br />
{{bc|<nowiki><br />
[Unit]<br />
Description=OwnCloud service via uWSGI-PHP<br />
<br />
[Service]<br />
User=http<br />
ExecStart=/usr/bin/uwsgi_php --ini /etc/uwsgi/owncloud.ini<br />
ExecReload=/bin/kill -HUP $MAINPID<br />
KillSignal=SIGQUIT<br />
Restart=always<br />
<br />
[Install]<br />
WantedBy=multi-user.target<br />
</nowiki>}}<br />
<br />
== Sync Clients ==<br />
<br />
The official clients can be found in this page : [http://owncloud.org/install/ Sync Clients]<br />
Also take notice that while the official ownCloud android app is a paid app on the play store, it is not a paid app on [https://f-droid.org/ F-Droid].<br />
<br />
=== Syncing Calendar and Contacts with Thunderbird ===<br />
<br />
==== Calendar ====<br />
<br />
You can install [[Thunderbird]]'s Lightning add-on and use CalDav, with the address:<br />
<br />
http://''username'':''password''@''owncloudserver_address''/owncloud/remote.php/caldav/calendars/''username''/''calendarname''<br />
<br />
You could need to restart Thunderbird in order to sync the calendar properly.<br />
<br />
==== Contacts ====<br />
<br />
You can install the [http://www.sogo.nu/downloads/frontends.html SOGo frontend] and sync your contacts with the CardDav protocol (See also the [http://doc.owncloud.org/server/6.0/user_manual/pim/sync_thunderbird.html user manual]).<br />
<br />
== Filling ownCloud with data ==<br />
<br />
=== WebDAV ===<br />
<br />
Always use [[WebDAV]] or the web interface to add new files to your ownCloud. Otherwise they will not show up correctly, as they do not get indexed right.<br />
No further configuration is necessary to enable WebDAV uploads in ownCloud. <br />
<br />
Consider installing and enabling [[php-apcu]] to speed up WebDAV.<br />
<br />
==== Mounting your ownCloud with davfs2 ====<br />
<br />
If you want to mount your ownCloud permanently install {{Pkg|davfs2}} (as described in [[Davfs]]) first.<br />
<br />
Considering your ownCloud were at {{ic|https://own.example.com}}, your WebDAV URL would be {{ic|https://own.example.com/remote.php/webdav}} (as of ownCloud 6.0).<br />
<br />
To mount your ownCloud, use (only possible as root):<br />
<br />
$ mount https://own.example.com/remote.php/webdav /path/to/mount<br />
<br />
You can also create an entry for this in {{ic|/etc/fstab}}<br />
<br />
{{hc|/etc/fstab|<br />
https://own.example.com/remote.php/webdav /path/to/mount rw,user,noauto 0 0<br />
}}<br />
{{Tip|In order to allow automount you can also store your username (and password if you like) in a file as described in [[Davfs#Mounting as regular user]]}}<br />
<br />
=== SABnzbd ===<br />
<br />
When using [[SABnzbd]], you might want to set<br />
folder_rename 0<br />
in your sabnzbd.ini file, because ownCloud will scan the files as soon as they get uploaded, preventing SABnzbd from removing UNPACKING prefixes etc.<br />
<br />
=== Big files ===<br />
{{out of date|Does this still apply?}}<br />
WebDAV isn't suitable for big files, because it fills up all the RAM and CPU.<br />
<br />
With the current version, it looks like, there is no good way of copying huge amounts of data to your ownCloud.<br />
<br />
Here's a Workaround:<br />
<br />
Copy the files directly to your ownCloud and do a full re-scan of your database (you could use the [http://apps.owncloud.com/content/show.php?content=151948&forumpage=0&PHPSESSID=37b915160effcc0f37cc761ad2ab88be Re-scan filesystem] add-on for example).<br />
<br />
But beware that this will not work as easily in the future, when end-to-end encryption gets added to ownCloud (this is a planned feature).<br />
<br />
== Important notes ==<br />
<br />
* When using a subdomain (like cloud.example.net), make sure it is covered by your certificate. Otherwise, connection via the ownCloud client or webdav might fail.<br />
<br />
* If you are planning on using ownCloud's [http://owncloud.org/sync-clients/ sync-clients], make sure to have [[ntpd]] installed and running on your ownCloud server, otherwise the sync-clients will fail.<br />
<br />
* Add some [[LAMP#SSL|SSL encryption]] to your connection!<br />
(If adding SSL encryption as above, be sure to edit /etc/httpd/conf/extra/httpd-ssl.conf and change DocumentRoot "/srv/http" to DocumentRoot "/usr/share/webapps/owncloud" )<br />
<br />
* More Apps for ownCloud can be found [http://apps.owncloud.com/ here]<br />
<br />
* To install an new application, download the zip from the apps store, extract it into /srv/http/owncloud/apps/.<br />
Afterwards restart httpd:<br />
<br />
# systemctl restart httpd<br />
<br />
log into your server go to the app sections you should see the new apps in there,<br />
<br />
* If you are protecting access to your ownCloud location with HTTP basic auth, the file "status.php" must be excluded from auth and be publicly accessible. [https://github.com/owncloud/mirall/issues/734]<br />
<br />
== Troubleshooting ==<br />
<br />
=== Self-signed certificate not accepted ===<br />
<br />
OwnCloud uses [[Wikipedia:cURL]] and [[Wikipedia:SabreDAV]] to check if [[WebDAV]] is enabled. If you use a SSL/TLS with a self-signed certificate, e.g. as shown in [[LAMP]] and access ownClouds admin panel, you will see the following error message:<br />
<br />
Your web server is not yet properly setup to allow files synchronization because the WebDAV interface seems to be broken.<br />
<br />
Assuming that you followed the [[LAMP]]-tutorial, execute the following steps:<br />
<br />
Create local directory for non-distribution certificates and copy [[LAMP]]s certificate there. This will prevent {{Ic|ca-certificates}}-updates to overwrite it.<br />
<br />
# cp /etc/httpd/conf/server.crt /usr/share/ca-certificates/''WWW.EXAMPLE.COM.crt''<br />
<br />
Add ''WWW.EXAMPLE.COM.crt'' to {{ic|/etc/ca-certificates.conf}}:<br />
<br />
''WWW.EXAMPLE.COM.crt''<br />
<br />
Now, regenerate your certificate store:<br />
<br />
# update-ca-certificates<br />
<br />
Restart the httpd service to activate your certificate.<br />
<br />
<br />
Should this not work consider disabling mod_curl in /etc/php/php.ini.<br />
<br />
=== Can't write into config directory! ===<br />
<br />
Check your httpd conf file (like owncloud.conf). Add your config dir (/etc/webapps by default) to <br />
php_admin_value open_basedir "/srv/http/:/home/:/tmp/:/usr/share/pear/:/usr/share/webapps/:/path/to/dir/"<br />
<br />
Restart the httpd or php-fpm service to activate the change.<br />
<br />
=== Can't create data directory (/path/to/dir) ===<br />
<br />
Check your httpd conf file (like owncloud.conf). Add your data dir to <br />
php_admin_value open_basedir "/srv/http/:/home/:/tmp/:/usr/share/pear/:/usr/share/webapps/:/path/to/dir/"<br />
<br />
Restart the httpd or php-fpm service to activate the change.<br />
<br />
=== CSync failed to find a specific file. ===<br />
<br />
Most probably a certificate issue, recreate it, and don't leave the common name empty or you will see the error again.<br />
<br />
openssl genrsa -out server.key 2048<br />
openssl req -new -key server.key -x509 -days 365 -out server.crt<br />
<br />
=== Seeing white page after login ===<br />
<br />
The cause is probably a new app that you installed, to fix that you can either use phpMyAdmin by editing the oc_appconfig table(in the case you got lucky and the table has edit option) or do it by hand with mysql:<br />
<br />
mysql -u root -p owncloud<br />
MariaDB [owncloud]> '''delete from''' oc_appconfig '''where''' appid='<nameOfExtension>' '''and''' configkey='enabled' '''and''' configvalue='yes'<br />
MariaDB [owncloud]> '''insert into''' oc_appconfig (appid,configkey,configvalue) '''values''' ('<nameOfExtension>','enabled','no');<br />
<br />
This should delete the relevant configuration from the table and add it again.<br />
<br />
=== GUI sync client fails to connect ===<br />
<br />
If using HTTP basic auth, make sure to exclude "status.php", which must be publicly accessible [https://github.com/owncloud/mirall/issues/734]<br />
<br />
=== "Can't write into apps directory" ===<br />
As mentioned in the [http://doc.owncloud.org/server/6.0/admin_manual/configuration/configuration_apps.html official admin manual] either you need an apps directory that is writable by the http user, or you need to set "appstoreenabled" to false. <br />
<br />
''Also'', not mentioned there, the directory needs to be in the open_basedir line in {{ic|/etc/php/php.ini}}<br />
<br />
One clean method is to have the package-installed directory at {{ic|/usr/share/webapps/owncloud/apps}} stay owned by root, and have the user-installed apps go into e.g. {{ic|/var/www/owncloud/apps}} which is owned by http. Then you can set "appstoreenabled" to true and package upgrades of apps should work fine as well. Relevant lines from {{ic|/etc/webapps/owncloud/config/config.php}}:<br />
<pre><br />
'apps_paths' => <br />
array (<br />
0 => <br />
array (<br />
'path' => '/usr/share/webapps/owncloud/apps',<br />
'url' => '/apps',<br />
'writable' => false,<br />
),<br />
1 => <br />
array (<br />
'path' => '/var/www/owncloud/apps',<br />
'url' => '/wapps',<br />
'writable' => true,<br />
),<br />
),<br />
</pre><br />
Example open_basedir line from {{ic|/etc/php/php.ini}} (you might have other dirs in there as well):<br />
<pre><br />
open_basedir = /srv/http/:/usr/share/webapps/:/var/www/owncloud/apps/<br />
</pre><br />
<br />
Directory permissions:<br />
<pre><br />
$ ls -ld /usr/share/webapps/owncloud/apps /var/www/owncloud/apps/<br />
drwxr-xr-x 26 root root 4096 des. 14 20:48 /usr/share/webapps/owncloud/apps<br />
drwxr-xr-x 2 http http 48 jan. 20 20:01 /var/www/owncloud/apps/<br />
</pre><br />
<br />
== See also ==<br />
* [http://owncloud.org/ ownCloud official website]<br />
* [http://doc.owncloud.org/server/7.0/admin_manual/ ownCloud 7.0 Admin Documentation]</div>XenGihttps://wiki.archlinux.org/index.php?title=Java&diff=331697Java2014-08-21T12:29:37Z<p>XenGi: Added jdk8-compat to Unsupported JVM from AUR listing</p>
<hr />
<div>[[Category:Programming language]]<br />
[[cs:Java]]<br />
[[de:Java]]<br />
[[es:Java]]<br />
[[fr:Java]]<br />
[[it:Java]]<br />
[[ja:Java]]<br />
[[pt:Java]]<br />
[[ru:Java]]<br />
[[tr:Java]]<br />
{{Related articles start}}<br />
{{Related|Java Package Guidelines}}<br />
{{Related articles end}}<br />
<br />
"''Java is a programming language originally developed by Sun Microsystems and released in 1995 as a core component of Sun Microsystems' Java platform. The language derives much of its syntax from C and C++ but has a simpler object model and fewer low-level facilities. Java applications are typically compiled to bytecode that can run on any Java virtual machine (JVM) regardless of computer architecture.''" — [[Wikipedia:Java (programming language)|Wikipedia article]]<br />
<br />
Arch Linux officially supports the open source [http://openjdk.java.net/ OpenJDK] versions 7 and 8. All these JVM can be installed without conflict and switched between using helper script {{Ic|archlinux-java}}. Several other Java environments are available in [[AUR]] but are not officially supported.<br />
<br />
== Installation ==<br />
The following packages are available in the [[official repositories]]:<br />
<br />
OpenJDK 7:<br />
<br />
{| class="wikitable"<br />
! Package name !! Use<br />
|-<br />
|{{Pkg|jre7-openjdk-headless}} || Java runtime environment (''JRE'') without any graphical tool - version 7<br />
|-<br />
|{{Pkg|jre7-openjdk}} || Complete Java Runtime Environment (''JRE'') - version 7<br />
|-<br />
|{{Pkg|jdk7-openjdk}} || Java Development Kit (''JDK'') - version 7<br />
|-<br />
|{{Pkg|openjdk7-doc}} || OpenJDK javadoc - version 7<br />
|-<br />
|{{Pkg|openjdk7-src}} || OpenJDK sources - version 7<br />
|}<br />
<br />
OpenJDK 8:<br />
<br />
{| class="wikitable"<br />
! Package name !! Use<br />
|-<br />
|{{Pkg|jre8-openjdk-headless}} || Java runtime environment (''JRE'') without any graphical tool - version 8<br />
|-<br />
|{{Pkg|jre8-openjdk}} || Complete Java Runtime Environment (''JRE'') - version 8<br />
|-<br />
|{{Pkg|jdk8-openjdk}} || Java Development Kit (''JDK'') - version 8<br />
|-<br />
|{{Pkg|openjdk8-doc}} || OpenJDK javadoc - version 8<br />
|-<br />
|{{Pkg|openjdk8-src}} || OpenJDK sources - version 8<br />
|-<br />
|}<br />
<br />
{{Note|Installing a JDK will automatically pull its JRE dependency.}}<br />
<br />
{{Note|After installation, the Java environment will need recognized by the shell ({{Ic|$PATH}} variable and {{Ic|$JAVA_HOME}}). This can be done from the command line by sourcing {{Ic|/etc/profile}}, and for Desktop Environments it is likely a logout/login will be necessary.}}<br />
<br />
A ''common'' package named {{Pkg|java-common}} automatically pulled as dependency provides environment file {{Ic|/etc/profile.d/jre.sh}}. This file contains all JVM common environment variables. Package {{Pkg|java-common}} also provides a utility script {{Ic|archlinux-java}} that can display and change the default Java environment. This script sets link {{Ic|/usr/lib/jvm/java-default-runtime}} to point at a valid non-conflicting Java environment installed in {{Ic|/var/lib/jvm/java-${JAVA_MAJOR_VERSION}-${VENDOR_NAME}}}. It also creates and updates links in {{Ic|/usr/bin}} for all executable provided by the Java environment set.<br />
<br />
{{Warning|File {{Ic|/etc/profile.d/jdk.sh}} is not provided anymore by any package.}}<br />
<br />
== Switching between JVM ==<br />
<br />
Helper script {{Ic|archlinux-java}} provides such functionalities:<br />
<br />
archlinux-java <COMMAND><br />
<br />
COMMAND:<br />
status List installed Java environments and enabled one<br />
get Return the short name of the Java environment set as default<br />
set <JAVA_ENV> Force <JAVA_ENV> as default<br />
unset Unset current default Java environment<br />
fix Fix an invalid/broken default Java environment configuration<br />
<br />
=== List compatible Java environments installed ===<br />
<br />
% archlinux-java status<br />
<br />
Example:<br />
<br />
% archlinux-java status<br />
Available Java environments:<br />
java-7-openjdk (default)<br />
java-8-openjdk/jre<br />
<br />
Note the ''(default)'' denoting that {{Ic|java-7-openjdk}} is currently set as default. Invocation of {{Ic|java}} and other binaries will rely on this Java install. Also note on the previous output that only the ''JRE'' part of OpenJDK 8 is installed here.<br />
<br />
=== Change default Java environment ===<br />
<br />
# archlinux-java set <JAVA_ENV_NAME><br />
<br />
Example:<br />
<br />
# archlinux-java set java-8-openjdk/jre<br />
<br />
Note that {{Ic|archlinux-java}} will not let you set an invalid Java environment. In the previous example, {{pkg|jre8-openjdk}} is installed but {{pkg|jdk8-openjdk}} is '''not''' so trying to set {{Ic|java-8-openjdk}} will fail:<br />
<br />
# archlinux-java set java-8-openjdk<br />
'/usr/lib/jvm/java-8-openjdk' is not a valid Java environment path<br />
<br />
=== Unsetting the default Java environment ===<br />
<br />
There should be no need to unset a Java environment as packages providing them should take care of this. Still should you want to do so, just use command {{Ic|unset}}:<br />
<br />
# archlinux-java unset<br />
<br />
=== Fixing the default Java environment ===<br />
<br />
If {{Ic|/usr/bin}} links are incorrect or if an invalid Java environment link is set, calling the {{Ic|archlinux-java fix}} command tries to fix these. Also note that if no default Java environment is set, this will look for valid ones and try to set it for you (Officially supported packages "OpenJDK 7" will be considered first):<br />
<br />
# archlinux-java fix<br />
<br />
=== One time setup ===<br />
<br />
Links in {{Ic|/usr/bin}} point at wrapper script {{Ic|/usr/lib/java-common-wrapper}} which in turns uses environment variable {{Ic|JAVA_HOME}}. Setting this variable before calling a binary will thus allow use of a Java environment other than the one set as default:<br />
<br />
% javac -version<br />
javac 1.7.0_65<br />
<br />
% JAVA_HOME=/usr/lib/jvm/java-8-openjdk javac -version<br />
javac 1.8.0_05<br />
<br />
% javac -version<br />
javac 1.7.0_65<br />
<br />
=== Known unexpected behavior ===<br />
* When a JDK is installed, forcing the {{Ic|JAVA_HOME}} variable can produce an unexpected "failing link" error:<br />
<br />
% archlinux-java status <br />
Available Java environments: <br />
java-7-openjdk (default)<br />
java-8-openjdk/jre # note jdk8-openjdk is NOT installed<br />
<br />
% java -version<br />
java version "1.7.0_65"<br />
OpenJDK Runtime Environment (IcedTea 2.5.1) (Arch Linux build 7.u65_2.5.1-7-x86_64)<br />
OpenJDK 64-Bit Server VM (build 24.65-b04, mixed mode)<br />
<br />
% JAVA_HOME=/usr/lib/jvm/java-8-openjdk/jre javac -version <br />
/usr/bin/javac: line 2: /usr/lib/jvm/java-8-openjdk/jre/bin/javac: No such file or directory<br />
<br />
The {{Ic|javac}} link exists in {{Ic|/usr/bin}} to point at {{Ic|/usr/lib/java-common-wrapper}} that will then call {{Ic|/usr/lib/jvm/java-7-openjdk/bin/javac}}. Forcing {{Ic|JAVA_HOME}} results in {{Ic|/usr/bin/javac}} trying to call {{Ic|/usr/lib/jvm/java-8-openjdk/bin/javac}} which is not installed. This is a known behavior (calling {{Ic|javac}} on a JRE with no corresponding JDK does not make sense anyway).<br />
<br />
== Package pre-requisites to support {{Ic|archlinux-java}} ==<br />
This section is targeted at packager willing to provide packages in [[AUR]] for an alternate JVM and be able to integrate will Arch Linux JVM scheme to use {{Ic|archlinux-java}}. To do so, packages should:<br />
<br />
* Place all files under {{Ic|/usr/lib/jvm/java-${JAVA_MAJOR_VERSION}-${VENDOR_NAME} }}<br />
* Not provide any link on {{Ic|/usr/bin}}, these are automatically detected and set by {{Ic|archlinux-java}}<br />
* Suffix man pages with {{Ic|-${VENDOR_NAME}${JAVA_MAJOR_VERSION}}} to prevent conflicts (see [https://www.archlinux.org/packages/extra/x86_64/jre8-openjdk/files/ jre8-openjdk file list] where man pages are suffixed with {{Ic|-openjdk8}})<br />
* Not declare any [https://wiki.archlinux.org/index.php/Pkgbuild#conflicts conflicts] nor [https://wiki.archlinux.org/index.php/Pkgbuild#replaces replaces] with other JDKs, {{Pkg|java-runtime}}, {{Pkg|java-runtime-headless}} nor {{Pkg|java-environment}}<br />
* Use script {{Ic|archlinux-java}} in ''install functions'' to set the Java environment as default '''if no other valid Java environment is already set''' (ie: package should not '''force''' install as default). See [https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/java7-openjdk officially supported Java environment package sources] for examples<br />
* '''Not''' try to change the value of {{Ic|JAVA_HOME}}<br />
<br />
Also please note that:<br />
* Packages that need '''any''' Java environment should declare dependency on {{Ic|java-runtime}}, {{Ic|java-runtime-headless}} or {{Ic|java-environment}} as usual<br />
* Packages that need a '''specific Java vendor''' should declare dependency on the corresponding package and take special care to start their piece of software by pre-setting {{Ic|JAVA_HOME}}<br />
* OpenJDK packages now declare {{Ic|1=provides="java-runtime-openjdk=${pkgver}"}} etc. This enables a third party package to declare dependency on an OpenJDK without specifying which version<br />
<br />
== Unsupported JVM from [[AUR]] ==<br />
<br />
{{Warning|Packages in [[AUR]] may or may not support {{Ic|archlinux-java}}}}<br />
<br />
=== Oracle Java SE ===<br />
Several packages from [[AUR]] provide Oracle's implementations of JRE and JDK: {{AUR|jre}} and {{AUR|jdk}} but also {{AUR|jre8-oracle}} and {{AUR|jdk8-oracle}} which use {{Ic|archlinux-java}}<br />
<br />
==== Java SE 6/7 ====<br />
The [[AUR]] contains {{AUR|jre6}}/{{AUR|jre7}} and {{AUR|jdk6}}/{{AUR|jdk7}}, which are the Oracle implementations of Java SE 6 and Java SE 7.<br />
<br />
==== JDK-compat ====<br />
The Oracle JDK (6 and 7) can also be installed in parallel with another Java installation (for example OpenJDK). The packages can be found in the [[AUR]]: {{AUR|jdk6-compat}}, {{AUR|jdk7-compat}} and {{AUR|jdk8-compat}}.<br />
<br />
=== Oracle JRockit ===<br />
[http://www.oracle.com/technetwork/middleware/jrockit/overview/index.html JRockit] is a JIT version of Java, provided by Oracle and available as {{AUR|jrockit}} from the [[AUR]].<br />
<br />
=== VMkit ===<br />
[http://vmkit.llvm.org/index.html VMkit] is an LLVM-based framework for JIT virtual machines. J3 is a JVM running on VMkit. The webpage can be found here: [http://vmkit.llvm.org/get_started.html vmkit]. J3 depends on the GNU classpath libraries, but may also work with the Apache class path libraries.<br />
<br />
=== Parrot VM ===<br />
[http://www.parrot.org/ Parrot] is a VM that offers experimental [http://trac.parrot.org/parrot/wiki/Languages support for Java] through two different methods: Either as a [http://code.google.com/p/parrot-jvm/ Java VM bytecode translator] or as a [https://github.com/chrisdolan/perk Java compiler targeting the Parrot VM]. {{Pkg|parrot}} is available in the [[official repositories]] and {{AUR|parrot-git}} in the [[AUR]].<br />
<br />
== Troubleshooting ==<br />
=== MySQL ===<br />
Due to the fact that the JDBC-drivers often use the port in the URL to establish a connection to the database, it is considered "remote" (i.e., MySQL does not listen to the port as per its default settings) despite the fact that they are possibly running on the same host, Thus, to use JDBC and MySQL you should enable remote access to MySQL, following the instructions in [[MySQL#Grant Remote Access]].<br />
<br />
=== Java sound with PulseAudio ===<br />
{{Out of date|This procedure is likely to be relevant for previous version of Java (Java 6) only.}}<br />
<br />
By default, Java and [[PulseAudio]] do not get along very well with each other, but this is easy to fix using padsp.<br />
<br />
(These paths are correct for Sun's Java, you will need to change the paths for OpenJDK)<br />
<br />
First, rename the {{Ic|java}} binary to {{Ic|java.bin}}<br />
# mv /opt/java/jre/bin/java /opt/java/jre/bin/java.bin<br />
Then, create a new launcher script at {{Ic|/opt/java/jre/bin/java}}<br />
#!/bin/sh<br />
padsp /opt/java/jre/bin/java.bin "$@"<br />
Finally, make the launcher script executable<br />
# chmod +x /opt/java/jre/bin/java<br />
You will need to redo this process on each update of Java.<br />
<br />
You can also try replacing padsp with aoss, which can also fix it under standard ALSA as well as in Pulse, do what works best. I must warn everyone that these hacks sometimes work perfectly, but are sometimes very unstable as well.<br />
<br />
=== Impersonate another window manager ===<br />
You may use the {{pkg|wmname}} from [http://tools.suckless.org/wmname suckless.org] to make the JVM believe you are running a different window manager. This may solve a rendering issue of Java GUIs occurring in window managers like [[Awesome]] or [[Dwm]].<br />
$ wmname LG3D<br />
<br />
You must restart the application in question after issuing the wmname command.<br />
<br />
This works because the JVM contains a hard-coded list of known, non-re-parenting window managers. For maximum irony, some users prefer to impersonate {{ic|LG3D}}, the non-re-parenting window manager [[wikipedia:Project_Looking_Glass|written by Sun, in Java]].<br />
<br />
=== Illegible fonts ===<br />
In addition to the suggestions mentioned below in [[#Better font rendering]], some fonts may still not be legible afterwards. If this is the case, there is a good chance Microsoft fonts are being used. Install {{AUR|ttf-ms-fonts}} from the [[AUR]].<br />
<br />
=== Missing dependencies ===<br />
If you encounter, often when installing from the AUR, a missing dependency of ''java-runtime'', you might need to install some form of jdk.<br />
<br />
=== Missing text in some applications ===<br />
If some applications are completely missing texts it may help to use the options under [[#Tips and tricks]] as suggested in {{Bug|40871}}.<br />
<br />
== Tips and tricks ==<br />
{{Note|Suggestions in this section are applicable to all applications, using explicitly installed (external) Java runtime. Some applications are bundled with own (private) runtime or use own mechanics for GUI, font rendering, etc., so none of written below is guaranteed to work.}}<br />
<br />
Behavior of most Java applications can be controlled by supplying predefined variables to Java runtime. From [https://bbs.archlinux.org/viewtopic.php?id=72892 this forum post], a way to do it consists of adding the following line in your {{Ic|~/.bashrc}} (or {{Ic|/etc/profile.d/jre.sh}} to affect programs that are not run by sourcing {{Ic|~/.bashrc}}, e.g., launching a program from Gnome's Applications view):<br />
<br />
export _JAVA_OPTIONS="-D'''<option 1>''' -D'''<option 2>'''..."<br />
<br />
For example, to use system anti-aliased fonts and make swing use the GTK look and feel:<br />
<br />
export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel'<br />
<br />
=== Better font rendering ===<br />
Both closed source and open source implementations of Java are known to have improperly implemented anti-aliasing of fonts. This can be fixed with the following options: {{Ic|1=awt.useSystemAAFontSettings=on}}, {{Ic|1=swing.aatext=true}}<br />
<br />
See [[Java Runtime Environment Fonts]] for more detailed information.<br />
<br />
=== GTK LookAndFeel ===<br />
If your Java programs look ugly, you may want to set up the default look and feel for the swing components: {{Ic|1=swing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel}}.<br />
<br />
Some stubborn Java programs insist on using the cross platform Metal look and feel. In some of these cases you can force these apps to use the GTK look and feel by setting the following property:<br />
<br />
{{Ic|1=swing.crossplatformlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel}}.</div>XenGi