On Sat, 2023-04-01 at 21:11 -0400, Jonathan Billings wrote: > On Apr 1, 2023, at 13:11, Patrick O'Callaghan <pocallaghan@xxxxxxxxx> > wrote: > > > > I have a Logitech MX series wireless keyboard, and no keys are > > labelled > > as SysRq or PrtScr. Is there a way to configure a different > > sequence > > for the magic SysRq function? The man pages are not helpful. > > > https://www.kernel.org/doc/html/latest/admin-guide/sysrq.html#i-hit-sysrq-but-nothing-seems-to-happen-what-s-wrong > > I hit SysRq, but nothing seems to happen, what’s wrong? > There are some keyboards that produce a different keycode for SysRq > than the pre-defined value of 99 > (see KEY_SYSRQ in include/uapi/linux/input-event-codes.h), or which > don’t have a SysRq key at all. In these cases, run showkey -s to find > an appropriate scancode sequence, and use setkeycodes <sequence> 99to > map this sequence to the usual SysRq code > (e.g., setkeycodes e05b 99). It’s probably best to put this command > in a boot script. Oh, and by the way, you exit showkey by not typing > anything for ten seconds. Thanks, that's useful. [BTW, you forgot to include a text-only alternative in your reply - see the list guidelines.] poc _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue