<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title><![CDATA[PINE64 - PineTab Software]]></title>
		<link>https://forum.pine64.org/</link>
		<description><![CDATA[PINE64 - https://forum.pine64.org]]></description>
		<pubDate>Thu, 07 May 2026 10:55:26 +0000</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[RISC OS Linux port]]></title>
			<link>https://forum.pine64.org/showthread.php?tid=20203</link>
			<pubDate>Thu, 26 Feb 2026 11:40:56 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://forum.pine64.org/member.php?action=profile&uid=29895">Raik</a>]]></dc:creator>
			<guid isPermaLink="false">https://forum.pine64.org/showthread.php?tid=20203</guid>
			<description><![CDATA[I have installed RISC OS on Linux on PineTab2 (also on PinePhone with Mobian). Is not an Emulator, is an executable. So it is very fast with the access of the hardware like WLAN etc. The screenshot are my own settings.<br />
<br />
<img src="http://riscos.openpandora.org/Diverses/PineTab/ROS_PineTab2.jpg" loading="lazy"  alt="[Image: ROS_PineTab2.jpg]" class="mycode_img" /><br />
<br />
You can download from <a href="http://riscos.openpandora.org/Pyra/Download/pyra_direct.tar.gz" target="_blank" rel="noopener" class="mycode_url">PyraDirect</a> . The collection I have made for the Pyra handheld based on ROD's <a href="https://www.riscosdev.com/projects/risc-os-direct-for-pi-5/" target="_blank" rel="noopener" class="mycode_url">PiDirect</a> but works fine on PineTab.<br />
<br />
It need base-devel as dependencies (e.g. sudo pacman -Sy base-devel)<br />
<br />
Unpack the download in Terminal with<br />
<br />
tar —xattrs -xvf Downloads/pyra_direct.tar.gz<br />
<br />
to your home directory. It takes a while.<br />
<br />
Then in Terminal…<br />
<br />
Dir RISC_OS<br />
<br />
./run_RISC_OS<br />
<br />
The first start takes a bit longer.]]></description>
			<content:encoded><![CDATA[I have installed RISC OS on Linux on PineTab2 (also on PinePhone with Mobian). Is not an Emulator, is an executable. So it is very fast with the access of the hardware like WLAN etc. The screenshot are my own settings.<br />
<br />
<img src="http://riscos.openpandora.org/Diverses/PineTab/ROS_PineTab2.jpg" loading="lazy"  alt="[Image: ROS_PineTab2.jpg]" class="mycode_img" /><br />
<br />
You can download from <a href="http://riscos.openpandora.org/Pyra/Download/pyra_direct.tar.gz" target="_blank" rel="noopener" class="mycode_url">PyraDirect</a> . The collection I have made for the Pyra handheld based on ROD's <a href="https://www.riscosdev.com/projects/risc-os-direct-for-pi-5/" target="_blank" rel="noopener" class="mycode_url">PiDirect</a> but works fine on PineTab.<br />
<br />
It need base-devel as dependencies (e.g. sudo pacman -Sy base-devel)<br />
<br />
Unpack the download in Terminal with<br />
<br />
tar —xattrs -xvf Downloads/pyra_direct.tar.gz<br />
<br />
to your home directory. It takes a while.<br />
<br />
Then in Terminal…<br />
<br />
Dir RISC_OS<br />
<br />
./run_RISC_OS<br />
<br />
The first start takes a bit longer.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Systemupgrade fails]]></title>
			<link>https://forum.pine64.org/showthread.php?tid=20202</link>
			<pubDate>Thu, 26 Feb 2026 05:15:53 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://forum.pine64.org/member.php?action=profile&uid=29895">Raik</a>]]></dc:creator>
			<guid isPermaLink="false">https://forum.pine64.org/showthread.php?tid=20202</guid>
			<description><![CDATA[I have perform a system upgrade/actualization and it fails. It looks like all is working fine but after restart it ends in a endless loop. Enter the GUI is no longer possible.<br />
With CTRL+ALT+F2 I can enter the Terminal. My account is working but no network and "startx" fails.<br />
<br />
I have try to install the available actualization in discovery and later, after a "factory reset", in terminal "sudo pacman -Syu". All the same.<br />
After the actualization e.g. freecad, musescore are working (before only installing possible) but after a restart... next "factory reset".<br />
<br />
Any ideas?]]></description>
			<content:encoded><![CDATA[I have perform a system upgrade/actualization and it fails. It looks like all is working fine but after restart it ends in a endless loop. Enter the GUI is no longer possible.<br />
With CTRL+ALT+F2 I can enter the Terminal. My account is working but no network and "startx" fails.<br />
<br />
I have try to install the available actualization in discovery and later, after a "factory reset", in terminal "sudo pacman -Syu". All the same.<br />
After the actualization e.g. freecad, musescore are working (before only installing possible) but after a restart... next "factory reset".<br />
<br />
Any ideas?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[New Pinetab- error when attempting to install updates]]></title>
			<link>https://forum.pine64.org/showthread.php?tid=20189</link>
			<pubDate>Mon, 09 Feb 2026 02:19:59 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://forum.pine64.org/member.php?action=profile&uid=29870">authorjaw</a>]]></dc:creator>
			<guid isPermaLink="false">https://forum.pine64.org/showthread.php?tid=20189</guid>
			<description><![CDATA[Just got my first Pinetab- thrilled with the quality!!<br />
<br />
But...I can't seem to get  updates to install- have searched the web for solutions including "sudo pacman -Syu" and related variations, but no matter what  do I keep getting the following error:<br />
<br />
"Dependency resolution failed:<br />
<br />
libavcodec.so (followed by string of info)<br />
libswrsample.so (followed by string of info)<br />
libicuuc,so (followed by string of info)<br />
<br />
<br />
Not being a dev I'm stuck at how to correct this issue- does anyone know of a solution?<br />
<br />
Thanks!]]></description>
			<content:encoded><![CDATA[Just got my first Pinetab- thrilled with the quality!!<br />
<br />
But...I can't seem to get  updates to install- have searched the web for solutions including "sudo pacman -Syu" and related variations, but no matter what  do I keep getting the following error:<br />
<br />
"Dependency resolution failed:<br />
<br />
libavcodec.so (followed by string of info)<br />
libswrsample.so (followed by string of info)<br />
libicuuc,so (followed by string of info)<br />
<br />
<br />
Not being a dev I'm stuck at how to correct this issue- does anyone know of a solution?<br />
<br />
Thanks!]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[IMHO, a really NICE update to danctnix yesterday]]></title>
			<link>https://forum.pine64.org/showthread.php?tid=20176</link>
			<pubDate>Thu, 22 Jan 2026 14:55:50 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://forum.pine64.org/member.php?action=profile&uid=29834">iksar@gmx.com</a>]]></dc:creator>
			<guid isPermaLink="false">https://forum.pine64.org/showthread.php?tid=20176</guid>
			<description><![CDATA[I noticed mesa updated on my pinetab2, so i tried it out.<br />
<br />
both mpv and browsers got a HUGE speed boost, with almost perfect video playback.<br />
<br />
I would further recommend<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>alias mpv='mpv --vo=gpu --gpu-api=opengl'</code></div></div><br />
and a script for thorium (downloaded from website). ( assuming you're using sway)<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>#!/bin/bash<br />
dbus-launch &#36;HOME/devel/apps/thorium/thorium &#92;<br />
    --use-gl=egl-angle &#92;<br />
    --ignore-gpu-blocklist &#92;<br />
    --enable-gpu-rasterization &#92;<br />
    --enable-accelerated-video-decode &#92;<br />
    --enable-features=VaapiVideoDecodeLinuxGL,VaapiVideoEncoder &#92;<br />
    --ozone-platform=wayland</code></div></div><br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>lsmod | grep pan<br />
panfrost <br />
drm_shmem_helper --------panfrost<br />
gpu_sched -             -------panfrost</code></div></div>]]></description>
			<content:encoded><![CDATA[I noticed mesa updated on my pinetab2, so i tried it out.<br />
<br />
both mpv and browsers got a HUGE speed boost, with almost perfect video playback.<br />
<br />
I would further recommend<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>alias mpv='mpv --vo=gpu --gpu-api=opengl'</code></div></div><br />
and a script for thorium (downloaded from website). ( assuming you're using sway)<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>#!/bin/bash<br />
dbus-launch &#36;HOME/devel/apps/thorium/thorium &#92;<br />
    --use-gl=egl-angle &#92;<br />
    --ignore-gpu-blocklist &#92;<br />
    --enable-gpu-rasterization &#92;<br />
    --enable-accelerated-video-decode &#92;<br />
    --enable-features=VaapiVideoDecodeLinuxGL,VaapiVideoEncoder &#92;<br />
    --ozone-platform=wayland</code></div></div><br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>lsmod | grep pan<br />
panfrost <br />
drm_shmem_helper --------panfrost<br />
gpu_sched -             -------panfrost</code></div></div>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Is Danctnix about to get cameras on Pinetab2]]></title>
			<link>https://forum.pine64.org/showthread.php?tid=20116</link>
			<pubDate>Thu, 11 Dec 2025 12:19:54 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://forum.pine64.org/member.php?action=profile&uid=19319">biketool</a>]]></dc:creator>
			<guid isPermaLink="false">https://forum.pine64.org/showthread.php?tid=20116</guid>
			<description><![CDATA[The last few updates I have seen hu.org.cameractrls show an update.<br />
Are we close to getting working cameras on our Danctnix Pinetab2s?]]></description>
			<content:encoded><![CDATA[The last few updates I have seen hu.org.cameractrls show an update.<br />
Are we close to getting working cameras on our Danctnix Pinetab2s?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Danctnix USB GPS for Pinetab2]]></title>
			<link>https://forum.pine64.org/showthread.php?tid=20094</link>
			<pubDate>Fri, 28 Nov 2025 12:09:04 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://forum.pine64.org/member.php?action=profile&uid=19319">biketool</a>]]></dc:creator>
			<guid isPermaLink="false">https://forum.pine64.org/showthread.php?tid=20094</guid>
			<description><![CDATA[I have a NEMA GPS dongle <br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>Bus 003 Device 004: ID 1163:0200 DeLorme Publishing, Inc. Earthmate GPS (LT-20, LT-40)</code></div></div><br />
Danctnixfor the Pinephone and PPpro I assume have working GPS and mapping that attach to the USB device generated by the modem package. <br />
If that is the case what packages sould I Syu or flatpak onto a Pinetab2 to get this setup so I can have bigger screen navigation with the GPS receiver suction cupped to the window vs inside the device?<br />
(edit)<br />
It seems like there is a problem with the cypress_m8 driver since around it's introduction in 2005 so it requires a kernel patch to receive the NEMA feed see 1 &amp; 3. <br />
1 - <a href="https://linux-usb-devel.narkive.com/sz0Jx4xH/earthmate-lt-20-usb-gps-functionality-broken-by-2-6-19-cypress-m8-patch" target="_blank" rel="noopener" class="mycode_url">https://linux-usb-devel.narkive.com/sz0J...s-m8-patch</a>#<br />
2 - <a href="https://github.com/torvalds/linux/blob/master/drivers/usb/serial/cypress_m8.c" target="_blank" rel="noopener" class="mycode_url">https://github.com/torvalds/linux/blob/m...press_m8.c</a><br />
3 - <a href="https://bugs.launchpad.net/bugs/111694" target="_blank" rel="noopener" class="mycode_url">https://bugs.launchpad.net/bugs/111694</a><br />
<br />
3 uses a fix referred to in 1 though this seems to be sub-optimal commenting out this line and recompiling <br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>cypress_set_dead(port);</code></div></div>I had found these Delorne Earthmate dongles on the auction site for &#36;5 each.<br />
(it makes me wonder if a hardware hack with a new soldered in usb-serial adapter to the NEMA output might be easier)]]></description>
			<content:encoded><![CDATA[I have a NEMA GPS dongle <br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>Bus 003 Device 004: ID 1163:0200 DeLorme Publishing, Inc. Earthmate GPS (LT-20, LT-40)</code></div></div><br />
Danctnixfor the Pinephone and PPpro I assume have working GPS and mapping that attach to the USB device generated by the modem package. <br />
If that is the case what packages sould I Syu or flatpak onto a Pinetab2 to get this setup so I can have bigger screen navigation with the GPS receiver suction cupped to the window vs inside the device?<br />
(edit)<br />
It seems like there is a problem with the cypress_m8 driver since around it's introduction in 2005 so it requires a kernel patch to receive the NEMA feed see 1 &amp; 3. <br />
1 - <a href="https://linux-usb-devel.narkive.com/sz0Jx4xH/earthmate-lt-20-usb-gps-functionality-broken-by-2-6-19-cypress-m8-patch" target="_blank" rel="noopener" class="mycode_url">https://linux-usb-devel.narkive.com/sz0J...s-m8-patch</a>#<br />
2 - <a href="https://github.com/torvalds/linux/blob/master/drivers/usb/serial/cypress_m8.c" target="_blank" rel="noopener" class="mycode_url">https://github.com/torvalds/linux/blob/m...press_m8.c</a><br />
3 - <a href="https://bugs.launchpad.net/bugs/111694" target="_blank" rel="noopener" class="mycode_url">https://bugs.launchpad.net/bugs/111694</a><br />
<br />
3 uses a fix referred to in 1 though this seems to be sub-optimal commenting out this line and recompiling <br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>cypress_set_dead(port);</code></div></div>I had found these Delorne Earthmate dongles on the auction site for &#36;5 each.<br />
(it makes me wonder if a hardware hack with a new soldered in usb-serial adapter to the NEMA output might be easier)]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Old Danctnix server in Pacman Config (solved)]]></title>
			<link>https://forum.pine64.org/showthread.php?tid=20087</link>
			<pubDate>Wed, 19 Nov 2025 20:20:35 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://forum.pine64.org/member.php?action=profile&uid=26992">KelsonV</a>]]></dc:creator>
			<guid isPermaLink="false">https://forum.pine64.org/showthread.php?tid=20087</guid>
			<description><![CDATA[PSA for anyone who (like me) is still using an install based on the original PineTab2 image and finding that pacman won't upgrade anything today due to a "bad database" (which is actually an HTML error page).<br />
<br />
The old danctnix server name at p64.arikawa-hi.me appears to have expired. I went looking and confirmed that it <a href="https://github.com/dreemurrs-embedded/Pine64-Arch/issues/598" target="_blank" rel="noopener" class="mycode_url">expired 2 years ago and was renewed</a> at the time, and that <span style="font-weight: bold;" class="mycode_b">archmobile.mirror.danctnix.org</span> is the valid new server name. After updating /etc/pacman.conf to point to the new server, I was able to sync successfully again.]]></description>
			<content:encoded><![CDATA[PSA for anyone who (like me) is still using an install based on the original PineTab2 image and finding that pacman won't upgrade anything today due to a "bad database" (which is actually an HTML error page).<br />
<br />
The old danctnix server name at p64.arikawa-hi.me appears to have expired. I went looking and confirmed that it <a href="https://github.com/dreemurrs-embedded/Pine64-Arch/issues/598" target="_blank" rel="noopener" class="mycode_url">expired 2 years ago and was renewed</a> at the time, and that <span style="font-weight: bold;" class="mycode_b">archmobile.mirror.danctnix.org</span> is the valid new server name. After updating /etc/pacman.conf to point to the new server, I was able to sync successfully again.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Pinetab2s running DanctNIX just got Bluetooth!!]]></title>
			<link>https://forum.pine64.org/showthread.php?tid=20060</link>
			<pubDate>Sun, 02 Nov 2025 10:45:52 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://forum.pine64.org/member.php?action=profile&uid=19319">biketool</a>]]></dc:creator>
			<guid isPermaLink="false">https://forum.pine64.org/showthread.php?tid=20060</guid>
			<description><![CDATA[Now as easy as sudo pacman -Syu<br />
Try it out, Bluetooth is now active for me, paired my BT mouse and it works!<br />
<br />
No cameras yet...<br />
I am also trying to get a USB NMEA receiver to work for in-car navigation.<br />
_____________________________<br />
<br />
So this will allow use of bluetooth stylus as a touch mouse with left-click now?<br />
If so which styluses are compatible?<br />
________________________<br />
is this driver/hardware currently compatible with BT-low energy?]]></description>
			<content:encoded><![CDATA[Now as easy as sudo pacman -Syu<br />
Try it out, Bluetooth is now active for me, paired my BT mouse and it works!<br />
<br />
No cameras yet...<br />
I am also trying to get a USB NMEA receiver to work for in-car navigation.<br />
_____________________________<br />
<br />
So this will allow use of bluetooth stylus as a touch mouse with left-click now?<br />
If so which styluses are compatible?<br />
________________________<br />
is this driver/hardware currently compatible with BT-low energy?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[auto-owning the SD card in DanctNIX (Pinetab2)]]></title>
			<link>https://forum.pine64.org/showthread.php?tid=20032</link>
			<pubDate>Thu, 09 Oct 2025 11:55:34 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://forum.pine64.org/member.php?action=profile&uid=19319">biketool</a>]]></dc:creator>
			<guid isPermaLink="false">https://forum.pine64.org/showthread.php?tid=20032</guid>
			<description><![CDATA[What is the most elegant way to get the Pinetab to both auto mount and own the SD card to user [alarm] ?<br />
I have it auto mounting the SD card using settings but because user alarm doesn't own the SD card device/mount point I cant use it normally.<br />
I could chown it but that would have to happen every bootup.<br />
(edit) I will probably edit /etc/fstab but that is skill learned maybe 25 years ago and I expect that in systemb days there is probably something automatic and I dont want to break that.<br />
<br />
I have not wiped and loaded Mobian despite using that for my Pinephone there doesnt seem to be enough clear instruction to get everything working, it feels like the shipped DanctNIX OS has the most functionality.<br />
<br />
<br />
That said I would in any fully Linux OS really love to have the bluetooth and cameras fully functional as well as a smart way to setup a NMEA USB GPS device for navigation.]]></description>
			<content:encoded><![CDATA[What is the most elegant way to get the Pinetab to both auto mount and own the SD card to user [alarm] ?<br />
I have it auto mounting the SD card using settings but because user alarm doesn't own the SD card device/mount point I cant use it normally.<br />
I could chown it but that would have to happen every bootup.<br />
(edit) I will probably edit /etc/fstab but that is skill learned maybe 25 years ago and I expect that in systemb days there is probably something automatic and I dont want to break that.<br />
<br />
I have not wiped and loaded Mobian despite using that for my Pinephone there doesnt seem to be enough clear instruction to get everything working, it feels like the shipped DanctNIX OS has the most functionality.<br />
<br />
<br />
That said I would in any fully Linux OS really love to have the bluetooth and cameras fully functional as well as a smart way to setup a NMEA USB GPS device for navigation.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[USB Gadget on PineTab2]]></title>
			<link>https://forum.pine64.org/showthread.php?tid=20017</link>
			<pubDate>Fri, 26 Sep 2025 18:42:51 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://forum.pine64.org/member.php?action=profile&uid=29354">Tronar</a>]]></dc:creator>
			<guid isPermaLink="false">https://forum.pine64.org/showthread.php?tid=20017</guid>
			<description><![CDATA[Dear Piners,<br />
<br />
has anybody of you tried to get a USB gadget working for the second USB interface on the PineTab2? This is a fully functional OTG interface that you can use for much more than only charging. Anyway, as long as you don't connect an OTG cable, it will reside in device mode, so it should be possible to program USB gadgets following such instructions:<br />
<a href="https://openwrt.org/docs/guide-user/hardware/usb_gadget" target="_blank" rel="noopener" class="mycode_url">https://openwrt.org/docs/guide-user/hardware/usb_gadget</a><br />
<a href="https://trac.gateworks.com/wiki/linux/OTG" target="_blank" rel="noopener" class="mycode_url">https://trac.gateworks.com/wiki/linux/OTG</a><br />
<a href="https://developer.toradex.com/linux-bsp/application-development/peripheral-access/usb-device-mode-linux/" target="_blank" rel="noopener" class="mycode_url">https://developer.toradex.com/linux-bsp/...ode-linux/</a><br />
<a href="https://www.kernel.org/doc/Documentation/usb/gadget_configfs.txt" target="_blank" rel="noopener" class="mycode_url">https://www.kernel.org/doc/Documentation...nfigfs.txt</a><br />
<a href="https://github.com/torvalds/linux/blob/master/Documentation/ABI/testing/configfs-usb-gadget" target="_blank" rel="noopener" class="mycode_url">https://github.com/torvalds/linux/blob/m...usb-gadget</a><br />
Based on these (and some other web sites) I contrived a script for a mass storage gadget. First I prepared an 8 GB big container file using these commands:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>dd if=/dev/zero of=/stick.img bs=1M count=8192<br />
fdisk /stick.img<br />
# Inside fdisk I prepared the image using the following keys:<br />
# o x s 32 h 128 c 4096 r n p 1 &#92;n &#92;n t c p w<br />
losetup -o 1M /dev/loop0 /stick.img<br />
mkfs.vfat /dev/loop0<br />
mount -t vfat /dev/loop0 /mnt<br />
echo hallo &gt;/mnt/test.txt<br />
umount /mnt<br />
losetup -d /dev/loop0</code></div></div>The following script intends to simulate a USB stick on the device mode USB port:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>#!/bin/sh<br />
cd /sys/kernel/config/usb_gadget<br />
mkdir g1<br />
sleep 1<br />
cd g1<br />
<br />
echo 0x1d6b &gt;idVendor  # reserved for the Linux Foundation<br />
echo 0x0104 &gt;idProduct  # multifunction is sufficient<br />
#echo 0x0615 &gt; bcdDevice  This is preset for some reason.<br />
echo 0x0200 &gt; bcdUSB    # USB 2.0<br />
# Is the following correct for a flash stick?<br />
echo 0x08 &gt; bDeviceClass<br />
echo 0x06 &gt; bDeviceSubClass<br />
echo 0x80 &gt; bDeviceProtocol<br />
#echo 0x62 &gt; bDeviceProtocol<br />
echo 0x40 &gt;bMaxPacketSize0<br />
echo high-speed &gt;max_speed<br />
<br />
# The following strings can be chosen freely; for the serial number I take the<br />
# actual SN of my PineTab2.<br />
cd strings<br />
mkdir 0x409 &amp;&amp; cd 0x409<br />
sleep 1<br />
cat /proc/device-tree/serial-number &gt;serialnumber<br />
echo Pine64 &gt;manufacturer<br />
echo PineTab2&#92; v2.0 &gt;product<br />
# Alternatively one could also use some of the information in<br />
# /sys/bus/i2c/drivers/husb311/0-004e to fill in the above.<br />
<br />
cd ../../configs<br />
mkdir c.1 &amp;&amp; cd c.1<br />
sleep 1<br />
mkdir strings/0x409<br />
sleep 1<br />
echo "Memory stick emulation based on image file" &gt;strings/0x409/configuration<br />
# German:<br />
mkdir strings/0x407<br />
sleep 1<br />
echo "Speicherstick-Emulation mit einer Image-Datei" &gt;strings/0x407/configuration<br />
echo 0xc0 &gt;bmAttributes  # self-powered<br />
echo 2 &gt;MaxPower        # probably irrelevant when self-powered<br />
<br />
cd ../../functions<br />
mkdir mass_storage.usb0<br />
sleep 1<br />
cd mass_storage.usb0<br />
echo 1 &gt;stall<br />
cd lun.0<br />
echo /stick.img &gt;file<br />
echo 0 &gt;removable<br />
echo 1 &gt;nofua<br />
cd ../../..<br />
ln -s functions/mass_storage.usb0 configs/c.1<br />
sleep 1<br />
<br />
# and now make it active:<br />
ls /sys/class/udc &gt;UDC<br />
<br />
# to unbind it: echo "" &gt;UDC; sleep 1; cd ..; rm -rf g1<br />
# in emergency: echo 1 &gt;functions/mass_storage.usb0/lun.0/forced_eject</code></div></div>Several of these settings are not absolutely necessary, also the sleep statements; they reflect only my desperate attempts to get it working. When I execute it, not having anything connected to the USB port yet, I see these lines in my dmesg:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>Mass Storage Function, version: 2009/09/11<br />
LUN: removable file: (no medium)<br />
dwc3 fcc00000.usb: failed to enable ep0out</code></div></div>Why "removable"? Why "no medium"? What exactly "failed" w.r.t. endpoint 0?<br />
<br />
Then I connect my PineTab2 to a PC's USB-2 port, which results in four more lines in the dmesg:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>typec-extcon typec-extcon: extcon changed sdp=1 cdp=0 dcp=0 usb=0 usb_host=0 dp=0<br />
typec-extcon typec-extcon: extcon changed sdp=1 cdp=0 dcp=0 usb=1 usb_host=0 dp=0<br />
typec-extcon typec-extcon: extcon changed sdp=1 cdp=0 dcp=0 usb=0 usb_host=0 dp=0<br />
typec-extcon typec-extcon: extcon changed sdp=1 cdp=0 dcp=0 usb=1 usb_host=0 dp=0</code></div></div>The dmesg of the PC is full of errors then:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>usb 4-10: new high-speed USB device number 5 using xhci_hcd<br />
usb 4-10: device descriptor read/64, error -71<br />
usb 4-10: device descriptor read/64, error -71<br />
usb 4-10: new high-speed USB device number 6 using xhci_hcd<br />
usb 4-10: device descriptor read/64, error -71<br />
usb 4-10: device descriptor read/64, error -71<br />
usb usb4-port10: attempt power cycle<br />
usb 4-10: new high-speed USB device number 7 using xhci_hcd<br />
usb 4-10: Device not responding to setup address.<br />
usb 4-10: Device not responding to setup address.<br />
usb 4-10: device not accepting address 7, error -71<br />
usb 4-10: new high-speed USB device number 8 using xhci_hcd<br />
usb 4-10: Device not responding to setup address.<br />
usb 4-10: Device not responding to setup address.<br />
usb 4-10: device not accepting address 8, error -71<br />
usb usb4-port10: unable to enumerate USB device</code></div></div>Obviously the gadget isn't functional. When I unplug the cable again, the PC's dmesg shows nothing, the PineTab2's just the ususal extcon stuff:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>typec-extcon typec-extcon: extcon changed sdp=1 cdp=0 dcp=0 usb=0 usb_host=0 dp=0<br />
typec-extcon typec-extcon: extcon changed sdp=0 cdp=0 dcp=0 usb=0 usb_host=0 dp=0</code></div></div>The worst thing I observe when I try to switch off the gadget again using echo "" &gt;UDC; it seems to be some kind of crash:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>dwc3 fcc00000.usb: wait for SETUP phase timed out<br />
dwc3 fcc00000.usb: failed to set STALL on ep0out<br />
------------[ cut here ]------------<br />
WARNING: CPU: 0 PID: 5177 at dwc3_ep0_out_start+0xc8/0xe0<br />
Modules linked in: aes_ce_ccm snd_seq_dummy snd_hrtimer snd_seq snd_seq_device zram aes_ce_blk aes_ce_cipher polyval_ce polyval_generic ghash_ce bes2600(C) sm4 sha2_ce sha256_arm64 sha1_ce snd_soc_simple_amplifier mac80211 st_accel_i2c st_sensors_i2c libarc4 ov5648 st_accel st_sensors v4l2_fwnode dw9714 snd_soc_simple_card v4l2_async cfg80211 snd_soc_simple_card_utils phy_rockchip_inno_csidphy snd_soc_rockchip_i2s_tdm snd_soc_rk817 rfkill snd_soc_hdmi_codec snd_soc_core snd_pcm_dmaengine snd_pcm snd_timer hantro_vpu snd v4l2_vp9 v4l2_jpeg v4l2_h264 rockchip_rga videobuf2_dma_contig soundcore v4l2_mem2mem videobuf2_dma_sg videobuf2_memops videobuf2_v4l2 videodev videobuf2_common mc joydev mousedev sch_fq_codel crypto_user loop fuse nfnetlink ip_tables x_tables ipv6 crc_ccitt dw_hdmi_cec panfrost dw_hdmi_i2s_audio drm_shmem_helper gpu_sched hid_multitouch<br />
CPU: 0 UID: 0 PID: 5177 Comm: bash Tainted: G        C          6.15.2-danctnix2-1-pinetab2 #1 PREEMPT(full)  2075623fc0cc7105688baa1cc4ca060147351f05<br />
[ 3357.684396] Tainted: [C]=CRAP<br />
[ 3357.684413] Hardware name: Pine64 PineTab2 v2.0 (DT)<br />
[ 3357.684434] pstate: 604000c9 (nZCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--)<br />
[ 3357.684464] pc : dwc3_ep0_out_start+0xc8/0xe0<br />
[ 3357.684504] lr : dwc3_ep0_out_start+0x4c/0xe0<br />
[ 3357.684535] sp : ffff80008778ba70<br />
[ 3357.684552] x29: ffff80008778ba70 x28: ffff00010088b900 x27: 0000000000000000<br />
[ 3357.684605] x26: 0000000000000000 x25: 0000000000000000 x24: ffff00013c924840<br />
[ 3357.684655] x23: ffff0001039f0810 x22: 0000000000000000 x21: ffff000100b76990<br />
[ 3357.684705] x20: ffff000100b76880 x19: ffff00010434f200 x18: ffff8000842730b8<br />
[ 3357.684755] x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000006<br />
[ 3357.684804] x14: 0000000000000000 x13: ffffffffffff3f08 x12: ffff800081cd3d70<br />
[ 3357.684854] x11: ffffffffffff3f04 x10: ffff800081cd3dc8 x9 : ffffffffffff3f00<br />
[ 3357.684905] x8 : ffffffffffff3f0c x7 : ffff80008435d000 x6 : 0000000000000000<br />
[ 3357.684954] x5 : ffff800081c4f000 x4 : 0000000000000000 x3 : 0000000000000000<br />
[ 3357.685003] x2 : 0000000000000000 x1 : ffff00010088b900 x0 : 00000000ffffff92<br />
[ 3357.685054] Call trace:<br />
[ 3357.685073]  dwc3_ep0_out_start+0xc8/0xe0 (P)<br />
[ 3357.685118]  dwc3_ep0_stall_and_restart+0xb4/0xe0<br />
[ 3357.685158]  dwc3_ep0_reset_state+0x68/0xa0<br />
[ 3357.685194]  dwc3_gadget_soft_disconnect+0x13c/0x1d0<br />
[ 3357.685231]  dwc3_gadget_pullup+0x8c/0x138<br />
[ 3357.685267]  usb_gadget_disconnect_locked+0x4c/0x170<br />
[ 3357.685303]  gadget_unbind_driver+0x54/0x158<br />
[ 3357.685334]  device_remove+0x54/0x90<br />
[ 3357.685371]  device_release_driver_internal+0x1d4/0x240<br />
[ 3357.685407]  driver_detach+0x54/0xc0<br />
[ 3357.685440]  bus_remove_driver+0x78/0x108<br />
[ 3357.685472]  driver_unregister+0x38/0x78<br />
[ 3357.685506]  usb_gadget_unregister_driver+0x28/0x50<br />
[ 3357.685538]  gadget_dev_desc_UDC_store+0xc0/0x150<br />
[ 3357.685580]  configfs_write_iter+0xcc/0x130<br />
[ 3357.685617]  vfs_write+0x24c/0x388<br />
[ 3357.685658]  ksys_write+0x78/0x120<br />
[ 3357.685695]  __arm64_sys_write+0x24/0x40<br />
[ 3357.685734]  invoke_syscall+0x6c/0x100<br />
[ 3357.685777]  el0_svc_common.constprop.0+0x48/0xf0<br />
[ 3357.685817]  do_el0_svc+0x24/0x38<br />
[ 3357.685846]  el0_svc+0x2c/0x138<br />
[ 3357.685883]  el0t_64_sync_handler+0x10c/0x140<br />
[ 3357.685916]  el0t_64_sync+0x160/0x168<br />
[ 3357.685951] ---[ end trace 0000000000000000 ]---</code></div></div>Also, I can't delete the directory tree of my gadget in the configfs: not permitted.<br />
<br />
Further observations:<br />
* After this disaster I can plug a USB stick into this very socket using an OTG cable. It works, switches to host mode and mounts the stick.<br />
* Also, charging the PineTab2 will work as always.<br />
* The message "dwc3 fcc00000.usb: failed to enable ep0out" always shows up, also when I try other configurations, e.g. the script here near the bottom of the page (8814.usbconfigfs.sh.txt for an acm gadget):<br />
<a href="https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1381934/processor-sdk-am62x-processor-sdk-am62x_dts" target="_blank" rel="noopener" class="mycode_url">https://e2e.ti.com/support/processors-gr...-am62x_dts</a><br />
<br />
My questions:<br />
a) Has anybody got a working USB gadget of any flavour (mass_storage, acm, ecm, ...) on the PineTab2? Please show me your script or tell me my mistake.<br />
b) Could this be a broken kernel driver? Should I report an issue to danctnix?<br />
c) Can you reproduce the problem on your own PineTab2 using my script?<br />
<br />
Sorry for this terribly long write-up.<br />
<br />
Any ideas?]]></description>
			<content:encoded><![CDATA[Dear Piners,<br />
<br />
has anybody of you tried to get a USB gadget working for the second USB interface on the PineTab2? This is a fully functional OTG interface that you can use for much more than only charging. Anyway, as long as you don't connect an OTG cable, it will reside in device mode, so it should be possible to program USB gadgets following such instructions:<br />
<a href="https://openwrt.org/docs/guide-user/hardware/usb_gadget" target="_blank" rel="noopener" class="mycode_url">https://openwrt.org/docs/guide-user/hardware/usb_gadget</a><br />
<a href="https://trac.gateworks.com/wiki/linux/OTG" target="_blank" rel="noopener" class="mycode_url">https://trac.gateworks.com/wiki/linux/OTG</a><br />
<a href="https://developer.toradex.com/linux-bsp/application-development/peripheral-access/usb-device-mode-linux/" target="_blank" rel="noopener" class="mycode_url">https://developer.toradex.com/linux-bsp/...ode-linux/</a><br />
<a href="https://www.kernel.org/doc/Documentation/usb/gadget_configfs.txt" target="_blank" rel="noopener" class="mycode_url">https://www.kernel.org/doc/Documentation...nfigfs.txt</a><br />
<a href="https://github.com/torvalds/linux/blob/master/Documentation/ABI/testing/configfs-usb-gadget" target="_blank" rel="noopener" class="mycode_url">https://github.com/torvalds/linux/blob/m...usb-gadget</a><br />
Based on these (and some other web sites) I contrived a script for a mass storage gadget. First I prepared an 8 GB big container file using these commands:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>dd if=/dev/zero of=/stick.img bs=1M count=8192<br />
fdisk /stick.img<br />
# Inside fdisk I prepared the image using the following keys:<br />
# o x s 32 h 128 c 4096 r n p 1 &#92;n &#92;n t c p w<br />
losetup -o 1M /dev/loop0 /stick.img<br />
mkfs.vfat /dev/loop0<br />
mount -t vfat /dev/loop0 /mnt<br />
echo hallo &gt;/mnt/test.txt<br />
umount /mnt<br />
losetup -d /dev/loop0</code></div></div>The following script intends to simulate a USB stick on the device mode USB port:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>#!/bin/sh<br />
cd /sys/kernel/config/usb_gadget<br />
mkdir g1<br />
sleep 1<br />
cd g1<br />
<br />
echo 0x1d6b &gt;idVendor  # reserved for the Linux Foundation<br />
echo 0x0104 &gt;idProduct  # multifunction is sufficient<br />
#echo 0x0615 &gt; bcdDevice  This is preset for some reason.<br />
echo 0x0200 &gt; bcdUSB    # USB 2.0<br />
# Is the following correct for a flash stick?<br />
echo 0x08 &gt; bDeviceClass<br />
echo 0x06 &gt; bDeviceSubClass<br />
echo 0x80 &gt; bDeviceProtocol<br />
#echo 0x62 &gt; bDeviceProtocol<br />
echo 0x40 &gt;bMaxPacketSize0<br />
echo high-speed &gt;max_speed<br />
<br />
# The following strings can be chosen freely; for the serial number I take the<br />
# actual SN of my PineTab2.<br />
cd strings<br />
mkdir 0x409 &amp;&amp; cd 0x409<br />
sleep 1<br />
cat /proc/device-tree/serial-number &gt;serialnumber<br />
echo Pine64 &gt;manufacturer<br />
echo PineTab2&#92; v2.0 &gt;product<br />
# Alternatively one could also use some of the information in<br />
# /sys/bus/i2c/drivers/husb311/0-004e to fill in the above.<br />
<br />
cd ../../configs<br />
mkdir c.1 &amp;&amp; cd c.1<br />
sleep 1<br />
mkdir strings/0x409<br />
sleep 1<br />
echo "Memory stick emulation based on image file" &gt;strings/0x409/configuration<br />
# German:<br />
mkdir strings/0x407<br />
sleep 1<br />
echo "Speicherstick-Emulation mit einer Image-Datei" &gt;strings/0x407/configuration<br />
echo 0xc0 &gt;bmAttributes  # self-powered<br />
echo 2 &gt;MaxPower        # probably irrelevant when self-powered<br />
<br />
cd ../../functions<br />
mkdir mass_storage.usb0<br />
sleep 1<br />
cd mass_storage.usb0<br />
echo 1 &gt;stall<br />
cd lun.0<br />
echo /stick.img &gt;file<br />
echo 0 &gt;removable<br />
echo 1 &gt;nofua<br />
cd ../../..<br />
ln -s functions/mass_storage.usb0 configs/c.1<br />
sleep 1<br />
<br />
# and now make it active:<br />
ls /sys/class/udc &gt;UDC<br />
<br />
# to unbind it: echo "" &gt;UDC; sleep 1; cd ..; rm -rf g1<br />
# in emergency: echo 1 &gt;functions/mass_storage.usb0/lun.0/forced_eject</code></div></div>Several of these settings are not absolutely necessary, also the sleep statements; they reflect only my desperate attempts to get it working. When I execute it, not having anything connected to the USB port yet, I see these lines in my dmesg:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>Mass Storage Function, version: 2009/09/11<br />
LUN: removable file: (no medium)<br />
dwc3 fcc00000.usb: failed to enable ep0out</code></div></div>Why "removable"? Why "no medium"? What exactly "failed" w.r.t. endpoint 0?<br />
<br />
Then I connect my PineTab2 to a PC's USB-2 port, which results in four more lines in the dmesg:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>typec-extcon typec-extcon: extcon changed sdp=1 cdp=0 dcp=0 usb=0 usb_host=0 dp=0<br />
typec-extcon typec-extcon: extcon changed sdp=1 cdp=0 dcp=0 usb=1 usb_host=0 dp=0<br />
typec-extcon typec-extcon: extcon changed sdp=1 cdp=0 dcp=0 usb=0 usb_host=0 dp=0<br />
typec-extcon typec-extcon: extcon changed sdp=1 cdp=0 dcp=0 usb=1 usb_host=0 dp=0</code></div></div>The dmesg of the PC is full of errors then:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>usb 4-10: new high-speed USB device number 5 using xhci_hcd<br />
usb 4-10: device descriptor read/64, error -71<br />
usb 4-10: device descriptor read/64, error -71<br />
usb 4-10: new high-speed USB device number 6 using xhci_hcd<br />
usb 4-10: device descriptor read/64, error -71<br />
usb 4-10: device descriptor read/64, error -71<br />
usb usb4-port10: attempt power cycle<br />
usb 4-10: new high-speed USB device number 7 using xhci_hcd<br />
usb 4-10: Device not responding to setup address.<br />
usb 4-10: Device not responding to setup address.<br />
usb 4-10: device not accepting address 7, error -71<br />
usb 4-10: new high-speed USB device number 8 using xhci_hcd<br />
usb 4-10: Device not responding to setup address.<br />
usb 4-10: Device not responding to setup address.<br />
usb 4-10: device not accepting address 8, error -71<br />
usb usb4-port10: unable to enumerate USB device</code></div></div>Obviously the gadget isn't functional. When I unplug the cable again, the PC's dmesg shows nothing, the PineTab2's just the ususal extcon stuff:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>typec-extcon typec-extcon: extcon changed sdp=1 cdp=0 dcp=0 usb=0 usb_host=0 dp=0<br />
typec-extcon typec-extcon: extcon changed sdp=0 cdp=0 dcp=0 usb=0 usb_host=0 dp=0</code></div></div>The worst thing I observe when I try to switch off the gadget again using echo "" &gt;UDC; it seems to be some kind of crash:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>dwc3 fcc00000.usb: wait for SETUP phase timed out<br />
dwc3 fcc00000.usb: failed to set STALL on ep0out<br />
------------[ cut here ]------------<br />
WARNING: CPU: 0 PID: 5177 at dwc3_ep0_out_start+0xc8/0xe0<br />
Modules linked in: aes_ce_ccm snd_seq_dummy snd_hrtimer snd_seq snd_seq_device zram aes_ce_blk aes_ce_cipher polyval_ce polyval_generic ghash_ce bes2600(C) sm4 sha2_ce sha256_arm64 sha1_ce snd_soc_simple_amplifier mac80211 st_accel_i2c st_sensors_i2c libarc4 ov5648 st_accel st_sensors v4l2_fwnode dw9714 snd_soc_simple_card v4l2_async cfg80211 snd_soc_simple_card_utils phy_rockchip_inno_csidphy snd_soc_rockchip_i2s_tdm snd_soc_rk817 rfkill snd_soc_hdmi_codec snd_soc_core snd_pcm_dmaengine snd_pcm snd_timer hantro_vpu snd v4l2_vp9 v4l2_jpeg v4l2_h264 rockchip_rga videobuf2_dma_contig soundcore v4l2_mem2mem videobuf2_dma_sg videobuf2_memops videobuf2_v4l2 videodev videobuf2_common mc joydev mousedev sch_fq_codel crypto_user loop fuse nfnetlink ip_tables x_tables ipv6 crc_ccitt dw_hdmi_cec panfrost dw_hdmi_i2s_audio drm_shmem_helper gpu_sched hid_multitouch<br />
CPU: 0 UID: 0 PID: 5177 Comm: bash Tainted: G        C          6.15.2-danctnix2-1-pinetab2 #1 PREEMPT(full)  2075623fc0cc7105688baa1cc4ca060147351f05<br />
[ 3357.684396] Tainted: [C]=CRAP<br />
[ 3357.684413] Hardware name: Pine64 PineTab2 v2.0 (DT)<br />
[ 3357.684434] pstate: 604000c9 (nZCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--)<br />
[ 3357.684464] pc : dwc3_ep0_out_start+0xc8/0xe0<br />
[ 3357.684504] lr : dwc3_ep0_out_start+0x4c/0xe0<br />
[ 3357.684535] sp : ffff80008778ba70<br />
[ 3357.684552] x29: ffff80008778ba70 x28: ffff00010088b900 x27: 0000000000000000<br />
[ 3357.684605] x26: 0000000000000000 x25: 0000000000000000 x24: ffff00013c924840<br />
[ 3357.684655] x23: ffff0001039f0810 x22: 0000000000000000 x21: ffff000100b76990<br />
[ 3357.684705] x20: ffff000100b76880 x19: ffff00010434f200 x18: ffff8000842730b8<br />
[ 3357.684755] x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000006<br />
[ 3357.684804] x14: 0000000000000000 x13: ffffffffffff3f08 x12: ffff800081cd3d70<br />
[ 3357.684854] x11: ffffffffffff3f04 x10: ffff800081cd3dc8 x9 : ffffffffffff3f00<br />
[ 3357.684905] x8 : ffffffffffff3f0c x7 : ffff80008435d000 x6 : 0000000000000000<br />
[ 3357.684954] x5 : ffff800081c4f000 x4 : 0000000000000000 x3 : 0000000000000000<br />
[ 3357.685003] x2 : 0000000000000000 x1 : ffff00010088b900 x0 : 00000000ffffff92<br />
[ 3357.685054] Call trace:<br />
[ 3357.685073]  dwc3_ep0_out_start+0xc8/0xe0 (P)<br />
[ 3357.685118]  dwc3_ep0_stall_and_restart+0xb4/0xe0<br />
[ 3357.685158]  dwc3_ep0_reset_state+0x68/0xa0<br />
[ 3357.685194]  dwc3_gadget_soft_disconnect+0x13c/0x1d0<br />
[ 3357.685231]  dwc3_gadget_pullup+0x8c/0x138<br />
[ 3357.685267]  usb_gadget_disconnect_locked+0x4c/0x170<br />
[ 3357.685303]  gadget_unbind_driver+0x54/0x158<br />
[ 3357.685334]  device_remove+0x54/0x90<br />
[ 3357.685371]  device_release_driver_internal+0x1d4/0x240<br />
[ 3357.685407]  driver_detach+0x54/0xc0<br />
[ 3357.685440]  bus_remove_driver+0x78/0x108<br />
[ 3357.685472]  driver_unregister+0x38/0x78<br />
[ 3357.685506]  usb_gadget_unregister_driver+0x28/0x50<br />
[ 3357.685538]  gadget_dev_desc_UDC_store+0xc0/0x150<br />
[ 3357.685580]  configfs_write_iter+0xcc/0x130<br />
[ 3357.685617]  vfs_write+0x24c/0x388<br />
[ 3357.685658]  ksys_write+0x78/0x120<br />
[ 3357.685695]  __arm64_sys_write+0x24/0x40<br />
[ 3357.685734]  invoke_syscall+0x6c/0x100<br />
[ 3357.685777]  el0_svc_common.constprop.0+0x48/0xf0<br />
[ 3357.685817]  do_el0_svc+0x24/0x38<br />
[ 3357.685846]  el0_svc+0x2c/0x138<br />
[ 3357.685883]  el0t_64_sync_handler+0x10c/0x140<br />
[ 3357.685916]  el0t_64_sync+0x160/0x168<br />
[ 3357.685951] ---[ end trace 0000000000000000 ]---</code></div></div>Also, I can't delete the directory tree of my gadget in the configfs: not permitted.<br />
<br />
Further observations:<br />
* After this disaster I can plug a USB stick into this very socket using an OTG cable. It works, switches to host mode and mounts the stick.<br />
* Also, charging the PineTab2 will work as always.<br />
* The message "dwc3 fcc00000.usb: failed to enable ep0out" always shows up, also when I try other configurations, e.g. the script here near the bottom of the page (8814.usbconfigfs.sh.txt for an acm gadget):<br />
<a href="https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1381934/processor-sdk-am62x-processor-sdk-am62x_dts" target="_blank" rel="noopener" class="mycode_url">https://e2e.ti.com/support/processors-gr...-am62x_dts</a><br />
<br />
My questions:<br />
a) Has anybody got a working USB gadget of any flavour (mass_storage, acm, ecm, ...) on the PineTab2? Please show me your script or tell me my mistake.<br />
b) Could this be a broken kernel driver? Should I report an issue to danctnix?<br />
c) Can you reproduce the problem on your own PineTab2 using my script?<br />
<br />
Sorry for this terribly long write-up.<br />
<br />
Any ideas?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[pinetab2 danctnix broken during upgrade - shell error]]></title>
			<link>https://forum.pine64.org/showthread.php?tid=19908</link>
			<pubDate>Fri, 18 Jul 2025 22:28:10 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://forum.pine64.org/member.php?action=profile&uid=9437">acruhl</a>]]></dc:creator>
			<guid isPermaLink="false">https://forum.pine64.org/showthread.php?tid=19908</guid>
			<description><![CDATA[Hello all.<br />
<br />
I was doing some package upgrades on my pinetab2 running danctnix and I started noticing some errors with the shell:<br />
<br />
-bash: symbol lookup error: -bash: undefined symbol: rl_completion_rewrite_hook<br />
<br />
Recklessly, I rebooted and now I can't log in.<br />
<br />
It boots up to the graphical login screen. I authenticate, and something happens and I come back to the graphical login screen.<br />
<br />
If I try to log in via ssh, I get the error above.<br />
<br />
How can I boot into single user? I'm not finding much.<br />
<br />
I'm thinking I should try to boot into single user and try to fix it, but I don't know how.<br />
<br />
Any other advice?<br />
<br />
Thanks!]]></description>
			<content:encoded><![CDATA[Hello all.<br />
<br />
I was doing some package upgrades on my pinetab2 running danctnix and I started noticing some errors with the shell:<br />
<br />
-bash: symbol lookup error: -bash: undefined symbol: rl_completion_rewrite_hook<br />
<br />
Recklessly, I rebooted and now I can't log in.<br />
<br />
It boots up to the graphical login screen. I authenticate, and something happens and I come back to the graphical login screen.<br />
<br />
If I try to log in via ssh, I get the error above.<br />
<br />
How can I boot into single user? I'm not finding much.<br />
<br />
I'm thinking I should try to boot into single user and try to fix it, but I don't know how.<br />
<br />
Any other advice?<br />
<br />
Thanks!]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[How to Donate to DanctNix]]></title>
			<link>https://forum.pine64.org/showthread.php?tid=19899</link>
			<pubDate>Sat, 12 Jul 2025 09:00:53 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://forum.pine64.org/member.php?action=profile&uid=29390">addictioneer</a>]]></dc:creator>
			<guid isPermaLink="false">https://forum.pine64.org/showthread.php?tid=19899</guid>
			<description><![CDATA[How to donate to the maintainers of DanctNix Arch Linux?<br />
<br />
Thanks]]></description>
			<content:encoded><![CDATA[How to donate to the maintainers of DanctNix Arch Linux?<br />
<br />
Thanks]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[How to improve KDE plasma ?]]></title>
			<link>https://forum.pine64.org/showthread.php?tid=19830</link>
			<pubDate>Wed, 07 May 2025 12:14:57 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://forum.pine64.org/member.php?action=profile&uid=29106">louson</a>]]></dc:creator>
			<guid isPermaLink="false">https://forum.pine64.org/showthread.php?tid=19830</guid>
			<description><![CDATA[I find KDE plasma quite slow. I've tried XFCE and got a much smoother experience. Unfortunately it requires a lot of work to get a comfy environment.<br />
<br />
It's my first experience on KDE and I have not found similar posts on the forum (sorry if it does). So here is a thread to share tips how to improve the KDE plasma experience, what service can be disabled / removed ?<br />
<br />
Shall I disable accessibility, kde connect and so on ? (how ?)]]></description>
			<content:encoded><![CDATA[I find KDE plasma quite slow. I've tried XFCE and got a much smoother experience. Unfortunately it requires a lot of work to get a comfy environment.<br />
<br />
It's my first experience on KDE and I have not found similar posts on the forum (sorry if it does). So here is a thread to share tips how to improve the KDE plasma experience, what service can be disabled / removed ?<br />
<br />
Shall I disable accessibility, kde connect and so on ? (how ?)]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Wifi with iwd and/or connman ?]]></title>
			<link>https://forum.pine64.org/showthread.php?tid=19781</link>
			<pubDate>Sun, 06 Apr 2025 10:33:09 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://forum.pine64.org/member.php?action=profile&uid=29106">louson</a>]]></dc:creator>
			<guid isPermaLink="false">https://forum.pine64.org/showthread.php?tid=19781</guid>
			<description><![CDATA[Hello,<br />
<br />
Is there any chance for the wifi to work with iwd instead o? with connman ?<br />
<br />
So far I got an input/output error, then I wonder if there is any specific patch or configuration to work with NetworkManager/wpa_supplicant.]]></description>
			<content:encoded><![CDATA[Hello,<br />
<br />
Is there any chance for the wifi to work with iwd instead o? with connman ?<br />
<br />
So far I got an input/output error, then I wonder if there is any specific patch or configuration to work with NetworkManager/wpa_supplicant.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[PineTab (early adopters) wifi broken in kernel 6.12]]></title>
			<link>https://forum.pine64.org/showthread.php?tid=19749</link>
			<pubDate>Sun, 23 Mar 2025 11:25:11 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://forum.pine64.org/member.php?action=profile&uid=19402">bartgrefte</a>]]></dc:creator>
			<guid isPermaLink="false">https://forum.pine64.org/showthread.php?tid=19749</guid>
			<description><![CDATA[Recently I updated Mobian to Trixie, followed by updating the kernel from 5.15 to 6.12. Couldn't update the kernel to 6.* earlier because it wouldn't boot, fortunately that <a href="https://salsa.debian.org/Mobian-team/devices/kernels/sunxi64-linux/-/issues/85" target="_blank" rel="noopener" class="mycode_url">issue</a> has been fixed <img src="https://forum.pine64.org/images/smilies/smile.png" alt="Smile" title="Smile" class="smilie smilie_1" /><br />
<br />
Unfortunately wifi is broken with kernel 6.12, it can't find rtw88/rtw8703b_fw.bin and rtw88/rtw8703b_wow_fw.bin, boot with kernel 5.15 and wifi works again.<br />
<br />
Since 5.15 works, does this mean I'd have to compile my own 6.12 with that firmware put in if I want to use 6.12?<br />
<br />
edit: <a href="https://packages.debian.org/sid/firmware-realtek" target="_blank" rel="noopener" class="mycode_url">firmware-realtek</a> was missing, apparently a dependency with 6.12.]]></description>
			<content:encoded><![CDATA[Recently I updated Mobian to Trixie, followed by updating the kernel from 5.15 to 6.12. Couldn't update the kernel to 6.* earlier because it wouldn't boot, fortunately that <a href="https://salsa.debian.org/Mobian-team/devices/kernels/sunxi64-linux/-/issues/85" target="_blank" rel="noopener" class="mycode_url">issue</a> has been fixed <img src="https://forum.pine64.org/images/smilies/smile.png" alt="Smile" title="Smile" class="smilie smilie_1" /><br />
<br />
Unfortunately wifi is broken with kernel 6.12, it can't find rtw88/rtw8703b_fw.bin and rtw88/rtw8703b_wow_fw.bin, boot with kernel 5.15 and wifi works again.<br />
<br />
Since 5.15 works, does this mean I'd have to compile my own 6.12 with that firmware put in if I want to use 6.12?<br />
<br />
edit: <a href="https://packages.debian.org/sid/firmware-realtek" target="_blank" rel="noopener" class="mycode_url">firmware-realtek</a> was missing, apparently a dependency with 6.12.]]></content:encoded>
		</item>
	</channel>
</rss>