Bug#271857: marked as done (kernel-source-2.6.8: Please blacklist "IO-Warrior" devices in hid-core.c)
Your message dated Sat, 15 Oct 2005 02:06:33 +0200
with message-id <20051015000633.GP30947@sputnik.stro.at>
and subject line Bug#271857: kernel-source-2.6.8: Please blacklist "IO-Warrior" devices in hid-core.c
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--------------------------------------
Received: (at submit) by bugs.debian.org; 15 Sep 2004 18:18:29 +0000
>From peter@adpm.de Wed Sep 15 11:18:28 2004
Return-path: <peter@adpm.de>
Received: from kw04.de (ww04.kw04.de) [213.131.254.194]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1C7eMO-0006FB-00; Wed, 15 Sep 2004 11:18:28 -0700
Received: from tsetse.adpm.de (pD9542485.dip.t-dialin.net [217.84.36.133])
by ww04.kw04.de (ww04.kw04.de) with ESMTP id 773508409D
for <submit@bugs.debian.org>; Wed, 15 Sep 2004 20:18:28 +0200 (CEST)
Received: from ant.adpm.de (ant.adpm.de [10.250.2.1])
by tsetse.adpm.de (Postfix) with ESMTP id EF8C22BC66
for <submit@bugs.debian.org>; Wed, 15 Sep 2004 20:18:25 +0200 (CEST)
Content-Type: multipart/mixed; boundary="===============1725636792=="
MIME-Version: 1.0
From: Peter Marschall <peter@adpm.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: kernel-source-2.6.8: Please blacklist "IO-Warrior" devices in hid-core.c
X-Mailer: reportbug 2.63
Date: Wed, 15 Sep 2004 20:18:25 +0200
Message-Id: <20040915181825.EF8C22BC66@tsetse.adpm.de>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE
autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level:
This is a multi-part MIME message sent by reportbug.
--===============1725636792==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Package: kernel-source-2.6.8
Version: 2.6.8-5
Severity: minor
Tags: patch
Hi,
the USB devices called "IO-Warriors" from the German manufacturer
"Code Mercenaries" register themselves as HID devices but they offer
more functions than regular HID devices.
To use these extended functions the manufacturer offers a kernel
module (source as well as binaries), which requires modifications
in hid-core.c that make the standard usbhid kernel module ignores
these devices as HID devices.
The attached patch against the current kernel-source-2.6.8 package's
hid-core.c provides these modifications by adding the IO-Warrior
devices to the blacklist in hid-core.c
I am strongly convinced that this patch is licenced under the GPL since
the manufacturer freely distributes a modified version of Linux 2.6.4's
hid-core.c which differs from the original version only by the
modifications in the patch and thus still contains the original license
banner:
/*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
* Software Foundation; either version 2 of the License, or (at your option)
* any later version.
*/
You may check it yourself in the Linux SDK for the IO-Warroir devices
which is freely available at:
http://www.codemercs.de/Downloads/Linux26.zip
Please consider the patch for inclusion in the next Debian kernel release.
It is trivial fix that does not hurt people not using IO-Warriors, and
it saves users, who need the special IOWarrior module, the necessity to
patch a standard kernel module.
I have also reported the bug upstream and hope it will make it into one
of the next upstream versions.
TIA
Peter
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.7-1-k7
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro
Versions of packages kernel-source-2.6.8 depends on:
ii binutils 2.14.90.0.7-8 The GNU assembler, linker and bina
ii bzip2 1.0.2-1 A high-quality block-sorting file
ii coreutils [fileutils] 5.2.1-2 The GNU core utilities
ii fileutils 5.2.1-2 The GNU file management utilities
-- no debconf information
--===============1725636792==
Content-Type: text/x-c; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="hid-core.c-patch"
--- hid-core.c 2004-08-14 07:37:14.000000000 +0200
+++ hid-core.c 2004-09-15 17:34:43.000000000 +0200
@@ -1439,6 +1439,12 @@
#define USB_DEVICE_ID_1_PHIDGETSERVO_20 0x8101
#define USB_DEVICE_ID_4_PHIDGETSERVO_20 0x8104
+#define USB_VENDOR_ID_CODEMERCS 0x07c0
+#define USB_DEVICE_ID_CODEMERCS_IOW40 0x1500
+#define USB_DEVICE_ID_CODEMERCS_IOW24 0x1501
+#define USB_DEVICE_ID_CODEMERCS_IOW48 0x1502
+#define USB_DEVICE_ID_CODEMERCS_IOW28 0x1503
+
static struct hid_blacklist {
__u16 idVendor;
__u16 idProduct;
@@ -1521,6 +1527,11 @@
{ USB_VENDOR_ID_SAITEK, USB_DEVICE_ID_SAITEK_RUMBLEPAD, HID_QUIRK_BADPAD },
{ USB_VENDOR_ID_TOPMAX, USB_DEVICE_ID_TOPMAX_COBRAPAD, HID_QUIRK_BADPAD },
+ { USB_VENDOR_ID_CODEMERCS, USB_DEVICE_ID_CODEMERCS_IOW40, HID_QUIRK_IGNORE },
+ { USB_VENDOR_ID_CODEMERCS, USB_DEVICE_ID_CODEMERCS_IOW24, HID_QUIRK_IGNORE },
+ { USB_VENDOR_ID_CODEMERCS, USB_DEVICE_ID_CODEMERCS_IOW48, HID_QUIRK_IGNORE },
+ { USB_VENDOR_ID_CODEMERCS, USB_DEVICE_ID_CODEMERCS_IOW28, HID_QUIRK_IGNORE },
+
{ 0, 0 }
};
--===============1725636792==--
---------------------------------------
Received: (at 271857-done) by bugs.debian.org; 15 Oct 2005 00:06:36 +0000
>From max@stro.at Fri Oct 14 17:06:36 2005
Return-path: <max@stro.at>
Received: from baikonur.stro.at [213.239.196.228]
by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
id 1EQZZI-0008Gy-00; Fri, 14 Oct 2005 17:06:33 -0700
Received: from sputnik (stallburg.stro.at [128.131.216.190])
by baikonur.stro.at (Postfix) with ESMTP id B63D25C010
for <271857-done@bugs.debian.org>; Sat, 15 Oct 2005 02:06:35 +0200 (CEST)
Received: from max by sputnik with local (Exim 4.52)
id 1EQZZJ-0005BQ-85
for 271857-done@bugs.debian.org; Sat, 15 Oct 2005 02:06:33 +0200
Date: Sat, 15 Oct 2005 02:06:33 +0200
From: maximilian attems <debian@sternwelten.at>
To: 271857-done@bugs.debian.org
Subject: Re: Bug#271857: kernel-source-2.6.8: Please blacklist "IO-Warrior" devices in hid-core.c
Message-ID: <20051015000633.GP30947@sputnik.stro.at>
References: <20040915181825.EF8C22BC66@tsetse.adpm.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20040915181825.EF8C22BC66@tsetse.adpm.de>
User-Agent: Mutt/1.5.9i
X-Virus-Scanned: by Amavis (ClamAV) at stro.at
Delivered-To: 271857-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level:
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER
autolearn=no version=2.60-bugs.debian.org_2005_01_02
On Wed, 15 Sep 2004, Peter Marschall wrote:
> the USB devices called "IO-Warriors" from the German manufacturer
> "Code Mercenaries" register themselves as HID devices but they offer
> more functions than regular HID devices.
>
> To use these extended functions the manufacturer offers a kernel
> module (source as well as binaries), which requires modifications
> in hid-core.c that make the standard usbhid kernel module ignores
> these devices as HID devices.
>
> The attached patch against the current kernel-source-2.6.8 package's
> hid-core.c provides these modifications by adding the IO-Warrior
> devices to the blacklist in hid-core.c
>
> I am strongly convinced that this patch is licenced under the GPL since
> the manufacturer freely distributes a modified version of Linux 2.6.4's
> hid-core.c which differs from the original version only by the
> modifications in the patch and thus still contains the original license
> banner:
>
> /*
> * This program is free software; you can redistribute it and/or modify it
> * under the terms of the GNU General Public License as published by the Free
> * Software Foundation; either version 2 of the License, or (at your option)
> * any later version.
> */
>
> You may check it yourself in the Linux SDK for the IO-Warroir devices
> which is freely available at:
> http://www.codemercs.de/Downloads/Linux26.zip
>
> Please consider the patch for inclusion in the next Debian kernel release.
> It is trivial fix that does not hurt people not using IO-Warriors, and
> it saves users, who need the special IOWarrior module, the necessity to
> patch a standard kernel module.
>
> I have also reported the bug upstream and hope it will make it into one
> of the next upstream versions.
>
> TIA
> Peter
attached patch was merged some time ago,
first git import shows already mentioned pci ids.
-> closing.
--
maks
Reply to: