[PATCH] Remove sixaxis quirk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



As it's now done in the kernel.

Cheers
>From 67fbab5f326492dc0f3a9190f6e184bfbdefae30 Mon Sep 17 00:00:00 2001
From: Bastien Nocera <hadess@xxxxxxxxxx>
Date: Fri, 5 Feb 2010 13:49:55 +0000
Subject: [PATCH] Remove Sixaxis quirk, now in the kernel

The quirk in input/device.c to make the Sixaxis joypad operational
in Bluetooth mode is now available directly in the kernel.
---
 input/device.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/input/device.c b/input/device.c
index c8ef1ad..922dc98 100644
--- a/input/device.c
+++ b/input/device.c
@@ -659,12 +659,6 @@ static int hidp_add_connection(const struct input_device *idev,
 		}
 	}
 
-	if (req->vendor == 0x054c && req->product == 0x0268) {
-		unsigned char buf[] = { 0x53, 0xf4,  0x42, 0x03, 0x00, 0x00 };
-		int sk = g_io_channel_unix_get_fd(iconn->ctrl_io);
-		err = write(sk, buf, sizeof(buf));
-	}
-
 	err = ioctl_connadd(req);
 
 cleanup:
-- 
1.6.6


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux