public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Bastien Nocera <hadess@hadess.net>
To: BlueZ development <linux-bluetooth@vger.kernel.org>
Subject: [PATCH] Remove sixaxis quirk
Date: Fri, 05 Feb 2010 13:52:15 +0000	[thread overview]
Message-ID: <1265377935.2383.59.camel@localhost.localdomain> (raw)

[-- Attachment #1: Type: text/plain, Size: 40 bytes --]

As it's now done in the kernel.

Cheers

[-- Attachment #2: 0001-Remove-Sixaxis-quirk-now-in-the-kernel.patch --]
[-- Type: text/x-patch, Size: 904 bytes --]

>From 67fbab5f326492dc0f3a9190f6e184bfbdefae30 Mon Sep 17 00:00:00 2001
From: Bastien Nocera <hadess@hadess.net>
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


             reply	other threads:[~2010-02-05 13:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-05 13:52 Bastien Nocera [this message]
2010-02-05 14:56 ` [PATCH] Remove sixaxis quirk Marcel Holtmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1265377935.2383.59.camel@localhost.localdomain \
    --to=hadess@hadess.net \
    --cc=linux-bluetooth@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox