* next: 6a13378a5 (Don't allow KWorld radio...) is broken @ 2008-11-12 20:37 Jiri Slaby 2008-11-13 0:33 ` Jiri Kosina 2008-11-13 2:24 ` Alexey Klimov 0 siblings, 2 replies; 7+ messages in thread From: Jiri Slaby @ 2008-11-12 20:37 UTC (permalink / raw) To: Alexey Klimov Cc: Tobias Lorenz, Mauro Carvalho Chehab, Jiri Kosina, linux-input, Linux Kernel Mailing List Hi guys, The commit below is apparently wrong. Maybe you CCed HID maintainer, however linux-input didn't get the message, or at least I can't find it anywhere. There is a difference between hid_blacklist and hid_ignore_list. One forbids generic hid driver to bind the device, while the other forces usbhid to release the device and move hands away from it. You picked up the former, which is wrong. I wonder if you were so lucky that you didn't hit it. Care to send a fixup with proper CCs? Thanks. commit 6a13378a56ce06afca9db75f3d4e663fba5f0992 Author: Alexey Klimov <klimov.linux@gmail.com> Date: Sun Oct 19 20:10:13 2008 -0300 V4L/DVB (9337a): HID: Don't allow KWorld radio fm700 be handled by usb hid d rivers This device is already handled by radio-si470x driver, and we therefore want usbhid to ignore it. Signed-off-by: Alexey Klimov <klimov.linux@gmail.com> Acked-by: Tobias Lorenz <tobias.lorenz@gmx.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com> diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c index 1903e75..d3671b4 100644 --- a/drivers/hid/hid-core.c +++ b/drivers/hid/hid-core.c @@ -1265,6 +1265,7 @@ static const struct hid_device_id hid_blacklist[] = { { HID_USB_DEVICE(USB_VENDOR_ID_EZKEY, USB_DEVICE_ID_BTC_8193) }, { HID_USB_DEVICE(USB_VENDOR_ID_GENERIC_13BA, USB_DEVICE_ID_GENERIC_13BA_ KBD_MOUSE) }, { HID_USB_DEVICE(USB_VENDOR_ID_GYRATION, USB_DEVICE_ID_GYRATION_REMOTE) }, + { HID_USB_DEVICE(USB_VENDOR_ID_KWORLD, USB_DEVICE_ID_KWORLD_RADIO_FM700) }, { HID_USB_DEVICE(USB_VENDOR_ID_GYRATION, USB_DEVICE_ID_GYRATION_REMOTE_2 ) }, { HID_USB_DEVICE(USB_VENDOR_ID_LABTEC, USB_DEVICE_ID_LABTEC_WIRELESS_KEY BOARD) }, { HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_MX3000_RECEIVER) }, ^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: next: 6a13378a5 (Don't allow KWorld radio...) is broken 2008-11-12 20:37 next: 6a13378a5 (Don't allow KWorld radio...) is broken Jiri Slaby @ 2008-11-13 0:33 ` Jiri Kosina 2008-11-13 2:44 ` [PATCH 1/2] hid: fix kworld fm700 radio hidquirks Alexey Klimov ` (2 more replies) 2008-11-13 2:24 ` Alexey Klimov 1 sibling, 3 replies; 7+ messages in thread From: Jiri Kosina @ 2008-11-13 0:33 UTC (permalink / raw) To: Jiri Slaby, Alexey Klimov Cc: Tobias Lorenz, Mauro Carvalho Chehab, linux-input, Linux Kernel Mailing List On Wed, 12 Nov 2008, Jiri Slaby wrote: > The commit below is apparently wrong. Maybe you CCed HID maintainer, > however linux-input didn't get the message, or at least I can't find it > anywhere. Jiri, thanks for noticing. No, I don't seem to have been CCed on that patch, and it is apparently wrong indeed. Alexey, did you actually test it? I'd prefer taking this through my tree, if it doesn't impose any problem on your side. Could you please fix it up and resend? Thanks, -- Jiri Kosina ^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 1/2] hid: fix kworld fm700 radio hidquirks 2008-11-13 0:33 ` Jiri Kosina @ 2008-11-13 2:44 ` Alexey Klimov 2008-11-13 2:44 ` [PATCH 2/2] hid: fix radio-mr800 hidquirks Alexey Klimov 2008-11-13 13:30 ` next: 6a13378a5 (Don't allow KWorld radio...) is broken Mauro Carvalho Chehab 2 siblings, 0 replies; 7+ messages in thread From: Alexey Klimov @ 2008-11-13 2:44 UTC (permalink / raw) To: Jiri Kosina, Jiri Slaby Cc: Tobias Lorenz, Mauro Carvalho Chehab, linux-input, Linux Kernel Mailing List This patch fixes kworld fm700 usb-radio hidqurks that handled by radio-si470x. Removes it from blacklist entry and places it in ignore entry in hid/hid-core.c Signed-off-by: Alexey Klimov <klimov.linux@gmail.com> --- diff -r 43cd5fe03c6b linux/drivers/hid/hid-core.c --- a/linux/drivers/hid/hid-core.c Thu Nov 13 05:08:59 2008 +0300 +++ b/linux/drivers/hid/hid-core.c Thu Nov 13 05:12:13 2008 +0300 @@ -1265,7 +1265,6 @@ { HID_USB_DEVICE(USB_VENDOR_ID_EZKEY, USB_DEVICE_ID_BTC_8193) }, { HID_USB_DEVICE(USB_VENDOR_ID_GENERIC_13BA, USB_DEVICE_ID_GENERIC_13BA_KBD_MOUSE) }, { HID_USB_DEVICE(USB_VENDOR_ID_GYRATION, USB_DEVICE_ID_GYRATION_REMOTE) }, - { HID_USB_DEVICE(USB_VENDOR_ID_KWORLD, USB_DEVICE_ID_KWORLD_RADIO_FM700) }, { HID_USB_DEVICE(USB_VENDOR_ID_GYRATION, USB_DEVICE_ID_GYRATION_REMOTE_2) }, { HID_USB_DEVICE(USB_VENDOR_ID_LABTEC, USB_DEVICE_ID_LABTEC_WIRELESS_KEYBOARD) }, { HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_MX3000_RECEIVER) }, @@ -1486,6 +1485,7 @@ { HID_USB_DEVICE(USB_VENDOR_ID_GTCO, USB_DEVICE_ID_GTCO_1007) }, { HID_USB_DEVICE(USB_VENDOR_ID_IMATION, USB_DEVICE_ID_DISC_STAKKA) }, { HID_USB_DEVICE(USB_VENDOR_ID_KBGEAR, USB_DEVICE_ID_KBGEAR_JAMSTUDIO) }, + { HID_USB_DEVICE(USB_VENDOR_ID_KWORLD, USB_DEVICE_ID_KWORLD_RADIO_FM700) }, { HID_USB_DEVICE(USB_VENDOR_ID_KYE, USB_DEVICE_ID_KYE_GPEN_560) }, { HID_USB_DEVICE(USB_VENDOR_ID_LD, USB_DEVICE_ID_LD_CASSY) }, { HID_USB_DEVICE(USB_VENDOR_ID_LD, USB_DEVICE_ID_LD_POCKETCASSY) }, -- Best regards, Klimov Alexey ^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 2/2] hid: fix radio-mr800 hidquirks 2008-11-13 0:33 ` Jiri Kosina 2008-11-13 2:44 ` [PATCH 1/2] hid: fix kworld fm700 radio hidquirks Alexey Klimov @ 2008-11-13 2:44 ` Alexey Klimov 2008-11-13 13:30 ` next: 6a13378a5 (Don't allow KWorld radio...) is broken Mauro Carvalho Chehab 2 siblings, 0 replies; 7+ messages in thread From: Alexey Klimov @ 2008-11-13 2:44 UTC (permalink / raw) To: Jiri Kosina, Jiri Slaby Cc: Mauro Carvalho Chehab, linux-input, Linux Kernel Mailing List This patch fixes radio-mr800 hidqurks. Removes it from blacklist entry and places it in ignore entry in hid/hid-core.c Signed-off-by: Alexey Klimov <klimov.linux@gmail.com> --- diff -r f8813f2b16f7 linux/drivers/hid/hid-core.c --- a/linux/drivers/hid/hid-core.c Thu Nov 13 05:39:06 2008 +0300 +++ b/linux/drivers/hid/hid-core.c Thu Nov 13 05:40:26 2008 +0300 @@ -1252,7 +1252,6 @@ { HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING2_JIS) }, { HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_FOUNTAIN_TP_ONLY) }, { HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_GEYSER1_TP_ONLY) }, - { HID_USB_DEVICE(USB_VENDOR_ID_AVERMEDIA, USB_DEVICE_ID_AVER_FM_MR800) }, { HID_USB_DEVICE(USB_VENDOR_ID_BELKIN, USB_DEVICE_ID_FLIP_KVM) }, { HID_USB_DEVICE(USB_VENDOR_ID_BRIGHT, USB_DEVICE_ID_BRIGHT_ABNT2) }, { HID_USB_DEVICE(USB_VENDOR_ID_CHERRY, USB_DEVICE_ID_CHERRY_CYMOTION) }, @@ -1408,6 +1407,7 @@ { HID_USB_DEVICE(USB_VENDOR_ID_ALCOR, USB_DEVICE_ID_ALCOR_USBRS232) }, { HID_USB_DEVICE(USB_VENDOR_ID_ASUS, USB_DEVICE_ID_ASUS_LCM)}, { HID_USB_DEVICE(USB_VENDOR_ID_ASUS, USB_DEVICE_ID_ASUS_LCM2)}, + { HID_USB_DEVICE(USB_VENDOR_ID_AVERMEDIA, USB_DEVICE_ID_AVER_FM_MR800) }, { HID_USB_DEVICE(USB_VENDOR_ID_BERKSHIRE, USB_DEVICE_ID_BERKSHIRE_PCWD) }, { HID_USB_DEVICE(USB_VENDOR_ID_CIDC, 0x0103) }, { HID_USB_DEVICE(USB_VENDOR_ID_CYGNAL, USB_DEVICE_ID_CYGNAL_RADIO_SI470X) }, > -- Best regards, Klimov Alexey ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: next: 6a13378a5 (Don't allow KWorld radio...) is broken 2008-11-13 0:33 ` Jiri Kosina 2008-11-13 2:44 ` [PATCH 1/2] hid: fix kworld fm700 radio hidquirks Alexey Klimov 2008-11-13 2:44 ` [PATCH 2/2] hid: fix radio-mr800 hidquirks Alexey Klimov @ 2008-11-13 13:30 ` Mauro Carvalho Chehab 2 siblings, 0 replies; 7+ messages in thread From: Mauro Carvalho Chehab @ 2008-11-13 13:30 UTC (permalink / raw) To: Jiri Kosina Cc: Jiri Slaby, Alexey Klimov, Tobias Lorenz, linux-input, Linux Kernel Mailing List On Thu, 13 Nov 2008 01:33:17 +0100 (CET) Jiri Kosina <jkosina@suse.cz> wrote: > I'd prefer taking this through my tree, if it doesn't impose any problem > on your side. That's fine for me. Cheers, Mauro ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: next: 6a13378a5 (Don't allow KWorld radio...) is broken 2008-11-12 20:37 next: 6a13378a5 (Don't allow KWorld radio...) is broken Jiri Slaby 2008-11-13 0:33 ` Jiri Kosina @ 2008-11-13 2:24 ` Alexey Klimov 2008-11-13 9:37 ` Jiri Kosina 1 sibling, 1 reply; 7+ messages in thread From: Alexey Klimov @ 2008-11-13 2:24 UTC (permalink / raw) To: Jiri Slaby, Jiri Kosina Cc: Tobias Lorenz, Mauro Carvalho Chehab, linux-input, Linux Kernel Mailing List On Wed, Nov 12, 2008 at 11:37 PM, Jiri Slaby <jirislaby@gmail.com> wrote: > There is a difference between hid_blacklist and hid_ignore_list. One forbids > generic hid driver to bind the device, while the other forces usbhid to release > the device and move hands away from it. I figured that out and remembered that this thing needed to be fixed and then got side-tracked by other things. Sorry. On Thu, Nov 13, 2008 at 3:33 AM, Jiri Kosina <jkosina@suse.cz> wrote: > Alexey, did you actually test it? > I'd prefer taking this through my tree, if it doesn't impose any problem > on your side. Could you please fix it up and resend? It good thing to do. May i make patch against current kernel tree (rc4-git3) ? I also going to make patch for radio-mr800 that has wrong hidquirks too. I can send now, because this two patches ready. -- Best regards, Klimov Alexey ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: next: 6a13378a5 (Don't allow KWorld radio...) is broken 2008-11-13 2:24 ` Alexey Klimov @ 2008-11-13 9:37 ` Jiri Kosina 0 siblings, 0 replies; 7+ messages in thread From: Jiri Kosina @ 2008-11-13 9:37 UTC (permalink / raw) To: Alexey Klimov Cc: Jiri Slaby, Tobias Lorenz, Mauro Carvalho Chehab, linux-input, Linux Kernel Mailing List On Thu, 13 Nov 2008, Alexey Klimov wrote: > > Alexey, did you actually test it? > > I'd prefer taking this through my tree, if it doesn't impose any problem > > on your side. Could you please fix it up and resend? > It good thing to do. May i make patch against current kernel tree > (rc4-git3) ? I also going to make patch for radio-mr800 that has wrong > hidquirks too. I can send now, because this two patches ready. Thanks, I have applied both patches to my tree (but please remember to always send kernel patches so that they apply using "patch -p1", I had to fix this by hand). Thanks, -- Jiri Kosina SUSE Labs ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2008-11-13 13:30 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2008-11-12 20:37 next: 6a13378a5 (Don't allow KWorld radio...) is broken Jiri Slaby 2008-11-13 0:33 ` Jiri Kosina 2008-11-13 2:44 ` [PATCH 1/2] hid: fix kworld fm700 radio hidquirks Alexey Klimov 2008-11-13 2:44 ` [PATCH 2/2] hid: fix radio-mr800 hidquirks Alexey Klimov 2008-11-13 13:30 ` next: 6a13378a5 (Don't allow KWorld radio...) is broken Mauro Carvalho Chehab 2008-11-13 2:24 ` Alexey Klimov 2008-11-13 9:37 ` Jiri Kosina
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).