Re: [PATCH] drivers/tty: Folding Android's keyreset driver in sysRQ

From: Alan Cox
Date: Tue Aug 28 2012 - 06:51:04 EST


> Please document what button/key combinations those are.

It's taken from the platform data. Most phone devices don't have a real
keyboard let alone an sysrq key so it's device specific button combos in
general that trigger things like power off.

>
> > The first time the key-combo is detected a work function that syncs
> > the filesystems is scheduled and the kernel rebooted. If all the keys
> > are released and then pressed again, it calls panic. Reboot on panic
> > should be set for this to work. A platform device that specify a
> > reset key-combo should be added to the board file to trigger the
> > feature.

And it is documented ... ^^^^^^^^^^^^^^^^^^^^^^^^^^


Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/