Xbox Chat headset with GIMX ?

Talk About Anything XBOX here
Post Reply
0uistyty
Posts: 54
Joined: Wed Nov 02, 2011 12:35 pm

Xbox Chat headset with GIMX ?

Post by 0uistyty »

HI all,

Did someone find a way to connect Live chat headset (one that must plug into a pad) while using GIMX ?

Actually using the kinnect microphone that work pretty well but the chat output on TV is really really bad. I don't hear half of the thing that people are saying.
Voice setting are in Xbox : Voice at level 10 and Game at level 1

No chat sound level in game (COD MW3)

Any hint will be appreciate.
0uistyty
Posts: 54
Joined: Wed Nov 02, 2011 12:35 pm

Re: Xbox Chat headset with GIMX ?

Post by 0uistyty »

Ca this type of information can help out transferring chat audio audio trough gimx ???

http://www.free60.org/GamePad#The_headset-port
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Xbox Chat headset with GIMX ?

Post by Matlo »

GIMX creator
0uistyty
Posts: 54
Joined: Wed Nov 02, 2011 12:35 pm

Re: Xbox Chat headset with GIMX ?

Post by 0uistyty »

Thanks for reply.
I know that is not your priority, but wanted to know if you where stil thinking about the audio/chat for XBOX since the post is more then one year old.
I also wonder how other cary the chat voice comunication while playing with gimx on this platform.
Thanks for the good work Malto.
0uistyty
Posts: 54
Joined: Wed Nov 02, 2011 12:35 pm

Re: Xbox Chat headset with GIMX ?

Post by 0uistyty »

Hi Malto,

I want to give a try on that "evolution" but I would definitively need some tips.

I'm still novice in hacking and devlopement.

I would like to be able to dump the output of the mic of the headset connected to xbox controller on a linux system.

running xboxdrv on ubuntu 11.10 I'm able to get activity when the headset is plugged in or plugged out but i'm not able to capture mic activity. (I get all other sticks and buttons activity)
I'm pretty sure that the xboxdriver do not get the output out the Descriptor (3) but only the trigger sent when the headset is plugged in or out.

Did someone overhere was able to get something out of this mic ?

My first goal are :
- to understand how the audio is transmitted and received from the controller to usb to the xbox.
- what trigger is sent to xbox when the headset is plugged in or out

My final goal is :
- try to add the headset feature to GIMX project by using audio in/out from controller source or alternative sources and emulate the good output to the xbox 360. Submit the modification if i'm able to make it work.

Help would and will be appreciated.

Regards
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Xbox Chat headset with GIMX ?

Post by Matlo »

Hi,

You can interface with endpoints 3 (microphone) and 4 (speaker) through either a custom kernel module or through a user-land application using libusb.
GIMX creator
0uistyty
Posts: 54
Joined: Wed Nov 02, 2011 12:35 pm

Re: Xbox Chat headset with GIMX ?

Post by 0uistyty »

I've been playing all night with usbmon, WireShark, libusb, xboxdrv and sample here and there to manga how to obtain the data from the mic.
It's look like I missed somthing because I wasn't able to get my voice dump and replay. trough the controller :(

Mabee we are not looking at the good place.
While using usbmon and xboxdrv, I noticed that there is other activity when headset is conntected/disconnected.
Mabe it is related.


Headset Speaker :
- Device 2
- Interface 1
- EndPoint 4

???? (sécurity chip, chat pad, other ?)
- Device 2
- Interface 3
- EndPoint 64
if it is the security chip, will we something like the usbspoof to make a pseudo headset detected by the xbox ?

Code: Select all

f02ba280 353673503 C Ii:4:002:1 0:4 3 = 080300        <== Headset Unplugged Dev 2 / Int 1 / E.P. 4
f065c180 353673561 S Ii:4:002:1 -115:4 32 <
f065c380 353711506 C Ii:4:002:3 0:64 4 = 00040000     <== Headset Unplugged Ack Dev 2 / Int 3 / E.P. 64
f410a780 353711619 S Ii:4:002:3 -115:64 32 <
f410a780 356143504 C Ii:4:002:3 0:64 4 = 00040000     <== Headset Plugged Dev 2 / Int 3 / E.P. 64
ef3c7280 356143570 S Ii:4:002:3 -115:64 32 <
f065c180 357225505 C Ii:4:002:1 0:4 3 = 080302        <== Headset Detected Dev 2 / Int 1 / E.P. 4
ef3c7000 357225566 S Ii:4:002:1 -115:4 32 <
ef3c7280 357231502 C Ii:4:002:3 0:64 4 = 00040100     <== Headset Plugged Ack Dev 2 / Int 3 / E.P. 64
ef3c7280 357231552 S Ii:4:002:3 -115:64 32 <
ef3c7280 357295506 C Ii:4:002:3 0:64 3 = 010300       <== HandShake Starting Dev 2 / Int 3 / E.P. 64
f410a000 357295613 S Ii:4:002:3 -115:64 32 <
f410a000 357359506 C Ii:4:002:3 0:64 3 = 02030f
f410a000 357359613 S Ii:4:002:3 -115:64 32 <
f410a000 357423508 C Ii:4:002:3 0:64 5 = 0305ff00 00
f410a000 357423617 S Ii:4:002:3 -115:64 32 <
f410a000 357487507 C Ii:4:002:3 0:64 3 = 0403ff
f410a000 357487619 S Ii:4:002:3 -115:64 32 <
f410a000 357551505 C Ii:4:002:3 0:64 3 = 050300
f410a000 357551611 S Ii:4:002:3 -115:64 32 <
I also reported a bug on xboxdrv github about this issue.
0uistyty
Posts: 54
Joined: Wed Nov 02, 2011 12:35 pm

Re: Xbox Chat headset with GIMX ?

Post by 0uistyty »

Matlo wrote:Hi,

You can interface with endpoints 3 (microphone) and 4 (speaker) through either a custom kernel module or through a user-land application using libusb.
All my efforts didn't serve today.
I would stronly apreciate if you have a c or c++ code sample that can dump the audio from the mic of this headset/pac combo.
Thanks.
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Xbox Chat headset with GIMX ?

Post by Matlo »

This is the source code for the xpad kernel module:
http://git.kernel.org/?p=linux/kernel/g ... ads/master

There are a few words in the header of the function xpad360w_process_packet.
GIMX creator
Post Reply