USB Host Shield connection problem

I use a third party USB Host Shield.
Link here: http://en.keyes-robot.com/productshow.aspx?id=530

For convienence in my project, I have used an external board to mount the shield. The shield is not mounted on arduino board but on pins which are connected to arduino board. While making this circuit I have also made sure that ICSP port are properly connected and all other pins are also connected.
Board File attached.

I mounted the arduino board and shield on the printed circuit with proper pins, I am unable to connect PS4 controller to it. I tried to connect my phone Xperia L, it seems to charge. One some random events PS4 gives light of charging(yellow) but not of connection(blue).

When I tried to directly mount USB Host shield on arduino board then the PS4 connects. I have tried it with Arduino Mega and Arduino Uno. Please help me with this problem.

New Project.zip (19.5 KB)

I don't understand what your board file is showing. It looks like you made some kind of board that lets you connect an Uno to a Mega2560. Not sure I understand why.

If the circuit work when you connect directly, but not when you use your board, you have a wiring problem.

Hey i had a quick question and I am having trouble using the Arduino mega and the USB host shield. On the the USBcore.h file I modified the code to:

typedef MAX3421e<P53, P49> MAX3421E; // Official Arduinos (UNO, Duemilanove, Mega, 2560, Leonardo, Due etc.), Intel Edison, Intel Galileo 2 or Teensy 2.0 and 3.0
#endif

Then, uploaded the board_qc sketch to check if everything was operating fine, but nothing was working. From there, I started testing a few things and when I modify the code to

typedef MAX3421e<P10, P9> MAX3421E; // Official Arduinos (UNO, Duemilanove, Mega, 2560, Leonardo, Due etc.), Intel Edison, Intel Galileo 2 or Teensy 2.0 and 3.0
#endif

And I upload the board_qc sketch and everything is working good. I don't know, find it strange that when you change the pins to <P10, P9> it works. So my question is if it only works when i change the pins to <P10, P9> and everything is working fine so what pins is the USB host shield actually using for communication with the Arduino mega? Is there any fix?

Thank you for time