PS4 News on Facebook! PS4 News on Twitter! PS4 News on YouTube! PS4 News RSS Feed!

Home PS4 News - Latest PlayStation 4 and PS3 News

March 29, 2012 // 4:39 am - Following up on his previous PS Vita developments, today PlayStation Vita hacker Davee reports that he has discovered Sony's sceKermit driver which is a communication interface for the included PSP emulator.

To quote from his blog (linked above): "Turns out he's not just a green frog! So, I've been throwing this word around recently and it's probably about time I explain. Kermit, either a protocol or perhaps a funny name (see KIRK/SPOCK) is a communication interface for the PSP emu. Specifically it allows the PSP to talk to the host.

Now, I can tell there aren't as many developers here, so I'll try to simplify for the curious minds but this stuff is pretty complicated. I'll only explain the API in detail as the lower level still need a little bit of clearing up, but here goes.

Ok, Kermit is here so that the emu can communicate to the host to share resources and other vitality. Perhaps the primary reason is that of hardware; the PSP emu is excluded from many hardware devices. So kermit sets in and allows the system to talk to the vita in order to use the hardware. Blabbering aside, this is the hardware that kermit seems to be responsible for:

  • Memory stick
  • Flash filesystem
  • DMA
  • LCD
  • GE
  • IDStorage
  • Audio
  • Camera
  • Power Control
  • USB
  • OSK
  • WLAN
  • RTC
  • ... more

Interestingly, the kermit communication isn't used for headphone remote or controller inputs.

In order to understand how kermit functions, it's important to explore the usage of the API. Starting with the power house tool:

[Register or Login to view code]

This function is the send command function. It accepts a kermit packet initialised to minimum 64 bytes (no args need to be filled) a command mode which describes the set of commands, cmd: the actual command; the number of args following the 16 byte packet header. It also allows you to pass a boolean value to allow callbacks when waiting for completion and a 64 bit response.

What is important to note is that the packet arguements are 64-bit wide (not 32) and little endian encoded. There is a maximum of 13 arguements that can be passed to the host.

Sometimes, it is needed to send more than the 13 arguements worth of data. This is where kermit provides an API for memory. Shown below:

[Register or Login to view code]

These function provide the fundamentals for data transmission to the host. sceKermitMemory_driver_AAF047AC is the staple command. It accepts a packet BEFORE transmission to host with the amount of args, a pointer to the input/output buffer and an indicator for the mode. This allows kermit to recieve the buffer of data when it processes the command, or have a place to output the data.

sceKermitMemory_driver_80E1240A and sceKermitMemory_driver_90B662D0 are the opposites of each other, providing input and output respectfully. This API is incredibly simple and is used to send multiple buffers to kermit prior and following a command.

These are pretty crap descriptions, but as you can see it's a very command and transfer sort of interface. You tell it you have data you want to give it, you signal it and then it tells you where it's put it.

https://github.com/DaveeFTW/vita_kermit

There is some source code describing in more codey ways. Also there are small reverses of functions used in the kermit. As you can see it works on a sort of circular queue of semaphores in the core. Have a "peek".

Thanks to Proxima + some1"

Finally, he also Tweeted the following: There is a bug in the vita. If you turn it upside down it zips the gsensor and runs xml format vita games. Really cool.


Sony's sceKermit Driver Surfaces via PSP Emulator on PS Vita

Follow us on Twitter, Facebook and drop by the PS3 Hacks and PS3 CFW forums for the latest PlayStation 3 scene and PS4 Hacks & JailBreak updates with PlayStation 4 homebrew PS4 Downloads.



#42 - NTA - March 30, 2012 // 3:11 am
NTA's Avatar
Where did you get it for such an epic price?

#41 - imtoodvs - March 30, 2012 // 2:35 am
imtoodvs's Avatar
i just put my vita back it the box a few days ago & bought a psp go for $25 bucks. looks like a waiting game now

#40 - NTA - March 29, 2012 // 5:22 am
NTA's Avatar
Speaking of funny names, I was browsing psn stuff and I just noticed the greek gods in the links lol. I've only seen poseidon, ares, and zeus so far

#39 - DAZE - March 23, 2012 // 9:03 am
DAZE's Avatar
Is not a Vita Demo, the exploit is inside a PSP Game -___-

#38 - imtoodvs - March 22, 2012 // 11:29 am
imtoodvs's Avatar
i guess things are looking up for a lil HB love. lets see where this goes.

#37 - Neo Cyrus - March 22, 2012 // 4:32 am
Neo Cyrus's Avatar
Huzzah! The chances of me buying a PSV just went from 0.1% to 50%. Sony will play the usual cat and mouse game, but a lot of what will happen will depend on whether or not the Vita gets proper game support as they claim it will. The PSP scene sort of died out due to a severe lack of games.

#36 - moja - March 21, 2012 // 10:43 pm
moja's Avatar
Anyone know which demo yet?

#35 - chibiwings - March 21, 2012 // 8:57 pm
chibiwings's Avatar
Hopefully the PSVITA scene won't be full of drama like PS3 Scene. nice to hear some good news on vita.. good thing i give up on the ps3 scene.

#34 - dsavage - March 21, 2012 // 6:46 pm
dsavage's Avatar
what vita demo do we need for this ?

#33 - DaedalusMinion - March 21, 2012 // 5:43 pm
DaedalusMinion's Avatar
This is very promising.