1. TariqSoftDev

    OP TariqSoftDev ~Zexceil
    Member

    Joined:
    Sep 18, 2013
    Messages:
    716
    Country:
    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
    Where I soldered to the modem
    [​IMG]
    Where I positioned the pins
    [​IMG]
    Finished look
    [​IMG]
    [​IMG]
    USB Connected(read notes)
    [​IMG]
    [​IMG]

    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.
    New wiring layout:
    [​IMG]
    Results that my PS Vita told me using Yifan lu's USB_detect/probe program:
    [​IMG]

    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:
    I had to get rid of a part of the PS Vita circuitry:
    [​IMG]
    [​IMG]



    All wired up:
    [​IMG]

    Finished look:
    [​IMG]
    [​IMG]


    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

    Joined:
    Apr 28, 2007
    Messages:
    663
    Country:
    United States
    KeoniAzugon and KiiWii like this.
  3. TariqSoftDev

    OP TariqSoftDev ~Zexceil
    Member

    Joined:
    Sep 18, 2013
    Messages:
    716
    Country:
    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

    Joined:
    Apr 28, 2007
    Messages:
    663
    Country:
    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

    Joined:
    Sep 18, 2013
    Messages:
    716
    Country:
    Here's the error code , I don't seem to understand why it's missing that.
    In file included from C:/msys64/Home/xxxxxx/VShell/main.c:19:0:
    C:/msys64/Home/xxxxxx/VShell/main.h:73:28: fatal error: vitashell_user.h: No such file or directory
    #include <vitashell_user.h>
    ^
    compilation terminated.
    make[2]: *** [CMakeFiles/VitaShell.dir/build.make:338: CMakeFiles/VitaShell.dir/main.c.obj] Error 1
    make[1]: *** [CMakeFiles/Makefile2:100: CMakeFiles/VitaShell.dir/all] Error 2
    make: *** [Makefile:84: all] Error 2
     
  6. yifan_lu

    yifan_lu @yifanlu
    Member

    Joined:
    Apr 28, 2007
    Messages:
    663
    Country:
    United States
    You need to go into modules and "cmake . && make install" each one.
     
  7. TariqSoftDev

    OP TariqSoftDev ~Zexceil
    Member

    Joined:
    Sep 18, 2013
    Messages:
    716
    Country:
    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 Advanced Maniac
    Member

    Joined:
    May 10, 2009
    Messages:
    1,550
    Country:
    Australia
    Last edited by ov3rkill, May 29, 2017
  9. yifan_lu

    yifan_lu @yifanlu
    Member

    Joined:
    Apr 28, 2007
    Messages:
    663
    Country:
    United States
    Did you format the drive as exfat?
     
  10. TariqSoftDev

    OP TariqSoftDev ~Zexceil
    Member

    Joined:
    Sep 18, 2013
    Messages:
    716
    Country:
    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

    Joined:
    Apr 28, 2007
    Messages:
    663
    Country:
    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

    Joined:
    Sep 18, 2013
    Messages:
    716
    Country:
    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

    Joined:
    Apr 28, 2007
    Messages:
    663
    Country:
    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

    Joined:
    Sep 18, 2013
    Messages:
    716
    Country:
    Yep followed instructions word by word
     
  15. yifan_lu

    yifan_lu @yifanlu
    Member

    Joined:
    Apr 28, 2007
    Messages:
    663
    Country:
    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

    Joined:
    Sep 18, 2013
    Messages:
    716
    Country:
    I already compiled and installed that when I started I'll do that rn
     
  17. yifan_lu

    yifan_lu @yifanlu
    Member

    Joined:
    Apr 28, 2007
    Messages:
    663
    Country:
    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

    Joined:
    Sep 18, 2013
    Messages:
    716
    Country:
    Oh okay I'll use that one then , thanks alot.

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

    Results:
    Started!

    press x to start probing.
    press Circle to stop probing and exit.

    Kernel start: 0, 0
    Kernel start: 0, 0
    User load & start: 4001009f, 0
    taiHookFunctionExportForKernel: 0x00062771

    — 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

    Joined:
    Apr 28, 2007
    Messages:
    663
    Country:
    United States
    So nothing showed up when you plugged in your USB drive?
     
  20. TariqSoftDev

    OP TariqSoftDev ~Zexceil
    Member

    Joined:
    Sep 18, 2013
    Messages:
    716
    Country:
    Nope zilch~ , gonna use a arduino and the serial monitor to see whats being sent out.
     
Draft saved Draft deleted