codestation / qcma

Cross-platform content manager assistant for the PS Vita (No longer maintained)
GNU General Public License v3.0
550 stars 94 forks source link

PSTV <-> 0.4.2: Connection could not be established #122

Closed IngwiePhoenix closed 5 years ago

IngwiePhoenix commented 5 years ago

Hello!

When connecting my PS TV to my Ubuntu box, I see this:

Got connection request from ec0ec4ac30ec01010101010101010101
VitaMTP: ptpip/init_cmd: return 24 / len 24
PTP: Opening session
Starting new wireless connection
Using protocol mode:  "automatic"

whilst my PSTV will tell me that the connection failed.

I am running Ubuntu 18.04, fully updated to all it's latest version. I installed QCMA via APT:

ingwie@MacMini:~$ which qcma_cli
/usr/bin/qcma_cli
ingwie@MacMini:~$ dpkg -l | grep qcma
ii  qcma                                       0.4.2                                        amd64        Content Manager Assistant for the PS Vita
ii  qcma-cli                                   0.4.2                                        amd64        Content Manager Assistant for the PS Vita (headless version)
ingwie@MacMini:~$ sudo apt-cache showpkg qcma qcma-cli
Package: qcma
Versions: 
0.4.2 (/var/lib/apt/lists/download.opensuse.org_repositories_home:_codestation_xUbuntu%5f18.04_Packages) (/var/lib/dpkg/status)
 Description Language: 
                 File: /var/lib/apt/lists/download.opensuse.org_repositories_home:_codestation_xUbuntu%5f18.04_Packages
                  MD5: 11ad7a2f1d373ebc5e72c59af78d3cd6

Reverse Depends: 
Dependencies: 
0.4.2 - libvitamtp5 (2 2.5.5) libavcodec57 (18 7:3.4.2) libavcodec-extra57 (2 7:3.4.2) libavformat57 (2 7:3.4.2) libavutil55 (2 7:3.4.2) libc6 (2 2.14) libgcc1 (2 1:3.0) libglib2.0-0 (2 2.12.0) libnotify4 (2 0.7.0) libqt5core5a (2 5.9.0~beta) libqt5gui5 (2 5.3.0) libqt5network5 (2 5.0.2) libqt5sql5 (2 5.0.2) libqt5widgets5 (2 5.0.2) libstdc++6 (2 5.2) libswscale4 (2 7:3.4.2) 
Provides: 
0.4.2 - 
Reverse Provides: 
Package: qcma-cli
Versions: 
0.4.2 (/var/lib/apt/lists/download.opensuse.org_repositories_home:_codestation_xUbuntu%5f18.04_Packages) (/var/lib/dpkg/status)
 Description Language: 
                 File: /var/lib/apt/lists/download.opensuse.org_repositories_home:_codestation_xUbuntu%5f18.04_Packages
                  MD5: 1455c9071acb7eff8f29e50216ab0f60

Reverse Depends: 
Dependencies: 
0.4.2 - libvitamtp5 (2 2.5.5) libavcodec57 (18 7:3.4.2) libavcodec-extra57 (2 7:3.4.2) libavformat57 (2 7:3.4.2) libavutil55 (2 7:3.4.2) libc6 (2 2.14) libgcc1 (2 1:3.0) libqt5core5a (2 5.9.0~beta) libqt5network5 (2 5.0.2) libqt5sql5 (2 5.0.2) libstdc++6 (2 5.2) libswscale4 (2 7:3.4.2) 
Provides: 
0.4.2 - 
Reverse Provides: 
ingwie@MacMini:~$ cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.1 LTS"

I also set UFW to allow 9309 traffic for v4 and v6. However, I did not specify for TCP or UDP explicitly... So where can I look for those network issues?

IngwiePhoenix commented 5 years ago

Nevermind... For some reason, QCMA can't seem to handle a USB device being connected whilst a network device is trying to establish a connection :) Didn't know that! So this got very much solved.