<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed><type>rich</type><version>1.0</version><provider_name>phorkie</provider_name><provider_url>https://p.cweiske.de/</provider_url><title>puri.sm librem 13 v3</title><author_name>Christian Weiske</author_name><cache_age>86400</cache_age><width>900</width><height>900</height><html>&lt;!-- embedding all files of https://p.cweiske.de/584 --&gt;
&lt;link rel="stylesheet" href="https://p.cweiske.de/css/embed.css"/&gt;
&lt;div class="phork" id="584"&gt;
    &lt;div class="phork-file"&gt;
 &lt;div class="phork-content"&gt;
  
&lt;div class="document" id="wrong-hardware-revision-reported"&gt;
&lt;h1 class="title"&gt;Wrong Hardware revision reported&lt;/h1&gt;

&lt;p&gt;I have a Librem 13 v3, but it it reported as v2:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
$ sudo ./cbmem -c | egrep -i &amp;quot;coreboot-|purism|librem&amp;quot;
coreboot-4.8.1-7-g30300027ce-4.8.1-Purism-3 Wed Aug 15 04:00:19 UTC 2018 bootblock starting...
coreboot-4.8.1-7-g30300027ce-4.8.1-Purism-3 Wed Aug 15 04:00:19 UTC 2018 romstage starting...
coreboot-4.8.1-7-g30300027ce-4.8.1-Purism-3 Wed Aug 15 04:00:19 UTC 2018 postcar starting...
coreboot-4.8.1-7-g30300027ce-4.8.1-Purism-3 Wed Aug 15 04:00:19 UTC 2018 ramstage starting...
Root Device (Purism Librem 13 v2)
Found mainboard Purism Librem 13 v2
&lt;/pre&gt;
&lt;p&gt;This seems to be a hardware error; Purism failed to change their revision number:&lt;/p&gt;
&lt;p&gt;&lt;a class="reference external" href="https://forums.puri.sm/t/new-librem-laptop/2823"&gt;https://forums.puri.sm/t/new-librem-laptop/2823&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;cite&gt;dmidecode&lt;/cite&gt; reports correctly:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
$ sudo dmidecode
# dmidecode 3.1
Getting SMBIOS data from sysfs.
SMBIOS 2.7 present.
8 structures occupying 428 bytes.
Table at 0x7AA9A020.

Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
        Vendor: coreboot
        Version: 4.8.1-Purism-3
        Release Date: 08/15/2018
        ROM Size: 16 MB
        Characteristics:
                PCI is supported
                PC Card (PCMCIA) is supported
                BIOS is upgradeable
                Selectable boot is supported
                ACPI is supported
                Targeted content distribution is supported
        BIOS Revision: 4.0
        Firmware Revision: 0.0

Handle 0x0001, DMI type 1, 27 bytes
System Information
        Manufacturer: Purism
        Product Name: Librem 13 v3
        Version: 3.0
        Serial Number: 317739
        UUID: Not Settable
        Wake-up Type: Reserved
        SKU Number: Not Specified
        Family: Librem 13

Handle 0x0002, DMI type 2, 14 bytes
Base Board Information
        Manufacturer: Purism
        Product Name: Librem 13 v3
        Version: 3.0
        Serial Number: 317739
        Asset Tag: Not Specified
        Features: None
        Location In Chassis: Not Specified
        Chassis Handle: 0x0003
        Type: Unknown
&lt;/pre&gt;
&lt;/div&gt;

 &lt;/div&gt;
 &lt;div class="phork-meta"&gt;
  &lt;a href="https://p.cweiske.de/584/rev-raw/37e5dead6e32708f706f66892e2b3d7f00fe3174/cbmem-wrong-version.rst" style="float: right"&gt;view raw source&lt;/a&gt;
  &lt;a href="https://p.cweiske.de/584#cbmem-wrong-version.rst"&gt;cbmem-wrong-version.rst&lt;/a&gt;
 &lt;/div&gt;
&lt;/div&gt;
    &lt;div class="phork-file"&gt;
 &lt;div class="phork-content"&gt;
  
&lt;div class="document" id="pipe-key"&gt;
&lt;h1 class="title"&gt;Pipe key&lt;/h1&gt;

&lt;p&gt;Pipe key did not work on German keyboard after upgrading from Debian 9 stable to unstable.&lt;/p&gt;
&lt;ul class="simple"&gt;
&lt;li&gt;&lt;a class="reference external" href="https://forums.puri.sm/t/librem-13v2-german-keyboard-pureos-angle-brackets-pipe-key-dysfunctional/2828"&gt;https://forums.puri.sm/t/librem-13v2-german-keyboard-pureos-angle-brackets-pipe-key-dysfunctional/2828&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="reference external" href="https://tracker.pureos.net/T486"&gt;https://tracker.pureos.net/T486&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;

 &lt;/div&gt;
 &lt;div class="phork-meta"&gt;
  &lt;a href="https://p.cweiske.de/584/rev-raw/37e5dead6e32708f706f66892e2b3d7f00fe3174/hardware.rst" style="float: right"&gt;view raw source&lt;/a&gt;
  &lt;a href="https://p.cweiske.de/584#hardware.rst"&gt;hardware.rst&lt;/a&gt;
 &lt;/div&gt;
&lt;/div&gt;
    &lt;div class="phork-file"&gt;
 &lt;div class="phork-content"&gt;
  
&lt;div class="document" id="hidpi"&gt;
&lt;h1 class="title"&gt;HiDPI&lt;/h1&gt;

&lt;p&gt;&lt;a class="reference external" href="https://forums.puri.sm/t/librem-13-v3-font-size-too-small-or-too-large/3711/3"&gt;https://forums.puri.sm/t/librem-13-v3-font-size-too-small-or-too-large/3711/3&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The librem 13 v3 has 1920x1080 px resolution, on 13&amp;quot;. -This is &amp;quot;hidpi&amp;quot;.- actually, it's mdpi, because it's not double the &amp;quot;normal&amp;quot; resolution but only 1.6x.&lt;/p&gt;
&lt;p&gt;Standard PureOS shipped had much too small fonts and icons.&lt;/p&gt;
&lt;p&gt;xdpyinfo reported 96 dpi resolution, which is really wrong. In reality it's 166 dpi.&lt;/p&gt;
&lt;p&gt;I told X11 to use the real screen size, and Cinnamon uses this information correctly (KDE, Gnome, Mate, XFCE not):&lt;/p&gt;
&lt;pre class="literal-block"&gt;
$ cat /etc/X11/xorg.conf.d/90-librem-display.conf
# xdpyinfo | grep -B2 resolution
# https://wiki.archlinux.org/index.php/xorg#Display_size_and_DPI
Section &amp;quot;Monitor&amp;quot;
    Identifier   &amp;quot;eDP-1&amp;quot;
    DisplaySize  294 166 # In millimeters
EndSection
&lt;/pre&gt;
&lt;p&gt;I also had to set &amp;quot;Font scaling factor&amp;quot; in the cinnamon font settings to 1.3&lt;/p&gt;
&lt;div class="section" id="mate-desktop"&gt;
&lt;h1&gt;Mate desktop&lt;/h1&gt;
&lt;p&gt;Settings &amp;gt; Appearance &amp;gt; Fonts &amp;gt; Details &amp;gt; DPI: 125&lt;/p&gt;
&lt;p&gt;On 166 (automatic) the fonts were too large.&lt;/p&gt;
&lt;/div&gt;
&lt;div class="section" id="qt"&gt;
&lt;h1&gt;Qt&lt;/h1&gt;
&lt;ul class="simple"&gt;
&lt;li&gt;&lt;a class="reference external" href="http://doc.qt.io/qt-5/highdpi.html"&gt;http://doc.qt.io/qt-5/highdpi.html&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote&gt;
The traditional approach to supporting high DPI has been one where Qt scaled fonts automatically, and then provided a DPI value that application code could use to scale the rest of the UI.&lt;/blockquote&gt;
&lt;p&gt;Setting the DPI value manually to a lower values gives better font sizes:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
$ QT_FONT_DPI=128 zeal
&lt;/pre&gt;
&lt;p&gt;Maybe the main issue is that Cinnamon pushes the configured font sizes (for Gtk) 1:1 to Qt, probably via the &lt;tt class="docutils literal"&gt;QT_QPA_PLATFORMTHEME&lt;/tt&gt; variable.&lt;/p&gt;
&lt;/div&gt;
&lt;div class="section" id="ding-tk"&gt;
&lt;h1&gt;Ding / Tk&lt;/h1&gt;
&lt;p&gt;Edit ding executable, add:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
tk scaling 2.0
&lt;/pre&gt;
&lt;ul class="simple"&gt;
&lt;li&gt;&lt;a class="reference external" href="https://stackoverflow.com/a/34133102/282601"&gt;https://stackoverflow.com/a/34133102/282601&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="reference external" href="https://www.tcl.tk/man/tcl8.6/TkCmd/tk.htm#M10"&gt;https://www.tcl.tk/man/tcl8.6/TkCmd/tk.htm#M10&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;

 &lt;/div&gt;
 &lt;div class="phork-meta"&gt;
  &lt;a href="https://p.cweiske.de/584/rev-raw/37e5dead6e32708f706f66892e2b3d7f00fe3174/hidpi.rst" style="float: right"&gt;view raw source&lt;/a&gt;
  &lt;a href="https://p.cweiske.de/584#hidpi.rst"&gt;hidpi.rst&lt;/a&gt;
 &lt;/div&gt;
&lt;/div&gt;
    &lt;div class="phork-file"&gt;
 &lt;div class="phork-content"&gt;
  
&lt;div class="document" id="fan-at-full-speed-after-resume"&gt;
&lt;h1 class="title"&gt;Fan at full speed after resume&lt;/h1&gt;

&lt;p&gt;At first I thought it was again Cinnamon that took all the CPU, but it was a firmware problem.&lt;/p&gt;
&lt;p&gt;Wrong: I needed a new coreboot version to fix this.&lt;/p&gt;
&lt;p&gt;The problem still happens after upgrading the firmware to &lt;tt class="docutils literal"&gt;&lt;span class="pre"&gt;coreboot-4.8.1-7-g30300027ce-4.8.1-Purism-3&lt;/span&gt;&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;Instructions:&lt;/p&gt;
&lt;ul class="simple"&gt;
&lt;li&gt;&lt;a class="reference external" href="https://puri.sm/coreboot/"&gt;https://puri.sm/coreboot/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="reference external" href="https://forums.puri.sm/t/building-coreboot-from-source-official-script/1264"&gt;https://forums.puri.sm/t/building-coreboot-from-source-official-script/1264&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="reference external" href="https://forums.puri.sm/t/fan-full-blast-after-sleep-coreboot-and-intel-me/3396"&gt;https://forums.puri.sm/t/fan-full-blast-after-sleep-coreboot-and-intel-me/3396&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="reference external" href="https://forums.puri.sm/t/cpu-fan-stuck-at-high-speed-sometimes/2641"&gt;https://forums.puri.sm/t/cpu-fan-stuck-at-high-speed-sometimes/2641&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;

 &lt;/div&gt;
 &lt;div class="phork-meta"&gt;
  &lt;a href="https://p.cweiske.de/584/rev-raw/37e5dead6e32708f706f66892e2b3d7f00fe3174/suspend-resume-fan.rst" style="float: right"&gt;view raw source&lt;/a&gt;
  &lt;a href="https://p.cweiske.de/584#suspend-resume-fan.rst"&gt;suspend-resume-fan.rst&lt;/a&gt;
 &lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</html></oembed>
