VMware

This Question is Answered

1 "correct" answer available (10 pts) 1 "helpful" answer available (6 pts)
1 2 Previous Next 25 Replies Last post: Apr 3, 2008 12:36 PM by jroh   Go to original post

Re: Loss of Keyboard Input

15. Jul 21, 2007 10:58 AM in response to: maxim.porges
Click to view maxim.porges's profile Enthusiast 38 posts since
Jul 21, 2007
Sorry, should have read the post linked to above. Apparently there is a workaround to use Unity, which I am going to try.

Here's the link again for other people like me who might not read everything before they post... :)

http://www.vmware.com/community/thread.jspa?threadID=90810

Re: Loss of Keyboard Input

16. Sep 25, 2007 11:46 AM in response to: bgertzfield
Click to view placain's profile Novice 5 posts since
Aug 30, 2007

vista:~ dmd$ ioreg -l -w 0 | grep SecureInput
| "IOConsoleUsers" = ({"kCGSSessionGroupIDKey"=501,"kCGSSessionOnConsoleKey"=Yes,"kCGSSessionIDKey"=256,"kCGSSessionUserNameKey"="dmd","kCGSessionLoginDoneKey"=Yes,"kCGSessionLongUserNameKey"="Daniel Drucker","kCGSSessionSystemSafeBoot"=No,"kCGSSessionLoginwindowSafeLogin"=No,"kCGSSessionConsoleSetKey"=0,"kCGSSessionUserIDKey"=501,"kCGSSessionSecureInputPID"=230})
vista:~ dmd$ ps auxww|grep 230
dmd 230 0.0 -0.4 242616 9144 ?? S 1:05PM 0:00.58 /Applications/Sofa Control.app/Contents/MacOS/Sofa Control -psn_0_1572865

That's this: http://caseapps.com/sofacontrol.html


Re: Loss of Keyboard Input

17. Sep 25, 2007 1:43 PM in response to: placain
Click to view bgertzfield's profile Master 1,120 posts since
Sep 7, 2005
Thanks. I've contacted the Sofa Control developers to let them know how they can fix the problem.

For what it's worth, folks, if you run into software that causes this issue, you can email the developers this link that explains how to correct it. VMware Fusion is not the only software impacted by this issue, so it'll help everyone out.

http://developer.apple.com/technotes/tn2007/tn2150.html

Re: Loss of Keyboard Input

18. Dec 14, 2007 8:26 AM in response to: bgertzfield
Click to view csuhdba's profile Lurker 2 posts since
Dec 14, 2007
vm fusion 1.0 rhel 5.1 on dvd - anaconda installer works fine up to the point where you need input - then nothing.. using oel/rhel 5.0 on cd - no problem.. on macbook..

not resonable to expect all other developers to do something for another isv.. vmfusion needs fix to work in current environment as is..

Re: Loss of Keyboard Input

19. Dec 14, 2007 10:05 AM in response to: csuhdba
Click to view bgertzfield's profile Master 1,120 posts since
Sep 7, 2005
csuhdba wrote:
vm fusion 1.0 rhel 5.1 on dvd - anaconda installer works fine up to the point where you need input - then nothing.. using oel/rhel 5.0 on cd - no problem.. on macbook..

Hi csuhdba,

Here's the steps to diagnose this problem, from earlier in the thread. Can you please try them and let us know what the result is?

===
Sounds like some application has turned on Secure Event Input, which unfortunately disables keyboard input to VMware Fusion when not in Unity mode. Can you try running the following from Terminal:

ioreg -l -w 0 | grep SecureInput

You'll see a line like:

| "IOConsoleUsers" = ({"kCGSSessionSecureInputPID"=4695, (...)

If you can then run:

ps auxww | grep 4695

where 4695 is the number you see after "kCGSSessionSecureInputPID", it'll tell you what program has enabled Secure Event Input.

If you could let us know which process has done this (and not disabled Secure Event Input when it was done), we can contact the software provider to let them know they're breaking Fusion.

Thanks for your patience!
===

Re: Loss of Keyboard Input

20. Dec 14, 2007 11:59 AM in response to: bgertzfield
Click to view csuhdba's profile Lurker 2 posts since
Dec 14, 2007
It's not reasonable to expect other software ISVs to help solve the problem
nor should VM Fusion customers be expected to wait for what will never
happen(all ISVs get along..). VM Fusion should be able to work in the
current world of software environment - so a patch from vmware is needed to
that end..

/bob h.

Re: Loss of Keyboard Input

21. Dec 14, 2007 12:17 PM in response to: csuhdba
Click to view etung's profile Guru 11,094 posts since
Oct 15, 2006
We are looking at this, but my understanding is that reworking the input method is a big change, which is why it hasn't happened yet.

The problem is that the API is bad (it was changed to allow one program to lock out others indefinitely, but IIRC, back when we originally did this, it was more sane and only locked out others when that program had focus), and that other developers are using it in a bad way (keeping the lock at all times, rather than dropping it when not needed).

Re: Loss of Keyboard Input

22. Dec 14, 2007 12:22 PM in response to: csuhdba
Click to view bgertzfield's profile Master 1,120 posts since
Sep 7, 2005
csuhdba wrote:
It's not reasonable to expect other software ISVs to help solve the problem
nor should VM Fusion customers be expected to wait for what will never
happen(all ISVs get along..). VM Fusion should be able to work in the
current world of software environment - so a patch from vmware is needed to
that end..

Hi Bob,

You're completely right. Unfortunately, as Eric said, it's a major rewrite to move the keyboard functionality away from the current architecture (which uses Apple's Event Taps mechanism). It's not just a patch, so these things take some time.

Since these ISVs are breaking other software that uses Event Taps (not just VMware Fusion), we're trying to be proactive in the mean time and contact the software vendors to let them know Apple believes they're using the Secure Event Input APIs incorrectly.

If you could let us know which application has caused the incompatibility, we'll get in touch with them in the mean time, until we can do the rearchitecture work to remove Event Taps from VMware Fusion.

Ben

Re: Loss of Keyboard Input

23. Jan 8, 2008 9:09 AM in response to: bgertzfield
Click to view jeffcs's profile Lurker 2 posts since
Dec 22, 2006


Looks like Microsoft Entourage also prevents keyboard input:

(running Leopard and VMware fusion 1.1 build 62573)

$ ioreg -l -w 0 | grep SecureInput
| "IOConsoleUsers" = ({"kCGSSessionSecureInputPID"=1735,"kCGSSessionLoginwindowSafeLogin"=No,"kCGSSessionAuditIDKey"=0,"kCGSessionLoginDoneKey"=Yes,"kCGSSessionSystemSafeBoot"=No,"kCGSSessionOnConsoleKey"=Yes,"kCGSSessionUserIDKey"=501,"kSCSecuritySessionID"=11685424,"kCGSSessionUserNameKey"="xxx","kCGSSessionGroupIDKey"=20,"kCGSSessionConsoleSetKey"=0,"kCGSSessionIDKey"=256,"kCGSessionLongUserNameKey"="XXX"})

$ ps -eaf | grep 1735
501 1735 116 0 1:14.65 ?? 13:41.36 /System/Library/Frameworks/Carbon.framework/Versions/A/Support/LaunchCFMApp /Applications/Microsoft Office 2004/Microsoft Entourage

I stopped Entourage and then I was able to type into my VMware window.


Re: Loss of Keyboard Input

24. Mar 17, 2008 1:10 PM in response to: jeffcs
Click to view frebro's profile Lurker 1 posts since
Mar 17, 2008
I get the same error with Last.fm. It works if I just quit Last.fm though, so it's not that big of a problem for me. I run a Swedish Leopard 10.5.2.

Re: Loss of Keyboard Input

25. Apr 3, 2008 12:36 PM in response to: bgertzfield
Click to view jroh's profile Novice 6 posts since
Sep 8, 2006
Last.fm on Tiger for me.

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities