How about a hard power switch? + crash report
#7
(05-16-2020, 10:34 PM)Der Geist der Maschine Wrote: Sysrqs are triggered over procfs or keyboard combinations. [..]
How have you traced invocations of sysrqs?

SYSRQs can also be issued over the UART. And the UART on the PBP is also being used as the headphone jack for audio. 
There is significant (~3Vpp) Crosstalk between the audio and UART lines. This is a hardware issue.

Here's a video of my PBP playing audio at full volume (and already distorting a little bit):
https://www.youtube.com/watch?v=MPKHM1J_Uxk

This causes erroneous inputs on the UART /dev/ttyS2. Normally ttyS2 has a getty and the kernel will respond to SYSRQs on this terminal. 
These inputs will cause all sorts of behaviour, including hangs, crashes and stuttering because the kernel will stop everything it does to parse the SYSRQs.

If you want to reproduce this, set everything in alsamixer and pavucontrol to max volume, play a loud rock song and make sure to stop serial-getty@ttyS2 (or the equivalent for your OS, otherwise the getty will fetch all your tty input before your cat can).


Messages In This Thread
RE: How about a hard power switch? + crash report - by manawyrm - 05-18-2020, 12:00 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Lockable-until-power-cycle persistent storage Melab 0 976 09-17-2023, 08:51 PM
Last Post: Melab
  power on Pinebook Pro mainboard without keyboard? papable 0 1,071 07-20-2023, 11:06 PM
Last Post: papable
  I'm booting from NVME but I want to switch back to eMMC acruhl 4 2,075 04-23-2023, 06:58 AM
Last Post: acruhl
  When does Pinebook Pro power LED go on? Bram 0 847 03-14-2023, 09:53 AM
Last Post: Bram
  Doesn’t power on after flashing emmc badguru 3 1,725 02-25-2023, 09:00 PM
Last Post: badguru
Heart Now better battery life or power management? KC9UDX 5 2,963 09-09-2022, 08:13 PM
Last Post: KC9UDX
  Pinebook Pro not powering on when eMMC hardware switch is off vgrimaldi 2 3,328 06-29-2021, 05:19 AM
Last Post: KC9UDX
  Gimp makes stock Manjaro KDE/X11 crash stozi 3 4,870 04-21-2021, 08:15 AM
Last Post: stozi
  Replacement Power Cord recommendation? nathanielwheeler 3 3,764 01-23-2021, 06:43 PM
Last Post: KC9UDX
  power light blinking during charge when pbpro is off Idaho 0 2,001 01-04-2021, 10:53 AM
Last Post: Idaho

Forum Jump:


Users browsing this thread: 1 Guest(s)