Skip to contentSkip to conversation

Pinnace 320e (PCTV Hybrid Pro Stick) support

DISCUSSION Miroslav Pragl 3 participants 9 messages Oct 8, 2009 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

Hello,
are here users of Pinnace 320e (PCTV Hybrid Pro Stick)?

I have lots of problems with tuning, namely
- scan somehow locks on the first frequency listed in scan file and finds no signal on subsequent freqs
- kaffeine which has own scanning scans RELIABLY two, somehow three of four channels available in my region
- vlc which has great commandline parameters for direc tuning frequency and programm (by its ID) works fine

I currently use Fedora 11 with latest stable kernel (64 bit) and try to keep up-to-date with linuxtv drivers

any help or atleast bug confirming would help me a lot

Thanks

MP

P.S. although i hated the aggressivnes of Markus' drivers from mcentral.de (no longer maintained) and need of FULL kernel sources these atleast worked :(

#1 lore raw

2009/10/8 Miroslav Pragl <[email protected]>:

Quoted 16 lines

Hello,
are here users of Pinnace 320e (PCTV Hybrid Pro Stick)?

I have lots of problems with tuning, namely
- scan somehow locks on the first frequency listed in scan file and finds no signal on subsequent freqs
- kaffeine which has own scanning scans RELIABLY two, somehow three of four channels available in my region
- vlc which has great commandline parameters for direc tuning frequency and programm (by its ID) works fine

I currently use Fedora 11 with latest stable kernel (64 bit) and try to keep up-to-date with linuxtv drivers

any help or atleast bug confirming would help me a lot

Quoted 7 lines

Thanks

MP

P.S. although i hated the aggressivnes of Markus' drivers from mcentral.de (no longer maintained) and need of FULL kernel sources these atleast worked :(

Hi Miroslav,

I did the 320e work with the assistance of a couple of users in Europe. Could you confirm that you are running the latest v4l-dvb tree from http://linuxtv.org/hg/v4l-dvb? If so, please provide the output of dmesg after connecting the device.

Devin

Signature · 2 lines
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com
#2 lore raw

Devin Heitmueller ha scritto:

Quoted 25 lines

2009/10/8 Miroslav Pragl <[email protected]>:

Quoted 16 lines

Hello,
are here users of Pinnace 320e (PCTV Hybrid Pro Stick)?

I have lots of problems with tuning, namely
- scan somehow locks on the first frequency listed in scan file and finds no signal on subsequent freqs
- kaffeine which has own scanning scans RELIABLY two, somehow three of four channels available in my region
- vlc which has great commandline parameters for direc tuning frequency and programm (by its ID) works fine

I currently use Fedora 11 with latest stable kernel (64 bit) and try to keep up-to-date with linuxtv drivers

any help or atleast bug confirming would help me a lot

Quoted 7 lines

Thanks

MP

P.S. although i hated the aggressivnes of Markus' drivers from mcentral.de (no longer maintained) and need of FULL kernel sources these atleast worked :(

Quoted 9 lines

Hi Miroslav,

I did the 320e work with the assistance of a couple of users in Europe. Could you confirm that you are running the latest v4l-dvb tree from http://linuxtv.org/hg/v4l-dvb? If so, please provide the output of dmesg after connecting the device.

Devin

Hi Devin,
we have already discussed a few weeks ago on IRC; you've tryed to identify the problem with my help and debug on, but no information about the problem was identified, so you have requested to me a log captured with usbmon during scanning. I've sent you a session captured with usbmon, but after this I've not seen any improvement and I've not received any reply.
In the past day I'm joined on #linuxtv, but probably you was busy and so I don't know if there are news.

Bye and thanks,
Sebastian

#3 lore raw
Quoted 10 lines · On Thu, Oct 8, 2009 at 2:13 PM, SebaX75 <[email protected]> wrote:

Hi Devin,
we have already discussed a few weeks ago on IRC; you've tryed to identify the problem with my help and debug on, but no information about the problem was identified, so you have requested to me a log captured with usbmon during scanning.
I've sent you a session captured with usbmon, but after this I've not seen any improvement and I've not received any reply.
In the past day I'm joined on #linuxtv, but probably you was busy and so I don't know if there are news.

Quoted 2 lines

Bye and thanks,
Sebastian

Doh. You're right. I completely forgot about that. Let me look at the capture and see what is going on.

Devin

Signature · 2 lines
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com
#4 lore raw
In reply to Devin Heitmueller

Devin,
thank you very much.

I downloaded, compiled and installed drivers from current (today) hg repository o linuxtv.org, attached Pinnacle dongle, scanned.

The log files are quite large so i ZIPed them and made available at http://pragl.com/tmp/em28xx_logs.zip
They are:

1. messages.txt - relevant paert of /var/log/messages after plugging the dongle in

2. scan.txt - output from scan cz-Praha (my location) you can see scan locks on first frequency (634000000), finds correctly couple of channels then fails on other frequencies

3. scan2.txt - same scan but I commented-out 1st frequency (634000000) so scan successfully starts from following one (674000000) and the situation repeats - only this one gets scanned, following are not

Hope I described it clearly :)

I really appreciate your help

MP

--------------------------------------------------
From: "Devin Heitmueller" <[email protected]>
Sent: Thursday, October 08, 2009 4:36 PM
To: "Miroslav Pragl" <[email protected]>
Cc: <[email protected]>
Subject: Re: Pinnace 320e (PCTV Hybrid Pro Stick) support

Quoted 41 lines

2009/10/8 Miroslav Pragl <[email protected]>:

Quoted 19 lines

Hello,
are here users of Pinnace 320e (PCTV Hybrid Pro Stick)?

I have lots of problems with tuning, namely
- scan somehow locks on the first frequency listed in scan file and finds no
signal on subsequent freqs
- kaffeine which has own scanning scans RELIABLY two, somehow three of four
channels available in my region
- vlc which has great commandline parameters for direc tuning frequency and
programm (by its ID) works fine

I currently use Fedora 11 with latest stable kernel (64 bit) and try to keep up-to-date with linuxtv drivers

any help or atleast bug confirming would help me a lot

Quoted 7 lines

Thanks

MP

P.S. although i hated the aggressivnes of Markus' drivers from mcentral.de (no longer maintained) and need of FULL kernel sources these atleast worked :(

Hi Miroslav,

I did the 320e work with the assistance of a couple of users in Europe. Could you confirm that you are running the latest v4l-dvb tree from http://linuxtv.org/hg/v4l-dvb? If so, please provide the output of dmesg after connecting the device.

Devin

Signature · 2 lines
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com
#5 lore raw
Quoted 17 lines · Miroslav Pragl

Devin,
thank you very much.

I downloaded, compiled and installed drivers from current (today) hg repository o linuxtv.org, attached Pinnacle dongle, scanned.

The log files are quite large so i ZIPed them and made available at
http://pragl.com/tmp/em28xx_logs.zip
They are:

1. messages.txt - relevant paert of /var/log/messages after plugging the dongle in

2. scan.txt - output from scan cz-Praha (my location) you can see scan locks on first frequency (634000000), finds correctly couple of channels then fails on other frequencies

Quoted 7 lines

3. scan2.txt - same scan but I commented-out 1st frequency (634000000) so scan successfully starts from following one (674000000) and the situation repeats - only this one gets scanned, following are not

Hope I described it clearly :)

I really appreciate your help

Interesting. I just looked at SebaX75's usbmon trace, and I have a suspicion as to what is going on. If one of you is feeling adventurous, try the following

unplug the device
comment out line 181 of file v4l/em28xx-cards.c so it looks like:

// {EM2880_R04_GPO, 0x04, 0xff, 100},/* zl10353 reset */

make && make install && make unload
plug in device
Attempt a scan

Let me know if that causes it to lock on more than just the first frequency.

Devin

Signature · 2 lines
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com
#6 lore raw

GREAT, works perfectly! Thanks a lot!

MP

Quoted 3 lines

comment out line 181 of file v4l/em28xx-cards.c so it looks like:
// {EM2880_R04_GPO, 0x04, 0xff, 100},/* zl10353 reset */

scan /usr/share/dvb/dvb-t/cz-Praha
scanning /usr/share/dvb/dvb-t/cz-Praha
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0' initial transponder 634000000 0 2 9 3 1 3 0
initial transponder 674000000 0 2 9 3 1 3 0
initial transponder 730000000 0 2 9 3 1 3 0
initial transponder 778000000 0 2 9 3 1 3 0
initial transponder 818000000 0 2 9 3 1 2 0

Quoted 1 line
Quoted 1 line
Quoted 1 line

tune to: 634000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE

Network Name 'CESKE RADIOKOMUNIKACE'
0x0000 0x0202: pmt_pid 0x0190 CESKE RADIOKOMUNIKACE -- NOVA CINEMA (running) 0x0000 0x0201: pmt_pid 0x0064 CESKE RADIOKOMUNIKACE -- NOVA (running) 0x0000 0x0801: pmt_pid 0x012c CESKE RADIOKOMUNIKACE -- BARRANDOV TV (running) 0x0000 0x0302: pmt_pid 0x01f4 CESKE RADIOKOMUNIKACE -- Prima COOL (running) 0x0000 0x0301: pmt_pid 0x00c8 CESKE RADIOKOMUNIKACE -- PRIMA (running)

Quoted 1 line
Quoted 1 line
Quoted 1 line

tune to: 674000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE

Network Name 'Sit 3 Czech Digital Group'
0x0301 0x0303: pmt_pid 0x0000 CDG -- Prima (MPEG-4 HD) (running) 0x0301 0x0501: pmt_pid 0x0000 CDG -- Noe TV (running) 0x0301 0x0601: pmt_pid 0x0000 CDG -- PublicTV (running) 0x0301 0x0701: pmt_pid 0x0000 CDG -- Z1 (running) 0x0301 0x4301: pmt_pid 0x0000 CDG -- Proglas (running)

Quoted 1 line
Quoted 1 line
Quoted 1 line

tune to: 730000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE

0x0000 0x0101: pmt_pid 0x0100 Ceska televize -- CT 1 (running) 0x0000 0x0102: pmt_pid 0x0200 Ceska televize -- CT 2 (running) 0x0000 0x0103: pmt_pid 0x0300 Ceska televize -- CT 24 (running) 0x0000 0x0104: pmt_pid 0x0400 Ceska televize -- CT 4 (running)

0x0000 0x4101: pmt_pid 0x1000 Ceska televize -- CRo1-Radiozurnal     (running)
0x0000 0x4102: pmt_pid 0x1100 Ceska televize -- CRo2-Praha           (running)
0x0000 0x4103: pmt_pid 0x1200 Ceska televize -- CRo3-Vltava          (running)
0x0000 0x4104: pmt_pid 0x1300 Ceska televize -- CRo Radio Wave      (running)
0x0000 0x4105: pmt_pid 0x1400 Ceska televize -- CRo D-dur            (running)
0x0000 0x4106: pmt_pid 0x1500 Ceska televize -- CRo Leonardo         (running)
0x0000 0x4107: pmt_pid 0x1600 Ceska televize -- CRo Radio Cesko      (running)

Network Name 'SIT 1 CESKA TELEVIZE'

Quoted 1 line
Quoted 1 line
Quoted 1 line

tune to: 778000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE

Network Name 'Sit 3-Czech Digital Group' 0x0000 0x0601: pmt_pid 0x0300 CDG -- PublicTV (running) 0x0000 0x0701: pmt_pid 0x0400 CDG -- Z1 (running) 0x0000 0x4301: pmt_pid 0x1000 CDG -- Proglas (running)

Quoted 1 line
Quoted 1 line
Quoted 1 line

tune to: 818000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE

WARNING: >>> tuning failed!!!

Quoted 1 line
Quoted 1 line
Quoted 1 line

tune to: 818000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE (tuning failed)

WARNING: >>> tuning failed!!!
dumping lists (24 services)
NOVA CINEMA:634000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_2_3:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:401:411:514
NOVA:634000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_2_3:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:101:111:513
BARRANDOV TV:634000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_2_3:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:301:311:2049 Prima COOL:634000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_2_3:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:501:511:770 PRIMA:634000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_2_3:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:201:211:769 Prima (MPEG-4 HD):674000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_1_2:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:1281:1282:771 Noe TV:674000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_1_2:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:513:514:1281 PublicTV:674000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_1_2:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:769:770:1537 Z1:674000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_1_2:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:1025:1026:1793 Proglas:674000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_1_2:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:0:4097:17153 CT 1:730000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_2_3:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:257:273:257 CT 2:730000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_2_3:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:513:529:258 CT 24:730000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_2_3:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:769:785:259 CT 4:730000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_2_3:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:1025:1041:260

CRo1-Radiozurnal    :730000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_2_3:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:0:4113:16641
CRo2-Praha          :730000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_2_3:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:0:4369:16642
CRo3-Vltava         :730000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_2_3:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:0:4625:16643
CRo Radio Wave     :730000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_2_3:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:0:4881:16644
CRo D-dur           :730000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_2_3:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:0:5137:16645
CRo Leonardo        :730000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_2_3:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:0:5393:16646
CRo Radio Cesko     :730000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_2_3:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:0:5649:16647

PublicTV:778000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:769:770:1537 Z1:778000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:1025:1026:1793 Proglas:778000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:0:4097:17153 Done.

#7 lore raw
Quoted 3 lines · Miroslav Pragl - mailing lists

GREAT, works perfectly! Thanks a lot!

MP

Yeah, that's what I figured. However, that's not really a good long term fix. Basically the problem is we should hardware reset the zl10353 when we startup in digital mode so the chip is in a known state. However, that same code is also being called whenever we start streaming, which puts the demod in an inconsistent state when performing every tuning attempt after the first one (because the zl10353 init routine does to not get re-run after the reset).

I'll have to play with it a bit and figure out what the *correct* fix is, but that should be good enough to get you up and running for now.

It turns up I wasn't seeing this when I did the original debugging because I was using a DVB generator and thus my scan file only had one entry in it.

Devin

Signature · 2 lines
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com
#8 lore raw
In reply to Devin Heitmueller

Il 08/10/2009 21:04, Devin Heitmueller ha scritto:

Quoted 36 lines
Quoted 17 lines · Miroslav Pragl

Devin,
thank you very much.

I downloaded, compiled and installed drivers from current (today) hg repository o linuxtv.org, attached Pinnacle dongle, scanned.

The log files are quite large so i ZIPed them and made available at
http://pragl.com/tmp/em28xx_logs.zip
They are:

1. messages.txt - relevant paert of /var/log/messages after plugging the dongle in

2. scan.txt - output from scan cz-Praha (my location) you can see scan locks on first frequency (634000000), finds correctly couple of channels then fails on other frequencies

Quoted 7 lines

3. scan2.txt - same scan but I commented-out 1st frequency (634000000) so scan successfully starts from following one (674000000) and the situation repeats - only this one gets scanned, following are not

Hope I described it clearly :)

I really appreciate your help

Interesting. I just looked at SebaX75's usbmon trace, and I have a suspicion as to what is going on. If one of you is feeling adventurous, try the following

unplug the device
comment out line 181 of file v4l/em28xx-cards.c so it looks like:

// {EM2880_R04_GPO, 0x04, 0xff, 100},/* zl10353 reset */

Quoted 8 lines

make&& make install&& make unload
plug in device
Attempt a scan

Let me know if that causes it to lock on more than just the first frequency.

Devin

Hi Devin,
I've no problem to test... and now all is working. I've scanned all VHF and UHF frequency and all MUX were identified and channel are recognized.

Your suspicion was correct, very thanks.

Sebastian