mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 3/3] Don't let Avermedia Radio FM800 be detected as a normal HID device
@ 2008-10-14 13:10 Mauro Carvalho Chehab
  2008-10-14 20:24 ` Jiri Kosina
  0 siblings, 1 reply; 5+ messages in thread
From: Mauro Carvalho Chehab @ 2008-10-14 13:10 UTC (permalink / raw)
  To: Jiri Kosina, LKML; +Cc: Douglas Landgraf, Alexey Klimov

Based on an original patch from Alexey Klimov <klimov.linux@gmail.com>,
against kernel version 2.6.27.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
---
 drivers/hid/hid-core.c |    1 +
 drivers/hid/hid-ids.h  |    3 +++
 2 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c
index 1fc1d5c..58f99ff 100644
--- a/drivers/hid/hid-core.c
+++ b/drivers/hid/hid-core.c
@@ -1251,6 +1251,7 @@ static const struct hid_device_id hid_blacklist[] = {
 	{ 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) },
diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h
index 078ede0..b609128 100644
--- a/drivers/hid/hid-ids.h
+++ b/drivers/hid/hid-ids.h
@@ -96,6 +96,9 @@
 #define USB_DEVICE_ID_ATEN_4PORTKVM	0x2205
 #define USB_DEVICE_ID_ATEN_4PORTKVMC	0x2208
 
+#define USB_VENDOR_ID_AVERMEDIA		0x07ca
+#define USB_DEVICE_ID_AVER_FM_MR800	0xb800
+
 #define USB_VENDOR_ID_BELKIN           0x050d
 #define USB_DEVICE_ID_FLIP_KVM         0x3201
 
-- 
1.5.5.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 3/3] Don't let Avermedia Radio FM800 be detected as a normal HID device
  2008-10-14 13:10 [PATCH 3/3] Don't let Avermedia Radio FM800 be detected as a normal HID device Mauro Carvalho Chehab
@ 2008-10-14 20:24 ` Jiri Kosina
  2008-10-14 20:26   ` Jiri Kosina
  0 siblings, 1 reply; 5+ messages in thread
From: Jiri Kosina @ 2008-10-14 20:24 UTC (permalink / raw)
  To: Mauro Carvalho Chehab; +Cc: LKML, Douglas Landgraf, Alexey Klimov

On Tue, 14 Oct 2008, Mauro Carvalho Chehab wrote:

> Based on an original patch from Alexey Klimov <klimov.linux@gmail.com>,
> against kernel version 2.6.27.

Hi Mauro,

this is a rather short changelog ... what is the reason here? I guess 
there is a proper driver for this device somewhere in drivers/video, 
right?

Thanks,

-- 
Jiri Kosina
SUSE Labs

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 3/3] Don't let Avermedia Radio FM800 be detected as a normal HID device
  2008-10-14 20:24 ` Jiri Kosina
@ 2008-10-14 20:26   ` Jiri Kosina
  2008-10-15  1:10     ` Mauro Carvalho Chehab
  0 siblings, 1 reply; 5+ messages in thread
From: Jiri Kosina @ 2008-10-14 20:26 UTC (permalink / raw)
  To: Mauro Carvalho Chehab; +Cc: LKML, Douglas Landgraf, Alexey Klimov

On Tue, 14 Oct 2008, Jiri Kosina wrote:

> > Based on an original patch from Alexey Klimov <klimov.linux@gmail.com>,
> > against kernel version 2.6.27.
> this is a rather short changelog ... what is the reason here? I guess 
> there is a proper driver for this device somewhere in drivers/video, 
> right?

OK, now I see, it's radio-mr800 driver. I will update the changelog 
accordingly. Thanks.

-- 
Jiri Kosina
SUSE Labs

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 3/3] Don't let Avermedia Radio FM800 be detected as a normal HID device
  2008-10-14 20:26   ` Jiri Kosina
@ 2008-10-15  1:10     ` Mauro Carvalho Chehab
  2008-10-15 11:36       ` Jiri Kosina
  0 siblings, 1 reply; 5+ messages in thread
From: Mauro Carvalho Chehab @ 2008-10-15  1:10 UTC (permalink / raw)
  To: Jiri Kosina; +Cc: LKML, Douglas Landgraf, Alexey Klimov


On Tue, 14 Oct 2008 22:26:17 +0200 (CEST)
Jiri Kosina <jkosina@suse.cz> wrote:

> On Tue, 14 Oct 2008, Jiri Kosina wrote:
> 
> > > Based on an original patch from Alexey Klimov <klimov.linux@gmail.com>,
> > > against kernel version 2.6.27.
> > this is a rather short changelog ... what is the reason here? I guess 
> > there is a proper driver for this device somewhere in drivers/video, 
> > right?
> 
> OK, now I see, it's radio-mr800 driver. I will update the changelog 
> accordingly. Thanks.
> 
Yes.

Since the radio driver is already upstream, it would be interesting to have
this patch also for 2.6.28.

-- 

Cheers,
Mauro

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 3/3] Don't let Avermedia Radio FM800 be detected as a normal HID device
  2008-10-15  1:10     ` Mauro Carvalho Chehab
@ 2008-10-15 11:36       ` Jiri Kosina
  0 siblings, 0 replies; 5+ messages in thread
From: Jiri Kosina @ 2008-10-15 11:36 UTC (permalink / raw)
  To: Mauro Carvalho Chehab; +Cc: LKML, Douglas Landgraf, Alexey Klimov

On Tue, 14 Oct 2008, Mauro Carvalho Chehab wrote:

> > OK, now I see, it's radio-mr800 driver. I will update the changelog 
> > accordingly. Thanks.
> Yes.
> Since the radio driver is already upstream, it would be interesting to have
> this patch also for 2.6.28.

It went to Linus in the pull request I sent last night.

-- 
Jiri Kosina
SUSE Labs

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-10-15 11:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-14 13:10 [PATCH 3/3] Don't let Avermedia Radio FM800 be detected as a normal HID device Mauro Carvalho Chehab
2008-10-14 20:24 ` Jiri Kosina
2008-10-14 20:26   ` Jiri Kosina
2008-10-15  1:10     ` Mauro Carvalho Chehab
2008-10-15 11:36       ` Jiri Kosina

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®