<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.pine64.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Darclaw</id>
	<title>PINE64 - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.pine64.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Darclaw"/>
	<link rel="alternate" type="text/html" href="https://wiki.pine64.org/wiki/Special:Contributions/Darclaw"/>
	<updated>2026-04-19T15:30:53Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.37.1</generator>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=PineNote_Development/Software_Tweaks&amp;diff=21697</id>
		<title>PineNote Development/Software Tweaks</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=PineNote_Development/Software_Tweaks&amp;diff=21697"/>
		<updated>2024-12-14T19:06:19Z</updated>

		<summary type="html">&lt;p&gt;Darclaw: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Fixing Bluetooth ==&lt;br /&gt;
Some users have noticed instability with their wireless driver. Upgrading the driver to the version provided by LibreELEC may help! To do this, download the BCM4345C0.hcd, brcmfmac43455-sdio.bin, and brcmfmac43455-sdio.txt from the [https://github.com/LibreELEC/brcmfmac_sdio-firmware/tree/master libreELEC repositories] and place them in the same location as your previous firmware (`/lib/firmware/brmc/`). Then rename brcmfmac43455-sdio.{txt,bin} as `brcmfmac43455-sdio.pine64,pinenote-v1.2.{txt,bin}`. If this doesn't help, ask about it in the matrix chat!&lt;br /&gt;
&lt;br /&gt;
=== Preliminary fix for stuttering bluetooth audio ===&lt;br /&gt;
Following a fix used for the Quartz Model A (which uses the same SoC as the Pinenote), we can modify the device tree prior to building the kernel to try to mitigate poor Bluetooth audio streaming. (reference: see https://lore.kernel.org/linux-arm-kernel/20220926055435.31284-1-leo@nabam.net/T/)&lt;br /&gt;
&lt;br /&gt;
'''Steps:'''&lt;br /&gt;
&lt;br /&gt;
* Open &amp;lt;code&amp;gt;arch/arm64/boot/dts/rockchip/rk3566-pinenote.dtsi&amp;lt;/code&amp;gt;&lt;br /&gt;
* Go to line 939, &amp;quot;bluetooth&amp;quot;, under the &amp;quot;uart1&amp;quot; section&lt;br /&gt;
* Edit the two lines that read &amp;quot;device-wake-gpios&amp;quot; and &amp;quot;host-wake-gpios&amp;quot;; you want them to read &amp;quot;device-wakeup-gpios&amp;quot; and &amp;quot;host-wakeup-gpios&amp;quot; respectively&lt;br /&gt;
* Add the following line to the end of the bluetooth section (under the vddio-supply line in my .dtsi): &amp;quot;max-speed = &amp;lt;3000000&amp;gt;;&amp;quot; &lt;br /&gt;
* Count your zeros, don't forget your punctuation..&lt;br /&gt;
&lt;br /&gt;
'''Caveats:'''&lt;br /&gt;
&lt;br /&gt;
This will improve BT audio quality at least when using the AAC codec. In my experience, the quality is more than acceptable, but there are still issues apparent: occasional isolated stutters even on AAC; prohibitively frequent stutters on SBC-XQ remain. Fully resolving BT audio issues might require further changes similar to the one described above, or may alternatively be a matter of audio software settings (e. g., process priority, audio server buffer settings). Investigation ongoing.&lt;br /&gt;
&lt;br /&gt;
== libinput Palm Detection ==&lt;br /&gt;
See https://gitlab.com/hrdl/pinenote-shared/-/blob/main/etc/libinput/local-overrides.quirks.&lt;br /&gt;
&lt;br /&gt;
== libinput Touch Arbitration ==&lt;br /&gt;
Prerequisites: &amp;lt;code&amp;gt;libinput&amp;gt;1.22.1&amp;lt;/code&amp;gt; and setup touch arbitration via udev: https://gitlab.com/hrdl/pinenote-shared/-/blob/main/etc/udev/rules.d/81-libinput-pinenote.rules&lt;br /&gt;
&lt;br /&gt;
=== Issues and workarounds ===&lt;br /&gt;
* No resolution reported by touchscreen driver. Workaround: patch &amp;lt;code&amp;gt;cyttsp5.c&amp;lt;/code&amp;gt; and device tree: https://gitlab.com/hrdl/linux/-/commit/f1f9eb197d3bd88c9189ab9d8fba2d03d2e13960 or set device quirk &amp;lt;code&amp;gt;AttrSizeHint=210x157&amp;lt;/code&amp;gt;.&lt;br /&gt;
* Touch screen arbitration is independent of the screen's rotation. Workaround: use &amp;lt;code&amp;gt;AttrEventCode=-ABS_TILT_X&amp;lt;/code&amp;gt; (on older version: &amp;lt;code&amp;gt;AttrEventCodeDisable=ABS_TILT_X&amp;lt;/code&amp;gt;) in a libinput quirk matching &amp;lt;code&amp;gt;w9013 2D1F:0095 Stylus&amp;lt;/code&amp;gt;. This makes touch arbitration independent of the pen's location.&lt;br /&gt;
&lt;br /&gt;
== Getting Waydroid to run ==&lt;br /&gt;
&lt;br /&gt;
* Open &amp;lt;code&amp;gt;/usr/share/u-boot-menu/conf.d/u-boot-pinenote.conf&amp;lt;/code&amp;gt;&lt;br /&gt;
* Go to line U_BOOT_PARAMETERS&lt;br /&gt;
* Add to end end of the list psi=1&lt;br /&gt;
* run &amp;lt;code&amp;gt;u-boot-update&amp;lt;/code&amp;gt;&lt;br /&gt;
* reboot&lt;br /&gt;
&lt;br /&gt;
'''Caveats:'''&lt;br /&gt;
Networking in Waydroid does not work yet&lt;br /&gt;
&lt;br /&gt;
[[Category:PineNote]]&lt;/div&gt;</summary>
		<author><name>Darclaw</name></author>
	</entry>
</feed>