public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Alexey Klimov <klimov.linux@gmail.com>
To: Tobias Lorenz <tobias.lorenz@gmx.net>,
	Mark Lord <mlord@pobox.com>, Jiri Kosina <jkosina@suse.cz>,
	Jiri Slaby <jirislaby@gmail.com>
Cc: greg@kroah.com, video4linux-list@redhat.com,
	Mauro Carvalho Chehab <mchehab@infradead.org>
Subject: Re: [PATCH] si470x: Support for DealExtreme
Date: Sun, 07 Dec 2008 02:40:32 +0300	[thread overview]
Message-ID: <1228606832.5603.51.camel@tux.localhost> (raw)
In-Reply-To: <200812031929.12660.tobias.lorenz@gmx.net>

On Wed, 2008-12-03 at 19:29 +0100, Tobias Lorenz wrote:
> Mauro,
> 
> Please pull from http://linuxtv.org/hg/~tlorenz/v4l-dvb
> for the following changeset:
> 
> 01/01: Add USB ID for the Sil4701 radio from DealExtreme.
> http://linuxtv.org/hg/~tlorenz/v4l-dvb?cmd=changeset;node=42f57f457d9d3a91d5f3966b59bfa87679ecb1c7

>  Documentation/video4linux/si470x.txt |    1 +
>  drivers/media/radio/radio-si470x.c   |    4 ++++
>  2 files changed, 5 insertions(+)
> 
> Thanks,
> Tobias
> --

Hello, all
This patch changes only radio driver. As we know, usbhid module creates
hiddev-device, binds device and doesn't allow si470x module to probe()
device. I contacted to Mark and he confirmed that usbhid module
disallowed si470x to work normally. So, i did patch that makes
usb-hidqurks in hid-subsystem.

Mauro, don't you mind if it goes through Jiri's tree ?

Jiri, can you take it to your hid-tree ?

(actually, i don't who should be placed in Cc section of patch; patch
can be applied well against 28-rc7-git4)

---
HID: Don't allow DealExtreme usb-radio be handled by usb hid driver

This device is already handled by radio-si470x driver, and we
therefore want usbhid to ignore it. Patch places usb ids of that device
in ignore section of hid-core.c

Signed-off-by: Alexey Klimov <klimov.linux@gmail.com>

---
diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c
index 40df3e1..0ac2b66 100644
--- a/drivers/hid/hid-core.c
+++ b/drivers/hid/hid-core.c
@@ -1420,6 +1420,7 @@ static const struct hid_device_id hid_ignore_list[] = {
 	{ HID_USB_DEVICE(USB_VENDOR_ID_CMEDIA, USB_DEVICE_ID_CM109) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_CYPRESS, USB_DEVICE_ID_CYPRESS_HIDCOM) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_CYPRESS, USB_DEVICE_ID_CYPRESS_ULTRAMOUSE) },
+	{ HID_USB_DEVICE(USB_VENDOR_ID_DEALEXTREAME, USB_DEVICE_ID_DEALEXTREAME_RADIO_SI4701) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_DELORME, USB_DEVICE_ID_DELORME_EARTHMATE) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_DELORME, USB_DEVICE_ID_DELORME_EM_LT20) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_ESSENTIAL_REALITY, USB_DEVICE_ID_ESSENTIAL_REALITY_P5) },
diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h
index 3928969..1fe0b8b 100644
--- a/drivers/hid/hid-ids.h
+++ b/drivers/hid/hid-ids.h
@@ -141,6 +141,9 @@
 #define USB_DEVICE_ID_CYPRESS_BARCODE_1	0xde61
 #define USB_DEVICE_ID_CYPRESS_BARCODE_2	0xde64
 
+#define USB_VENDOR_ID_DEALEXTREAME	0x10c5
+#define USB_DEVICE_ID_DEALEXTREAME_RADIO_SI4701	0x819a
+
 #define USB_VENDOR_ID_DELL		0x413c
 #define USB_DEVICE_ID_DELL_W7658	0x2005
 #define USB_DEVICE_ID_DELL_SK8115	0x2105


-- 
Best regards, Klimov Alexey

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

  reply	other threads:[~2008-12-06 23:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-03 18:29 [PATCH] si470x: Support for DealExtreme Tobias Lorenz
2008-12-06 23:40 ` Alexey Klimov [this message]
     [not found] ` <208cbae30812301524w8750a60xd3085ebc8134d865@mail.gmail.com>
     [not found]   ` <496784B6.8090104@iki.fi>
     [not found]     ` <49678678.60506@iki.fi>
     [not found]       ` <208cbae30901091043y771b2387p858015513736c109@mail.gmail.com>
     [not found]         ` <49679F6B.1070903@iki.fi>
2009-01-09 21:24           ` [v4l-dvb-maintainer] " Alexey Klimov

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=1228606832.5603.51.camel@tux.localhost \
    --to=klimov.linux@gmail.com \
    --cc=greg@kroah.com \
    --cc=jirislaby@gmail.com \
    --cc=jkosina@suse.cz \
    --cc=mchehab@infradead.org \
    --cc=mlord@pobox.com \
    --cc=tobias.lorenz@gmx.net \
    --cc=video4linux-list@redhat.com \
    /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