Author Topic: [Release] Princess Silly Mini Log USB - a USB logger using PSM drivers  (Read 10535 times)

Offline dots_tb

  • Refugee
  • **
  • Posts: 93
    • View Profile
When taihen was first released, it was requested by Yifan Lu to use the USB serial functions to facilitate logs. These serial functions were used by PSM and now have been made to redirect stdout to a usb serial device, which serves as a standard COM serial port.

Princess Silly Mini Log USB is Princess Log with net functions replaced with USB serial functions and was created at the request of Silica, Pina and SonicMastr. It has full compatibility with Vita Shell's USB Mass Storage device system.

  • Install PSM USB Serial Drivers. These were extracted from the PSM SDK. Get them here:
  • Add PSMLogUSB.skprx to your config.txt and reboot.
  • Open your favorite serial monitoring program and set the correct COM port. Set the baudrate to 57600.

   PSMUSBLog will try to end any other USB service, except the the one used in VitaShell for Usb Mass Storage(UMS) mounting. So this will naturally create incompatibilities with plugins such as vita-udcd-uvc.
   When using UMS, the serial will be interrupted, however will auto-start up after the UMS service has ended.

   The serial device will also be disconnected on reboot and will only restart until the plugin is re-initialized (usually right when Taihen launches)
Serial Monitoring Programs:

   You may use any serial monitor program. However, because of the constant reconnecting, I'd recommend kiTTY. <!pages/>
   This program allows easy auto reconnect (Connection > Attempt to reconnect on connection failure)
   You may also want to enable newline mode: (Terminal > Implicit CR in every LF)
   Finally, to find your COM number, look at the "Device Manager" in Windows. It will be under "Ports (COM & LPT)"
Why use PrincessLog over this:

   If you are working with USB or are using a Linux dev enviroment (have not checked if Linux has drivers), you may still want to consider PrincessLog.


Special thanks to:
Yifan Lu

Princess of Sleeping
« Last Edit: April 16, 2020, 04:51:21 AM by dots_tb »

Offline dots_tb

  • Refugee
  • **
  • Posts: 93
    • View Profile
Some info regarding the "Yifan Lu request". I remembered on some barren forums where Yifan said something about wanting serial over USB. It turns out my memory was almost correct:

This found after teakhanirons mentioned there was, which fit the description in my memory. However, this forums has long been purged. But luckily Coburn, of the Kantai Collection translation team, copy and pasted it. The topic was originally relating to project ideas for taihen, so not really a request per se.

Context (for people who like a story):
After working on a psp2048 port, along with a failed project with sysie, sysie decided to ask me to help with the Kantai Collection translation project. Coburn was sure that stdio would help solve the issue of xml edits not loading properly. It did not. However, that is how Shiplog was born.

Looking back at Yifan's comment it makes total sense, its a shame that the failing had deleted the actual post.

What really makes no sense is that when asked on IRC, Yifan would often say hook printf (which never worked) instead of setting a callback like he did in that post, this not done until ShipLog v2.

Now with PrincessLog and PSMLog this project idea has been fully realized.

CBPS is committed to only bringing you the facts!
« Last Edit: April 16, 2020, 06:03:05 PM by dots_tb »


  • Guest
For the record, doesn't have anything for either.

Offline jia19

  • End User
  • *
  • Posts: 3
    • View Profile not found. any alternative link?

Offline SilicaAndPina

  • Hot Pockets
  • End User
  • *****
  • Posts: 38
  • Its probably a wiccan thing..
    • View Profile
Sorry godaddy the domain registar of is being an asshole atm,

please use instead.