USB port mod

Discussion in 'PS Vita - Console, Accessories and Hardware' started by TariqSoftDev, May 29, 2017.

  1. TariqSoftDev
    OP

    TariqSoftDev ~Zexceil

    Member
    485
    118
    Sep 18, 2013
    London
    Well it's exactly as the titles says although here's the story behind this.
    After I saw Yifan lu's amazing work on the MPCI-E SD adapter , I downloaded the eagle files and got the pin out for the PS Vita MPCI-E slot , from there I looked at the PS Vita GSM modem and realized the USB pins was all cut off from the PCB with two solder points , after this I did some work and added a USB port using some pins because I couldn't find a actual USB female xD

    Images
    Warning: Spoilers inside!

    UPDATE(MUST READ!!)
    So after I yifan lu made me realise the most basic thing I missed (don't solder to the modem solder directly to mb) I fixed my error here are the pictures of the fix and the results.
    Warning: Spoilers inside!

    Yeah I like spoilers UPDATE 2:

    So I decided to add a proper USB port because pins aren't very practical :/, let the pictures explain the process.


    The guts of it:
    Warning: Spoilers inside!

    Finished look:
    Warning: Spoilers inside!


    Note: Until a driver/plugin that supports this USB connection and mounting is created this is useless.

    I also noticed that the PS Vita at some point (very early in me doing this) reacted to the USB and displayed a message "This device is not supported"(probably cause I didn't bother formatting to exFAT at that point)

    I upload my work hours earlier on twitter: https://twitter.com/ZexceilXario
     
    Last edited by TariqSoftDev, Jun 1, 2017
    Trumpasaurus, Madridi and noragrets like this.
  2. yifan_lu

    yifan_lu @yifanlu

    Member
    660
    1,376
    Apr 28, 2007
    United States
    KeoniAzugon and KiiWii like this.
  3. TariqSoftDev
    OP

    TariqSoftDev ~Zexceil

    Member
    485
    118
    Sep 18, 2013
    London
    Alright I'm on it rn , I'll let you know how it goes.

    — Posts automatically merged - Please don't double post! —

    My dev environment seems to be having a weird querk do you can compile it for me @yifan_lu ? , would be great help.
     
  4. yifan_lu

    yifan_lu @yifanlu

    Member
    660
    1,376
    Apr 28, 2007
    United States
    I won't have time until tomorrow but if you follow the directions in vitasdk.org and remove all previous installations you can just download the source and run

    cmake . && make
     
  5. TariqSoftDev
    OP

    TariqSoftDev ~Zexceil

    Member
    485
    118
    Sep 18, 2013
    London
    Here's the error code , I don't seem to understand why it's missing that.
    Warning: Spoilers inside!
     
  6. yifan_lu

    yifan_lu @yifanlu

    Member
    660
    1,376
    Apr 28, 2007
    United States
    You need to go into modules and "cmake . && make install" each one.
     
  7. TariqSoftDev
    OP

    TariqSoftDev ~Zexceil

    Member
    485
    118
    Sep 18, 2013
    London
    Alright so I compiled and installed , the option to mount came up but it won't recognize the USB via my mod . maybe I need to rewrite the code to use the USB 2.0 from the slot
     
  8. ov3rkill

    ov3rkill GBAtemp Maniac

    Member
    1,050
    382
    May 10, 2009
    Australia
    in a cardboard box
    Last edited by ov3rkill, May 29, 2017
  9. yifan_lu

    yifan_lu @yifanlu

    Member
    660
    1,376
    Apr 28, 2007
    United States
    Did you format the drive as exfat?
     
  10. TariqSoftDev
    OP

    TariqSoftDev ~Zexceil

    Member
    485
    118
    Sep 18, 2013
    London
    Yeah I formatted it as exFAT just like the PS TV instruction , I unlocked the other mounting options but they don't do anything.
     
  11. yifan_lu

    yifan_lu @yifanlu

    Member
    660
    1,376
    Apr 28, 2007
    United States
    Just to make sure you compiled it right, can you install your build on a vitatv and see if USB mounting works there?
     
  12. TariqSoftDev
    OP

    TariqSoftDev ~Zexceil

    Member
    485
    118
    Sep 18, 2013
    London
    I don't have access to a PS TV although I'd happily upload the build and let anyone test it.
     
  13. yifan_lu

    yifan_lu @yifanlu

    Member
    660
    1,376
    Apr 28, 2007
    United States
    Also to clarify, did you follow the instruction exactly? First select mount uma0, then insert the flash drive?

    Idk if it makes a difference.
     
    Rizzorules likes this.
  14. TariqSoftDev
    OP

    TariqSoftDev ~Zexceil

    Member
    485
    118
    Sep 18, 2013
    London
    Yep followed instructions word by word
     
  15. yifan_lu

    yifan_lu @yifanlu

    Member
    660
    1,376
    Apr 28, 2007
    United States
    Can you install/run this usb debug logging homebrew (rename .vpk.zip to .vpk)? Run it, press X, then insert your USB device and take a screenshot of the messages that come up.
     

    Attached Files:

  16. TariqSoftDev
    OP

    TariqSoftDev ~Zexceil

    Member
    485
    118
    Sep 18, 2013
    London
    I already compiled and installed that when I started I'll do that rn
     
  17. yifan_lu

    yifan_lu @yifanlu

    Member
    660
    1,376
    Apr 28, 2007
    United States
    I doubt you have the right version since it didn't work until literally five minutes ago.
     
  18. TariqSoftDev
    OP

    TariqSoftDev ~Zexceil

    Member
    485
    118
    Sep 18, 2013
    London
    Oh okay I'll use that one then , thanks alot.

    — Posts automatically merged - Please don't double post! —

    Results:
    Warning: Spoilers inside!

    — Posts automatically merged - Please don't double post! —

    Why not try and dump a log of everything that happens using the PS Vita's MPCI-E interface.
     
    DayVeeBoi likes this.
  19. yifan_lu

    yifan_lu @yifanlu

    Member
    660
    1,376
    Apr 28, 2007
    United States
    So nothing showed up when you plugged in your USB drive?
     
  20. TariqSoftDev
    OP

    TariqSoftDev ~Zexceil

    Member
    485
    118
    Sep 18, 2013
    London
    Nope zilch~ , gonna use a arduino and the serial monitor to see whats being sent out.