Re: [PATCH 0/3] staging: media: Replace a bit shift.

2017-03-23 Thread Chris Moore

Hi,

Le 22/03/2017 à 05:26, Arushi Singhal a écrit :

Replace a bit shift by a use of BIT in media driver.

Arushi Singhal (3):
   staging: media: Replace a bit shift by a use of BIT.
   staging: media: davinci_vpfe: Replace a bit shift by a use of BIT.
   staging: media: omap4iss: Replace a bit shift by a use of BIT.

  .../media/atomisp/pci/atomisp2/atomisp_cmd.c   | 12 +-
  .../atomisp/pci/atomisp2/atomisp_compat_css20.c|  6 ++---
  .../media/atomisp/pci/atomisp2/atomisp_drvfs.c |  6 ++---
  .../media/atomisp/pci/atomisp2/atomisp_v4l2.c  | 18 +++
  .../media/atomisp/pci/atomisp2/hmm/hmm_bo.c|  2 +-
  drivers/staging/media/davinci_vpfe/dm365_ipipe.c   |  2 +-
  drivers/staging/media/davinci_vpfe/dm365_ipipeif.c |  2 +-
  drivers/staging/media/davinci_vpfe/dm365_isif.c| 26 +++---
  drivers/staging/media/davinci_vpfe/dm365_resizer.c |  6 ++---
  drivers/staging/media/omap4iss/iss_csi2.c  |  2 +-
  drivers/staging/media/omap4iss/iss_ipipe.c |  2 +-
  drivers/staging/media/omap4iss/iss_ipipeif.c   |  2 +-
  drivers/staging/media/omap4iss/iss_resizer.c   |  2 +-
  13 files changed, 44 insertions(+), 44 deletions(-)



Most of these replacements add redundant parentheses around the BIT macro.
IMHO this makes the code less readable.
So I suggest (BIT(c)) -> BIT(c).

Cheers,
Chris



Re: Problems with TV card "TeVii S472"

2015-12-12 Thread Chris Moore

Hi,

Le 12/12/2015 10:02, Chris Moore a écrit :

Hi,

Le 11/12/2015 15:31, Hendrik Oenings a écrit :

Hi all,

I've got a DVB-S2 PCI-Express tv card ("Tevii S472", http://tevii.com/P
roducts_S472_1.asp) with Debian testing, but I'm not able to get it
work.
On TeVii's webpage there is a linux driver availible (http://tevii.com/
Support.asp), but if I try to compile the driver, it says that my
kernel version isn't supported (current debian testing installed).



I had a similar problem a few months ago with a TeVii S660.
I am running (K)Ubuntu 15.10 (Wily Werewolf).
It didn't work correctly with the Ubuntu driver even after installing 
the firmware.


Compiling the driver from TeVii's site also said my kernel was not 
supported.

I guess it doesn't support 4.x kernels.

I wanted a quick solution to watch the Rugby World Cup while my wife 
was watching another program.
As it worked on Windows I didn't try to fix it at the time but I could 
have a go.




PS
I suppose I must have been running (K)Ubuntu 15.04 (Vivid Vervet) at the 
time (in September).

It seems to have had only a 3.x kernel.
Sorry for the error.

--
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: Problems with TV card "TeVii S472"

2015-12-12 Thread Chris Moore

Hi,

Le 11/12/2015 15:31, Hendrik Oenings a écrit :

Hi all,

I've got a DVB-S2 PCI-Express tv card ("Tevii S472", http://tevii.com/P
roducts_S472_1.asp) with Debian testing, but I'm not able to get it
work.
On TeVii's webpage there is a linux driver availible (http://tevii.com/
Support.asp), but if I try to compile the driver, it says that my
kernel version isn't supported (current debian testing installed).



I had a similar problem a few months ago with a TeVii S660.
I am running (K)Ubuntu 15.10 (Wily Werewolf).
It didn't work correctly with the Ubuntu driver even after installing 
the firmware.


Compiling the driver from TeVii's site also said my kernel was not 
supported.

I guess it doesn't support 4.x kernels.

I wanted a quick solution to watch the Rugby World Cup while my wife was 
watching another program.
As it worked on Windows I didn't try to fix it at the time but I could 
have a go.


Cheers,
Chris


--
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: [linux-dvb] Looking for original source of an old DVB tree

2010-01-25 Thread Chris Moore

Hello,

Thanks for your reply, Antti.

Le 24/01/2010 13:19, Antti Palosaari a écrit :

On 01/24/2010 10:08 AM, Chris Moore wrote:

Hello,

Short version:
I am looking for the original source code of a Linux DVB tree containing
in particular
drivers/media/dvb/dibusb/microtune_mt2060.c
and the directory
drivers/media/dvb/dibusb/mt2060_api

Googling for microtune_mt2060.c and mt2060_api is no help.
Could anyone kindly point me in the right direction, please?


It is mt2060.c, mt2060_priv.h (IIRC) and mt2060.h.



Sorry, I did not explain my problem clearly enough.
The DVB subtree in the Realtek 2.6.12.6-VENUS kernel used on the 
Xtreamer is *very* different from that in mainline 2.6.12.6.

It is also different from anything I have found anywhere else.
Judging from the code it looks as though Realtek got the source code 
from elsewhere and hacked it dirtily for their own chips.

I was trying to find the original unhacked source code.
I *do* have the (hacked) files.
The file and directory I cited seem to be specific to this version.
I gave them to see if they ring a bell with anyone.
(A thought: maybe they could have come directly from a DiBcom SDK?)


Longer version:
I am trying to get my USB DVB-T stick running on my Xtreamer.
Xtreamer uses an old 2.6.12.6 kernel heavily modified by Realtek and
possibly also modified by MIPS.
I have the source code but it would be a tremendous effort to change to
a recent kernel.
The DVB subtree seems to have been dirtily hacked by Realtek to support
their frontends.
In the process they seem to have lost support for other frontends.
I have been trying to find the source code for the original version.
I have found nothing resembling it in kernel.org, linux-mips.org and
linuxtv.org.


I am not sure what kind of device Xtreamer is, but try this:
http://linuxtv.org/hg/~anttip/rtl2831u/

It is for Realtek RTL2831U + MT2060 based USB sticks.



The Xtreamer is a cheap network media player based on the Realtek 
RTD1283 SoC.


I am not looking for support for Realtek DVB chips.
I was trying to get an Artec T14 USB DVB-T stick running on the Xtreamer.
(This looked the most promising of the sticks I have.)

In the end I bit the bullet and backported the current tip of v4l-dvb to 
2.6.12.6.

This was not trivial as many modifications were needed :(

I now have modules that load and which *nearly* work.
Scan outputs ">>> tuning status == 0x02" then  ">>> tuning status == 
0x1a" and sticks there with no further output (for hours; probably 
indefinitely).

This status seems to indicate a problem with FEC.
I guess there are uncorrectable Reed-Solomon errors.

I live in a low signal area and this could be normal.
Is there a LNA on this stick?
I couldn't find a module parameter to activate one.

Anyway I now think the best idea would be to for me to get the stick 
running on x86 first.


Thanks again for your help.

Cheers,
Chris


--
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


[linux-dvb] Looking for original source of an old DVB tree

2010-01-24 Thread Chris Moore

Hello,

Short version:
I am looking for the original source code of a Linux DVB tree containing 
in particular

drivers/media/dvb/dibusb/microtune_mt2060.c
and the directory
drivers/media/dvb/dibusb/mt2060_api

Googling for microtune_mt2060.c and mt2060_api is no help.
Could anyone kindly point me in the right direction, please?

Longer version:
I am trying to get my USB DVB-T stick running on my Xtreamer.
Xtreamer uses an old 2.6.12.6 kernel heavily modified by Realtek and 
possibly also modified by MIPS.
I have the source code but it would be a tremendous effort to change to 
a recent kernel.
The DVB subtree seems to have been dirtily hacked by Realtek to support 
their frontends.

In the process they seem to have lost support for other frontends.
I have been trying to find the source code for the original version.
I have found nothing resembling it in kernel.org, linux-mips.org and 
linuxtv.org.


TIA.

Cheers,
Chris


--
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