13.03.2013 Views

Hacking the Xbox

Hacking the Xbox

Hacking the Xbox

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

260<br />

<strong>Hacking</strong> <strong>the</strong> <strong>Xbox</strong>: An Introduction to Reverse Engineering<br />

USB Connector Pinout<br />

The <strong>Xbox</strong> uses a USB derivative for <strong>the</strong> game controller ports. There are<br />

four game controller ports on <strong>the</strong> front of <strong>the</strong> <strong>Xbox</strong>, and all of <strong>the</strong>m have<br />

an identical pinout, as shown in Figure F-2.<br />

+5V USB<br />

Data -<br />

USB<br />

Data +<br />

Video<br />

Sync<br />

GND<br />

Figure F-2: Game controller pinout, as viewed from outside <strong>the</strong> <strong>Xbox</strong> case looking<br />

at <strong>the</strong> connector.<br />

The “video sync” signal is a 3.3V CMOS or TTL-compatible signal. It is a<br />

basic 15.734 kHz positive polarity pulse train synchronized to <strong>the</strong> horizontal<br />

line time of <strong>the</strong> composite video output, with a single longer pulse at <strong>the</strong><br />

beginning of every video field. This signal enables peripherals that are<br />

pointed at <strong>the</strong> TV screen, such as a light pen or a light gun for shooting<br />

games, to derive position information.<br />

The game controllers are connected to <strong>the</strong> <strong>Xbox</strong> via an intermediate breakaway<br />

connector. The purpose of this break-away connector is to prevent<br />

console damage (particularly hard drive damage) by dragging or jerking in<br />

<strong>the</strong> event that a cord becomes entangled around a user’s foot. The pinout of<br />

this break-away connector is depicted in Figure F-3.<br />

Data +<br />

Video<br />

Sync<br />

GND<br />

Figure F-3: Game controller break-away pinout, as viewed looking head-on into <strong>the</strong><br />

connector closer to <strong>the</strong> <strong>Xbox</strong>.<br />

+5V<br />

Data -

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!