-
-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
3,334 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
xone-wired-y := transport/wired.o | ||
xone-dongle-y := transport/dongle.o transport/mt76.o | ||
xone-gip-bus-y := bus/bus.o bus/protocol.o | ||
xone-gip-common-y := driver/common.o | ||
xone-gip-gamepad-y := driver/gamepad.o | ||
xone-gip-headset-y := driver/headset.o | ||
xone-gip-chatpad-y := driver/chatpad.o | ||
obj-m := xone-wired.o xone-gip-bus.o xone-gip-common.o xone-gip-gamepad.o xone-gip-headset.o xone-gip-chatpad.o | ||
obj-m := xone-wired.o xone-dongle.o xone-gip-bus.o xone-gip-common.o xone-gip-gamepad.o xone-gip-headset.o xone-gip-chatpad.o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,17 @@ | ||
PACKAGE_NAME="xone" | ||
PACKAGE_VERSION="#VERSION#" | ||
BUILT_MODULE_NAME[0]="xone-wired" | ||
BUILT_MODULE_NAME[1]="xone-gip-bus" | ||
BUILT_MODULE_NAME[2]="xone-gip-common" | ||
BUILT_MODULE_NAME[3]="xone-gip-gamepad" | ||
BUILT_MODULE_NAME[4]="xone-gip-headset" | ||
BUILT_MODULE_NAME[5]="xone-gip-chatpad" | ||
BUILT_MODULE_NAME[1]="xone-dongle" | ||
BUILT_MODULE_NAME[2]="xone-gip-bus" | ||
BUILT_MODULE_NAME[3]="xone-gip-common" | ||
BUILT_MODULE_NAME[4]="xone-gip-gamepad" | ||
BUILT_MODULE_NAME[5]="xone-gip-headset" | ||
BUILT_MODULE_NAME[6]="xone-gip-chatpad" | ||
DEST_MODULE_LOCATION[0]="/kernel/drivers/input/joystick" | ||
DEST_MODULE_LOCATION[1]="/kernel/drivers/input/joystick" | ||
DEST_MODULE_LOCATION[2]="/kernel/drivers/input/joystick" | ||
DEST_MODULE_LOCATION[3]="/kernel/drivers/input/joystick" | ||
DEST_MODULE_LOCATION[4]="/kernel/drivers/input/joystick" | ||
DEST_MODULE_LOCATION[5]="/kernel/drivers/input/joystick" | ||
DEST_MODULE_LOCATION[6]="/kernel/drivers/input/joystick" | ||
AUTOINSTALL="yes" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
#!/usr/bin/env sh | ||
|
||
set -eu | ||
|
||
if [ "$(id -u)" -ne 0 ]; then | ||
echo 'This script must be run as root!' >&2 | ||
exit 1 | ||
fi | ||
|
||
if ! [ -x "$(command -v curl)" ]; then | ||
echo 'This script requires curl!' >&2 | ||
exit 1 | ||
fi | ||
|
||
if ! [ -x "$(command -v cabextract)" ]; then | ||
echo 'This script requires cabextract!' >&2 | ||
exit 1 | ||
fi | ||
|
||
if [ "${1:-}" != --skip-disclaimer ]; then | ||
echo "The firmware for the wireless dongle is subject to Microsoft's Terms of Use:" | ||
echo 'https://www.microsoft.com/en-us/legal/terms-of-use' | ||
echo | ||
echo 'Press enter to continue!' | ||
read -r _ | ||
fi | ||
|
||
driver_url='http://download.windowsupdate.com/c/msdownload/update/driver/drvs/2017/07/1cd6a87c-623f-4407-a52d-c31be49e925c_e19f60808bdcbfbd3c3df6be3e71ffc52e43261e.cab' | ||
firmware_hash='48084d9fa53b9bb04358f3bb127b7495dc8f7bb0b3ca1437bd24ef2b6eabdf66' | ||
|
||
curl -L -o driver.cab "$driver_url" | ||
cabextract -F FW_ACC_00U.bin driver.cab | ||
echo "$firmware_hash" FW_ACC_00U.bin | sha256sum -c | ||
mv FW_ACC_00U.bin /lib/firmware/xow_dongle.bin | ||
rm driver.cab |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
blacklist xpad | ||
blacklist mt76x2u |
Oops, something went wrong.