linux issues
https://source.puri.sm/Librem5/linux/-/issues
2022-02-10T15:31:23Z
https://source.puri.sm/Librem5/linux/-/issues/397
Consider a minimal rescue kernel as /boot/vmlinuz
2022-02-10T15:31:23Z
Guido Gunther
Consider a minimal rescue kernel as /boot/vmlinuz
Now that we switch to using the installed kernel directly (instead of copying to `/boot/vmlinuz`) we could use that location for a minimal rescue kernel that:
- has a frame buffer to show an error
- exports `/dev/ttyACM0` so one can get...
Now that we switch to using the installed kernel directly (instead of copying to `/boot/vmlinuz`) we could use that location for a minimal rescue kernel that:
- has a frame buffer to show an error
- exports `/dev/ttyACM0` so one can get access / unlock the initramfs
- has everything needed built in (or creates the initramfs including the modules in the same step).
In order to safe space we'd want to use a minimal defconfig (hence filing at the kernel side)
`boot.scr` is already equipped for booting such a thing when kernel/initramfs are missing.
https://source.puri.sm/Librem5/linux/-/issues/396
After software update, no WiFi or WWAN adapter found
2022-02-11T10:25:30Z
Jan Vlug
After software update, no WiFi or WWAN adapter found
[Reported](https://forums.puri.sm/t/after-software-update-no-wifi-or-wwan-adapter-found/16259) by someone on the forum and confirmed by me:
I just updated my Librem 5’s PureOS Byzantium using the PureOS Store. Upon rebooting after the u...
[Reported](https://forums.puri.sm/t/after-software-update-no-wifi-or-wwan-adapter-found/16259) by someone on the forum and confirmed by me:
I just updated my Librem 5’s PureOS Byzantium using the PureOS Store. Upon rebooting after the update, there is no WiFi or mobile/cellular/WWAN network connectivity. The icons don’t show in the top corner of the screen and the settings for WiFi/Mobile show “No (WiFi|WWAN) Adapter Found”.
lsusb shows a device 2020:2060 Qualcomm, Incorporated Qualcomm CDMA Technologies MSM, which I presume is the modem.
Have tried toggling kill switches on and off and rebooting.
Phone is behaving almost as if in lockdown mode, as the rotation sensor is not active. No icons for camera or microphone either, though, so not quite the same mode.
https://source.puri.sm/Librem5/linux/-/issues/395
phone locked up when recieving SMS while suspended
2022-02-24T16:46:53Z
Clayton Craft
phone locked up when recieving SMS while suspended
I suspended my L5 running the 5.16.3 kernel:
```
$ echo mem | sudo tee /sys/power/state
```
Then a few minutes later sent an SMS to it. The display woke up and showed the last thing it had shown before suspending (which was Chatty runn...
I suspended my L5 running the 5.16.3 kernel:
```
$ echo mem | sudo tee /sys/power/state
```
Then a few minutes later sent an SMS to it. The display woke up and showed the last thing it had shown before suspending (which was Chatty running in phosh), and seems to have completely locked up. No lockscreen was shown, and it was unresponsive to taps, button HW presses, or SSH over usb network (on postmarketOS).
I don't have a way to get a serial console on this phone :disappointed:
https://source.puri.sm/Librem5/linux/-/issues/394
wm8962: support detecting an external analogue microphone
2022-03-14T17:02:07Z
Martin Kepplinger
wm8962: support detecting an external analogue microphone
We currently only detect headphones, not the mic (in case of a headset). So our ucm profile that makes the headset mic available is wrong because it listens to the headphones jack, not whether a MIC is available (IN3R is grounded, see ht...
We currently only detect headphones, not the mic (in case of a headset). So our ucm profile that makes the headset mic available is wrong because it listens to the headphones jack, not whether a MIC is available (IN3R is grounded, see https://source.puri.sm/Librem5/linux-next/-/issues/5#note_111192 )
https://source.puri.sm/Librem5/linux/-/issues/393
5.17: millipixels crashes when switching to front cam
2022-04-13T10:36:04Z
Martin Kepplinger
5.17: millipixels crashes when switching to front cam
how to reproduce: `apt install linux-image-5.17.0-1-librem5` reboot and:
```
purism@pureos:~$ millipixels
Found config file at /usr/share/millipixels/config/purism,librem5r4.ini
Adding camera big from config
matched GRBG8 to GRBG8 3
mat...
how to reproduce: `apt install linux-image-5.17.0-1-librem5` reboot and:
```
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
19: there's csi, looking for s5k3l6xx 3-002d
19: there's csi capture, looking for s5k3l6xx 3-002d
19: there's imx8mq-mipi-csi2 30b60000.csi, looking for s5k3l6xx 3-002d
19: there's s5k3l6xx 3-002d, looking for s5k3l6xx 3-002d
found!
devname /dev/video1
19: there's csi, looking for s5k3l6xx 3-002d
19: there's csi capture, looking for s5k3l6xx 3-002d
19: there's imx8mq-mipi-csi2 30b60000.csi, looking for s5k3l6xx 3-002d
19: there's s5k3l6xx 3-002d, looking for s5k3l6xx 3-002d
found!
linking flags 0 source 15:0 sink 10:0
MPDevice: MEDIA_IOC_SETUP_LINK error 22, Das Argument ist ungültig
mp_device_list_find_remove imx7-csi hi846 2-0020
18: there's csi, looking for hi846 2-0020
18: there's csi capture, looking for hi846 2-0020
18: there's imx8mq-mipi-csi2 30a70000.csi, looking for hi846 2-0020
18: there's hi846 2-0020, looking for hi846 2-0020
found!
devname /dev/video0
18: there's csi, looking for hi846 2-0020
18: there's csi capture, looking for hi846 2-0020
18: there's imx8mq-mipi-csi2 30a70000.csi, looking for hi846 2-0020
18: there's hi846 2-0020, looking for hi846 2-0020
found!
linking flags 0 source 15:0 sink 10:0
MPDevice: MEDIA_IOC_SETUP_LINK error 22, Das Argument ist ungültig
linking flags 1 source 15:0 sink 10:0
MPDevice: MEDIA_IOC_SETUP_LINK error 22, Das Argument ist ungültig
Setting mode 1052 780
[0:00:43.190897413] [1373] INFO Camera camera_manager.cpp:293 libcamera v0.0.0
[0:00:43.207543214] [1374] WARN CameraSensorProperties camera_sensor_properties.cpp:141 No static properties available for 's5k3l6xx'
[0:00:43.207654694] [1374] WARN CameraSensorProperties camera_sensor_properties.cpp:143 Please consider updating the camera sensor properties database
[0:00:43.208814374] [1373] INFO Camera camera.cpp:937 configuring streams: (0) 1052x780-SGRBG8
[0:00:43.210288574] [1374] ERROR DeviceEnumerator device_enumerator.cpp:166 Removing media device /dev/media0 while still in use
ok
linking flags 0 source 15:0 sink 10:0
MPDevice: MEDIA_IOC_SETUP_LINK error 22, Das Argument ist ungültig
linking flags 1 source 15:0 sink 10:0
MPDevice: MEDIA_IOC_SETUP_LINK error 22, Das Argument ist ungültig
Setting mode 1632 1224
[0:00:47.868624801] [1373] INFO Camera camera_manager.cpp:293 libcamera v0.0.0
[0:00:47.884657882] [1378] WARN CameraSensorProperties camera_sensor_properties.cpp:141 No static properties available for 's5k3l6xx'
[0:00:47.884736122] [1378] WARN CameraSensorProperties camera_sensor_properties.cpp:143 Please consider updating the camera sensor properties database
Speicherzugriffsfehler (Speicherabzug geschrieben)
```
coredump:
```
PID: 1365 (millipixels)
UID: 1000 (purism)
GID: 1000 (purism)
Signal: 11 (SEGV)
Timestamp: Mon 2022-01-31 11:23:00 CET (1min 6s ago)
Command Line: millipixels
Executable: /usr/bin/millipixels
Control Group: /user.slice/user-1000.slice/session-3.scope
Unit: session-3.scope
Slice: user-1000.slice
Session: 3
Owner UID: 1000 (purism)
Boot ID: 08f46d9efb6e49efbb6c1a8dc73d7306
Machine ID: b4d66758395f458e9e0440f46d49b7ed
Hostname: pureos
Storage: /var/lib/systemd/coredump/core.millipixels.1000.08f46d9efb6e49efbb6c1a8dc73d7306.1365.1>
Message: Process 1365 (millipixels) of user 1000 dumped core.
Stack trace of thread 1373:
#0 0x0000ffffbeeea818 _ZNKSt15__uniq_ptr_implIN9libcamera10Extensible7PrivateESt14defa>
#1 0x0000aaaaea2af670 setMode (millipixels + 0x1f670)
#2 0x0000aaaaea2a966c mp_camera_set_mode (millipixels + 0x1966c)
#3 0x0000aaaaea2ad3e4 update_state (millipixels + 0x1d3e4)
#4 0x0000aaaaea2abbc8 invoke_impl (millipixels + 0x1bbc8)
#5 0x0000ffffbe09aab4 g_main_dispatch (libglib-2.0.so.0 + 0x53ab4)
#6 0x0000ffffbe09ae5c g_main_context_iterate (libglib-2.0.so.0 + 0x53e5c)
#7 0x0000ffffbe09b1b0 g_main_loop_run (libglib-2.0.so.0 + 0x541b0)
#8 0x0000aaaaea2abbe4 thread_main_loop (millipixels + 0x1bbe4)
#9 0x0000ffffbdd34628 start_thread (libpthread.so.0 + 0x8628)
#10 0x0000ffffbdc8c01c thread_start (libc.so.6 + 0xd601c)
Stack trace of thread 1366:
#0 0x0000ffffbdc822f4 __GI___poll (libc.so.6 + 0xcc2f4)
#1 0x0000ffffbe09adf8 g_main_context_poll (libglib-2.0.so.0 + 0x53df8)
#2 0x0000ffffbe09af24 g_main_context_iteration (libglib-2.0.so.0 + 0x53f24)
#3 0x0000ffffbe09af7c glib_worker_main (libglib-2.0.so.0 + 0x53f7c)
#4 0x0000ffffbe0c48f4 g_thread_proxy (libglib-2.0.so.0 + 0x7d8f4)
#5 0x0000ffffbdd34628 start_thread (libpthread.so.0 + 0x8628)
#6 0x0000ffffbdc8c01c thread_start (libc.so.6 + 0xd601c)
Stack trace of thread 1365:
#0 0x0000ffffbdc822f4 __GI___poll (libc.so.6 + 0xcc2f4)
#1 0x0000ffffbe09adf8 g_main_context_poll (libglib-2.0.so.0 + 0x53df8)
#2 0x0000ffffbe09b1b0 g_main_loop_run (libglib-2.0.so.0 + 0x541b0)
#3 0x0000ffffbe8a69d0 gtk_main (libgtk-3.so.0 + 0x26b9d0)
#4 0x0000aaaaea2a538c main (millipixels + 0x1538c)
#5 0x0000ffffbdbda218 __libc_start_main (libc.so.6 + 0x24218)
#6 0x0000aaaaea2a5418 $x (millipixels + 0x15418)
#7 0x0000aaaaea2a5418 $x (millipixels + 0x15418)
```
nothing in the kernel logs. where's the bug then?
Dorota Czaplejewicz
Dorota Czaplejewicz
https://source.puri.sm/Librem5/linux/-/issues/392
Add tracing to the DP layer / cadence driver
2023-02-12T13:20:50Z
Guido Gunther
Add tracing to the DP layer / cadence driver
Having the relevant events in the tracing framework would help a lot debugging customer problems since we don't have to correlate traces and dmesg (I've had this on my list since ages but lets have a bug).
Having the relevant events in the tracing framework would help a lot debugging customer problems since we don't have to correlate traces and dmesg (I've had this on my list since ages but lets have a bug).
https://source.puri.sm/Librem5/linux/-/issues/391
Fix CVE-2022-0185
2022-01-21T09:22:31Z
Evangelos Ribeiro Tzaras
Fix CVE-2022-0185
See https://seclists.org/oss-sec/2022/q1/54
Not sure what the workflow is for this repo, but I can slap the patch on top (once gitlab finished forking).
See https://seclists.org/oss-sec/2022/q1/54
Not sure what the workflow is for this repo, but I can slap the patch on top (once gitlab finished forking).
https://source.puri.sm/Librem5/linux/-/issues/390
Librem5 doesn't always recognize charger
2022-10-30T22:09:36Z
Steve Stevens
Librem5 doesn't always recognize charger
The phone gets into a state where phosh seems to think the phone is charging, but the kernel does not(You can see the lightning bolt next to the battery whether the phone is plugged in or not). This remains the case regardless of whether...
The phone gets into a state where phosh seems to think the phone is charging, but the kernel does not(You can see the lightning bolt next to the battery whether the phone is plugged in or not). This remains the case regardless of whether the phone is plugged in or not. The main way I've noticed this issue is when unplugging the phone and not hearing the 'click click' from phosh signifying it's disconnected, and thus suspect the state occurs as part of unplugging the device.
Method for checking the kernel regarding the charging state:
```
root@librem:~# cat /sys/class/power_supply/bq25890-charger/status
Discharging
```
Plugging the phone into the charger triggers no messages in dmesg or the red "charging" light.
Only way I've found to fix this is to reboot the phone and then things start working normally again.
If left unnoticed this issue results in the phone discharging and dieing regardless of whether it is plugged in or not.
https://source.puri.sm/Librem5/linux/-/issues/389
rename the repo to linux
2022-02-28T15:56:49Z
Martin Kepplinger
rename the repo to linux
since linux-next is misleading we should consider renaming this repo to "linux".
since linux-next is misleading we should consider renaming this repo to "linux".
https://source.puri.sm/Librem5/linux/-/issues/388
mxsfb display path: support DRM_IOCTL_MODE_SETGAMMA
2022-01-05T11:13:41Z
Guido Gunther
mxsfb display path: support DRM_IOCTL_MODE_SETGAMMA
Needed for e.g. nightlight to work.
AFAIK we can't do that in mxsfb itself. There's other places that come to mind but I'll label that mxsfb since this is for the `mxsfb -> nwl -> phy -> panel` pipeline.
(known issue but lets have a bug)
Needed for e.g. nightlight to work.
AFAIK we can't do that in mxsfb itself. There's other places that come to mind but I'll label that mxsfb since this is for the `mxsfb -> nwl -> phy -> panel` pipeline.
(known issue but lets have a bug)
https://source.puri.sm/Librem5/linux/-/issues/387
dcss: support DRM_IOCTL_MODE_SETGAMMA
2022-06-03T08:35:15Z
Guido Gunther
dcss: support DRM_IOCTL_MODE_SETGAMMA
Needed for e.g. nightlight to work.
I have a good idea what we need to do here.
(known issue but lets have a bug)
Needed for e.g. nightlight to work.
I have a good idea what we need to do here.
(known issue but lets have a bug)
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/385
st_lsm6dsx: support trigger/buffer iio api for the lsm9ds1
2021-12-21T11:47:08Z
Martin Kepplinger
st_lsm6dsx: support trigger/buffer iio api for the lsm9ds1
we currently require userspace to repeatedly read the accelerometer. We need to support the interrupt-based mode: configure the device for interrupts and implement iio trigger/buffer support for userspace.
iio-sensor-proxy should be rea...
we currently require userspace to repeatedly read the accelerometer. We need to support the interrupt-based mode: configure the device for interrupts and implement iio trigger/buffer support for userspace.
iio-sensor-proxy should be ready for it: https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/-/blob/master/src/drv-iio-buffer-accel.c#L168
https://source.puri.sm/Librem5/linux/-/issues/384
redpine: locking bug after system resume
2022-01-28T11:40:48Z
Martin Kepplinger
redpine: locking bug after system resume
after resuming from suspend I often see
```
[ 846.920253] INFO: task kworker/u8:19:1715 blocked for more than 120 seconds.
[ 846.927351] Tainted: G C 5.15.3-librem5-00348-g1c083b116187 #680
[ 846.9352...
after resuming from suspend I often see
```
[ 846.920253] INFO: task kworker/u8:19:1715 blocked for more than 120 seconds.
[ 846.927351] Tainted: G C 5.15.3-librem5-00348-g1c083b116187 #680
[ 846.935224] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 846.943084] task:kworker/u8:19 state:D stack: 0 pid: 1715 ppid: 2 flags:0x00000008
[ 846.943105] Workqueue: phy0 ieee80211_iface_work [mac80211]
[ 846.943384] Call trace:
[ 846.943388] __switch_to+0x138/0x190
[ 846.943406] __schedule+0x288/0x6ec
[ 846.943420] schedule+0x7c/0x110
[ 846.943435] schedule_preempt_disabled+0x30/0x4c
[ 846.943450] __mutex_lock.constprop.0+0x194/0x570
[ 846.943463] __mutex_lock_slowpath+0x1c/0x30
[ 846.943474] mutex_lock+0x54/0x60
[ 846.943483] rsi_mac80211_ampdu_action+0x84/0x31c [redpine_91x]
[ 846.943531] drv_ampdu_action+0x6c/0x270 [mac80211]
[ 846.943729] ___ieee80211_start_rx_ba_session+0x3ec/0x630 [mac80211]
[ 846.943922] ieee80211_process_addba_request+0xf4/0x1a0 [mac80211]
[ 846.944140] ieee80211_iface_work+0x3ac/0x3dc [mac80211]
[ 846.944335] process_one_work+0x208/0x4bc
[ 846.944349] worker_thread+0x148/0x47c
[ 846.944359] kthread+0x15c/0x170
[ 846.944369] ret_from_fork+0x10/0x20
```
and my workaround is
```
--- a/drivers/net/wireless/redpine/rsi_91x_mac80211.c
+++ b/drivers/net/wireless/redpine/rsi_91x_mac80211.c
@@ -1768,8 +1768,6 @@ static int rsi_mac80211_ampdu_action(struct ieee80211_hw *hw,
break;
}
- mutex_lock(&common->mutex);
-
#if (((LINUX_VERSION_CODE >= KERNEL_VERSION(4, 4, 69)) && \
(LINUX_VERSION_CODE < KERNEL_VERSION(4, 5, 0))) || \
(LINUX_VERSION_CODE >= KERNEL_VERSION(4, 6, 0)))
@@ -1869,7 +1867,6 @@ static int rsi_mac80211_ampdu_action(struct ieee80211_hw *hw,
break;
}
- mutex_unlock(&common->mutex);
return status;
}
```
fix it properly.
https://source.puri.sm/Librem5/linux/-/issues/383
need way to upgrade touch controller firmware
2023-02-23T12:12:17Z
Clayton Craft
need way to upgrade touch controller firmware
I'm experiencing some rather annoying issues with taps not registering towards the edge of the screen after tapping towards the center of the screen first. This is on evergreen with touch controller firmware version `1`.
@sebastian.krzy...
I'm experiencing some rather annoying issues with taps not registering towards the edge of the screen after tapping towards the center of the screen first. This is on evergreen with touch controller firmware version `1`.
@sebastian.krzyszkowiak mentioned in chat that this is a known issue, fixed by version `2`. according to @martin.kepplinger (also in chat), there's vendor driver (not in this kernel, I presume) that allows fw upload, but the mainline driver does not.
https://source.puri.sm/Librem5/linux/-/issues/382
make the wwan driver listen to 4G_WAKE and wake the system
2021-12-21T16:18:14Z
Martin Kepplinger
make the wwan driver listen to 4G_WAKE and wake the system
even in mainline we currently describe the 4G_WAKE pin as gpio-key for the devkit: https://elixir.bootlin.com/linux/latest/source/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts#L53 and we want to do the same for the phone.
but ...
even in mainline we currently describe the 4G_WAKE pin as gpio-key for the devkit: https://elixir.bootlin.com/linux/latest/source/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts#L53 and we want to do the same for the phone.
but that looks like a short-term workaround: the `KEY_PHONE` describes a physical key that starts a phone application (afaik). This is not what's happening here and not what we have on the phone (or devkit).
so the wwan driver should look at this pin and wake the system on incoming calls and sms instead, right?
https://source.puri.sm/Librem5/linux/-/issues/381
error on unplugging, shutdown and suspend: dwc3 38100000.usb: request was not...
2022-02-01T09:27:29Z
Martin Kepplinger
error on unplugging, shutdown and suspend: dwc3 38100000.usb: request was not queued to ep1in
most likely an error that would apply to upstream as well. Let's track it here as I want to either try to fix it properly or silence it.
most likely an error that would apply to upstream as well. Let's track it here as I want to either try to fix it properly or silence it.
https://source.puri.sm/Librem5/linux/-/issues/380
on screen off: edt_ft5x06 2-0038: Unable to fetch data, error: -6
2021-12-07T18:03:50Z
Martin Kepplinger
on screen off: edt_ft5x06 2-0038: Unable to fetch data, error: -6
we should get rid of this error one way or the other
we should get rid of this error one way or the other
https://source.puri.sm/Librem5/linux/-/issues/379
the max17042 fuel gauge wakes the system up from suspend
2022-01-31T15:34:41Z
Martin Kepplinger
the max17042 fuel gauge wakes the system up from suspend
after "a few minutes" the system would resume (most probably) because of the max17042 driver. (all wakeup sources are in debugfs' `wakeup_sources` )
what can go wrong when doing the following? How should resume() compensate for this? It...
after "a few minutes" the system would resume (most probably) because of the max17042 driver. (all wakeup sources are in debugfs' `wakeup_sources` )
what can go wrong when doing the following? How should resume() compensate for this? It's definitely not "necessary" from a users point of view to wake up as often as we do now here. It might be when the battery is low? Can we even detect that?
```
--- a/drivers/power/supply/max17042_battery.c
+++ b/drivers/power/supply/max17042_battery.c
@@ -1211,7 +1211,6 @@ static int max17042_suspend(struct device *dev)
*/
if (chip->client->irq) {
disable_irq(chip->client->irq);
- enable_irq_wake(chip->client->irq);
}
return 0;
@@ -1222,7 +1221,6 @@ static int max17042_resume(struct device *dev)
struct max17042_chip *chip = dev_get_drvdata(dev);
if (chip->client->irq) {
- disable_irq_wake(chip->client->irq);
enable_irq(chip->client->irq);
/* re-program the SOC thresholds to 1% change */
max17042_set_soc_threshold(chip, 1);
```
https://source.puri.sm/Librem5/linux/-/issues/378
s5k3l6xx rear cam: i2c fails during probe or runtime resume
2023-10-04T20:59:04Z
Martin Kepplinger
s5k3l6xx rear cam: i2c fails during probe or runtime resume
on my Evergreen, when opening millipixels on 5.15 kernels I get
```
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 se...
on my Evergreen, when opening millipixels on 5.15 kernels I get
```
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
18: there's csi, looking for s5k3l6xx 3-002d
18: there's csi capture, looking for s5k3l6xx 3-002d
18: there's imx8mq-mipi-csi2 30a70000.csi, looking for s5k3l6xx 3-002d
18: there's hi846 2-0020, looking for s5k3l6xx 3-002d
Could not find /dev/media* node matching 'imx7-csi'
mp_device_list_find_remove imx7-csi hi846 2-0020
18: there's csi, looking for hi846 2-0020
18: there's csi capture, looking for hi846 2-0020
18: there's imx8mq-mipi-csi2 30a70000.csi, looking for hi846 2-0020
18: there's hi846 2-0020, looking for hi846 2-0020
found!
devname /dev/video0
18: there's csi, looking for hi846 2-0020
18: there's csi capture, looking for hi846 2-0020
18: there's imx8mq-mipi-csi2 30a70000.csi, looking for hi846 2-0020
18: there's hi846 2-0020, looking for hi846 2-0020
found!
linking flags 0 source 15:0 sink 10:0
MPDevice: MEDIA_IOC_SETUP_LINK error 22, Invalid argument
** (sm.puri.Millipixels:2041): CRITICAL **: 10:36:26.439: mp_device_setup_link: assertion 'source_pad' failed
Setting mode 1052 780
Speicherzugriffsfehler (Speicherabzug geschrieben)
```
when the driver didn't probe successfully: `s5k3l6xx: i2c_read: error during transfer (-6)` and the `dev/media` device is not availble. the above millipixels is not a kernel issue, only i2c failing is.