Open discussions on programming specifically for the PS Vita.
Forum rules: Forum rule Nº 15 is strictly enforced in this subforum.
#297186 by fate6
Mon Sep 30, 2013 4:02 am
codestation wrote:Try to uninstall the current driver from the device manager (marking the checkbox to delete the current drivers) and try again. If that doesn't work then i will have to find a real win64 pc to work from there.


Know where in device manager it would be? I don't tend to mess with drivers on Windows and considering how fragile this thing is I don't want to blindly mess with things
(not that I like to do it with any OS)
Advertising
#297187 by codestation
Mon Sep 30, 2013 4:07 am
OK, let me take some ss from the VM since mine is in spanish so i can't make a english walkthrough from it.

edit: updated
Spoiler
Image

This is when the custom driver is installed, the uninstall dialog has a checkbox to remove the custom drivers.
Image
Image

This is when the default driver is installed. There is no checkbox in the uninstall dialog because the driver is part of the OS so it gets always installed is there isn't a custom one.
Image
Image


Note: if you hit the button with the PC+magnifying glass and there isn't a custom driver it will install the default one (who doesn't work with qcma). You can use it to revert back and use the official CMA again.

tl;dr: uninstall the current driver, install the one linked in the above thread. It shouldn't show the "not needed" message since there is no driver.
Advertising
#297188 by fate6
Mon Sep 30, 2013 4:14 am
I can read Spanish fine ^__^

WiFi seems to work great but USB is still a no go

EDIT: Pictures move fine both ways and I assume music would also but tried transferring a large video from Vita to PC but after sending fine for a bit it slowed to a crawl

So slow that it seems like it could take hours 0__0
#297195 by fate6
Mon Sep 30, 2013 4:32 am
I assume thats the problem that :/
well as it stands USB no good but WiFi works but is much slower than CMA so not recommended for larger file
Anywho when I try to look at music or videos on PC it disconnects >__<

EDIT: A restart of the Vita and database refresh seems to have fixed it
#297199 by codestation
Mon Sep 30, 2013 4:45 am
fate6 wrote:WiFi works but is much slower than CMA so not recommended for larger file

Interesting, do you have any sort of bandwidth meter? I would like some numbers of the average upload/download speed via WiFi using the official CMA. The vitamtp library should offer the same speed as the official CMA since the ptpip code is very simple :? .
#297200 by fate6
Mon Sep 30, 2013 4:48 am
I can install it on Arch if you'd like unless you know of a good way to check on Windows but its going to have to wait cause its nyaap time for me :3

PM me the details and I will get to it promptly!
#297526 by lembas
Tue Oct 01, 2013 2:53 am
I can't get your fork of vitamtp to work on Fedora x64. It segfaults pretty much as soon as I start it, after "main: Waiting for Vita to connect..."

Also, qcma won't build:

Code: Select all/bin/qmake-qt4 -o Makefile ../qcma.pro
g++ -Wl,-O1 -Wl,-z,relro -o qcma main.o capability.o database.o cmaobject.o cmarootobject.o utils.o mainwidget.o configwidget.o singleapplication.o sforeader.o cmaclient.o cmabroadcast.o avdecoder.o cmaevent.o clientmanager.o backupmanagerform.o backupitem.o confirmdialog.o progressform.o pinform.o moc_database.o moc_mainwidget.o moc_configwidget.o moc_singleapplication.o moc_cmaclient.o moc_cmabroadcast.o moc_cmaevent.o moc_clientmanager.o moc_backupmanagerform.o moc_backupitem.o moc_confirmdialog.o moc_progressform.o moc_pinform.o qrc_qcmares.o    -L/usr/lib64 -lQtGui -lQtNetwork -lQtCore -lpthread
main.o: In function `main':
/home/lembas/src/qcma/build/../main.cpp:60: undefined reference to `VitaMTP_Set_Logging'
/home/lembas/src/qcma/build/../main.cpp:62: undefined reference to `VitaMTP_Set_Logging'
/home/lembas/src/qcma/build/../main.cpp:64: undefined reference to `VitaMTP_Set_Logging'
cmaclient.o: In function `CmaClient::enterEventLoop(vita_device*)':
/home/lembas/src/qcma/build/../cmaclient.cpp:182: undefined reference to `VitaMTP_Read_Event'
cmaclient.o: In function `CmaClient::processNewConnection(vita_device*)':
/home/lembas/src/qcma/build/../cmaclient.cpp:114: undefined reference to `VitaMTP_Get_Identification'
/home/lembas/src/qcma/build/../cmaclient.cpp:125: undefined reference to `VitaMTP_SendHostStatus'
/home/lembas/src/qcma/build/../cmaclient.cpp:127: undefined reference to `VitaMTP_Release_Device'
cmaclient.o: In function `CmaClient::connectUsb()':
/home/lembas/src/qcma/build/../cmaclient.cpp:61: undefined reference to `VitaMTP_Get_First_USB_Vita'
cmaclient.o: In function `CmaClient::connectWireless()':
/home/lembas/src/qcma/build/../cmaclient.cpp:92: undefined reference to `VitaMTP_Get_First_Wireless_Vita'
avdecoder.o: In function `AVDecoder::open(QString)':
/home/lembas/src/qcma/build/../avdecoder.cpp:44: undefined reference to `avformat_open_input'
/home/lembas/src/qcma/build/../avdecoder.cpp:48: undefined reference to `avformat_find_stream_info'
/home/lembas/src/qcma/build/../avdecoder.cpp:49: undefined reference to `avformat_close_input'
avdecoder.o: In function `AVDecoder::getAudioMetadata(metadata&)':
/home/lembas/src/qcma/build/../avdecoder.cpp:61: undefined reference to `av_dict_get'
/home/lembas/src/qcma/build/../avdecoder.cpp:67: undefined reference to `av_dict_get'
/home/lembas/src/qcma/build/../avdecoder.cpp:73: undefined reference to `av_dict_get'
avdecoder.o: In function `AVDecoder::getVideoMetadata(metadata&)':
/home/lembas/src/qcma/build/../avdecoder.cpp:87: undefined reference to `av_dict_get'
/home/lembas/src/qcma/build/../avdecoder.cpp:93: undefined reference to `av_dict_get'
avdecoder.o:/home/lembas/src/qcma/build/../avdecoder.cpp:99: more undefined references to `av_dict_get' follow
avdecoder.o: In function `AVDecoder::getVideoMetadata(metadata&)':
/home/lembas/src/qcma/build/../avdecoder.cpp:111: undefined reference to `av_find_best_stream'
avdecoder.o: In function `AVDecoder::getPictureMetadata(metadata&)':
/home/lembas/src/qcma/build/../avdecoder.cpp:130: undefined reference to `av_find_best_stream'
avdecoder.o: In function `AVDecoder::getDecodedFrame(AVCodecContext*, int)':
/home/lembas/src/qcma/build/../avdecoder.cpp:164: undefined reference to `avcodec_alloc_frame'
/home/lembas/src/qcma/build/../avdecoder.cpp:169: undefined reference to `av_read_frame'
/home/lembas/src/qcma/build/../avdecoder.cpp:171: undefined reference to `avcodec_decode_video2'
/home/lembas/src/qcma/build/../avdecoder.cpp:173: undefined reference to `av_free_packet'
/home/lembas/src/qcma/build/../avdecoder.cpp:179: undefined reference to `av_free'
avdecoder.o: In function `AVDecoder::close()':
/home/lembas/src/qcma/build/../avdecoder.cpp:276: undefined reference to `avformat_close_input'
avdecoder.o: In function `AVDecoder::getAudioThumbnail(int, int)':
/home/lembas/src/qcma/build/../avdecoder.cpp:144: undefined reference to `av_find_best_stream'
/home/lembas/src/qcma/build/../avdecoder.cpp:150: undefined reference to `av_read_frame'
avdecoder.o: In function `AVDecoder::getVideoThumbnail(int, int)':
/home/lembas/src/qcma/build/../avdecoder.cpp:195: undefined reference to `av_find_best_stream'
/home/lembas/src/qcma/build/../avdecoder.cpp:201: undefined reference to `avcodec_open2'
/home/lembas/src/qcma/build/../avdecoder.cpp:207: undefined reference to `av_rescale'
/home/lembas/src/qcma/build/../avdecoder.cpp:209: undefined reference to `avformat_seek_file'
/home/lembas/src/qcma/build/../avdecoder.cpp:219: undefined reference to `avcodec_alloc_frame'
/home/lembas/src/qcma/build/../avdecoder.cpp:221: undefined reference to `avpicture_get_size'
/home/lembas/src/qcma/build/../avdecoder.cpp:222: undefined reference to `av_malloc'
/home/lembas/src/qcma/build/../avdecoder.cpp:224: undefined reference to `avpicture_fill'
/home/lembas/src/qcma/build/../avdecoder.cpp:237: undefined reference to `sws_getContext'
/home/lembas/src/qcma/build/../avdecoder.cpp:252: undefined reference to `sws_scale'
/home/lembas/src/qcma/build/../avdecoder.cpp:265: undefined reference to `av_free'
/home/lembas/src/qcma/build/../avdecoder.cpp:266: undefined reference to `av_free'
/home/lembas/src/qcma/build/../avdecoder.cpp:267: undefined reference to `av_free'
/home/lembas/src/qcma/build/../avdecoder.cpp:269: undefined reference to `avcodec_close'
/home/lembas/src/qcma/build/../avdecoder.cpp:240: undefined reference to `avcodec_close'
avdecoder.o: In function `AVDecoder::~AVDecoder()':
/home/lembas/src/qcma/build/../avdecoder.cpp:38: undefined reference to `avformat_close_input'
avdecoder.o: In function `AvInit':
/home/lembas/src/qcma/build/../avdecoder.h:56: undefined reference to `av_register_all'
capability.o: In function `DeviceCapability::exchangeInfo(vita_device*)':
/home/lembas/src/qcma/build/../capability.cpp:27: undefined reference to `VitaMTP_GetVitaInfo'
/home/lembas/src/qcma/build/../capability.cpp:38: undefined reference to `VitaMTP_Data_Initiator_New'
/home/lembas/src/qcma/build/../capability.cpp:41: undefined reference to `VitaMTP_SendInitiatorInfo'
/home/lembas/src/qcma/build/../capability.cpp:50: undefined reference to `VitaMTP_GetVitaCapabilityInfo'
/home/lembas/src/qcma/build/../capability.cpp:72: undefined reference to `VitaMTP_SendHostStatus'
/home/lembas/src/qcma/build/../capability.cpp:77: undefined reference to `VitaMTP_Data_Free_Initiator'
/home/lembas/src/qcma/build/../capability.cpp:58: undefined reference to `VitaMTP_Data_Free_Capability'
/home/lembas/src/qcma/build/../capability.cpp:62: undefined reference to `VitaMTP_SendPCCapabilityInfo'
cmaevent.o: In function `CmaEvent::vitaEventSendCopyConfirmationInfo(LIBVitaMTP_event*, int)':
/home/lembas/src/qcma/build/../cmaevent.cpp:250: undefined reference to `VitaMTP_SendCopyConfirmationInfoInit'
/home/lembas/src/qcma/build/../cmaevent.cpp:271: undefined reference to `VitaMTP_SendCopyConfirmationInfo'
/home/lembas/src/qcma/build/../cmaevent.cpp:274: undefined reference to `VitaMTP_ReportResult'
cmaevent.o: In function `CmaEvent::vitaEventSendObjectMetadataItems(LIBVitaMTP_event*, int)':
/home/lembas/src/qcma/build/../cmaevent.cpp:285: undefined reference to `VitaMTP_SendObjectMetadataItems'
/home/lembas/src/qcma/build/../cmaevent.cpp:304: undefined reference to `VitaMTP_SendObjectMetadata'
/home/lembas/src/qcma/build/../cmaevent.cpp:308: undefined reference to `VitaMTP_ReportResult'
/home/lembas/src/qcma/build/../cmaevent.cpp:296: undefined reference to `VitaMTP_ReportResult'
cmaevent.o: In function `CmaEvent::vitaEventCancelTask(LIBVitaMTP_event*, int)':
/home/lembas/src/qcma/build/../cmaevent.cpp:331: undefined reference to `VitaMTP_CancelTask'
/home/lembas/src/qcma/build/../cmaevent.cpp:338: undefined reference to `VitaMTP_ReportResult'
cmaevent.o: In function `CmaEvent::vitaEventSendNumOfObject(LIBVitaMTP_event*, int)':
/home/lembas/src/qcma/build/../cmaevent.cpp:352: undefined reference to `VitaMTP_SendNumOfObject'
/home/lembas/src/qcma/build/../cmaevent.cpp:356: undefined reference to `VitaMTP_ReportResult'
cmaevent.o: In function `CmaEvent::vitaEventSendObjectMetadata(LIBVitaMTP_event*, int)':
/home/lembas/src/qcma/build/../cmaevent.cpp:366: undefined reference to `VitaMTP_GetBrowseInfo'
/home/lembas/src/qcma/build/../cmaevent.cpp:376: undefined reference to `VitaMTP_SendObjectMetadata'
/home/lembas/src/qcma/build/../cmaevent.cpp:379: undefined reference to `VitaMTP_ReportResult'
cmaevent.o: In function `CmaEvent::vitaEventSendObjectStatus(LIBVitaMTP_event*, int)':
/home/lembas/src/qcma/build/../cmaevent.cpp:511: undefined reference to `VitaMTP_SendObjectStatus'
/home/lembas/src/qcma/build/../cmaevent.cpp:528: undefined reference to `VitaMTP_SendObjectMetadata'
/home/lembas/src/qcma/build/../cmaevent.cpp:522: undefined reference to `VitaMTP_ReportResult'
cmaevent.o: In function `CmaEvent::vitaEventSendObjectThumb(LIBVitaMTP_event*, int)':
/home/lembas/src/qcma/build/../cmaevent.cpp:557: undefined reference to `VitaMTP_ReportResult'
/home/lembas/src/qcma/build/../cmaevent.cpp:565: undefined reference to `VitaMTP_SendObjectThumb'
/home/lembas/src/qcma/build/../cmaevent.cpp:549: undefined reference to `VitaMTP_ReportResult'
/home/lembas/src/qcma/build/../cmaevent.cpp:568: undefined reference to `VitaMTP_ReportResult'
cmaevent.o: In function `CmaEvent::vitaEventDeleteObject(LIBVitaMTP_event*, int)':
/home/lembas/src/qcma/build/../cmaevent.cpp:595: undefined reference to `VitaMTP_ReportResult'
/home/lembas/src/qcma/build/../cmaevent.cpp:587: undefined reference to `VitaMTP_ReportResult'
cmaevent.o: In function `CmaEvent::vitaEventCheckExistance(LIBVitaMTP_event*, int)':
/home/lembas/src/qcma/build/../cmaevent.cpp:886: undefined reference to `VitaMTP_CheckExistance'
/home/lembas/src/qcma/build/../cmaevent.cpp:898: undefined reference to `VitaMTP_ReportResultWithParam'
/home/lembas/src/qcma/build/../cmaevent.cpp:901: undefined reference to `VitaMTP_ReportResult'
/home/lembas/src/qcma/build/../cmaevent.cpp:896: undefined reference to `VitaMTP_ReportResult'
cmaevent.o: In function `CmaEvent::processAllObjects(CMAObject*, unsigned int)':
/home/lembas/src/qcma/build/../cmaevent.cpp:160: undefined reference to `VitaMTP_GetObject'
cmaevent.o: In function `CmaEvent::vitaEventGetTreatObject(LIBVitaMTP_event*, int)':
/home/lembas/src/qcma/build/../cmaevent.cpp:227: undefined reference to `VitaMTP_GetTreatObject'
/home/lembas/src/qcma/build/../cmaevent.cpp:242: undefined reference to `VitaMTP_ReportResult'
/home/lembas/src/qcma/build/../cmaevent.cpp:238: undefined reference to `VitaMTP_ReportResult'
cmaevent.o: In function `CmaEvent::vitaEventOperateObject(LIBVitaMTP_event*, int)':
/home/lembas/src/qcma/build/../cmaevent.cpp:705: undefined reference to `VitaMTP_OperateObject'
/home/lembas/src/qcma/build/../cmaevent.cpp:787: undefined reference to `VitaMTP_ReportResult'
/home/lembas/src/qcma/build/../cmaevent.cpp:727: undefined reference to `VitaMTP_ReportResult'
/home/lembas/src/qcma/build/../cmaevent.cpp:743: undefined reference to `VitaMTP_ReportResult'
/home/lembas/src/qcma/build/../cmaevent.cpp:776: undefined reference to `VitaMTP_ReportResult'
/home/lembas/src/qcma/build/../cmaevent.cpp:781: undefined reference to `VitaMTP_ReportResultWithParam'
/home/lembas/src/qcma/build/../cmaevent.cpp:733: undefined reference to `VitaMTP_ReportResultWithParam'
/home/lembas/src/qcma/build/../cmaevent.cpp:749: undefined reference to `VitaMTP_ReportResultWithParam'
/home/lembas/src/qcma/build/../cmaevent.cpp:716: undefined reference to `VitaMTP_ReportResult'
cmaevent.o: In function `CmaEvent::vitaEventSendStorageSize(LIBVitaMTP_event*, int)':
/home/lembas/src/qcma/build/../cmaevent.cpp:866: undefined reference to `VitaMTP_ReportResult'
/home/lembas/src/qcma/build/../cmaevent.cpp:872: undefined reference to `VitaMTP_SendStorageSize'
/home/lembas/src/qcma/build/../cmaevent.cpp:844: undefined reference to `VitaMTP_ReportResult'
/home/lembas/src/qcma/build/../cmaevent.cpp:855: undefined reference to `VitaMTP_ReportResult'
/home/lembas/src/qcma/build/../cmaevent.cpp:875: undefined reference to `VitaMTP_ReportResult'
cmaevent.o: In function `CmaEvent::vitaEventSendObject(LIBVitaMTP_event*, int)':
/home/lembas/src/qcma/build/../cmaevent.cpp:434: undefined reference to `VitaMTP_RegisterCancelEventId'
/home/lembas/src/qcma/build/../cmaevent.cpp:435: undefined reference to `VitaMTP_SendObject'
/home/lembas/src/qcma/build/../cmaevent.cpp:457: undefined reference to `VitaMTP_ReportResultWithParam'
/home/lembas/src/qcma/build/../cmaevent.cpp:459: undefined reference to `VitaMTP_ReportResult'
/home/lembas/src/qcma/build/../cmaevent.cpp:417: undefined reference to `VitaMTP_ReportResult'
/home/lembas/src/qcma/build/../cmaevent.cpp:396: undefined reference to `VitaMTP_ReportResult'
cmaevent.o: In function `CmaEvent::vitaEventSendHttpObjectFromURL(LIBVitaMTP_event*, int)':
/home/lembas/src/qcma/build/../cmaevent.cpp:467: undefined reference to `VitaMTP_GetUrl'
/home/lembas/src/qcma/build/../cmaevent.cpp:496: undefined reference to `VitaMTP_SendHttpObjectFromURL'
/home/lembas/src/qcma/build/../cmaevent.cpp:486: undefined reference to `VitaMTP_ReportResult'
/home/lembas/src/qcma/build/../cmaevent.cpp:499: undefined reference to `VitaMTP_ReportResult'
cmaevent.o: In function `CmaEvent::vitaEventGetSettingInfo(LIBVitaMTP_event*, int)':
/home/lembas/src/qcma/build/../cmaevent.cpp:603: undefined reference to `VitaMTP_GetSettingInfo'
/home/lembas/src/qcma/build/../cmaevent.cpp:619: undefined reference to `VitaMTP_Data_Free_Settings'
/home/lembas/src/qcma/build/../cmaevent.cpp:620: undefined reference to `VitaMTP_ReportResult'
cmaevent.o: In function `CmaEvent::vitaEventSendHttpObjectPropFromURL(LIBVitaMTP_event*, int)':
/home/lembas/src/qcma/build/../cmaevent.cpp:628: undefined reference to `VitaMTP_GetUrl'
/home/lembas/src/qcma/build/../cmaevent.cpp:650: undefined reference to `VitaMTP_SendHttpObjectPropFromURL'
/home/lembas/src/qcma/build/../cmaevent.cpp:639: undefined reference to `VitaMTP_ReportResult'
/home/lembas/src/qcma/build/../cmaevent.cpp:653: undefined reference to `VitaMTP_ReportResult'
cmaevent.o: In function `CmaEvent::vitaEventSendPartOfObject(LIBVitaMTP_event*, int)':
/home/lembas/src/qcma/build/../cmaevent.cpp:665: undefined reference to `VitaMTP_SendPartOfObjectInit'
/home/lembas/src/qcma/build/../cmaevent.cpp:684: undefined reference to `VitaMTP_ReportResult'
/home/lembas/src/qcma/build/../cmaevent.cpp:691: undefined reference to `VitaMTP_SendPartOfObject'
/home/lembas/src/qcma/build/../cmaevent.cpp:676: undefined reference to `VitaMTP_ReportResult'
/home/lembas/src/qcma/build/../cmaevent.cpp:694: undefined reference to `VitaMTP_ReportResult'
cmaevent.o: In function `CmaEvent::vitaEventGetPartOfObject(LIBVitaMTP_event*, int)':
/home/lembas/src/qcma/build/../cmaevent.cpp:801: undefined reference to `VitaMTP_GetPartOfObject'
/home/lembas/src/qcma/build/../cmaevent.cpp:821: undefined reference to `VitaMTP_ReportResult'
/home/lembas/src/qcma/build/../cmaevent.cpp:827: undefined reference to `VitaMTP_ReportResult'
/home/lembas/src/qcma/build/../cmaevent.cpp:811: undefined reference to `VitaMTP_ReportResult'
clientmanager.o: In function `ClientManager::start()':
/home/lembas/src/qcma/build/../clientmanager.cpp:55: undefined reference to `VitaMTP_Init'
clientmanager.o: In function `ClientManager::~ClientManager()':
/home/lembas/src/qcma/build/../clientmanager.cpp:34: undefined reference to `VitaMTP_Cleanup'
collect2: error: ld returned 1 exit status
make: *** [qcma] Error 1


Using qt4, and according to yum, ffmpeg Version: 1.2.2, Release: 1.fc19, and gcc 4.8.1, if that matters at all.

I had to do some pretty shiesty stuff to get to even get this far, like removing the PKGCONFIG += line from qcma.pro, and symlinking /usr/include/ffmpeg/* to the build dir.
#297527 by codestation
Tue Oct 01, 2013 3:08 am
You need to configure vitamtp with --disable-opencma because the opencma binary isn't adapted to the library fork (yet). You need to install the ffmpeg-devel package since is required by the qcma build. Also, don't delete the PKGCONFIG line or else the binary cannot find the ffmpeg and libvitamtp libraries and the link will fail just like your log.

EDIT: added some building tips to the end of the first post:
#297528 by lembas
Tue Oct 01, 2013 3:50 am
but if I leave the PKGCONFIG line there, I get

Code: Select allProject ERROR: Package libvitamtp not found


It doesn't find any of the libs anyway, even though I have all of them.

Code: Select alllembas:build/ (master✗) $ ls /usr/include/ffmpeg                                                                                 [20:43:26]
libavcodec  libavdevice  libavfilter  libavformat  libavutil  libpostproc  libswresample  libswscale
lembas:build/ (master✗) $ file /usr/lib/libvitamtp.so.2.0.0                                                                      [20:43:29]
/usr/lib/libvitamtp.so.2.0.0: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=0x451f058a55ebc2a289412d80f8b042e0e2c4c4b1, not stripped


edit: just noticed the "Troubleshooting for unsupported compiling of qcma:" in the first post. Will try that, and report back.

edit again: right, that did it. I'm not all that familiar with qmake.

Thanks for the help, and your wonderful work~
Last edited by lembas on Tue Oct 01, 2013 3:58 am, edited 2 times in total.

Who is online

Users browsing this forum: No registered users and 3 guests