Medion P89660 - Intercept copy button

Post Reply
mcmellow
Posts: 18
Joined: Mon Aug 11, 2014 6:06 pm

Medion P89660 - Intercept copy button

Post by mcmellow » Sun Feb 28, 2016 12:24 pm

Hi

Medion Tweaks - Intercept copy button

Can I put in the command reboot in the long press field or is this too dangerous?
When I tick "Beep on intercept" is it right it beeps six times?

Kind regards
McMelloW

Mijzelf
Posts: 6207
Joined: Mon Jun 16, 2008 10:45 am

Re: Medion P89660 - Intercept copy button

Post by Mijzelf » Sun Feb 28, 2016 6:12 pm

If you enabled the 'Fake powerdown' option you can safely reboot that way. (Without that option rebooting isn't safe at all. The box will reboot with the data partition mounted).

And yes, six beeps sounds OK. Actually it beeps for 2 seconds, when I remember well. The beep utility only supports a time, not a number.

mcmellow
Posts: 18
Joined: Mon Aug 11, 2014 6:06 pm

Re: Medion P89660 - Intercept copy button

Post by mcmellow » Sun Feb 28, 2016 8:08 pm

Thanks,

Yes, the 'Fake powerdown' option is enabled. For my understanding, with this enabled, the disk will be unmounted and spinned down, network down. Before the actual reboot is done?

Mijzelf
Posts: 6207
Joined: Mon Jun 16, 2008 10:45 am

Re: Medion P89660 - Intercept copy button

Post by Mijzelf » Mon Feb 29, 2016 12:24 pm

Not really. The 'Fake powerdown' is actually implemented as a blocking reboot.

In pseudocode:

Code: Select all

<crappy medion code which doesn't unmount the disk>

<my injected code>
while still something mounted 
    unmount it

if poweroff
   switch off disk
   if not wake on lan needed
      switch off lan
   wait for magic packet

end of code. Now it's up to the kernel
So when rebooting your disk is unmounted, and then the actual reboot is done. When you 'power off' the disk is unmounted, and switched off, and the device waits forever on a magic packet (Which will not arrive if the network is down).

Post Reply