Wireless controller to Pc through Play and charge kit

Discussion in 'Xbox 360 Development' started by johnace, May 14, 2012.

  1. johnace

    johnace Grumpy Old Man

    Joined:
    May 12, 2006
    Messages:
    555
    Likes Received:
    2
    I just wondered if any of you clever software types have figured out how to make the wireless controller work on pc through the play and charge kit?

    I know this is just a software issue as i have checked the hardware side of things and it will work with the correct drivers...if someone was to make them that is :wink-new: But im more a hardware guy than a software one.
     
  2. wombat

    wombat SEGA!

    Joined:
    Mar 14, 2004
    Messages:
    2,671
    Likes Received:
    319
    I was under the impression that the 'play & charge' kit only acts as a power source, so it doesn't really make your wireless gamepad 'wired'. So your kinda stuck on getting the wireless receiver.
     
  3. johnace

    johnace Grumpy Old Man

    Joined:
    May 12, 2006
    Messages:
    555
    Likes Received:
    2
    This is what alot of people have told me but its just false information from M$ to get people to spend more money.....the Play and charge kit has 7 pins on its connector (the same amount as a wired controller) also seeing as it showed up on my pc "xbox 360 controller via Play and charge" shows that it does send data too.

    So as a test i "disabled" the wireless module on a junk 360 i have so it didnt pick up a controllers signal, then i plugged the controller into the 360 with the PnC kit and i could play games quite happily with it...so its 100% software locked out via the pc.
     
    Last edited: May 14, 2012
  4. CodeAsm

    CodeAsm ohci_write: Bad offset 30

    Joined:
    Dec 22, 2010
    Messages:
    1,500
    Likes Received:
    176
    you... removed the rf board, or realy disabled the RF board on your 360? i dint cheked the cable yet, and also dint checked the usb-view on a pc yet, but i dont think a plug and charge has d+ and d-. not sure tho
     
  5. johnace

    johnace Grumpy Old Man

    Joined:
    May 12, 2006
    Messages:
    555
    Likes Received:
    2
    I actually bypassed the Rf Reciever, if i had removed it or disabled the board any other way it wouldnt have booted.....oh and it does have the data lines btw.

    Are you able to code a simple driver or "modify" the wired controller driver?....software is not my forte xD
     
  6. ddxcb

    ddxcb Gota J.T.A.G. That Xbone Yo.

    Joined:
    Apr 17, 2008
    Messages:
    388
    Likes Received:
    45
    You need the RF board on the pc, you can buy one or make one from a xbox 360 RF board.

    The play and charge cable does send d- d+ but only to sync the controller to the RF board.
     
  7. johnace

    johnace Grumpy Old Man

    Joined:
    May 12, 2006
    Messages:
    555
    Likes Received:
    2
    I was looking for a software approach rather than a "ghetto" rf reciever....plus the fact i use a laptop and dont really want to take a home made rf board with me xD, and the play and charge cable does actually send all the data the controller needs as i have played arkham city for 30 mins without a functional wireless board.

    I think if i change something in the Xusb21.setup file i could get it to work maybe??


    Edit: just opened up the setup file and i see this.....checkout the part where it states that it NULLS the play and charge kit from working.

    ;
    ; XUSB21.INF file
    ;
    ; Installs the XUSB21 device driver
    ;
    ; Supports the following devices
    ; Wired Common Controller USB\Vid_045E&Pid_028E
    ; Wireless Common Controller USB\Vid_045E&Pid_0719
    ; Wired CC Compatible USB\MS_COMP_XUSB10
    ; Wireless CC Compatible USB\MS_COMP_XUSB20
    ;
    ; Installs a NULL Service for the Play and Charge Cable
    ; Play and Charge Cable USB\Vid_045E&Pid_028F
    ;
    ; Uses Version 1.9 of the WDF Coninstaller
    ;[Version]
    Signature="$WINDOWS NT$"
    Class=XnaComposite
    ClassGUID={D61CA365-5AF4-4486-998B-9DB4734C6CA3}
    Provider=%MSFT%
    CatalogFile=xusb21.cat
    DriverVer=08/13/2009,2.1.0.1349
    [ClassInstall32]
    AddReg=XnaComposite_AddReg
    [XnaComposite_AddReg]
    HKR,,,,%XUSB21.ClassName%
    HKR,,Icon,,-24

    ; Add source disk stuff to allow chkinf to work properly
    [SourceDisksNames]
    1=%XUSB21.DiskName%
    ; Add source disk stuff to allow chkinf to work properly
    [SourceDisksFiles.x86]
    xusb21.sys=1,x86
    WdfCoInstaller01009.dll=1,x86

    [SourceDisksFiles.amd64]
    xusb21.sys=1,x64
    WdfCoInstaller01009.dll=1,x64
    [ControlFlags]
    ExcludeFromSelect=*
    [DestinationDirs]
    DefaultDestDir=12
    CC_Install_CoInstaller_CopyFiles=11
    [Manufacturer]
    %MSFT%=MSFT,NTx86,NTamd64,NTx86.6.0,NTamd64.6.0
    [MSFT.NTx86.6.0]
    %XUSB21.DeviceName.Wired%=CC_Install, USB\Vid_045E&Pid_028E
    %XUSB21.DeviceName%=CC_Install, USB\Vid_045E&Pid_0719
    %XUSB21.DeviceName.Wired%=CC_Install, USB\MS_COMP_XUSB10
    %XUSB21.DeviceName%=CC_Install, USB\MS_COMP_XUSB20
    %XUSB21.DeviceName.Jump%=CC_Install, USB\Vid_045E&Pid_028F
    [MSFT.NTamd64.6.0]
    %XUSB21.DeviceName.Wired%=CC_Install, USB\Vid_045E&Pid_028E
    %XUSB21.DeviceName%=CC_Install, USB\Vid_045E&Pid_0719
    %XUSB21.DeviceName.Wired%=CC_Install, USB\MS_COMP_XUSB10
    %XUSB21.DeviceName%=CC_Install, USB\MS_COMP_XUSB20
    %XUSB21.DeviceName.Jump%=CC_Install, USB\Vid_045E&Pid_028F
    [MSFT.NTx86]
    %XUSB21.DeviceName.Wired%=CC_Install, USB\Vid_045E&Pid_028E
    %XUSB21.DeviceName%=CC_Install, USB\Vid_045E&Pid_0719
    %XUSB21.DeviceName.Wired%=CC_Install, USB\MS_COMP_XUSB10
    %XUSB21.DeviceName%=CC_Install, USB\MS_COMP_XUSB20
    %XUSB21.DeviceName.Jump%=CC_Install, USB\Vid_045E&Pid_028F
    [MSFT.NTamd64]
    %XUSB21.DeviceName.Wired%=CC_Install, USB\Vid_045E&Pid_028E
    %XUSB21.DeviceName%=CC_Install, USB\Vid_045E&Pid_0719
    %XUSB21.DeviceName.Wired%=CC_Install, USB\MS_COMP_XUSB10
    %XUSB21.DeviceName%=CC_Install, USB\MS_COMP_XUSB20
    %XUSB21.DeviceName.Jump%=CC_Install, USB\Vid_045E&Pid_028F
    [CC_Install]
    CopyFiles=CC_Install.CopyFiles
    AddReg=CC_Install.AddReg
    [CC_Install.CopyFiles]
    xusb21.sys
    [CC_Install.AddReg]
    HKR,,"AudioOutTerminalType" , 0x00010001, 0x00000306
    ;HKR,,"LiveCallButtonVidPid" , 0x045e0001, 0x00000306
    ;HKR,,"WheelUsage" , 0x00000004, 0x00000306
    ;HKR,,"SwapFFWirelessWheelVibration", 0x00000001, 0x00000306
    [CC_Install.Services]
    AddService=xusb21,0x00000002,CC_XUSB21_Service
    [CC_Install.CoInstallers]
    AddReg=CC_Install_CoInstaller_AddReg
    CopyFiles=CC_Install_CoInstaller_CopyFiles
    [CC_Install_CoInstaller_AddReg]
    HKR,,CoInstallers32,0x00010000, "WdfCoInstaller01009.dll,WdfCoInstaller"
    [CC_Install_CoInstaller_CopyFiles]
    WdfCoInstaller01009.dll
    [CC_Install.Wdf]
    KmdfService = XUSB21, XUSB21_wdfsect
    [XUSB21_wdfsect]
    KmdfLibraryVersion = 1.9

    [CC_XUSB21_Service]
    DisplayName = %XUSB21.ServiceName%
    ServiceType = 1 ; SERVICE_KERNEL_DRIVER
    StartType = 3 ; SERVICE_DEMAND_START
    ErrorControl = 0 ; SERVICE_ERROR_IGNORE
    ServiceBinary = %12%\xusb21.sys

    [strings]
    ;localized strings
    MSFT = "Microsoft"
    StdMfg = "(Standard system devices)"
    XUSB21.ClassName = "XBOX 360 Peripherals"
    XUSB21.DeviceName = "Xbox 360 Wireless Receiver for Windows"
    XUSB21.DeviceName.Wired = "Xbox 360 Controller for Windows"
    XUSB21.DeviceName.Jump = "Xbox 360 Wireless Controller via Play & Charge Kit"
    XUSB21.ServiceName = "Xbox 360 Wireless Receiver Driver Service 21"
    XUSB21.DiskName = "Xbox 360 Wireless Receiver for Windows Install Disk"
     
    Last edited: May 14, 2012
  8. Zetrox2k

    Zetrox2k <B>Site Supporter 2014</B>

    Joined:
    May 1, 2012
    Messages:
    112
    Likes Received:
    2
    AFAIK, as others have suggested, the Play and Charge kit simply acts as a power source... havent looked at this myself, but assuming the data lines are there you could rig the mainboard of the controller, and completely bypass RF. Not much you can do without some soldering I'm afraid.... better off grabbing an adapter, I managed to get one for $2 from a local pawn shop.
     
  9. iamcheese

    iamcheese Active Member

    Joined:
    Jul 20, 2005
    Messages:
    49
    Likes Received:
    0
    i swear it was possible for a while after launch, i remember using it to play some emus on my pc... seems ms chaned some stuff when they started marketing the adapter for the pc to force you to buy it, when i did do it i played with no battery pack installed so it worked for both the data and power...

    driver hack anyone?
     
  10. Zetrox2k

    Zetrox2k <B>Site Supporter 2014</B>

    Joined:
    May 1, 2012
    Messages:
    112
    Likes Received:
    2
    definetely not possible. i remember trying it myself at launch with some custom drivers, then gutted it and worked out why.
     
  11. Bad_Ad84

    Bad_Ad84 The Tick

    Joined:
    May 26, 2011
    Messages:
    8,566
    Likes Received:
    1,308
    USB spec states the device needs to negotiate with the host for high power mode. Pretty sure the data that is sent is only to allow this so the batteries would actually charge.

    This circuity is probably in the charge kit, rather than the actual pad itself.

    Also, your comment about the driver inf is wrong, it doesnt state its nulling it. It states its installing a null service - probably a dummy service as theres no data coming from the pad.
     
    Last edited: May 15, 2012
  12. johnace

    johnace Grumpy Old Man

    Joined:
    May 12, 2006
    Messages:
    555
    Likes Received:
    2
    You don't need to modify the controller at all

    That's what I'm hoping someone can do, as you can see from the above file I posted Microsoft INTENTIONALLY nulls/disables the play and charge kit from sending the required data for the controller to work properly.

    So in your opinion why won't it work?
     
  13. CodeAsm

    CodeAsm ohci_write: Bad offset 30

    Joined:
    Dec 22, 2010
    Messages:
    1,500
    Likes Received:
    176
    In my play and charge cable the D+ and D- are directly connected to the controller, so im checking this link
    So maybe its posible if the IC (mcu) supports it. Will take a look tonight when back home with USBView

    EDIT: Its right after I got home i now check usbview and this is what USBview says abaout my (Off) controller:
    also when it is searching its only this and the normal app dous not see it. maybe the driver, but im scared it can also be in the Controllers mcu be a diffrent Firmware.

    Also:
    from here : Linky
     
    Last edited: May 15, 2012
  14. johnace

    johnace Grumpy Old Man

    Joined:
    May 12, 2006
    Messages:
    555
    Likes Received:
    2
    I've ended up making a "ghetto" reciever lol, just untill I crack this bitch xD
    [​IMG]
     
  15. l_oliveira

    l_oliveira Officer at Arms

    Joined:
    Nov 24, 2007
    Messages:
    3,879
    Likes Received:
    245
    P&C Is not just a power source.

    The XBOX360 (And PC software if host is a PC with Windows) will connect to the controller through the USB link to program the controller with the RF board mac address.

    It's made that way because the kit covers the SYNC button on the controller.
     
  16. Metatron

    Metatron Newly Registered

    Joined:
    Feb 18, 2014
    Messages:
    1
    Likes Received:
    0
    OK, I do not recommend accepting advice from someone who uses words like "pretty sure' or "probably".
    Now moving forward with information from someone with actual information than I am a wee bit more that "pretty sure" about. The cord from the Play and Charge kit DEFINITELY has the required data lines in it for more than one reason...I will give the 2 that matter. 1. How would you be able to use your controller when your battery is so dead it could not power the devices transmitter/receiver function? Answer: It could not, therefore it would use the data cable until there is sufficient battery power to run wirelessly. Reason 2. You can happily play the game with the battery pack completely removed. Now before you go into the "But USB has enough voltage to run the controller wirelessly, allow me to stop you right there. Do you think that AA, AAA and AAAA batteries are built ONLY for convenience? Nope. They are built for amperage. While I do not remember the amps the USB puts out off the top of my head, I remember researching this for a friend a few times before and the amps put out by the AA batteries>USB amperage. So that about sums it up for you johnace. I hope this really helps you to cut through the people who are "pretty sure" they know what they are talking about. Hee Hee.
    Metatron Out



    While I was typing my smartarse remark, this guy said what I was going for dead on! Perfect mate, simple perfect!



     
    Last edited by a moderator: Feb 18, 2014
  17. Pikkon

    Pikkon "Moving in Stereo"

    Joined:
    Mar 4, 2005
    Messages:
    2,695
    Likes Received:
    80
    First you necrobump a old thread then second your being a smart ass.

    Nice.
     
  18. Bad_Ad84

    Bad_Ad84 The Tick

    Joined:
    May 26, 2011
    Messages:
    8,566
    Likes Received:
    1,308
    So basically, you quote me and say that I am wrong - then say that the USB lead doesnt have enough amps to run the controller wireless (so, implying it actually uses USB for data) and then quote l_oliveira as being "dead on" when he actually says the USB is used to transfer the MAC, so it WILL WORK WIRELESSLY.

    Its well known the USB lead isnt used for data (as in, actually using the pad controls/buttons). So basically, you dont have a fucking clue about what you are saying.

    My post was an educated guess based on what is publically known, you just posted nonsense and then agree with another posters reply that disagrees with what you just said.

    Good first post.
     
    Last edited: Feb 18, 2014
  19. l_oliveira

    l_oliveira Officer at Arms

    Joined:
    Nov 24, 2007
    Messages:
    3,879
    Likes Received:
    245
    First post is kind of trollin' material ...

    What a way to do a first post, huh ? :x
     
  20. SLG S6

    SLG S6 Newly Registered

    Joined:
    Feb 19, 2014
    Messages:
    1
    Likes Received:
    0
    and no one bothered to actually figure this out

    How many years does it take to create a working driver for MS plug and charge kit? The world may never know.
     
sonicdude10
Draft saved Draft deleted
Insert every image as a...
  1.  0%

Share This Page