Re: ISDB Dongle MyGica S2870

2015-06-03 Thread Luciano
Nicolas Antonio Corrarello ncorrare at gmail.com writes:

 
 Hey Everyone,
 I just bought this new dongle, and while the parts seem to be
 supported, the usb id is not recognised.
 It seems to be based on the dibcom 0700 IC and it identifies itself as
 STK8096-PVR.
 
 I tried the patch in
 http://www.spinics.net/lists/linux-media/msg63445.html on the latest
 linux media tree, but while the dib0700 module now loads
 automatically, I don't see anything on dmesg showing that its loading
 the firmware, and I most definitely don't get a /dev/dvb directory.
 

Hi Nicolas,

Could you make this work?

I'm having the same results as you with the same device. Below is my output:

[  154.192777] usb 3-1: new high-speed USB device number 4 using xhci_hcd
[  154.209368] usb 3-1: New USB device found, idVendor=10b8, idProduct=1faa
[  154.209375] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  154.209379] usb 3-1: Product: STK8096-PVR
[  154.209382] usb 3-1: Manufacturer: Geniatech
[  154.209385] usb 3-1: SerialNumber: 1

Installed the latest drivers from the git repo.
Any help much appreciated.

Thanks,
Luciano

--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH] mfd: Combine MFD_SUPPORT and MFD_CORE

2011-09-02 Thread Luciano Coelho
On Wed, 2011-08-31 at 18:49 +0200, Arnd Bergmann wrote: 
 On Monday 29 August 2011, Luciano Coelho wrote:
  From: Randy Dunlap rdun...@xenotime.net
  
  Combine MFD_SUPPORT (which only enabled the remainder of the MFD
  menu) and MFD_CORE.  This allows other drivers to select MFD_CORE
  without needing to also select MFD_SUPPORT, which fixes some
  kconfig unmet dependency warnings.  Modeled after I2C kconfig.
  
  [Forward-ported to 3.1-rc4.  This fixes a warning when some drivers,
  such as RADIO_WL1273, are selected, but MFD_SUPPORT is not. -- Luca]
  
  Signed-off-by: Randy Dunlap rdun...@xenotime.net
  Reported-by: Johannes Berg johan...@sipsolutions.net
  Cc: Jean Delvare kh...@linux-fr.org
  Cc: Tony Lindgren t...@atomide.com
  Cc: Grant Likely grant.lik...@secretlab.ca
  Signed-off-by: Luciano Coelho coe...@ti.com
  ---
  
  I guess this should fix the problem.  I've simple forward-ported
  Randy's patch to the latest mainline kernel.  I don't know via which
  tree this should go in, though.
  
  NOTE: I have not tested this very thoroughly.  But at least
  omap2plus stuff seems to work okay with this change.  MFD_SUPPORT is
  also selected by a couple of tile platforms defconfigs, but I guess
  the Kconfig system should take care of it.
 
 Doing this is a good idea, but incidentally I have just spent some time
 with the same problem and ended up with a solution that I like better,
 which is removing CONFIG_MFD_SUPPORT altogether.
 
 The point is that there is no use enabling MFD_CORE if you don't also
 enable any of the specific drivers. MFD_SUPPORT was added as a 'menuconfig'
 before we had Kconfig warn about broken dependencies, so everything was
 fine. Since Kconfig now issues the warnings, I think it would be better
 to just turn the MFD menu into a plain 'menu' and remove all the
 'depends on MFD_SUPPORT' and 'select MFD_SUPPORT' lines from the other
 Kconfig files.

Yes, this makes sense.  I think your solution is indeed cleaner.  If you
want to send it it's fine with me.  I don't really have any preference,
I just wanted to clean a problem that was reported to me. ;)

If you send your changes, my patch can be ignored, otherwise, I can send
a v2 with the changes Jean proposed.


-- 
Cheers,
Luca.

--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Kconfig unmet dependency with RADIO_WL1273

2011-08-29 Thread Luciano Coelho
Hi Matti,

Johannes has just reported a problem in the Kconfig of radio-wl1273.  It
seems to select MFD_CORE, but if the platform doesn't support MFD, then
MFD_SUPPORT won't be selected and this kind of warning will come out:

warning: (OLPC_XO1_PM  OLPC_XO1_SCI  I2C_ISCH  GPIO_SCH  GPIO_RDC321X 
 RADIO_WL1273) 
selects MFD_CORE which has unmet direct dependencies 
(MFD_SUPPORT)

I guess it must depend on MFD_SUPPORT, right? If that's the correct
solution, the following patch should fix the problem:

diff --git a/drivers/media/radio/Kconfig b/drivers/media/radio/Kconfig
index 52798a1..e87f544 100644
--- a/drivers/media/radio/Kconfig
+++ b/drivers/media/radio/Kconfig
@@ -425,7 +425,7 @@ config RADIO_TIMBERDALE
 
 config RADIO_WL1273
tristate Texas Instruments WL1273 I2C FM Radio
-   depends on I2C  VIDEO_V4L2
+   depends on I2C  VIDEO_V4L2  MFD_SUPPORT
select MFD_CORE
select MFD_WL1273_CORE
select FW_LOADER

The same problem is happening with other drivers too, so maybe there is
a better solution to fix all problems at once. ;)

Reported-by: Johannes Berg johan...@sipsolutions.net


-- 
Cheers,
Luca.

--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH] mfd: Combine MFD_SUPPORT and MFD_CORE

2011-08-29 Thread Luciano Coelho
From: Randy Dunlap rdun...@xenotime.net

Combine MFD_SUPPORT (which only enabled the remainder of the MFD
menu) and MFD_CORE.  This allows other drivers to select MFD_CORE
without needing to also select MFD_SUPPORT, which fixes some
kconfig unmet dependency warnings.  Modeled after I2C kconfig.

[Forward-ported to 3.1-rc4.  This fixes a warning when some drivers,
such as RADIO_WL1273, are selected, but MFD_SUPPORT is not. -- Luca]

Signed-off-by: Randy Dunlap rdun...@xenotime.net
Reported-by: Johannes Berg johan...@sipsolutions.net
Cc: Jean Delvare kh...@linux-fr.org
Cc: Tony Lindgren t...@atomide.com
Cc: Grant Likely grant.lik...@secretlab.ca
Signed-off-by: Luciano Coelho coe...@ti.com
---

I guess this should fix the problem.  I've simple forward-ported
Randy's patch to the latest mainline kernel.  I don't know via which
tree this should go in, though.

NOTE: I have *not* tested this very thoroughly.  But at least
omap2plus stuff seems to work okay with this change.  MFD_SUPPORT is
also selected by a couple of tile platforms defconfigs, but I guess
the Kconfig system should take care of it.

 arch/arm/mach-omap2/Kconfig |2 +-
 drivers/gpio/Kconfig|3 +-
 drivers/mfd/Kconfig |   54 +++---
 3 files changed, 6 insertions(+), 53 deletions(-)

diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig
index 57b66d5..1046923 100644
--- a/arch/arm/mach-omap2/Kconfig
+++ b/arch/arm/mach-omap2/Kconfig
@@ -14,7 +14,7 @@ config ARCH_OMAP2PLUS_TYPICAL
select SERIAL_OMAP_CONSOLE
select I2C
select I2C_OMAP
-   select MFD_SUPPORT
+   select MFD_CORE
select MENELAUS if ARCH_OMAP2
select TWL4030_CORE if ARCH_OMAP3 || ARCH_OMAP4
select TWL4030_POWER if ARCH_OMAP3 || ARCH_OMAP4
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index d539efd..fbc5fd4 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -180,7 +180,7 @@ config GPIO_SCH
 
 config GPIO_VX855
tristate VIA VX855/VX875 GPIO
-   depends on MFD_SUPPORT  PCI
+   depends on PCI
select MFD_CORE
select MFD_VX855
help
@@ -417,7 +417,6 @@ config GPIO_TIMBERDALE
 config GPIO_RDC321X
tristate RDC R-321x GPIO support
depends on PCI
-   select MFD_SUPPORT
select MFD_CORE
select MFD_RDC321X
help
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index 21574bd..1836cdf 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -2,10 +2,9 @@
 # Multifunction miscellaneous devices
 #
 
-menuconfig MFD_SUPPORT
-   bool Multifunction device drivers
+menuconfig MFD_CORE
+   tristate Multifunction device drivers
depends on HAS_IOMEM
-   default y
help
  Multifunction devices embed several functions (e.g. GPIOs,
  touchscreens, keyboards, current regulators, power management chips,
@@ -18,16 +17,11 @@ menuconfig MFD_SUPPORT
 
  This option alone does not add any kernel code.
 
-if MFD_SUPPORT
-
-config MFD_CORE
-   tristate
-   default n
+if MFD_CORE
 
 config MFD_88PM860X
bool Support Marvell 88PM8606/88PM8607
depends on I2C=y  GENERIC_HARDIRQS
-   select MFD_CORE
help
  This supports for Marvell 88PM8606/88PM8607 Power Management IC.
  This includes the I2C driver and the core APIs _only_, you have to
@@ -55,14 +49,12 @@ config MFD_SM501_GPIO
 config MFD_ASIC3
bool Support for Compaq ASIC3
depends on GENERIC_HARDIRQS  GPIOLIB  ARM
-   select MFD_CORE
 ---help---
  This driver supports the ASIC3 multifunction chip found on many
  PDAs (mainly iPAQ and HTC based ones)
 
 config MFD_DAVINCI_VOICECODEC
tristate
-   select MFD_CORE
 
 config MFD_DM355EVM_MSP
bool DaVinci DM355 EVM microcontroller
@@ -75,7 +67,6 @@ config MFD_DM355EVM_MSP
 config MFD_TI_SSP
tristate TI Sequencer Serial Port support
depends on ARCH_DAVINCI_TNETV107X
-   select MFD_CORE
---help---
  Say Y here if you want support for the Sequencer Serial Port
  in a Texas Instruments TNETV107X SoC.
@@ -93,7 +84,6 @@ config HTC_EGPIO
 
 config HTC_PASIC3
tristate HTC PASIC3 LED/DS1WM chip support
-   select MFD_CORE
help
  This core driver provides register access for the LED/DS1WM
  chips labeled AIC2 and AIC3, found on HTC Blueangel and
@@ -124,7 +114,6 @@ config TPS6105X
tristate TPS61050/61052 Boost Converters
depends on I2C
select REGULATOR
-   select MFD_CORE
select REGULATOR_FIXED_VOLTAGE
help
  This option enables a driver for the TP61050/TPS61052
@@ -147,7 +136,6 @@ config TPS65010
 
 config TPS6507X
tristate TPS6507x Power Management / Touch Screen chips
-   select MFD_CORE
depends on I2C
help
  If you say yes here you get support for the TPS6507x