Shibari/BthPS3 - Dualshock3 bluetooth: System.ArgumentOutOfRangeException: Input report too small. (report length: 12)



  • I'm having trouble connecting my original DualShock3 controllers via Bluetooth. I have no problems connecting them via USB, which also seems to setup pairings correctly.

    If I startup Shibari, and push the PS button to connect the controller, I get the following output:


    Topshelf v4.2.1.215, .NET Framework v4.0.30319.42000
    [01:53:02 INF] Loaded sink plugin ViGEm DualShock 4 Sink
    [01:53:02 INF] Loaded bus emulator BthPS3 Bus Emulator
    [01:53:02 INF] Starting bus emulator BthPS3 Bus Emulator
    [01:53:02 INF] BthPS3 Bus Emulator started
    [01:53:02 INF] Bus emulator BthPS3 Bus Emulator started successfully
    [01:53:02 INF] Loaded bus emulator FireShock Bus Emulator
    [01:53:02 INF] Starting bus emulator FireShock Bus Emulator
    [01:53:02 INF] FireShock Bus Emulator started
    [01:53:02 INF] Bus emulator FireShock Bus Emulator started successfully
    The Shibari.Dom.Server service is now running, press Control+C to exit.
    [01:53:08 INF] Found SIXAXIS device \?\BTHPS3BUS#{53F88889-1AAF-4353-A047-556B69EC6DA6}#A&1CB370CB&0&04766E1EEB32#{7B0EAE3D-4414-4024-BCBD-1C21523768CE} (BTHPS3BUS{53F88889-1AAF-4353-A047-556B69EC6DA6}\A&1CB370CB&0&04766E1EEB32)
    [01:53:08 INF] Device DualShock3 (04:76:6E:1E:EB:32) got attached via Bluetooth
    [01:53:09 INF] Device DualShock3 (04:76:6E:1E:EB:32) got attached
    [01:53:09 INF] Connecting ViGEm target Nefarius.ViGEm.Client.Targets.DualShock4Controller
    [01:53:09 INF] ViGEm target Nefarius.ViGEm.Client.Targets.DualShock4Controller connected successfully
    [01:53:10 INF] Input Report: A1010000000000837B85820000
    [01:53:10 ERR] System.ArgumentOutOfRangeException: Input report too small.
    Parameter name: buffer
    Actual value was 12.
    at Shibari.Sub.Core.Shared.Types.DualShock3.DualShock3InputReport.FromBuffer(Byte[] buffer) in C:\Users\user\Downloads\Shibari-master\Shibari-master\Shibari.Sub.Core\Shared\Types\DualShock3\DualShock3InputReport.cs:line 82
    at Shibari.Sub.Source.BthPS3.Core.BthPS3Device.SixaxisDevice.RequestInputReportWorker(Object cancellationToken) in C:\Users\user\Downloads\Shibari-master\Shibari-master\Sources\Shibari.Sub.Source.BthPS3\Core\BthPS3Device.Sixaxis.cs:line 321

    I've been poking a bit around, to see if I could find a solution to the "Input report too small" error, but at this point I'm unsure if this issue is even related to Shibari.
    Any suggestions?

    To debug this a bit, I've added some debug logs to show reports received. On Bluetooth, I'm getting nothing, but on USB I'm getting this:


    [02:26:48 INF] Found FireShock device \?\USB#VID_054C&PID_0268#7&39E2EF57&0&3#{51AB481A-8D75-4BB6-9944-200A2F994E65} (USB\VID_054C&PID_0268\7&39E2EF57&0&3)
    [02:26:48 INF] Device is DualShock3 with address 04:76:6E:1E:EB:32 currently paired to 00:15:83:15:A3:10
    [02:26:48 INF] Device DualShock3 (04:76:6E:1E:EB:32) got attached via USB
    [02:26:48 INF] Auto-pairing device DualShock3 (04:76:6E:1E:EB:32) to 00:15:83:15:A3:10
    [02:26:49 INF] Device DualShock3 (04:76:6E:1E:EB:32) got attached
    [02:26:49 INF] Connecting ViGEm target Nefarius.ViGEm.Client.Targets.DualShock4Controller
    [02:26:49 INF] ViGEm target Nefarius.ViGEm.Client.Targets.DualShock4Controller connected successfully
    [02:26:49 INF] EmulatorOnInputReportReceived 010000000000837C84820000000000000000000000000000000000000002EE12FFC1000890ED77004001FB01F0019501F4
    [02:26:49 INF] EmulatorOnInputReportReceived 010000000000837C83820000000000000000000000000000000000000002EE12FFC1000890ED77004001FD01F0019601F4
    [02:26:49 INF] EmulatorOnInputReportReceived 010000000000837C83830000000000000000000000000000000000000002EE12FFC1000890ED77004001FE01F0019601F2
    [02:26:49 INF] EmulatorOnInputReportReceived 010000000000837C84830000000000000000000000000000000000000002EE12FFC1000890ED77004001FC01EF019501F1
    [02:26:49 INF] EmulatorOnInputReportReceived 010000000000837C83820000000000000000000000000000000000000002EE12FFC1000890ED77004001FC01EF019401F1

    I'm on Windows 10 Pro (x64) - Winver shows: Version 1093 (OS Build 18362.657)
    As per installation instructions (https://forums.vigem.org/topic/259/shibari-installation-instructions) I'm using:

    • BthPS3 Bluetooth Drivers v1.2.2
    • ViGEmBus 1.16.116
    • FireShock 3.0.0.0
      Source is the current Shibari master on github (commit d36438494ab1134003ee28650a0f6a1a9dfaf4bb), built using Visual Studio 2019 community edition, but I'm getting the same result with Shibari v1.5.164.

    4c2ee5e4-bb4a-4804-a424-c28aa1bb4077-billede.png


Log in to reply