RE: PCTV 520e - DVB-C not working

2012-05-19 Thread Per Wetterberg

  Hi,
 
 
  I have problem getting the PCTV 520e to work with DVB-C on Linux. The
  video output stream is full of defects.
  drxk: SCU_RESULT_INVPAR while sending cmd 0x0203 with params is
  printed to the dmesg log when scanning and watching DVB-C channels.
  I have no problems scanning and watching DVB-T.
 
 
  On Windows 7, both DVB-T and DVB-C works fine. So I guess its not an
  hardware problem or the quality of the tv signal.
 
 
  I have tried the drivers that came with kernel 3.3.4 and the latest
  media drivers built from source.
  The dvb-demod-drxk-pctv.fw firmware file is downloaded with the
  get_dvb_firmware script and copied to /lib/firmware.
 
 
  I can't figure out what the problem is.
  Has anyone got PCTV 520e with DVB-C to work on Linux?
 
 
  I have attached some log outputs below.
 
  You will need attenuator. I suspect it is LNA or some AGC :/ But guess
  what how many times I tried to found out the reason... Feel free to hack
  DRX-K driver.

 Problem found. I was LNA which is always enabled. LNA is connected to
 the demod GPIO. I will disable it since it since it is now over gaining
 strong signals.

Great!
I will be happy to test the solution. Is there a patch available?
Regards,Per   --
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: PCTV 520e - DVB-C not working

2012-05-19 Thread Antti Palosaari

On 19.05.2012 19:09, Per Wetterberg wrote:

I have problem getting the PCTV 520e to work with DVB-C on Linux. The
video output stream is full of defects.
drxk: SCU_RESULT_INVPAR while sending cmd 0x0203 with params is
printed to the dmesg log when scanning and watching DVB-C channels.
I have no problems scanning and watching DVB-T.


On Windows 7, both DVB-T and DVB-C works fine. So I guess its not an
hardware problem or the quality of the tv signal.


I have tried the drivers that came with kernel 3.3.4 and the latest
media drivers built from source.
The dvb-demod-drxk-pctv.fw firmware file is downloaded with the
get_dvb_firmware script and copied to /lib/firmware.


I can't figure out what the problem is.
Has anyone got PCTV 520e with DVB-C to work on Linux?


I have attached some log outputs below.


You will need attenuator. I suspect it is LNA or some AGC :/ But guess
what how many times I tried to found out the reason... Feel free to hack
DRX-K driver.


Problem found. I was LNA which is always enabled. LNA is connected to
the demod GPIO. I will disable it since it since it is now over gaining
strong signals.


Great!
I will be happy to test the solution. Is there a patch available?


Yes there is:
http://patchwork.linuxtv.org/patch/11310/
http://patchwork.linuxtv.org/patch/11311/

Antti
--
http://palosaari.fi/
--
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: PCTV 520e - DVB-C not working

2012-05-16 Thread Antti Palosaari

On 07.05.2012 22:44, Antti Palosaari wrote:

On 05.05.2012 15:24, Per Wetterberg wrote:


Hi,


I have problem getting the PCTV 520e to work with DVB-C on Linux. The
video output stream is full of defects.
drxk: SCU_RESULT_INVPAR while sending cmd 0x0203 with params is
printed to the dmesg log when scanning and watching DVB-C channels.
I have no problems scanning and watching DVB-T.


On Windows 7, both DVB-T and DVB-C works fine. So I guess its not an
hardware problem or the quality of the tv signal.


I have tried the drivers that came with kernel 3.3.4 and the latest
media drivers built from source.
The dvb-demod-drxk-pctv.fw firmware file is downloaded with the
get_dvb_firmware script and copied to /lib/firmware.


I can't figure out what the problem is.
Has anyone got PCTV 520e with DVB-C to work on Linux?


I have attached some log outputs below.


You will need attenuator. I suspect it is LNA or some AGC :/ But guess
what how many times I tried to found out the reason... Feel free to hack
DRX-K driver.


Problem found. I was LNA which is always enabled. LNA is connected to 
the demod GPIO. I will disable it since it since it is now over gaining 
strong signals.


regards
Antti
--
http://palosaari.fi/
--
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: PCTV 520e - DVB-C not working

2012-05-07 Thread Antti Palosaari

On 05.05.2012 15:24, Per Wetterberg wrote:


Hi,


I have problem getting the PCTV 520e to work with DVB-C on Linux. The video 
output stream is full of defects.
drxk: SCU_RESULT_INVPAR while sending cmd 0x0203 with params is printed to 
the dmesg log when scanning and watching DVB-C channels.
I have no problems scanning and watching DVB-T.


On Windows 7, both DVB-T and DVB-C works fine. So I guess its not an hardware 
problem or  the quality of the tv signal.


I have tried the drivers that came with kernel 3.3.4 and the latest media 
drivers built from source.
The dvb-demod-drxk-pctv.fw firmware file is downloaded with the 
get_dvb_firmware script and copied to /lib/firmware.


I can't figure out what the problem is.
Has anyone got PCTV 520e with DVB-C to work on Linux?


I have attached some log outputs below.


You will need attenuator. I suspect it is LNA or some AGC :/ But guess 
what how many times I tried to found out the reason... Feel free to hack 
DRX-K driver.



regards
Antti
--
http://palosaari.fi/
--
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


PCTV 520e - DVB-C not working

2012-05-05 Thread Per Wetterberg

Hi,


I have problem getting the PCTV 520e to work with DVB-C on Linux. The video 
output stream is full of defects.
drxk: SCU_RESULT_INVPAR while sending cmd 0x0203 with params is printed to 
the dmesg log when scanning and watching DVB-C channels.
I have no problems scanning and watching DVB-T.


On Windows 7, both DVB-T and DVB-C works fine. So I guess its not an hardware 
problem or  the quality of the tv signal.


I have tried the drivers that came with kernel 3.3.4 and the latest media 
drivers built from source.
The dvb-demod-drxk-pctv.fw firmware file is downloaded with the 
get_dvb_firmware script and copied to /lib/firmware.


I can't figure out what the problem is.
Has anyone got PCTV 520e with DVB-C to work on Linux?


I have attached some log outputs below.


Cheers,
Per






[per@tux ~]$ uname -a
Linux tux 3.3.4-1.fc16.x86_64 #1 SMP Fri Apr 27 20:12:28 UTC 2012 x86_64 x86_64 
x86_64 GNU/Linux


Log from initialization on kernel 3.3.4 with latest linux media drivers built 
from source.
***


[  285.856249] usb 2-1.5: new high-speed USB device number 4 using ehci_hcd
[  285.943002] usb 2-1.5: New USB device found, idVendor=2013, idProduct=0251
[  285.943008] usb 2-1.5: New USB device strings: Mfr=1, Product=2, 
SerialNumber=3
[  285.943013] usb 2-1.5: Product: PCTV 520e
[  285.943016] usb 2-1.5: Manufacturer: PCTV Systems
[  285.943019] usb 2-1.5: SerialNumber: 00XX
[  285.962866] Linux media interface: v0.10
[  285.965105] Linux video capture interface: v2.00
[  285.965113] WARNING: You are using an experimental version of the media 
stack.
[  285.965116]  As the driver is backported to an older kernel, it doesn't offer
[  285.965119]  enough quality for its usage in production.
[  285.965122]  Use it with care.
[  285.965124] Latest git patches (needed if you report a bug to 
linux-media@vger.kernel.org):
[  285.965127]  a1ac5dc28d2b4ca78e183229f7c595ffd725241c [media] gspca - 
sn9c20x: Change the exposure setting of Omnivision sensors
[  285.965130]  4fb8137c43ebc0f5bc0dde6b64faa9dd1b1d7970 [media] gspca - 
sn9c20x: Don't do sensor update before the capture is started
[  285.965132]  c4407fe86d3856f60ec711e025bbe9a0159354a3 [media] gspca - 
sn9c20x: Set the i2c interface speed
[  285.967402] em28xx: New device PCTV Systems PCTV 520e @ 480 Mbps (2013:0251, 
interface 0, class 0)
[  285.967407] em28xx: Audio Vendor Class interface 0 found
[  285.967410] em28xx: Video interface 0 found
[  285.967413] em28xx: DVB interface 0 found
[  285.967503] em28xx #0: chip ID is em2884
[  286.261235] em28xx #0: Identified as PCTV QuatroStick nano (520e) (card=86)
[  286.261291] em28xx #0: Config register raw data: 0x78
[  286.261294] em28xx #0: I2S Audio (5 sample rates)
[  286.261296] em28xx #0: No AC97 audio processor
[  286.277834] em28xx #0: v4l2 driver version 0.1.3
[  286.300381] em28xx #0: V4L2 video device registered as video0
[  286.300851] usbcore: registered new interface driver em28xx
[  286.303734] em28xx-audio.c: probing for em28xx Audio Vendor Class
[  286.303739] em28xx-audio.c: Copyright (C) 2006 Markus Rechberger
[  286.303743] em28xx-audio.c: Copyright (C) 2007-2011 Mauro Carvalho Chehab
[  286.304014] Em28xx: Initialized (Em28xx Audio Extension) extension
[  286.308285] WARNING: You are using an experimental version of the media 
stack.
[  286.308288]  As the driver is backported to an older kernel, it doesn't offer
[  286.308290]  enough quality for its usage in production.
[  286.308292]  Use it with care.
[  286.308293] Latest git patches (needed if you report a bug to 
linux-media@vger.kernel.org):
[  286.308295]  a1ac5dc28d2b4ca78e183229f7c595ffd725241c [media] gspca - 
sn9c20x: Change the exposure setting of Omnivision sensors
[  286.308298]  4fb8137c43ebc0f5bc0dde6b64faa9dd1b1d7970 [media] gspca - 
sn9c20x: Don't do sensor update before the capture is started
[  286.308300]  c4407fe86d3856f60ec711e025bbe9a0159354a3 [media] gspca - 
sn9c20x: Set the i2c interface speed
[  286.324233] drxk: status = 0x639260d9
[  286.324239] drxk: detected a drx-3926k, spin A3, xtal 20.250 MHz
[  287.719396] DRXK driver version 0.9.4300
[  287.734984] drxk: frontend initialized.
[  287.738016] tda18271 3-0060: creating new instance
[  287.747206] TDA18271HD/C2 detected @ 3-0060
[  288.087250] DVB: registering new adapter (em28xx #0)
[  288.087256] DVB: registering adapter 0 frontend 0 (DRXK DVB-C DVB-T)...
[  288.088101] em28xx #0: Successfully loaded em28xx-dvb
[  288.088112] Em28xx: Initialized (Em28xx dvb Extension) extension








Using czap:
*
[per@tux ~]$ czap -c comhem_zapc.conf -r TV6
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
reading channels from file 'comhem_zapc.conf'
  1 TV6:36200:INVERSION_AUTO:6875100:FEC_3_4:QAM_64:4102:4358:1135
  1 TV6: f 36200, s 6875100, i 2, fec 3, qam 3, v 0x1006, a 0x1106, s 0x46f 
status 00 | signal  |