xerpi / vita-udcd-uvc

PSVita UDCD USB Video Class plugin
461 stars 23 forks source link

Manjaro Recognizes Device but does not initialize connection #77

Closed ausbigshow closed 3 years ago

ausbigshow commented 3 years ago

Hello,

I can't seem to get my computer to start the connection with the vita. I'm currently running Manjaro as my OS. It's recognizing the device, but when i try to launch mplayer, i get the following:

MPlayer SVN-r38157 (C) 2000-2019 MPlayer Team 225 audio & 468 video codecs do_connect: could not connect to socket connect: No such file or directory Failed to open LIRC support. You will not be able to use your remote control.

Playing tv://. TV file format detected. Selected driver: v4l2 name: Video 4 Linux 2 input author: Martin Olschewski olschewski@zpr.uni-koeln.de comment: first try, more to come ;-) v4l2: unable to open '/dev/videoX': No such file or directory v4l2: ioctl set mute failed: Bad file descriptor v4l2: 0 frames successfully processed, 0 frames dropped.

Exiting... (End of file)

Here's the output of lsusb -v:

Bus 001 Device 009: ID 054c:1337 Sony Corp. PSVita Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 239 Miscellaneous Device bDeviceSubClass 2 bDeviceProtocol 1 Interface Association bMaxPacketSize0 64 idVendor 0x054c Sony Corp. idProduct 0x1337 bcdDevice 1.00 iManufacturer 1 SONY iProduct 2 PSVita iSerial 3 UDCD UVC bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 0x0121 bNumInterfaces 2 bConfigurationValue 1 iConfiguration 0 bmAttributes 0x80 (Bus Powered) MaxPower 500mA Interface Association: bLength 8 bDescriptorType 11 bFirstInterface 0 bInterfaceCount 2 bFunctionClass 14 Video bFunctionSubClass 3 Video Interface Collection bFunctionProtocol 0 iFunction 0 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 0 bInterfaceClass 14 Video bInterfaceSubClass 1 Video Control bInterfaceProtocol 0 iInterface 0 VideoControl Interface Descriptor: bLength 13 bDescriptorType 36 bDescriptorSubtype 1 (HEADER) bcdUVC 1.10 wTotalLength 0x001e dwClockFrequency 48.000000MHz bInCollection 1 baInterfaceNr( 0) 1 VideoControl Interface Descriptor: bLength 8 bDescriptorType 36 bDescriptorSubtype 2 (INPUT_TERMINAL) bTerminalID 1 wTerminalType 0x0200 Input Vendor Specific bAssocTerminal 0 iTerminal 0 VideoControl Interface Descriptor: bLength 9 bDescriptorType 36 bDescriptorSubtype 3 (OUTPUT_TERMINAL) bTerminalID 2 wTerminalType 0x0101 USB Streaming bAssocTerminal 0 bSourceID 1 iTerminal 0 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 14 Video bInterfaceSubClass 2 Video Streaming bInterfaceProtocol 0 iInterface 0 VideoStreaming Interface Descriptor: bLength 14 bDescriptorType 36 bDescriptorSubtype 1 (INPUT_HEADER) bNumFormats 1 wTotalLength 0x00d9 bEndPointAddress 129 bmInfo 0 bTerminalLink 2 bStillCaptureMethod 0 bTriggerSupport 0 bTriggerUsage 0 bControlSize 1 bmaControls( 0) 0 VideoStreaming Interface Descriptor: bLength 27 bDescriptorType 36 bDescriptorSubtype 4 (FORMAT_UNCOMPRESSED) bFormatIndex 1 bNumFrameDescriptors 5 guidFormat {3231564e-0000-0010-8000-00aa00389b71} bBitsPerPixel 12 bDefaultFrameIndex 1 bAspectRatioX 0 bAspectRatioY 0 bmInterlaceFlags 0x00 Interlaced stream or variable: No Fields per frame: 2 fields Field 1 first: No Field pattern: Field 1 only bCopyProtect 0 VideoStreaming Interface Descriptor: bLength 34 bDescriptorType 36 bDescriptorSubtype 5 (FRAME_UNCOMPRESSED) bFrameIndex 1 bmCapabilities 0x00 Still image unsupported wWidth 960 wHeight 544 dwMinBitRate 188006400 dwMaxBitRate 376012800 dwMaxVideoFrameBufferSize 783360 dwDefaultFrameInterval 166666 bFrameIntervalType 2 dwFrameInterval( 0) 166666 dwFrameInterval( 1) 333333 VideoStreaming Interface Descriptor: bLength 34 bDescriptorType 36 bDescriptorSubtype 5 (FRAME_UNCOMPRESSED) bFrameIndex 2 bmCapabilities 0x00 Still image unsupported wWidth 896 wHeight 504 dwMinBitRate 162570240 dwMaxBitRate 325140480 dwMaxVideoFrameBufferSize 677376 dwDefaultFrameInterval 166666 bFrameIntervalType 2 dwFrameInterval( 0) 166666 dwFrameInterval( 1) 333333 VideoStreaming Interface Descriptor: bLength 34 bDescriptorType 36 bDescriptorSubtype 5 (FRAME_UNCOMPRESSED) bFrameIndex 3 bmCapabilities 0x00 Still image unsupported wWidth 864 wHeight 488 dwMinBitRate 151787520 dwMaxBitRate 303575040 dwMaxVideoFrameBufferSize 632448 dwDefaultFrameInterval 166666 bFrameIntervalType 2 dwFrameInterval( 0) 166666 dwFrameInterval( 1) 333333 VideoStreaming Interface Descriptor: bLength 34 bDescriptorType 36 bDescriptorSubtype 5 (FRAME_UNCOMPRESSED) bFrameIndex 4 bmCapabilities 0x00 Still image unsupported wWidth 480 wHeight 272 dwMinBitRate 47001600 dwMaxBitRate 94003200 dwMaxVideoFrameBufferSize 195840 dwDefaultFrameInterval 166666 bFrameIntervalType 2 dwFrameInterval( 0) 166666 dwFrameInterval( 1) 333333 VideoStreaming Interface Descriptor: bLength 34 bDescriptorType 36 bDescriptorSubtype 5 (FRAME_UNCOMPRESSED) bFrameIndex 5 bmCapabilities 0x00 Still image unsupported wWidth 1280 wHeight 720 dwMinBitRate 221184000 dwMaxBitRate 331776000 dwMaxVideoFrameBufferSize 1382400 dwDefaultFrameInterval 333333 bFrameIntervalType 2 dwFrameInterval( 0) 333333 dwFrameInterval( 1) 500000 VideoStreaming Interface Descriptor: bLength 6 bDescriptorType 36 bDescriptorSubtype 13 (COLORFORMAT) bColorPrimaries 0 (Unspecified) bTransferCharacteristics 0 (Unspecified) bMatrixCoefficients 0 (Unspecified) Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Device Qualifier (for other device speed): bLength 10 bDescriptorType 6 bcdUSB 2.00 bDeviceClass 239 Miscellaneous Device bDeviceSubClass 2 bDeviceProtocol 1 Interface Association bMaxPacketSize0 64 bNumConfigurations 1 can't get debug descriptor: Resource temporarily unavailable Device Status: 0x0000 (Bus Powered)

And here's the output of dmesg:

[ 1149.157036] usb 1-4: New USB device found, idVendor=054c, idProduct=1337, bcdDevice= 1.00 [ 1149.157041] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 1149.157043] usb 1-4: Product: PSVita [ 1149.157046] usb 1-4: Manufacturer: SONY [ 1149.157047] usb 1-4: SerialNumber: UDCD UVC [ 1149.166056] uvcvideo: Found UVC 1.10 device PSVita (054c:1337) [ 1149.183147] uvcvideo 1-4:1.0: Entity type for entity Input 1 was not initialized! [ 1200.425069] usb 1-4: USB disconnect, device number 10 [ 1230.686099] audit: type=1100 audit(1603989622.507:345): pid=4765 uid=1000 auid=1000 ses=2 subj==unconfined msg='op=PAM:authentication grantors=pam_faillock,pam_permit,pam_faillock acct="ausbigshow" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/1 res=success' [ 1230.687698] audit: type=1101 audit(1603989622.510:346): pid=4765 uid=1000 auid=1000 ses=2 subj==unconfined msg='op=PAM:accounting grantors=pam_permit,pam_time acct="ausbigshow" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/1 res=success' [ 1230.687972] audit: type=1110 audit(1603989622.510:347): pid=4765 uid=0 auid=1000 ses=2 subj==unconfined msg='op=PAM:setcred grantors=pam_faillock,pam_permit,pam_faillock acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/1 res=success' [ 1230.690298] audit: type=1105 audit(1603989622.510:348): pid=4765 uid=0 auid=1000 ses=2 subj==unconfined msg='op=PAM:session_open grantors=pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/1 res=success'

Any help would be greatly appreciated! Thank you in advance!

ausbigshow commented 3 years ago

UPDATE: I realized i needed to change "VideoX" to "Video0" or "Video1" in order to make this work. Gonna go ahead and close this out.