Librem5 issues
https://source.puri.sm/groups/Librem5/-/issues
2022-12-11T13:19:34Z
https://source.puri.sm/Librem5/OS-issues/-/issues/304
Implement org.freedesktop.ScreenSaver
2022-12-11T13:19:34Z
Dorota Czaplejewicz
Implement org.freedesktop.ScreenSaver
The Phosh session exposes 2 dbus services for the screen saver, with differing behaviour (see https://gitlab.gnome.org/World/Phosh/squeekboard/-/issues/355#note_1613814 ).
However, both services expose pretty much identical functionalit...
The Phosh session exposes 2 dbus services for the screen saver, with differing behaviour (see https://gitlab.gnome.org/World/Phosh/squeekboard/-/issues/355#note_1613814 ).
However, both services expose pretty much identical functionality, compare: https://lists.freedesktop.org/archives/xdg/2006-June/006523.html and https://lists.freedesktop.org/archives/xdg/2007-March/009187.html .
The "freedesktop" service seems to be dead.
This means that applications binding to the general (freedesktop) one first will successfuly find it and try to use it, but will not actually be connected to any behaviour they expected.
Filing in os-issues because I don't know better.
https://source.puri.sm/Librem5/OS-issues/-/issues/274
Packages won't update
2023-01-16T17:22:10Z
Dorota Czaplejewicz
Packages won't update
Sometimes (regularly after short periods of being off), my Librem 5 won't update. Some customers are also affected: https://forums.puri.sm/t/one-l5-unwilling-to-update/17207
Actual behaviour:
```
purism@pureos:~$ sudo apt update
[sudo]...
Sometimes (regularly after short periods of being off), my Librem 5 won't update. Some customers are also affected: https://forums.puri.sm/t/one-l5-unwilling-to-update/17207
Actual behaviour:
```
purism@pureos:~$ sudo apt update
[sudo] password for purism:
Hit:1 http://repo.pureos.net/pureos byzantium InRelease
Hit:2 http://repo.pureos.net/pureos byzantium-updates InRelease
Hit:3 http://repo.pureos.net/pureos byzantium-security InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
```
Expected behaviour:
```
purism@pureos:~$ sudo apt update
Get:1 http://repo.pureos.net/pureos byzantium InRelease [5851 B]
Get:2 http://repo.pureos.net/pureos byzantium-updates InRelease [4580 B]
Get:3 http://repo.pureos.net/pureos byzantium-security InRelease [4581 B]
Get:4 http://repo.pureos.net/pureos byzantium/main arm64 Packages [6951 kB]
Get:5 http://repo.pureos.net/pureos byzantium/main Translation-en [5662 kB]
Get:6 http://repo.pureos.net/pureos byzantium/main arm64 DEP-11 Metadata [2901 kB]
Get:7 http://repo.pureos.net/pureos byzantium/main DEP-11 48x48 Icons [3335 kB]
Get:8 http://repo.pureos.net/pureos byzantium/main DEP-11 64x64 Icons [7066 kB]
Get:9 http://repo.pureos.net/pureos byzantium-updates/main arm64 Packages [2288 B]
Get:10 http://repo.pureos.net/pureos byzantium-updates/main Translation-en [2176 B]
Get:11 http://repo.pureos.net/pureos byzantium-security/main arm64 Packages [157 kB]
Get:12 http://repo.pureos.net/pureos byzantium-security/main Translation-en [92.1 kB]
Fetched 26.2 MB in 8s (3230 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
8 packages can be upgraded. Run 'apt list --upgradable' to see them.
```
Note that the 2 commands were issued within a minute. The only difference is `rm -rf /var/lib/apt/lists/` in between.
https://source.puri.sm/Librem5/linux/-/issues/423
system resume: modem power cycle is needed to make it work again
2024-02-01T00:52:14Z
Martin Kepplinger
system resume: modem power cycle is needed to make it work again
Only when the device is woken up by incoming SMS or call, the modem continues to work normally. When woken up by power button, I need to power cycle the modem to bring it back.
Only when the device is woken up by incoming SMS or call, the modem continues to work normally. When woken up by power button, I need to power cycle the modem to bring it back.
https://source.puri.sm/Librem5/linux/-/issues/408
brcmfmac: Use regulatory framework
2023-01-16T18:45:35Z
Sebastian Krzyszkowiak
brcmfmac: Use regulatory framework
Currently, in order to let brcmfmac use channels that are restricted in some parts of the world, a country code has to be set in `brcmfmac43752-sdio.txt`. This isn't a viable solution with fw jail, so the driver should be modified to use...
Currently, in order to let brcmfmac use channels that are restricted in some parts of the world, a country code has to be set in `brcmfmac43752-sdio.txt`. This isn't a viable solution with fw jail, so the driver should be modified to use and respect standard kernel's regulatory framework.
https://source.puri.sm/Librem5/OS-issues/-/issues/250
Autoremove old kernels
2022-02-22T13:15:59Z
Guido Gunther
Autoremove old kernels
If we don't `/boot` will run out of space at some point.
If we don't `/boot` will run out of space at some point.
https://source.puri.sm/Librem5/linux/-/issues/386
Kernel issue causing Millipixels to segfault on startup
2022-09-08T07:33:23Z
Chris Talbot
Kernel issue causing Millipixels to segfault on startup
Millipixels segfaults on startup with kill switch not engaged.
```
purism@pureos:~$ uname -a
Linux pureos 5.15.0-1-librem5 #1 SMP PREEMPT Tue Dec 21 07:26:03 PST 2021 aarch64 GNU/Linux
```
Millipixels output:
```
purism@pureos:~$ mil...
Millipixels segfaults on startup with kill switch not engaged.
```
purism@pureos:~$ uname -a
Linux pureos 5.15.0-1-librem5 #1 SMP PREEMPT Tue Dec 21 07:26:03 PST 2021 aarch64 GNU/Linux
```
Millipixels output:
```
purism@pureos:~$ millipixels
Found config file at /usr/share/millipixels/config/purism,librem5r4.ini
Adding camera big from config
matched GRBG8 to GRBG8 3
matched GRBG8 to GRBG8 3
Adding camera selfie from config
matched GBRG16 to GBRG16 14
matched GBRG16 to GBRG16 14
Found postprocessor script at /usr/share/millipixels/postprocess.sh
mp_device_list_find_remove imx7-csi s5k3l6xx 3-002d
Could not find /dev/media* node matching 'imx7-csi'
mp_device_list_find_remove imx7-csi hi846 2-0020
Could not find /dev/media* node matching 'imx7-csi'
Error: Sending messages failed: No such device or address
```
```
[ 104.719915] Hardware name: Purism Librem 5r4 (DT)
[ 104.719919] pstate: a0000005 (NzCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 104.719926] pc : pipeline_pm_power_one+0x104/0x15c [videodev]
[ 104.719979] lr : pipeline_pm_power.part.0+0x60/0xfc [videodev]
[ 104.720031] sp : ffff800012f33bb0
[ 104.720034] x29: ffff800012f33bb0 x28: ffff000004183800 x27: 0000000000000000
[ 104.720046] x26: 0000000000000000 x25: 0000000000000000 x24: 0000000045585401
[ 104.720055] x23: ffff000006191800 x22: 00000000ffffffff x21: 00000000ffffffff
[ 104.720066] x20: ffff0000bc84bcd0 x19: 00000000ffffffff x18: 0000000000000000
[ 104.720076] x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000
[ 104.720085] x14: 0000000000000000 x13: 0000000000000000 x12: 0000000000000000
[ 104.720095] x11: 0000000000000000 x10: 0101010101010101 x9 : ffff800009031b64
[ 104.720105] x8 : ffff00000d989308 x7 : 0000000000000000 x6 : 0000000000000000
[ 104.720115] x5 : 000000000000000e x4 : ffff00001c6c4c88 x3 : 0000000000000003
[ 104.720125] x2 : 0000000000000002 x1 : 0000000000000002 x0 : ffff0000bc84bcd0
[ 104.720137] Call trace:
[ 104.720141] pipeline_pm_power_one+0x104/0x15c [videodev]
[ 104.720195] pipeline_pm_power.part.0+0x60/0xfc [videodev]
[ 104.720248] v4l2_pipeline_pm_use+0x5c/0xa0 [videodev]
[ 104.720302] v4l2_pipeline_pm_put+0x20/0x40 [videodev]
[ 104.720354] capture_release+0x58/0x90 [imx_media_common]
[ 104.720377] v4l2_release+0xc8/0x100 [videodev]
[ 104.720430] __fput+0x78/0x23c
[ 104.720443] ____fput+0x1c/0x30
[ 104.720450] task_work_run+0x90/0x190
[ 104.720458] do_notify_resume+0x220/0x10d0
[ 104.720468] el0_svc+0x4c/0x60
[ 104.720478] el0t_64_sync_handler+0x1a4/0x1b0
[ 104.720486] el0t_64_sync+0x1a0/0x1a4
[ 104.720492] ---[ end trace c4a2ad88b6c0947d ]---
[ 104.734344] s5k3l6xx 3-002d: using default 24000000 Hz clock frequency
[ 104.734398] : probe sd ffff000039df8260
[ 104.734405] s5k3l6xx 3-002d: probe i2c ffff000000a48400
[ 104.735343] s5k3l6xx: i2c_read: error during transfer (-6)
[ 104.754227] hi846 2-0020: chip id 08 46 using 2 mipi lanes
[ 104.757326] debugfs: Directory 'hi846' with parent '/' already present!
[ 104.764137] hi846 2-0020: debugfs create dir error
[ 126.266743] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 126.266770] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 126.273303] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 126.273324] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 126.634621] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 126.634652] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 127.237931] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 127.237956] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 127.401905] xhci-hcd xhci-hcd.5.auto: xHCI Host Controller
[ 127.401945] xhci-hcd xhci-hcd.5.auto: new USB bus registered, assigned bus number 3
[ 127.402097] xhci-hcd xhci-hcd.5.auto: hcc params 0x0220fe6c hci version 0x110 quirks 0x0000000000010010
[ 127.402146] xhci-hcd xhci-hcd.5.auto: irq 64, io mem 0x38100000
[ 127.402488] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[ 127.402500] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 127.402510] usb usb3: Product: xHCI Host Controller
[ 127.402516] usb usb3: Manufacturer: Linux 5.15.0-1-librem5 xhci-hcd
[ 127.402524] usb usb3: SerialNumber: xhci-hcd.5.auto
[ 127.403092] hub 3-0:1.0: USB hub found
[ 127.403130] hub 3-0:1.0: 1 port detected
[ 127.403539] xhci-hcd xhci-hcd.5.auto: xHCI Host Controller
[ 127.403555] xhci-hcd xhci-hcd.5.auto: new USB bus registered, assigned bus number 4
[ 127.403572] xhci-hcd xhci-hcd.5.auto: Host supports USB 3.0 SuperSpeed
[ 127.403646] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[ 127.403772] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.15
[ 127.403783] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 127.403792] usb usb4: Product: xHCI Host Controller
[ 127.403798] usb usb4: Manufacturer: Linux 5.15.0-1-librem5 xhci-hcd
[ 127.403805] usb usb4: SerialNumber: xhci-hcd.5.auto
[ 127.404275] hub 4-0:1.0: USB hub found
[ 127.404310] hub 4-0:1.0: 1 port detected
[ 128.100318] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 128.100350] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 128.471679] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 128.471707] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 129.076530] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 129.076558] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 129.945411] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 129.945440] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 130.311506] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 130.311534] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 130.922180] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 130.922208] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 131.773711] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 131.773743] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 132.153269] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 132.153292] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 132.756368] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 132.756395] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 133.617268] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 133.617297] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 133.996216] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 133.996239] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 134.596300] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 134.596329] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 135.456690] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 135.456717] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 135.836591] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 135.836615] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 136.437637] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 136.437665] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 137.348928] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 137.348956] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 137.678007] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 137.678030] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 138.279316] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 138.279344] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 139.141419] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 139.141446] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 139.523980] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 139.524010] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 140.121186] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 140.121217] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 140.981587] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 140.981615] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 141.362403] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 141.362427] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 141.979295] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 141.979325] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 142.825487] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 142.825510] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 143.208043] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 143.208072] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 143.805311] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 143.805338] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 144.669186] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 144.669213] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 145.048033] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 145.048058] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 145.649513] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 145.649543] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 146.509081] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 146.509108] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 146.888838] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 146.888861] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 147.512964] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 147.512992] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 148.352826] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 148.352850] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 148.733354] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 148.733382] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 149.333012] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 149.333040] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 150.210362] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 150.210393] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 150.572782] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 150.572806] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 151.215714] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 151.215741] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 152.035727] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 152.035758] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 152.419474] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 152.419502] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 153.051635] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 153.051659] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 153.880644] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 153.880667] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 154.257999] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 154.258023] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 154.860764] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 154.860792] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 155.732197] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 155.732227] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 156.100211] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 156.100236] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 156.738354] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 156.738378] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 157.569153] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 157.569185] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 157.949136] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 157.949170] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 158.548646] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 158.548674] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 159.405095] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 159.405123] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 159.784989] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 159.785015] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 160.385495] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 160.385522] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 161.247071] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 161.247101] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 161.627471] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 161.627494] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 162.251667] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 162.251695] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 163.123627] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 163.123657] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 163.469777] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 163.469800] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 164.072561] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 164.072589] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 164.940649] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 164.940673] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 165.312881] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 165.312905] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 165.916365] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 165.916393] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 166.776333] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 166.776361] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 167.159592] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 167.159620] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 167.756713] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 167.756745] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 168.620774] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 168.620802] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 168.998071] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 168.998097] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 169.599969] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 169.600000] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 170.476012] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 170.476039] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 170.841099] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 170.841123] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 171.464723] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 171.464750] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 172.305432] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 172.305458] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 172.684308] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 172.684332] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 173.284592] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 173.284622] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 174.171753] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 174.171783] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 174.529119] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 174.529142] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 175.129691] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 175.129719] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 176.013764] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 176.013792] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 176.369433] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 176.369460] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 176.993415] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 176.993443] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 177.835370] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 177.835394] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 178.211640] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 178.211665] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 178.822261] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 178.822288] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 179.676218] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 179.676249] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 180.060655] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 180.060680] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 180.655663] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 180.655694] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 181.520018] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 181.520041] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 181.897858] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 181.897882] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 182.507895] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 182.507918] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 183.363148] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 183.363172] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 183.740577] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 183.740602] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 184.342935] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 184.342963] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 185.241448] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 185.241478] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 185.584398] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 185.584421] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 186.224176] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 186.224200] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 186.934965] edt_ft5x06 2-0038: Unable to fetch data, error: -6
[ 187.081046] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 187.081338] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 187.431565] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 187.432189] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 188.030898] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 188.031143] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 188.892130] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 188.892336] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 189.271351] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 189.271622] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 189.884291] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 189.884504] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 190.768457] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 190.768673] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 191.113945] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 191.114286] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 191.758377] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 191.758592] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 192.612525] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 192.612759] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 192.971774] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 192.972032] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 193.566522] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 193.566723] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 194.421549] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 194.421770] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 194.799534] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 194.799788] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 195.401518] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 195.401722] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 196.264459] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 196.264682] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 196.658963] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 196.659240] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 197.284601] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 197.284807] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 198.105456] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 198.105667] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 198.490079] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 198.490335] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 199.086717] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 199.086923] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 199.957054] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 199.957253] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 200.329600] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 200.329841] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 200.961095] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 200.961410] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 201.796090] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 201.796312] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 202.173898] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 202.174192] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 202.776467] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 202.776689] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 203.636379] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 203.636611] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 204.018416] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 204.018661] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 204.615820] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 204.616089] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 205.484997] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 205.485416] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 205.860582] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 205.860919] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 206.534078] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 206.534386] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 207.329393] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 207.329894] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 207.721140] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 207.722108] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 208.303785] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 208.304279] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 209.184772] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 209.185170] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 209.547143] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 209.547690] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 210.231419] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 210.231791] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 211.013517] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 211.013811] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 211.394048] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 211.394448] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 212.005195] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 212.005710] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 212.857498] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 212.857937] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 213.237433] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 213.237892] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 213.836705] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 213.836991] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 214.693628] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 214.693660] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 214.962416] ------------[ cut here ]------------
[ 214.962438] WARNING: CPU: 1 PID: 1567 at drivers/media/v4l2-core/v4l2-mc.c:475 pipeline_pm_power_one+0x104/0x15c [videodev]
[ 214.962534] Modules linked in: hi846 s5k3l6xx imx8mq_mipi_csi2(C) imx7_media_csi(C) aes_ce_ccm bnep caam_jr caamhash_desc caamalg_desc crypto_engine ofpart spi_nor mtd usb_f_acm u_serial usb_f_ecm u_ether qmi_wwan cdc_wdm usbnet option usb_wwan mii usbserial redpine_sdio redpine_91x bluetooth mac80211 cfg80211 hantro_vpu(C) v4l2_h264 st_lsm6dsx_spi v4l2_mem2mem imx_media_common(C) videobuf2_dma_contig dw9714 videobuf2_vmalloc videobuf2_memops snd_soc_gtm601 videobuf2_v4l2 videobuf2_common gnss_mtk gnss_serial mousedev gnss st_lsm6dsx_i2c v4l2_fwnode st_lsm6dsx v4l2_async videodev vcnl4000 industrialio_triggered_buffer mc kfifo_buf snd_soc_wm8962 caam error snd_soc_fsl_sai snd_soc_simple_card leds_lm3560 snd_soc_simple_card_utils imx_pcm_dma snd_soc_core snd_pcm_dmaengine snvs_pwrkey snd_pcm snd_timer snd imx2_wdt rfkill_hks imx_sdma watchdog soundcore virt_dma rfkill libcomposite ledtrig_timer ledtrig_pattern fuse ip_tables x_tables ipv6 uas usb_storage xhci_plat_hcd xhci_hcd usbcore
[ 214.962748] aes_ce_blk crypto_simd dwc3 ulpi crct10dif_ce ghash_ce cdns_mhdp_imx sha2_ce pwm_vibra cdns_mhdp_drmcore sha1_ce udc_core imx_dcss usb_common phy_fsl_imx8mq_usb edt_ft5x06 bq25890_charger tps6598x clk_bd718x7 typec roles [last unloaded: hi846]
[ 214.962811] CPU: 1 PID: 1567 Comm: millipixels Tainted: G WC 5.15.0-1-librem5 #1
[ 214.962819] Hardware name: Purism Librem 5r4 (DT)
[ 214.962823] pstate: a0000005 (NzCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 214.962829] pc : pipeline_pm_power_one+0x104/0x15c [videodev]
[ 214.962885] lr : pipeline_pm_power.part.0+0x60/0xfc [videodev]
[ 214.962940] sp : ffff80001300ba90
[ 214.962943] x29: ffff80001300ba90 x28: 000000000000000a x27: ffff00002cd29c00
[ 214.962954] x26: ffff80001300be40 x25: ffff80001117c000 x24: ffff00002cd2a000
[ 214.962964] x23: ffff000006191800 x22: 00000000ffffffff x21: 00000000ffffffff
[ 214.962975] x20: ffff0000bc84bcd0 x19: 00000000ffffffff x18: 000000000000000e
[ 214.962985] x17: 0000000000000001 x16: 0000000000000019 x15: 0000000000000033
[ 214.962995] x14: 0000000000000000 x13: 0000000000000030 x12: ffff8000ae7d3000
[ 214.963005] x11: 0000000000000000 x10: ffff000019ebdf10 x9 : ffff800009031b64
[ 214.963015] x8 : ffff00000d989308 x7 : 0000000000000000 x6 : 0000000000000000
[ 214.963025] x5 : 000000000000001e x4 : ffff0000bc84bcd0 x3 : 0000000000000004
[ 214.963035] x2 : 0000000000000002 x1 : 0000000000000002 x0 : ffff0000bc84bcd0
[ 214.963047] Call trace:
[ 214.963051] pipeline_pm_power_one+0x104/0x15c [videodev]
[ 214.963106] pipeline_pm_power.part.0+0x60/0xfc [videodev]
[ 214.963159] v4l2_pipeline_pm_use+0x5c/0xa0 [videodev]
[ 214.963214] v4l2_pipeline_pm_put+0x20/0x40 [videodev]
[ 214.963269] capture_release+0x58/0x90 [imx_media_common]
[ 214.963292] v4l2_release+0xc8/0x100 [videodev]
[ 214.963344] __fput+0x78/0x23c
[ 214.963360] ____fput+0x1c/0x30
[ 214.963367] task_work_run+0x90/0x190
[ 214.963375] do_exit+0x33c/0x9ec
[ 214.963383] do_group_exit+0x44/0xac
[ 214.963390] get_signal+0x18c/0x8f0
[ 214.963399] do_notify_resume+0x23c/0x10d0
[ 214.963409] el0_da+0x50/0x60
[ 214.963420] el0t_64_sync_handler+0x168/0x1b0
[ 214.963427] el0t_64_sync+0x1a0/0x1a4
[ 214.963435] ---[ end trace c4a2ad88b6c0947e ]---
[ 215.073484] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 215.073527] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 215.675157] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 215.675190] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 216.536827] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 216.536855] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 216.918214] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 216.918237] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 217.548794] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 217.548822] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 218.382725] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 218.382749] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 218.760451] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 218.760475] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 219.398312] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 219.398336] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 220.226083] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 220.226108] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 220.606095] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 220.606119] bq25890-charger 3-006a: Disabling OTG_EN pin
```
https://source.puri.sm/Librem5/linux/-/issues/371
rcu stall on cpu some time after cpuidle_enter_s2idle()
2022-02-08T17:03:08Z
Martin Kepplinger
rcu stall on cpu some time after cpuidle_enter_s2idle()
most of the time I see something like the following after it resumed:
```
[ 665.197214] rcu: INFO: rcu_preempt self-detected stall on CPU
[ 665.197387] rcu: 0-...!: (3 ticks this GP) idle=d81/1/0x4000000000000004 softirq=12675/12677 ...
most of the time I see something like the following after it resumed:
```
[ 665.197214] rcu: INFO: rcu_preempt self-detected stall on CPU
[ 665.197387] rcu: 0-...!: (3 ticks this GP) idle=d81/1/0x4000000000000004 softirq=12675/12677 fqs=0
[ 665.197463] (t=6321 jiffies g=19473 q=2)
[ 665.197498] rcu: rcu_preempt kthread timer wakeup didn't happen for 6320 jiffies! g19473 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402
[ 665.197512] rcu: Possible timer handling issue on cpu=1 timer-softirq=3725
[ 665.197526] rcu: rcu_preempt kthread starved for 6321 jiffies! g19473 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=1
[ 665.197543] rcu: Unless rcu_preempt kthread gets sufficient CPU time, OOM is now expected behavior.
[ 665.197550] rcu: RCU grace-period kthread stack dump:
[ 665.197571] task:rcu_preempt state:R running task stack: 0 pid: 13 ppid: 2 flags:0x00000008
[ 665.197646] Call trace:
[ 665.197656] __switch_to+0x138/0x190
[ 665.197867] __schedule+0x288/0x6ec
[ 665.197944] schedule+0x7c/0x110
[ 665.197963] schedule_timeout+0xa4/0x1c4
[ 665.197997] rcu_gp_fqs_loop+0x13c/0x51c
[ 665.198042] rcu_gp_kthread+0x1a4/0x264
[ 665.198055] kthread+0x15c/0x170
[ 665.198086] ret_from_fork+0x10/0x20
[ 665.198121] rcu: Stack dump where RCU GP kthread last ran:
[ 665.198132] Task dump for CPU 1:
[ 665.198145] task:kworker/u8:22 state:R running task stack: 0 pid: 1707 ppid: 2 flags:0x00000008
[ 665.198197] Workqueue: writeback wb_workfn (flush-179:0)
[ 665.198279] Call trace:
[ 665.198284] __switch_to+0x138/0x190
[ 665.198298] 0xffff0000093a2d00
[ 665.198388] Task dump for CPU 0:
[ 665.198395] task:swapper/0 state:R running task stack: 0 pid: 0 ppid: 0 flags:0x0000000a
[ 665.198420] Call trace:
[ 665.198427] dump_backtrace+0x0/0x1e4
[ 665.198446] show_stack+0x24/0x30
[ 665.198464] sched_show_task+0x15c/0x180
[ 665.198526] dump_cpu_task+0x50/0x60
[ 665.198575] rcu_dump_cpu_stacks+0xf4/0x138
[ 665.198591] rcu_sched_clock_irq+0xb78/0xf04
[ 665.198621] update_process_times+0xa8/0xf4
[ 665.198695] tick_sched_handle+0x3c/0x60
[ 665.198728] tick_sched_timer+0x58/0xb0
[ 665.198736] __hrtimer_run_queues+0x18c/0x370
[ 665.198754] hrtimer_interrupt+0xf4/0x250
[ 665.198767] arch_timer_handler_phys+0x40/0x50
[ 665.198837] handle_percpu_devid_irq+0x94/0x250
[ 665.198887] handle_domain_irq+0x6c/0xa0
[ 665.198903] gic_handle_irq+0xc4/0x144
[ 665.198925] call_on_irq_stack+0x2c/0x54
[ 665.198955] do_interrupt_handler+0x5c/0x70
[ 665.198962] el1_interrupt+0x30/0x80
[ 665.198995] el1h_64_irq_handler+0x18/0x24
[ 665.199011] el1h_64_irq+0x78/0x7c
[ 665.199018] cpuidle_enter_s2idle+0x14c/0x1ac
[ 665.199092] do_idle+0x25c/0x2a0
[ 665.199145] cpu_startup_entry+0x34/0x80
[ 665.199153] rest_init+0xec/0x100
[ 665.199172] arch_call_rest_init+0x1c/0x28
[ 665.199244] start_kernel+0x6e0/0x720
[ 665.199256] __primary_switched+0xc0/0xc8
```
https://source.puri.sm/Librem5/linux/-/issues/357
aux->drm_dev in drm_dp_aux_register() is NULL when called from cdns-dp-core.c
2021-10-12T15:37:49Z
Martin Kepplinger
aux->drm_dev in drm_dp_aux_register() is NULL when called from cdns-dp-core.c
during boot, we hit a WARN_ON() and see a stack trace on v5.15 based kernels:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=3f3a6524f6065fd3d130515e012f63eac74d96da should describe the issue better. It do...
during boot, we hit a WARN_ON() and see a stack trace on v5.15 based kernels:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=3f3a6524f6065fd3d130515e012f63eac74d96da should describe the issue better. It doesn't seem to critical, but it's at least an indication that `drm_dp_aux_register()` isn't use as intended in our dp drm driver.
Should we ask the author whether he's still working on it and can update? see https://lore.kernel.org/linux-arm-kernel/cover.1590982881.git.Sandor.yu@nxp.com/
https://source.puri.sm/Librem5/linux/-/issues/339
v4l-compliance for /dev/video0 just hangs:
2021-12-21T09:19:17Z
Guido Gunther
v4l-compliance for /dev/video0 just hangs:
```
$ v4l2-compliance
v4l2-compliance SHA: not available
, 64 bits, 64-bit time_t
Compliance test for mx6s-csi device /dev/video0:
Driver Info:
Driver name : mx6s-csi
Card type : i.MX6S_CSI
Bus info : platform:3...
```
$ v4l2-compliance
v4l2-compliance SHA: not available
, 64 bits, 64-bit time_t
Compliance test for mx6s-csi device /dev/video0:
Driver Info:
Driver name : mx6s-csi
Card type : i.MX6S_CSI
Bus info : platform:30a90000.csi1_bridge
Driver version : 5.12.2
Capabilities : 0x84200001
Video Capture
Streaming
Extended Pix Format
Device Capabilities
Device Caps : 0x04200001
Video Capture
Streaming
Extended Pix Format
Required ioctls:
test VIDIOC_QUERYCAP: OK
Allow for multiple opens:
test second /dev/video0 open: OK
test VIDIOC_QUERYCAP: OK
fail: v4l2-compliance.cpp(739): prio != match
test VIDIOC_G/S_PRIORITY: FAIL
test for unlimited opens: OK
test invalid ioctls: OK
Debug ioctls:
test VIDIOC_DBG_G/S_REGISTER: OK (Not Supported)
test VIDIOC_LOG_STATUS: OK (Not Supported)
Input ioctls:
test VIDIOC_G/S_TUNER/ENUM_FREQ_BANDS: OK (Not Supported)
test VIDIOC_G/S_FREQUENCY: OK (Not Supported)
test VIDIOC_S_HW_FREQ_SEEK: OK (Not Supported)
test VIDIOC_ENUMAUDIO: OK (Not Supported)
fail: v4l2-test-input-output.cpp(385): std == 0
fail: v4l2-test-input-output.cpp(455): invalid attributes for input 0
test VIDIOC_G/S/ENUMINPUT: FAIL
test VIDIOC_G/S_AUDIO: OK (Not Supported)
Inputs: 0 Audio Inputs: 0 Tuners: 0
Output ioctls:
test VIDIOC_G/S_MODULATOR: OK (Not Supported)
test VIDIOC_G/S_FREQUENCY: OK (Not Supported)
test VIDIOC_ENUMAUDOUT: OK (Not Supported)
test VIDIOC_G/S/ENUMOUTPUT: OK (Not Supported)
test VIDIOC_G/S_AUDOUT: OK (Not Supported)
Outputs: 0 Audio Outputs: 0 Modulators: 0
Input/Output configuration ioctls:
test VIDIOC_ENUM/G/S/QUERY_STD: OK (Not Supported)
test VIDIOC_ENUM/G/S/QUERY_DV_TIMINGS: OK (Not Supported)
test VIDIOC_DV_TIMINGS_CAP: OK (Not Supported)
test VIDIOC_G/S_EDID: OK (Not Supported)
Control ioctls:
test VIDIOC_QUERY_EXT_CTRL/QUERYMENU: OK (Not Supported)
fail: v4l2-test-controls.cpp(318): node->controls.find(qctrl.id) == node->controls.end()
test VIDIOC_QUERYCTRL: FAIL
test VIDIOC_G/S_CTRL: OK
test VIDIOC_G/S/TRY_EXT_CTRLS: OK (Not Supported)
test VIDIOC_(UN)SUBSCRIBE_EVENT/DQEVENT: OK (Not Supported)
test VIDIOC_G/S_JPEGCOMP: OK (Not Supported)
Standard Controls: 0 Private Controls: 0
Format ioctls:
^C^C
```
Version is `5.12.2pureos4`
https://source.puri.sm/Librem5/linux/-/issues/337
When phone is warm it dies (abrupt power off) when charging cable is unplugged
2021-09-14T11:33:12Z
Elias Rudberg
When phone is warm it dies (abrupt power off) when charging cable is unplugged
This is for Librem 5 Evergreen running PureOS Byzantium.
When the phone is warm, like after 20 minutes doing something CPU-intensive, disconnecting the charging cable often results in the phone suddenly turning off, seems like it just a...
This is for Librem 5 Evergreen running PureOS Byzantium.
When the phone is warm, like after 20 minutes doing something CPU-intensive, disconnecting the charging cable often results in the phone suddenly turning off, seems like it just abruptly loses power.
First this seemed random but now I found it is actually reproducible, the trick is just to make sure to run something that makes it warm first, then unplugging the charging cable makes it turn off.
Steps to reproduce:
- In power settings, select to never turn the screen off (so that we see if the phone dies)
- Reboot the phone while the charging cable is connected
- Leave it at the lock screen, no need to unlock it
- Start the command `stress-ng --cpu 4 --timeout 1800s` (or something else CPU-intensive) via ssh over wifi
- Let the above command run for about 20 minutes so that the phone starts to get warm
- Unplug charging cable, then wait for a few seconds
- Plug charging cable in again, then wait for a few seconds
- Unplug charging cable a second time --> now the phone turns itself off, screen goes black
The log from `sudo journalctl` does not show anything indicating that the kernel decided to shut down.
Sometimes, but not always, there is an error message like this shortly before the phone dies:
Jun 26 00:13:52 pureos kernel: tps6598x 0-003f: tps6598x_interrupt: failed to read events
which seems to come from this place in the code: https://source.puri.sm/Librem5/linux-next/-/blob/pureos/byzantium/drivers/usb/typec/tps6598x.c#L600
Could that kind of error lead to the phone losing power?
What could be done to debug this?
Is there some particular part of the kernel source code that would be involved if power is suddenly lost? Could some kind of extra debug output be enabled to see that happening?
https://source.puri.sm/Librem5/linux/-/issues/303
Modem usb periodic disconnects/resets
2023-03-14T17:23:48Z
Clayton Craft
Modem usb periodic disconnects/resets
On 5.11.6 (purism kernel) I experience frequent usb resets/disconnects with the modem, often times it'll result in the modem not coming back at all as in this case:
```
[98612.458958] usb 1-1.2: USB disconnect, device number 12
[98612.4...
On 5.11.6 (purism kernel) I experience frequent usb resets/disconnects with the modem, often times it'll result in the modem not coming back at all as in this case:
```
[98612.458958] usb 1-1.2: USB disconnect, device number 12
[98612.459557] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
[98612.459611] option 1-1.2:1.0: device disconnected
[98612.460111] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
[98612.460162] option 1-1.2:1.1: device disconnected
[98612.460743] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
[98612.460855] option 1-1.2:1.2: device disconnected
[98612.461383] option1 ttyUSB3: GSM modem (1-port) converter now disconnected from ttyUSB3
[98612.461467] option 1-1.2:1.3: device disconnected
[98612.461695] qmi_wwan 1-1.2:1.4 wwan0: unregister 'qmi_wwan' usb-xhci-hcd.4.auto-1.2, WWAN/QMI device
[98615.418433] usb 1-1-port2: connect-debounce failed
```
Toggling hks doesn't always bring it back (when this happens nothing is printed to dmesg when toggling modem hks).. sometimes I have to reboot before the modem shows up again.
The time between the usb disconnects is variable, sometimes it's several hours after boot before one happens, other times I see a series of them in dmesg all within a few minutes of each other.
I've tried:
- setting `usbcore.quirks=2020:2060:e` to enable the `USB_QUIRK_RESET` quirk, which disables resetting the usb device (I thought that maybe the reset was killing the modem)
- increasing `USB_RESUME_TIMEOUT` from 40 ms to 180 ms, thinking that maybe it was taking too long to resume from suspend (I guess there's no upper bound in the USB spec for how long a device can take to resume?)
The above experiments improve things slightly, I think, but I still see a number of usb disconnect/reconnects with the modem in dmesg, and eventually it'll not come back at all.
I haven't tried disabling PM, since the battery life impact is too much.
This might be a duplicate of #212...
https://source.puri.sm/Librem5/purple-mm-sms/-/issues/23
Segmentation fault in `device_match_by_obejct`
2021-03-04T09:49:43Z
Guido Gunther
Segmentation fault in `device_match_by_obejct`
Chatty crashes a lot like
```
(gdb) bt
#0 0x0000ffff6e79f644 in device_match_by_object (device=0x100000002, object=0xffff680065b0) at mm-sms.c:770
#1 0x0000ffff8e32b9c4 in g_ptr_array_find_with_equal_func (haystack=0xaaaaef761920, nee...
Chatty crashes a lot like
```
(gdb) bt
#0 0x0000ffff6e79f644 in device_match_by_object (device=0x100000002, object=0xffff680065b0) at mm-sms.c:770
#1 0x0000ffff8e32b9c4 in g_ptr_array_find_with_equal_func (haystack=0xaaaaef761920, needle=0xffff680065b0, equal_func=0xffff6e79f594 <device_match_by_object>, index_=0xffffcec57e34)
at ../../../glib/garray.c:2162
#2 0x0000ffff6e79fa10 in cb_object_removed (manager=0xaaaaefca8300, object=0xffff680065b0, user_data=0x0) at mm-sms.c:843
#6 0x0000ffff8e47c098 in <emit signal 0xffff8e64c258 "object-removed" on instance 0xaaaaefca8300 [MMManager]>
(instance=instance@entry=0xaaaaefca8300, detailed_signal=detailed_signal@entry=0xffff8e64c258 "object-removed") at ../../../gobject/gsignal.c:3591
#3 0x0000ffff8e462018 in g_closure_invoke
(closure=0xaaaaef5bce30, return_value=return_value@entry=0x0, n_param_values=2, param_values=param_values@entry=0xffffcec58020, invocation_hint=invocation_hint@entry=0xffffcec57fe8)
at ../../../gobject/gclosure.c:810
#4 0x0000ffff8e4759e4 in signal_emit_unlocked_R
(node=node@entry=0xffff74001790, detail=detail@entry=0, instance=instance@entry=0xaaaaefca8300, emission_return=emission_return@entry=0x0, instance_and_params=0xffffcec58020, instance_and_params@entry=0x0)
at ../../../gobject/gsignal.c:3739
#5 0x0000ffff8e47b898 in g_signal_emit_valist (instance=instance@entry=0xaaaaefca8300, signal_id=signal_id@entry=42, detail=detail@entry=0, var_args=...) at ../../../gobject/gsignal.c:3495
#7 0x0000ffff8e5fb19c in remove_interfaces (interface_names=0xaaaaef5c0a90, object_path=0xaaaaef5696b0 "/org/freedesktop/ModemManager1/Modem/6", manager=0xaaaaefca8300 [MMManager])
at ../../../gio/gdbusobjectmanagerclient.c:1665
#8 on_control_proxy_g_signal (proxy=<optimized out>, sender_name=<optimized out>, signal_name=<optimized out>, parameters=<optimized out>, user_data=<optimized out>)
at ../../../gio/gdbusobjectmanagerclient.c:1749
#12 0x0000ffff8e47be90 in <emit signal ??? on instance 0xaaaaefb912d0 [GDBusProxy]> (instance=instance@entry=0xaaaaefb912d0, signal_id=<optimized out>, detail=detail@entry=0) at ../../../gobject/gsignal.c:3551
#9 0x0000ffff8e462018 in g_closure_invoke
(closure=0xffff680077e0, return_value=return_value@entry=0x0, n_param_values=4, param_values=param_values@entry=0xffffcec58560, invocation_hint=invocation_hint@entry=0xffffcec58528)
at ../../../gobject/gclosure.c:810
#10 0x0000ffff8e4759e4 in signal_emit_unlocked_R
(node=node@entry=0xaaaaef536720, detail=detail@entry=0, instance=instance@entry=0xaaaaefb912d0, emission_return=emission_return@entry=0x0, instance_and_params=0xffffcec58560, instance_and_params@entry=0x0)
at ../../../gobject/gsignal.c:3739
#11 0x0000ffff8e47b898 in g_signal_emit_valist (instance=instance@entry=0xaaaaefb912d0, signal_id=<optimized out>, detail=detail@entry=0, var_args=...) at ../../../gobject/gsignal.c:3495
#13 0x0000ffff8e5e9f90 in on_signal_received
(connection=<optimized out>, sender_name=0xffff7802f9b0 ":1.12", object_path=<optimized out>, interface_name=<optimized out>, signal_name=0xffff78021910 "InterfacesRemoved", parameters=0xffff7803c500, user_data=<optimized out>) at ../../../gio/gdbusproxy.c:884
#14 0x0000ffff8e5d63c8 in emit_signal_instance_in_idle_cb (data=0xffff7803cba0) at ../../../gio/gdbusconnection.c:3789
#15 0x0000ffff8e35dab4 in g_main_dispatch (context=0xaaaaef529a40) at ../../../glib/gmain.c:3325
#16 g_main_context_dispatch (context=0xaaaaef529a40) at ../../../glib/gmain.c:4043
#17 0x0000ffff8e35de5c in g_main_context_iterate (context=context@entry=0xaaaaef529a40, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4119
#18 0x0000ffff8e35df24 in g_main_context_iteration (context=context@entry=0xaaaaef529a40, may_block=may_block@entry=1) at ../../../glib/gmain.c:4184
#19 0x0000ffff8e5abac8 in g_application_run (application=0xaaaaef528100 [ChattyApplication], argc=<optimized out>, argv=0xffffcec58bb8) at ../../../gio/gapplication.c:2559
#20 0x0000aaaabca877c8 in main ()
```
on byzantium (
This happens up to point where `gnome-session` gives up and one doesn't have chatty running and hence misses SMS, etc. hence flagging as important.
```
# dpkg -s purple-mm-sms
Package: purple-mm-sms
Status: install ok installed
Priority: optional
Section: net
Installed-Size: 73
Maintainer: DebianOnMobile Maintainers <debian-on-mobile-maintainers@alioth-lists.debian.net>
Architecture: arm64
Version: 0.1.7-1
Depends: libc6 (>= 2.17), libglib2.0-0 (>= 2.53.2), libmm-glib0 (>= 1.7.990), libpurple0 (>= 2.6.0), modemmanager
Description: libpurple plugin for SMS
Plugin for libpurple which adds the ability to communicate via
SMS using ModemManager.
Homepage: https://source.puri.sm/Librem5/purple-mm-sms
```
https://source.puri.sm/Librem5/Apps_Issues/-/issues/194
Adaptive file browser
2021-08-11T13:31:26Z
Guido Gunther
Adaptive file browser
I thought we had an issue but it does not seem so. With phosh gaining autmount support (https://source.puri.sm/Librem5/phosh/-/merge_requests/625, https://social.librem.one/@agx/105244223107125032) we want to be able to browse the media ...
I thought we had an issue but it does not seem so. With phosh gaining autmount support (https://source.puri.sm/Librem5/phosh/-/merge_requests/625, https://social.librem.one/@agx/105244223107125032) we want to be able to browse the media as well.
@alexander.mikhaylenko did you mention nautilus adaptive work recenty or do i misremember?
Evg++
Adrien Plazas
Adrien Plazas
https://source.puri.sm/Librem5/pureos-store/-/issues/13
Missing applications
2020-12-03T02:32:26Z
Sebastian Krzyszkowiak
Missing applications
Seems like form factor filtering doesn't work correctly.
Kyle reported these apps to be visible on a fresh installation:
```
Audio & Video: Lollypop
Communication & News: Chromium, Iceweasel, Geary, Gnome web, Chats
Productivity: Evinc...
Seems like form factor filtering doesn't work correctly.
Kyle reported these apps to be visible on a fresh installation:
```
Audio & Video: Lollypop
Communication & News: Chromium, Iceweasel, Geary, Gnome web, Chats
Productivity: Evince, Geary, Gnome dictionary
Games: SuperTuxKart, GNome 2048, Gnome Chess, Animatch
Graphics and Photography: Evince
Add-Ons: Tons of gstreamer stuff
Developer Tools: empty
Education & Science: Empty
Utilities: gedit, gnome calculator, password safe, gnome clocks, deja dup, gnome help, weather
```
This makes `bob`, `boiledcorn`, `drawing`, `lightsoff`, `gnome-sound-recorder`, `gnome-taquin`, `waaaa`, `whatip` missing even though they're correctly tagged.
On my device I see even different list of apps - for instance, GNOME 2048 and Chess don't show up even though I have them installed; and a few moments ago I've reinstalled GNOME Taquin on my phone and only then it started to appear in Store for me.
Evg++
https://source.puri.sm/Librem5/librem5-devkit-tools/-/issues/32
Hard coding root device considered harmful
2021-05-24T11:07:45Z
Guido Gunther
Hard coding root device considered harmful
https://source.puri.sm/Librem5/librem5-devkit-tools/-/blob/master/etc/flash-kernel/ubootenv.d/root sets the root device to `/dev/mmcblk0p2` which blows up badly when enabling encrytion.
https://source.puri.sm/Librem5/librem5-devkit-tools/-/blob/master/etc/flash-kernel/ubootenv.d/root sets the root device to `/dev/mmcblk0p2` which blows up badly when enabling encrytion.
https://source.puri.sm/Librem5/pureos-store/-/issues/8
Duplicated entries in app lists
2020-12-01T11:16:54Z
Sebastian Krzyszkowiak
Duplicated entries in app lists
When a package is available from multiple apt repositories, it shows up multiple times in app lists. All the entries take you to the same page showing the same latest version, and all the deb repositories are marked as currently active i...
When a package is available from multiple apt repositories, it shows up multiple times in app lists. All the entries take you to the same page showing the same latest version, and all the deb repositories are marked as currently active in the "Source" popover.
As an example: evince is available in different versions from `amber`, `amber-phone` and `amber-phone-staging` right now, which makes it appear three times.
<img src="/uploads/f5a5568dc41155678220160f53ba25e8/store3.png" width="480" />
<img src="/uploads/7bd9a514d9733d72f1c8e6ccf25f0f3f/store2.png" width="480" />
This also happens on the main page with stuff like "Editor's Picks" (currently it's just filled with Evinces for me :P)
Evg
https://source.puri.sm/Librem5/linux/-/issues/239
etnaviv: Fix too early gem unmap
2023-02-17T09:57:22Z
Guido Gunther
etnaviv: Fix too early gem unmap
With !233 we can unmap BOs too early. This of mitigated by !249 and can happen on external screen unplug (there are other scenarios but this is the most likely one). I have that on my todo list but there wasn't a bug so far. Trase looks...
With !233 we can unmap BOs too early. This of mitigated by !249 and can happen on external screen unplug (there are other scenarios but this is the most likely one). I have that on my todo list but there wasn't a bug so far. Trase looks somewhat like
```
[ 488.735126] Call trace:
[ 488.735132] etnaviv_gem_close_object+0xc8/0xd0
[ 488.735136] drm_gem_object_release_handle+0x40/0xa8
[ 488.735140] drm_gem_handle_delete+0x70/0xc8
[ 488.735144] drm_gem_close_ioctl+0x38/0x50
[ 488.735148] drm_ioctl_kernel+0xcc/0x120
[ 488.735151] drm_ioctl+0x250/0x4a0
```
https://source.puri.sm/Librem5/linux/-/issues/238
etnaviv: 'gpu not idle' hang on quick poweroff/poweron press with two outputs
2022-01-05T11:14:42Z
Guido Gunther
etnaviv: 'gpu not idle' hang on quick poweroff/poweron press with two outputs
saw this two times. Will investigate after other pending etnaviv fixes that might already fix this but for evg a 'don't do this' might do the trick ;)
saw this two times. Will investigate after other pending etnaviv fixes that might already fix this but for evg a 'don't do this' might do the trick ;)
Evg++
https://source.puri.sm/Librem5/geary/-/issues/5
Compose dialog does not fit vertically
2020-11-12T13:02:58Z
Guido Gunther
Compose dialog does not fit vertically
See how the lower half is cut off instead of resized (both with and without OSK):
![without osk](/uploads/8ca177b336c0400a5f68c9b66b4f75d1/d.png)
![with osk](/uploads/28583b5ea56dc4c2a63e867360c4c048/e.png)
See how the lower half is cut off instead of resized (both with and without OSK):
![without osk](/uploads/8ca177b336c0400a5f68c9b66b4f75d1/d.png)
![with osk](/uploads/28583b5ea56dc4c2a63e867360c4c048/e.png)
Evg
https://source.puri.sm/Librem5/geary/-/issues/4
Problem report dialog does not fit
2020-11-12T14:38:00Z
Guido Gunther
Problem report dialog does not fit
Trying to use geary with my librem.one account:
![Geary problem report dialog](/uploads/95bb422e083c9cc7c39cd77a7dc9e4d0/a.png)
(marked as important since this is what users see when something goes wrong with their account)
Trying to use geary with my librem.one account:
![Geary problem report dialog](/uploads/95bb422e083c9cc7c39cd77a7dc9e4d0/a.png)
(marked as important since this is what users see when something goes wrong with their account)
Evg
Julian Sparber
Julian Sparber