Media keys does not work after computer has been locked
Posted: Thu Oct 04, 2007 4:32 am
System: Win XP SP2, Dell XPS Gen2 portable, Logitech Cordless Keyboard, MediaMonkey 3.0.0.1081
After starting MediMonkey the media buttons (eg. Play/pause) on the keyboard and on the computer works fine.
After Locking (WinKey+L) and unlocking (type password) the computer, the media keys no longer works.
DebugView shows not entries of detecting the keys, just pausing and unpausing the playback:
Log when keys are working:
00000000 0.00000000 [5608] MMDS: Pause starting
00000001 0.00009890 [5608] MMDS: Starting smooth unpausing
00000002 0.00379992 [5608] MMDS: Pause finished
00000003 0.00390357 [5608] Winamp sim - WM_USER message 603
00000004 0.08577319 [5608] MMDS: Unpausing, playsfor: 15168, ratio: 0,143310657596372
00000005 0.11422876 [5608] MMDS: Unpausing, playsfor: 20104, ratio: 0,18994708994709
00000006 0.13463610 [5608] MMDS: Unpausing, playsfor: 23808, ratio: 0,224943310657596
00000007 0.15804076 [5608] MMDS: Unpausing, playsfor: 27864, ratio: 0,263265306122449
00000008 0.18147922 [5608] MMDS: Unpausing, playsfor: 32096, ratio: 0,303250188964475
00000009 0.21708681 [5608] MMDS: Unpausing, playsfor: 38268, ratio: 0,36156462585034
00000010 0.24209166 [5608] MMDS: Unpausing, playsfor: 42676, ratio: 0,403212396069539
00000011 0.26617265 [5608] MMDS: Unpausing, playsfor: 46908, ratio: 0,443197278911565
00000012 0.26661769 [5608] MMDS: Written 101376 bytes
00000013 0.28698143 [5608] MMDS: Unpausing, playsfor: 50612, ratio: 0,478193499622071
00000014 0.31165022 [5608] MMDS: Unpausing, playsfor: 55020, ratio: 0,51984126984127
00000015 0.34463513 [5608] MMDS: Unpausing, playsfor: 60840, ratio: 0,574829931972789
00000016 0.36954501 [5608] MMDS: Unpausing, playsfor: 65072, ratio: 0,614814814814815
00000017 0.39249513 [5608] MMDS: Unpausing, playsfor: 69304, ratio: 0,654799697656841
00000018 0.41596180 [5608] MMDS: Unpausing, playsfor: 73360, ratio: 0,693121693121693
00000019 0.43966424 [5608] MMDS: Unpausing, playsfor: 77416, ratio: 0,731443688586546
00000020 0.46092701 [5608] MMDS: Unpausing, playsfor: 81296, ratio: 0,768102796674225
00000021 0.48527926 [5608] MMDS: Unpausing, playsfor: 85528, ratio: 0,808087679516251
00000022 0.50971001 [5608] MMDS: Unpausing, playsfor: 89936, ratio: 0,84973544973545
00000023 0.54200238 [5608] MMDS: Unpausing, playsfor: 95580, ratio: 0,903061224489796
00000024 0.56440163 [5608] MMDS: Unpausing, playsfor: 99460, ratio: 0,939720332577475
00000025 0.58981293 [5608] MMDS: Unpausing, playsfor: 104048, ratio: 0,983068783068783
00000026 0.61826098 [5608] MMDS: Unpausing, playsfor: 108984, ratio: 1,0297052154195
00000027 0.83755451 [5608] MMDS: Written 101376 bytes
00000028 1.27834320 [5608] MMDS: ***Playback pointer crossed buffer end***
00000029 1.40631366 [5608] MMDS: Written 101376 bytes
00000030 1.99725497 [5608] MMDS: Written 101376 bytes
00000031 2.57443190 [5608] MMDS: Written 101376 bytes
00000032 3.15807652 [5608] MMDS: Written 101376 bytes
00000033 3.71413636 [5608] MMDS: Written 101376 bytes
00000034 4.30323172 [5608] MMDS: Written 101376 bytes
00000035 4.85867357 [5608] MMDS: Written 101376 bytes
00000036 5.44188976 [5608] MMDS: Written 101376 bytes
00000037 6.02057505 [5608] MMDS: Written 101376 bytes
00000038 6.19239044 [5608] MMDS: Pause starting
00000039 6.19256353 [5608] MMDS: Starting smooth pause
00000040 6.19265985 [5608] MMDS: Pause finished
00000041 6.24013424 [5608] Winamp sim - WM_USER message 603
00000042 6.24407101 [5608] MMDS: Pausing, playsfor: 7940, ratio: 0,300075585789871
00000043 6.26108408 [5608] MMDS: Pausing, playsfor: 14640, ratio: 0,55328798185941
00000044 6.28451920 [5608] MMDS: Pausing, playsfor: 18696, ratio: 0,706575963718821
00000045 6.31096697 [5608] MMDS: Pausing, playsfor: 23456, ratio: 0,886470143613001
00000046 6.33436918 [5608] MMDS: Pausing, playsfor: 27512, ratio: 1,03975812547241
00000047 6.33449316 [5608] MMDS: End of smooth pausing
Log after computer has been locked and unlocked:
00000048 11.43472481 [5608] Thread has started 5852
00000049 11.43479156 [5608] Thread registered, going to initialize 5852
00000050 11.43493843 [5608] Thread initialized 5852
00000051 11.57592678 [5608] Going to make final callback 5852
00000052 11.57601833 [5608] Thread has finished 5852
00000053 19.55219460 [5608] Winamp sim - preventing show window.
00000054 19.55223656 [5608] Winamp simulation window received messsage 70
00000055 19.55230904 [5608] Winamp sim - preventing show window.
00000056 19.70123100 [5608] Winamp sim - message left to the default processing
00000057 19.70698547 [5608] Winamp simulation window received messsage 26
00000058 19.70702934 [5608] Winamp sim - message left to the default processing
00000059 23.81059647 [5608] Winamp sim - preventing show window.
00000060 23.81068039 [5608] Winamp simulation window received messsage 70
00000061 23.96636009 [5608] Winamp sim - preventing show window.
00000062 24.05894089 [5608] Winamp sim - message left to the default processing
00000063 24.05898857 [5608] Winamp simulation window received messsage 26
00000064 24.06004143 [5608] Winamp sim - message left to the default processing
00000065 41.43475723 [5608] Thread has started 2964
00000066 41.43482590 [5608] Thread registered, going to initialize 2964
00000067 41.43497086 [5608] Thread initialized 2964
00000068 41.65676117 [5608] Going to make final callback 2964
00000069 41.65685654 [5608] Thread has finished 2964
After starting MediMonkey the media buttons (eg. Play/pause) on the keyboard and on the computer works fine.
After Locking (WinKey+L) and unlocking (type password) the computer, the media keys no longer works.
DebugView shows not entries of detecting the keys, just pausing and unpausing the playback:
Log when keys are working:
00000000 0.00000000 [5608] MMDS: Pause starting
00000001 0.00009890 [5608] MMDS: Starting smooth unpausing
00000002 0.00379992 [5608] MMDS: Pause finished
00000003 0.00390357 [5608] Winamp sim - WM_USER message 603
00000004 0.08577319 [5608] MMDS: Unpausing, playsfor: 15168, ratio: 0,143310657596372
00000005 0.11422876 [5608] MMDS: Unpausing, playsfor: 20104, ratio: 0,18994708994709
00000006 0.13463610 [5608] MMDS: Unpausing, playsfor: 23808, ratio: 0,224943310657596
00000007 0.15804076 [5608] MMDS: Unpausing, playsfor: 27864, ratio: 0,263265306122449
00000008 0.18147922 [5608] MMDS: Unpausing, playsfor: 32096, ratio: 0,303250188964475
00000009 0.21708681 [5608] MMDS: Unpausing, playsfor: 38268, ratio: 0,36156462585034
00000010 0.24209166 [5608] MMDS: Unpausing, playsfor: 42676, ratio: 0,403212396069539
00000011 0.26617265 [5608] MMDS: Unpausing, playsfor: 46908, ratio: 0,443197278911565
00000012 0.26661769 [5608] MMDS: Written 101376 bytes
00000013 0.28698143 [5608] MMDS: Unpausing, playsfor: 50612, ratio: 0,478193499622071
00000014 0.31165022 [5608] MMDS: Unpausing, playsfor: 55020, ratio: 0,51984126984127
00000015 0.34463513 [5608] MMDS: Unpausing, playsfor: 60840, ratio: 0,574829931972789
00000016 0.36954501 [5608] MMDS: Unpausing, playsfor: 65072, ratio: 0,614814814814815
00000017 0.39249513 [5608] MMDS: Unpausing, playsfor: 69304, ratio: 0,654799697656841
00000018 0.41596180 [5608] MMDS: Unpausing, playsfor: 73360, ratio: 0,693121693121693
00000019 0.43966424 [5608] MMDS: Unpausing, playsfor: 77416, ratio: 0,731443688586546
00000020 0.46092701 [5608] MMDS: Unpausing, playsfor: 81296, ratio: 0,768102796674225
00000021 0.48527926 [5608] MMDS: Unpausing, playsfor: 85528, ratio: 0,808087679516251
00000022 0.50971001 [5608] MMDS: Unpausing, playsfor: 89936, ratio: 0,84973544973545
00000023 0.54200238 [5608] MMDS: Unpausing, playsfor: 95580, ratio: 0,903061224489796
00000024 0.56440163 [5608] MMDS: Unpausing, playsfor: 99460, ratio: 0,939720332577475
00000025 0.58981293 [5608] MMDS: Unpausing, playsfor: 104048, ratio: 0,983068783068783
00000026 0.61826098 [5608] MMDS: Unpausing, playsfor: 108984, ratio: 1,0297052154195
00000027 0.83755451 [5608] MMDS: Written 101376 bytes
00000028 1.27834320 [5608] MMDS: ***Playback pointer crossed buffer end***
00000029 1.40631366 [5608] MMDS: Written 101376 bytes
00000030 1.99725497 [5608] MMDS: Written 101376 bytes
00000031 2.57443190 [5608] MMDS: Written 101376 bytes
00000032 3.15807652 [5608] MMDS: Written 101376 bytes
00000033 3.71413636 [5608] MMDS: Written 101376 bytes
00000034 4.30323172 [5608] MMDS: Written 101376 bytes
00000035 4.85867357 [5608] MMDS: Written 101376 bytes
00000036 5.44188976 [5608] MMDS: Written 101376 bytes
00000037 6.02057505 [5608] MMDS: Written 101376 bytes
00000038 6.19239044 [5608] MMDS: Pause starting
00000039 6.19256353 [5608] MMDS: Starting smooth pause
00000040 6.19265985 [5608] MMDS: Pause finished
00000041 6.24013424 [5608] Winamp sim - WM_USER message 603
00000042 6.24407101 [5608] MMDS: Pausing, playsfor: 7940, ratio: 0,300075585789871
00000043 6.26108408 [5608] MMDS: Pausing, playsfor: 14640, ratio: 0,55328798185941
00000044 6.28451920 [5608] MMDS: Pausing, playsfor: 18696, ratio: 0,706575963718821
00000045 6.31096697 [5608] MMDS: Pausing, playsfor: 23456, ratio: 0,886470143613001
00000046 6.33436918 [5608] MMDS: Pausing, playsfor: 27512, ratio: 1,03975812547241
00000047 6.33449316 [5608] MMDS: End of smooth pausing
Log after computer has been locked and unlocked:
00000048 11.43472481 [5608] Thread has started 5852
00000049 11.43479156 [5608] Thread registered, going to initialize 5852
00000050 11.43493843 [5608] Thread initialized 5852
00000051 11.57592678 [5608] Going to make final callback 5852
00000052 11.57601833 [5608] Thread has finished 5852
00000053 19.55219460 [5608] Winamp sim - preventing show window.
00000054 19.55223656 [5608] Winamp simulation window received messsage 70
00000055 19.55230904 [5608] Winamp sim - preventing show window.
00000056 19.70123100 [5608] Winamp sim - message left to the default processing
00000057 19.70698547 [5608] Winamp simulation window received messsage 26
00000058 19.70702934 [5608] Winamp sim - message left to the default processing
00000059 23.81059647 [5608] Winamp sim - preventing show window.
00000060 23.81068039 [5608] Winamp simulation window received messsage 70
00000061 23.96636009 [5608] Winamp sim - preventing show window.
00000062 24.05894089 [5608] Winamp sim - message left to the default processing
00000063 24.05898857 [5608] Winamp simulation window received messsage 26
00000064 24.06004143 [5608] Winamp sim - message left to the default processing
00000065 41.43475723 [5608] Thread has started 2964
00000066 41.43482590 [5608] Thread registered, going to initialize 2964
00000067 41.43497086 [5608] Thread initialized 2964
00000068 41.65676117 [5608] Going to make final callback 2964
00000069 41.65685654 [5608] Thread has finished 2964