Page 38 of 72 FirstFirst ... 282930313233343536373839404142434445464748 ... LastLast
Results 371 to 380 of 712

Thread: CONTEST: Xbox Chatpad Driver Challenge

  1. #371
    Constant Bitrate
    Join Date
    Nov 2010
    Posts
    187
    Yeah, it's a pretty good piece of hardware, but some keys may still be a little flaky. I bought mine used and I think part of it is a little cracked. Just be careful with it, and let me know if it has the same behavior on the 360!

    I haven't heard anything else from cradle, so I am just moving on with the plan of keeping the latest binaries and source code on the Google code site, meaning eventually it should have version control and you can browse the source tree via the website.

    *edit* A little note for anyone working on international mappings, KEYBOARD_KEY_RIGHT_ALT can be used as a modifier (or SPECIAL_ACTION_RIGHT_ALT to bind a key to the button itself) for the special AltGr key that allows you to type special symbols, like on a German keyboad. I'm currently in email contact with a guy who is testing the German stuff, and it seems I need to add support for some special international keyboard codes from the Hut1_12.pdf spec to fully allow international keyboard mappings to work.

  2. #372
    FLAC
    Join Date
    Dec 2008
    Posts
    1,322
    Gaf, this is just awesome. you have done something nobody could do for nearly the last decade. i think the first thing you should do if/when you win the money is take $100 and a friend to a really nice dinner somewhere. youve earned it. then do all that other stuff you said you would do with the money

    and i also think that if people want a 64bit signed driver, then a separate donation pool can be set up for that. if were only talking a couple hundred dollars i am sure we could find that. it wasnt part of the original schedule, so i dont see a reason it should be taxed from this pot. maybe just have mp3car put the 64bit signed driver in the app mart for $2 or something..

    and personally, i want to see wireless drivers! i have a wired controller to try this on, but its the wireless that would really trick out my carpc, my htpc, and even my gaming pc.

  3. #373
    Newbie xCKxHolyChaos's Avatar
    Join Date
    Dec 2010
    Posts
    5
    "I think this should be something simple. Make sure the file "chatpad_config.txt" is in the same directory as the control utility when you run it.


    I am hoping you are having the same problem as the previous poster. Make sure the chatpad_config.txt file is in the same directory as the chatpad_control_amd64.exe executable. If you made a desktop shortcut, make sure you really made a shortcut to the executable, not a COPY of the executable. Also you might need to look at the right click->properties of the shortcut, to see if the "run in" directory points to the same place as the .exe and the chatpad_config.txt file."


    Yea so i had it all in the same directory i created a folder for everything and tried it from there still a no go, and then just extracted everything to my desktop and just tried from there to see. still didn't work. so weird... -_-


    ---> just got an alienware m15x cant wait to use the chat pad on it ^_^

  4. #374
    Constant Bitrate
    Join Date
    Nov 2010
    Posts
    187
    Chaos, thanks...the other poster sent me some extra information, so I may try to get a test control utility out in the next day or so, to debug the error codes. It looks like you might be having the same problem, maybe some file permission thing with the config file for all I know. Thanks for your patience.

    *edit* DrMoney, I'm going to send you a PM/email about your 0x00000422 error. It might be ERROR_SERVICE_DISABLED but I don't understand why that would be the case, so I'm going to ask you about an install log that might help us out.

  5. #375
    Newbie
    Join Date
    Dec 2010
    Posts
    3
    My apologies for any confusion created by my git repo... I've taken it down to avoid potential confusion.

    I understand your desire to have an 'official' source, and don't want to come across as trying to trump or undermine your work.

    GIT can mirror SVN (google code supported usually) repositories fairly smoothly, and I guess it would not be considered wrong to think of mine as a mirror.

    The git "philosophy" if there is one, is to allow anyone to tinker in any branch as much as they like, but they push their changes to their own repo, rather than yours. Then, they can show you their change as a proper commit in their repository, and if they desire issue what is known as a "pull request". As in to say, "please pull my commits if you deem them worthy".

    Again, sorry for any possible confusion, although I'd encourage the community to consider the above approach anyway - as it encourages contributions far more than a centralised SVN repo.

  6. #376
    Constant Bitrate
    Join Date
    Nov 2010
    Posts
    187
    Update for today, someone else seems to be having the same error 121 that supporer saw. I am starting to add known bugs to the Issues page of the Google Code website so they can be tracked. I think that all known issues are now entered into the tracker. Please email me, PM me, post, or whatever if you are having a problem that is not addressed.

    The Issues page is here: http://code.google.com/p/chatpad-sup...er/issues/list

    *edit* supporer, if you see this, check your PMs. I may have an idea about how to fix the error 121 problem.

  7. #377
    Newbie
    Join Date
    Dec 2010
    Posts
    3
    I'm running Windows 7 x64, disabled driver signing, installed the driver, rebooted.

    Running the controller app I'm presented:
    Code:
    C:\Users\Gremelin\Downloads\chatpad_0_0_3a_win7>chatpad_control_amd64.exe
    
    *****
    Chatpad control utility version 0.1a started.
    *****
    Please wait...
    
    Control utility started.
    Opening chatpad filter driver.
    Successfully opened chatpad filter driver.
    Successfully connected to XBox 360 controller.
    Opening connection to virtual keyboard device.
    Successfully opened connection to virtual keyboard device.
    Successfully connected to the virtual keyboard device.
    Opening connection to virtual mouse device.
    Successfully opened connection to virtual mouse device.
    Successfully connected to the virtual mouse device.
    Microsoft initialization has been finished, so we can init the chatpad now.
    IOCTL failed, lastError == 31
    IOCTL failed, lastError == 31
    IOCTL failed, lastError == 31
    IOCTL failed, lastError == 31
    Control response data received:  0x00 0x00
    Error initializing chatpad.
    Closing connection to virtual keyboard device.
    Closing connection to virtual mouse device.
    Closing chatpad filter driver.
    Done.  The exit status is -1.

  8. #378
    Newbie
    Join Date
    Dec 2010
    Posts
    24
    I have the IOCTL failed errors as well on my win7 x64 install as well, even after removing all devices (as discussed earlier with gafblizz), and removing/disabling the driver-verifier.

    Code:
    C:\chatpad03a>chatpad_control_amd64.exe
    
    *****
    Chatpad control utility version 0.1a started.
    *****
    Please wait...
    
    Control utility started.
    Opening chatpad filter driver.
    Successfully opened chatpad filter driver.
    Successfully connected to XBox 360 controller.
    Opening connection to virtual keyboard device.
    Successfully opened connection to virtual keyboard device.
    Successfully connected to the virtual keyboard device.
    Opening connection to virtual mouse device.
    Successfully opened connection to virtual mouse device.
    Successfully connected to the virtual mouse device.
    Microsoft initialization has been finished, so we can init the chatpad now.
    IOCTL failed, lastError == 31
    IOCTL failed, lastError == 31
    IOCTL failed, lastError == 31
    Successfully sent IOCTL.  Bytes transferred:  2
    Control response data received:  0x01 0x00
    Successfully sent IOCTL.  Bytes transferred:  2
    Control response data sent:  0x09 0x00
    Successfully sent IOCTL.  Bytes transferred:  2
    Control response data received:  0x09 0x00
    Successfully sent IOCTL.  Bytes transferred:  3
    Reading thread started for controls data.
    Worker thread started for mouse data.
    Reading thread started for chatpad data.
    IOCTL failed, lastError == 121
    Thread shutdown detected while in ControllerReadFunction.
    Thread shutdown detected while in ChatpadReadFunction.
    Reading thread for controls data has ended, with nStatus == 0
    Reading thread for chatpad data has ended, with nStatus == 0
    Reading thread for chatpad data has ended, with nStatus == 0
    Worker threads successfully stopped.
    Closing connection to virtual keyboard device.
    Closing connection to virtual mouse device.
    Closing chatpad filter driver.
    Done.  The exit status is -1.
    Altough the control response of my device looks better? > you get 0x00 / 0x00 back from the device. I wonder what should be the right response, GAFBLizzard, could you please add more verbose to the driver, so it becomes easier to debug?

    Actually, my problem relates to the http://code.google.com/p/chatpad-sup...es/detail?id=2 --- 121 bug error, and GAFB. i can 100% confirm i have authentic MS hware, its labled with genuine microsoft holograms and it comes from the biggest electronics suppliers in the Netherlands (MEDIAMARKT). It was all sealed hard-plastic covers, not bulk /oem or such. -EDIT 3: its the 'for windows' controller yes

    GAFBlizzard: i do know something about USB development, i messed with the PAD as well. We both know that some initialization control is needed (with a *special* byte sequence), to get response from the controller. You where lucky but also skillfull enough to find and use the source Andy Kirkham, you still ow a lot of credits from us for that, and the prize money, if not yet given to you.

    Could it be that Microsoft uses different intialization for the controllers, if thats the case - more digging needs to be done? Should we contact Andy Kirkham, in the hope he could help us

    1. NO ONE HERE DOES KNOW HOW HE FOUND OUT THE INITIALIZATION SEQUENCE.

    2. Is he informed about this project?

    If you need any help, with any of the above - let me know, we do what we can to help you GAFBlizzard

    -EDIT: i did find out Andy Kirkham actually used a USB analyzer for this > http://mbed.org/forum/mbed/post/6567/

    on one moment he even gave up on hackin the chatpad

    00454 /* I give up, wtf is it with this chatpad that MS needs to keep so secret? */
    00455 //xbox360_chatpad_init();
    with the following comments on the chatpad code
    UPDATE: Everything below is ABANDONED when I basically figured out from one replay to the next
    that MS use the security channel to "handshake" init the chatpad. Many people believe
    the security device in the gamepad is to "tell the xbox I am a real auth MS gamepad". However,
    as I have discovered, it's "two-way". There also exists the "tell the gamepad that an auth
    Xbox360 is the host" and without that the chatpad will not function. I have no interest in
    trying to crack anyones security chips so no further work will be done on this.

    Everything below here is related to the chatpad attachment for the Xbox360 gamepad controller.
    Unlike the sticks, triggers and buttons, the chatpad appears to require some sort of initialization
    in order to start running. Since MS have not published any sort of USB protocol specifications
    for their gamepad, what we do here is basically a "replay attack" based on packets sent and received
    between an Xbox and a gamepad with a USB protocol analyser in the middle. A classic man-in-the-middle
    type of attack.
    GAFBlizz, what i think is that Microsoft uses different intialization parameters (might be per region in the world, or just randomly, per produced batch), so the following could differ..
    Code:
          SendControlRequest(hChatpadDevice, MAIN_INTERFACE, 0x40, 0xa9, 0xa30c, 0x4423, 0x0000);
          SendControlRequest(hChatpadDevice, MAIN_INTERFACE, 0x40, 0xa9, 0x2344, 0x7f03, 0x0000);
          SendControlRequest(hChatpadDevice, MAIN_INTERFACE, 0x40, 0xa9, 0x5839, 0x6832, 0x0000);
    And we can only find this out by using a USB analyzer (WTF)?

    -EDIT 2: On this page of the thread, you actually see these hex codes come by in the log, im not sure whether he used a hware analyzer or not > xbox360 chatpad, awsome backlit mini keyboard

    if you ask me, i'd say - we need more logs (hware or software, unsure).

  9. #379
    Newbie
    Join Date
    Dec 2010
    Posts
    24
    Actually i found out that there are two different Chatpad devices, there is the

    X814365-001 (the one i got)
    and the
    X814364-001

    Could everyone please verify their serial on the back of the chatpad, and mention it if you have anyhting other then the above, please?

    Aidan91 says he has x854237-001 (bought at end 2010)

  10. #380
    Newbie
    Join Date
    Dec 2010
    Posts
    24
    GAFBlizzard: are you toggling, as Kirkham pointed to with

    Code:
    // Now begin toggling 1F / 1E
    In (line 00676 )http://mbed.org/users/AjK/programs/S...8c_source.html

    He's initialization is involves 8 steps, compared with your sourcecode - just 3 (sendcontrolrequests). I'm not saying you're doing it wrong, just digging to try and find out what is buggy at core level.

Similar Threads

  1. HQCT Driver.
    By TheLlama in forum Linux
    Replies: 63
    Last Post: 10-06-2009, 09:32 AM
  2. System Choices and Questions
    By BoondockSaints in forum Car Audio
    Replies: 85
    Last Post: 08-09-2007, 10:52 AM
  3. Driver Issues (PL-2303 Driver)
    By PharmD Heel in forum GPS
    Replies: 1
    Last Post: 08-29-2006, 04:31 PM
  4. Questions!
    By Yellow-Snow in forum Mobile Impact
    Replies: 4
    Last Post: 06-10-2006, 05:18 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •