Unresponsive Keyboard and Trackpad after sleep I have a brand new MacBook Pro (Retina, 15-inch, Mid 2014). Shipped with Yosemitee pre-installed, the version I have is 10.10.1 . I don't have any software installed except Google Chrome, so it is clean/new OS. 

I noticed sometimes the keyboard and trackpad become completely unresponsive after waking up the laptop from sleep. Happened several times, the last time it happened I could not reset PRAM or SMC as keyboard was unresponsive even after restarting or shutting down so I had to Re-Install OS.

Today I was able to reproduce the issue, first I tried to let it go into Sleep mode several times with no device plugged into the USBs, and Lid left opened. I could not reproduce, both were working when I wake the laptop.

Then I plugged in a USB Mouse, left the lid opened, and let it go to sleep for 1 hr. When I waked it up, the keyboard/mouse were unresponsive. Then I unplugged the mouse usb, let it go into sleep mode, and closed the lid .. for few minutes. Then I opened the lid, waked it up .. this time both were responsive and working.

I was able to reproduce the above scenarios, so it is not a random thing.

So, is there some kind of a log or test I can use to reproduce or while reproducing the unresponsive case above so I can understand if it is a hardware or software problem ? 

[edit]

You can get the system.log from here 
https://www.dropbox.com/s/3x320cieum3it4w/system.log?dl=0

Also, here is the result of 'pmset -g'

Active Profiles:
Battery Power       -1*
AC Power        -1
Currently in use:
standbydelay         10800
standby              1
halfdim              1
hibernatefile        /var/vm/sleepimage
darkwakes            0
gpuswitch            2
disksleep            0
sleep                1
autopoweroffdelay    14400
hibernatemode        3
autopoweroff         1
ttyskeepawake        1
displaysleep         2
acwake               0
lidwake              1


[edit 2]
Sorry I undo the selected solution as it did not fix the issue, as I have new information, they are unresponsive again and this time I see this keeps showing in the system log, any idea ?

Dec 12 23:49:30 ahmads-mbp kernel[0]: AppleUSBMultitouchDriver::_getFeatureReportInfo - DeviceRequest returned error 0xe00002c0 (interface 1, reportID 0xd9)
Dec 12 23:49:30 ahmads-mbp kernel[0]: AppleUSBMultitouchDebug: _getFeatureReportInfo returned an error in AppleUSBMultitouchDriver::_deviceGetReportWithLookUp
Dec 12 23:49:31 ahmads-mbp kernel[0]: AppleUSBMultitouchDriver::_getFeatureReportInfo - DeviceRequest returned error 0xe00002c0 (interface 1, reportID 0xd1)
Dec 12 23:49:31 ahmads-mbp kernel[0]: AppleUSBMultitouchDebug: _getFeatureReportInfo returned an error in AppleUSBMultitouchDriver::_deviceGetReportWithLookUp


[edit 3]

I managed to downgrade it to Mavericks but problem still happening. I think it is hardware issue now since I was able to reproduce in two OS X versions. So I am taking it to apple store to replace it or fix the hardware. 

[Edit 4]
Confirmed! it is a hardware issue, I replaced the top case and the problem gone!
As for me, I, too, faced the same problem with my MacBookPro after upgrading to Yosemite: the keyboard and trackpad would freeze, especially after waking up from sleep. At first, I'd restart the device. 
A few days ago, out of sheer frustration, as I clicked on random keys and rubbed the trackpad, the keyboard and simultaneously, the trackpad, became responsive, quite to my surprise. After several more tries, it now seems to me the key 'Q' was the key- pressing it several times, along with the 'esc'. I don't know how, but this works on my MBPro.
Of course I'm no techie, and have no explanation, but would request interested and affected users to try my approach.