Can I restore keyboard input that was made during Mac OS startup?

I wonder if it is possible to find out which keys the user pressed during the launch of his Mac OS?

Anyway. As far as I understand, there is no easy way to just connect the application / script to start working and capture keystrokes simultaneously with the OS. But maybe there is a way to turn this into a reverse engineer? Maybe searching for a specific log file or something like that?

All results will be completed. I am mainly interested in the search that the user pressed / held during the OS startup. It can be a string, a character code or a hexadecimal code, it does not matter.

UPDATE: Guided by the recommendations of Pekka. I found a kernel extension that should do the job. And this, I hope, will do it after this next question - Why does this keyboard intercepting the kernel extension not work? . :)

+1
source share
3 answers

I am not an OS guru, but I think very, very, very hard. I do not think that such things are automatically recorded anywhere.

I think you will need to see how the part of the system that processes the startup keys is somehow accessible and can be expanded to invoke the command you define.

, , - - script, .

+1

, , .

  • , - EFI (, rEFIt , ?
  • boot.efi(BootX Mac PPC). , /, , Darwin, .
  • ​​ ( ) ( , , ).
  • . , /etc/rc.local , /System/Library/LaunchDaemons Library/LaunchDaemons ... , .
+1

, . , , .

0

All Articles