au0828: Add USB ID used by many dongles
PATCH 1/2 au0828: Add USB ID used by many dongles
Tested with Yfeng 680 ATV dongle.
--- drivers/media/video/au0828/au0828-cards.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/media/video/au0828/au0828-cards.c +2 -0
@@ -325,6 +325,8 @@ struct usb_device_id au0828_usb_id_table[] = { .driver_info = AU0828_BOARD_HAUPPAUGE_HVR950Q_MXL }, { USB_DEVICE(0x2040, 0x7281), .driver_info = AU0828_BOARD_HAUPPAUGE_HVR950Q_MXL }, + { USB_DEVICE(0x05e1, 0x0480), + .driver_info = AU0828_BOARD_HAUPPAUGE_WOODBURY }, { USB_DEVICE(0x2040, 0x8200), .driver_info = AU0828_BOARD_HAUPPAUGE_WOODBURY }, { USB_DEVICE(0x2040, 0x7260),
Signature · 1 line
1.7.10
PATCH 2/2 au0828: Move under dvb
---
drivers/media/dvb/Kconfig | 1 +
drivers/media/dvb/Makefile | 1 +
drivers/media/{video => dvb}/au0828/Kconfig | 0
drivers/media/{video => dvb}/au0828/Makefile | 0
drivers/media/{video => dvb}/au0828/au0828-cards.c | 0
drivers/media/{video => dvb}/au0828/au0828-cards.h | 0
drivers/media/{video => dvb}/au0828/au0828-core.c | 0
drivers/media/{video => dvb}/au0828/au0828-dvb.c | 0
drivers/media/{video => dvb}/au0828/au0828-i2c.c | 0
drivers/media/{video => dvb}/au0828/au0828-reg.h | 0
drivers/media/{video => dvb}/au0828/au0828-vbi.c | 0
drivers/media/{video => dvb}/au0828/au0828-video.c | 0
drivers/media/{video => dvb}/au0828/au0828.h | 0
drivers/media/video/Kconfig | 2 --
drivers/media/video/Makefile | 2 --
15 files changed, 2 insertions(+), 4 deletions(-)
rename drivers/media/{video => dvb}/au0828/Kconfig (100%)
rename drivers/media/{video => dvb}/au0828/Makefile (100%)
rename drivers/media/{video => dvb}/au0828/au0828-cards.c (100%)
rename drivers/media/{video => dvb}/au0828/au0828-cards.h (100%)
rename drivers/media/{video => dvb}/au0828/au0828-core.c (100%)
rename drivers/media/{video => dvb}/au0828/au0828-dvb.c (100%)
rename drivers/media/{video => dvb}/au0828/au0828-i2c.c (100%)
rename drivers/media/{video => dvb}/au0828/au0828-reg.h (100%)
rename drivers/media/{video => dvb}/au0828/au0828-vbi.c (100%)
rename drivers/media/{video => dvb}/au0828/au0828-video.c (100%)
rename drivers/media/{video => dvb}/au0828/au0828.h (100%)drivers/media/dvb/Kconfig +1 -0
@@ -43,6 +43,7 @@ source "drivers/media/dvb/ttpci/Kconfig" comment "Supported USB Adapters" depends on DVB_CORE && USB && I2C +source "drivers/media/dvb/au0828/Kconfig" source "drivers/media/dvb/dvb-usb/Kconfig" source "drivers/media/dvb/ttusb-budget/Kconfig" source "drivers/media/dvb/ttusb-dec/Kconfig"
drivers/media/dvb/Makefile +1 -0
@@ -19,3 +19,4 @@ obj-y := dvb-core/ \ ddbridge/ obj-$(CONFIG_DVB_FIREDTV) += firewire/ +obj-$(CONFIG_VIDEO_AU0828) += au0828/
drivers/media/dvb/au0828/Kconfig renamed from drivers/media/video/au0828/Kconfig +0 -0
drivers/media/dvb/au0828/Makefile renamed from drivers/media/video/au0828/Makefile +0 -0
drivers/media/dvb/au0828/au0828-cards.c renamed from drivers/media/video/au0828/au0828-cards.c +0 -0
drivers/media/dvb/au0828/au0828-cards.h renamed from drivers/media/video/au0828/au0828-cards.h +0 -0
drivers/media/dvb/au0828/au0828-core.c renamed from drivers/media/video/au0828/au0828-core.c +0 -0
drivers/media/dvb/au0828/au0828-dvb.c renamed from drivers/media/video/au0828/au0828-dvb.c +0 -0
drivers/media/dvb/au0828/au0828-i2c.c renamed from drivers/media/video/au0828/au0828-i2c.c +0 -0
drivers/media/dvb/au0828/au0828-reg.h renamed from drivers/media/video/au0828/au0828-reg.h +0 -0
drivers/media/dvb/au0828/au0828-vbi.c renamed from drivers/media/video/au0828/au0828-vbi.c +0 -0
drivers/media/dvb/au0828/au0828-video.c renamed from drivers/media/video/au0828/au0828-video.c +0 -0
drivers/media/dvb/au0828/au0828.h renamed from drivers/media/video/au0828/au0828.h +0 -0
drivers/media/video/Kconfig +0 -2
@@ -721,8 +721,6 @@ menuconfig V4L_PCI_DRIVERS if V4L_PCI_DRIVERS -source "drivers/media/video/au0828/Kconfig" - source "drivers/media/video/bt8xx/Kconfig" source "drivers/media/video/cx18/Kconfig"
drivers/media/video/Makefile +0 -2
@@ -198,8 +198,6 @@ obj-$(CONFIG_ARCH_DAVINCI) += davinci/ obj-$(CONFIG_VIDEO_SH_VOU) += sh_vou.o -obj-$(CONFIG_VIDEO_AU0828) += au0828/ - obj-$(CONFIG_USB_VIDEO_CLASS) += uvc/ obj-$(CONFIG_VIDEO_SAA7164) += saa7164/
Signature · 1 line
1.7.10
Re: [PATCH 2/2] au0828: Move under dvb
Quoted 18 lines · Ismael Luceno
Signed-off-by Ismael Luceno <[email protected]>---
drivers/media/dvb/Kconfig | 1 +drivers/media/dvb/Makefile| 1 +drivers/media/{video=> dvb}/au0828/Kconfig | 0drivers/media/{video=> dvb}/au0828/Makefile | 0drivers/media/{video=>dvb}/au0828/au0828-cards.c| 0drivers/media/{video=>dvb}/au0828/au0828-cards.h| 0drivers/media/{video => dvb}/au0828/au0828-core.c | 0 drivers/media/{video => dvb}/au0828/au0828-dvb.c | 0 drivers/media/{video => dvb}/au0828/au0828-i2c.c | 0 drivers/media/{video => dvb}/au0828/au0828-reg.h | 0 drivers/media/{video => dvb}/au0828/au0828-vbi.c | 0drivers/media/{video =>
dvb}/au0828/au0828-video.c| 0drivers/media/{video=>dvb}/au0828/au0828.h| 0drivers/media/video/Kconfig| 2 --drivers/media/video/Makefile| 2 --15 files changed, 2 insertions(+), 4 deletions(-)
Quoted 11 lines
rename
drivers/media/{video=> dvb}/au0828/Kconfig (100%) renamedrivers/media/{video=> dvb}/au0828/Makefile (100%) renamedrivers/media/{video=>dvb}/au0828/au0828-cards.c(100%) renamedrivers/media/{video=>dvb}/au0828/au0828-cards.h(100%) renamedrivers/media/{video=>dvb}/au0828/au0828-core.c(100%) renamedrivers/media/{video=>dvb}/au0828/au0828-dvb.c(100%) renamedrivers/media/{video=>dvb}/au0828/au0828-i2c.c(100%) renamedrivers/media/{video=>dvb}/au0828/au0828-reg.h(100%) renamedrivers/media/{video=>dvb}/au0828/au0828-vbi.c(100%) renamedrivers/media/{video=>dvb}/au0828/au0828-video.c(100%) renamedrivers/media/{video=>dvb}/au0828/au0828.h(100%)
What is the motivation for moving these files? The au0828 is a hybrid bridge, and every other hybrid bridge is under video?
NACK unless somebody can provide a good reason for doing this.
Devin
Signature · 2 lines
Devin J. Heitmueller - Kernel Labs http://www.kernellabs.com
Re: [PATCH 2/2] au0828: Move under dvb
On Fri, 11 May 2012 08:04:59 -0400
Devin Heitmueller <[email protected]> wrote:
...
Quoted 1 line
What is the motivation for moving these files?
Well, the device was on the wrong Kconfig section, and while thinking about changing that, I just thought to move it under DVB.
Quoted 2 lines
The au0828 is a hybrid bridge, and every other hybrid bridge is under video?
Sorry, the devices I got don't support analog, so I didn't thought about it that much...
I guess it's arbitrary... isn't it? wouldn't it be better to have an hybrid section? (just thinking out loud)
Re: [PATCH 2/2] au0828: Move under dvb
Quoted 8 lines · Ismael Luceno
On Fri, 11 May 2012 08:04:59 -0400
Devin Heitmueller <[email protected]> wrote:
...Quoted 1 line
What is the motivation for moving these files?
Well, the device was on the wrong
Kconfigsection, and while thinking about changing that, I just thought to move it under DVB.
Quoted 8 lines
Quoted 2 lines
The au0828 is a hybrid bridge, and every other hybrid bridge is under video?
Sorry, the devices I got don't support analog, so I didn't thought about it that much...
I guess it's arbitrary... isn't it? wouldn't it be better to have an hybrid section? (just thinking out loud)
Yeah, in this case it's largely historical (a product from before the V4L and DVB subsystems were merged). At this point I don't see any real advantage to arbitrarily moving the stuff around. And in fact in some areas it's even more ambiguous because some drivers are hybrid drivers but support both hybrid chips as well as analog-only (the em28xx driver is one such example).
Anyway, Mauro is welcome to offer his opinion if it differs, but as far as I'm concerned this patch shouldn't get applied.
Cheers,
Devin
Signature · 2 lines
Devin J. Heitmueller - Kernel Labs http://www.kernellabs.com
Re: [PATCH 2/2] au0828: Move under dvb
Em 12-05-2012 07:21, Devin Heitmueller escreveu:
Quoted 25 lines · Ismael Luceno
Quoted 8 lines
On Fri, 11 May 2012 08:04:59 -0400
Devin Heitmueller <[email protected]> wrote:
...Quoted 1 line
What is the motivation for moving these files?
Well, the device was on the wrong
Kconfigsection, and while thinking about changing that, I just thought to move it under DVB.Quoted 8 lines
Quoted 2 lines
The au0828 is a hybrid bridge, and every other hybrid bridge is under video?
Sorry, the devices I got don't support analog, so I didn't thought about it that much...
I guess it's arbitrary... isn't it? wouldn't it be better to have an hybrid section? (just thinking out loud)
Yeah, in this case it's largely historical (a product from before the V4L and DVB subsystems were merged). At this point I don't see any real advantage to arbitrarily moving the stuff around. And in fact in some areas it's even more ambiguous because some drivers are hybrid drivers but support both hybrid chips as well as analog-only (the em28xx driver is one such example).
Quoted 2 lines
Anyway, Mauro is welcome to offer his opinion if it differs, but as far as I'm concerned this patch shouldn't get applied.
I won't apply this patch.
If the Kconfig menus are confusing, then we should fix it, instead of moving things from one place to another ;)
Quoted 5 lines
Cheers,
Devin
Re: [PATCH 2/2] au0828: Move under dvb
Em 20-05-2012 10:32, Mauro Carvalho Chehab escreveu:
Quoted 26 lines
Em 12-05-2012 07:21, Devin Heitmueller escreveu:
Quoted 25 lines · Ismael Luceno
Quoted 8 lines
On Fri, 11 May 2012 08:04:59 -0400
Devin Heitmueller <[email protected]> wrote:
...Quoted 1 line
What is the motivation for moving these files?
Well, the device was on the wrong
Kconfigsection, and while thinking about changing that, I just thought to move it under DVB.Quoted 8 lines
Quoted 2 lines
The au0828 is a hybrid bridge, and every other hybrid bridge is under video?
Sorry, the devices I got don't support analog, so I didn't thought about it that much...
I guess it's arbitrary... isn't it? wouldn't it be better to have an hybrid section? (just thinking out loud)
Yeah, in this case it's largely historical (a product from before the V4L and DVB subsystems were merged). At this point I don't see any real advantage to arbitrarily moving the stuff around. And in fact in some areas it's even more ambiguous because some drivers are hybrid drivers but support both hybrid chips as well as analog-only (the em28xx driver is one such example).
Quoted 7 lines
Quoted 2 lines
Anyway, Mauro is welcome to offer his opinion if it differs, but as far as I'm concerned this patch shouldn't get applied.
I won't apply this patch.
If the
Kconfigmenus are confusing, then we should fix it, instead of moving things from one place to another ;)
Hmm...
menuconfig VIDEO_CAPTURE_DRIVERS
bool "Video capture adapters"
depends on VIDEO_V4L2
default y
---help---
Say Y here to enable selecting the video adapters for webcams, analog TV, and hybrid analog/digital TV. Some of those devices also supports FM radio.
The help explanation is OK. Maybe we could change the description:
comment at the bool description. What about the change below?
Regards,
Mauro
-
[media] video: Improve Kconfig menu description
The menu description can mislead to indicate that only capture devices are there.
drivers/media/dvb/Kconfig +3 -2
@@ -29,11 +29,12 @@ config DVB_DYNAMIC_MINORS If you are unsure about this, say N here. menuconfig DVB_CAPTURE_DRIVERS - bool "DVB/ATSC adapters" + bool "Digital TV adapters" depends on DVB_CORE default y ---help--- - Say Y to select Digital TV adapters + Say Y to select Digital TV adapters. Hybrid devices + with both analog TV and digital TVs are not there. if DVB_CAPTURE_DRIVERS && DVB_CORE
drivers/media/video/Kconfig +3 -2
@@ -71,12 +71,13 @@ config VIDEOBUF2_DMA_SG # menuconfig VIDEO_CAPTURE_DRIVERS - bool "Video capture adapters" + bool "Video adapters (capture, webcams, analog TV, hybrid TV)" depends on VIDEO_V4L2 default y ---help--- Say Y here to enable selecting the video adapters for - webcams, analog TV, and hybrid analog/digital TV. + webcams, video capture, analog TV, and hybrid + analog/digital TV. Some of those devices also supports FM radio. if VIDEO_CAPTURE_DRIVERS && VIDEO_V4L2