Skip to content

Commit

Permalink
remove wired support
Browse files Browse the repository at this point in the history
  • Loading branch information
BoukeHaarsma23 committed Sep 18, 2023
1 parent bbf0dcc commit 87d1863
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 594 deletions.
3 changes: 1 addition & 2 deletions Kbuild
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
xone-wired-y := transport/wired.o
xone-dongle-y := transport/dongle.o transport/mt76.o
xone-gip-y := bus/bus.o bus/protocol.o driver/common.o
xone-gip-gamepad-y := driver/gamepad.o
xone-gip-headset-y := driver/headset.o
xone-gip-chatpad-y := driver/chatpad.o
xone-gip-guitar-y := driver/guitar.o
obj-m := xone-wired.o xone-dongle.o xone-gip.o xone-gip-gamepad.o xone-gip-headset.o xone-gip-chatpad.o xone-gip-guitar.o
obj-m := xone-dongle.o xone-gip.o xone-gip-gamepad.o xone-gip-headset.o xone-gip-chatpad.o xone-gip-guitar.o
14 changes: 6 additions & 8 deletions dkms.conf
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
PACKAGE_NAME="xone"
PACKAGE_VERSION="#VERSION#"
BUILT_MODULE_NAME[0]="xone-wired"
BUILT_MODULE_NAME[1]="xone-dongle"
BUILT_MODULE_NAME[2]="xone-gip"
BUILT_MODULE_NAME[3]="xone-gip-gamepad"
BUILT_MODULE_NAME[4]="xone-gip-headset"
BUILT_MODULE_NAME[5]="xone-gip-chatpad"
BUILT_MODULE_NAME[6]="xone-gip-guitar"
BUILT_MODULE_NAME[0]="xone-dongle"
BUILT_MODULE_NAME[1]="xone-gip"
BUILT_MODULE_NAME[2]="xone-gip-gamepad"
BUILT_MODULE_NAME[3]="xone-gip-headset"
BUILT_MODULE_NAME[4]="xone-gip-chatpad"
BUILT_MODULE_NAME[5]="xone-gip-guitar"
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"
5 changes: 0 additions & 5 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,6 @@ if dkms install -m xone -v "$version"; then
install -D -m 644 install/modprobe.conf /etc/modprobe.d/xone-blacklist.conf
install -D -m 755 install/firmware.sh /usr/local/bin/xone-get-firmware.sh

# Avoid conflicts between xpad and xone
if lsmod | grep -q '^xpad'; then
modprobe -r xpad
fi

# Avoid conflicts between mt76x2u and xone
if lsmod | grep -q '^mt76x2u'; then
modprobe -r mt76x2u
Expand Down
1 change: 0 additions & 1 deletion install/modprobe.conf
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
blacklist xpad
blacklist mt76x2u
Loading

0 comments on commit 87d1863

Please sign in to comment.