Skip to contentSkip to conversation

Pinnacle 320e (em28xx/xc2028): scan finds just first channel

linux-dvb Miroslav Pragl - mailing lists 3 participants 5 messages Sep 12, 2009 – Sep 16, 2009 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

Hello,
I've compiled and installed latest v4l-dvb and dvb-apps, extracted xceive firmware, so far so good. Distro is Fedora 11, x64 (2.6.30.5-43.fc11.x86_64)

Unfortunately scan finds only the first channel:

$ 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

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) Network Name 'CESKE RADIOKOMUNIKACE'

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

WARNING: filter timeout pid 0x0011
WARNING: filter timeout pid 0x0000
WARNING: filter timeout pid 0x0010

if I remove 634000000 from tuning data it works fine on 674000000 but again not the subsequent frequencies and so on

Some applications such as vlc that can tune directly work fine (vlc dvb://frequency=730000000 :dvb-bandwidth=8 :program=259 etc)

Any workarounds (but merging results from scans per one frequency)?

Thanks
MP

part of dmesg:
--------------

Sep 12 12:06:41 mirek-nb kernel: em28xx #0: Board detected as Pinnacle Hybrid Pro
Sep 12 12:06:41 mirek-nb kernel: tvp5150 3-005c: chip found @ 0xb8 (em28xx #0)
Sep 12 12:06:41 mirek-nb kernel: tuner 3-0061: chip found @ 0xc2 (em28xx #0)
Sep 12 12:06:41 mirek-nb kernel: xc2028 3-0061: creating new instance
Sep 12 12:06:41 mirek-nb kernel: xc2028 3-0061: type set to XCeive xc2028/xc3028 tuner
Sep 12 12:06:41 mirek-nb kernel: usb 2-2: firmware: requesting xc3028-v27.fw
Sep 12 12:06:41 mirek-nb kernel: xc2028 3-0061: Loading 80 firmware images from xc3028-v27.fw, type: xc2028 firmware, ver 2.7
Sep 12 12:06:41 mirek-nb kernel: xc2028 3-0061: Loading firmware for type=BASE (1), id 0000000000000000.
Sep 12 12:06:42 mirek-nb kernel: xc2028 3-0061: Loading firmware for type=(0), id 000000000000b700.
Sep 12 12:06:42 mirek-nb kernel: SCODE (20000000), id 000000000000b700:
Sep 12 12:06:42 mirek-nb kernel: xc2028 3-0061: Loading SCODE for type=MONO SCODE HAS_IF_4320 (60008000), id 0000000000008000.
Sep 12 12:06:43 mirek-nb kernel: em28xx #0: Config register raw data: 0x58
Sep 12 12:06:43 mirek-nb kernel: em28xx #0: AC97 vendor ID = 0x83847652
Sep 12 12:06:43 mirek-nb kernel: em28xx #0: AC97 features = 0x6a90
Sep 12 12:06:43 mirek-nb kernel: em28xx #0: Sigmatel audio processor detected(stac 9752)
Sep 12 12:06:43 mirek-nb kernel: tvp5150 3-005c: tvp5150am1 detected.
Sep 12 12:06:43 mirek-nb kernel: em28xx #0: v4l2 driver version 0.1.2
Sep 12 12:06:43 mirek-nb kernel: em28xx #0: V4L2 device registered as /dev/video1 and /dev/vbi0
Sep 12 12:06:43 mirek-nb kernel: xc2028 3-0061: attaching existing instance
Sep 12 12:06:43 mirek-nb kernel: xc2028 3-0061: type set to XCeive xc2028/xc3028 tuner

_______________________________________________
linux-dvb users mailing list
For V4L/DVB development, please use instead [email protected] [email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#1 lore raw
Quoted 5 lines · Miroslav Pragl - mailing lists

Hello,
I've compiled and installed latest v4l-dvb and dvb-apps, extracted xceive firmware, so far so good. Distro is Fedora 11, x64 (2.6.30.5-43.fc11.x86_64)

Unfortunately scan finds only the first channel:

<snip>

Hello Miroslav,

Are you absolutely sure you installed the latest code, including "make unload" to unload the currently running modules? I fixed this exact regression back in June, so I would be extremely surprised if you are really seeing this in the latest code.

I would suggest using the following commands, and then reboot:

<unplug device>
hg clone http://linuxtv.org/hg/v4l-dvb
cd v4l-dvb
make && make install && make unload
reboot
<plug in device>

Then see if it still happens.

Cheers,

Devin

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

Hello,
I've compiled and installed latest v4l-dvb and dvb-apps, extracted xceive firmware, so far so good. Distro is Fedora 11, x64 (2.6.30.5-43.fc11.x86_64)

Unfortunately scan finds only the first channel:

<snip>

Hello Miroslav,

Are you absolutely sure you installed the latest code, including "make unload" to unload the currently running modules? I fixed this exact regression back in June, so I would be extremely surprised if you are really seeing this in the latest code.

I would suggest using the following commands, and then reboot:

<unplug device>
hg clone http://linuxtv.org/hg/v4l-dvb
cd v4l-dvb
make&& make install&& make unload
reboot
<plug in device>

Quoted 6 lines

Then see if it still happens.

Cheers,

Devin

Hi Devin,
I'm the person that has joined yesterday night on IRC channel to talk with you about this post.

During July, I've already talked with you about a problem (http://www.mail-archive.com/[email protected]/msg07728.html), but I was new and not very able to do debug and explain the problem with good test case. After two months of tests and 3 adapters used (Hauppauge Nova-T, a china generic Intel CE9500B1 and Pinnable Hybrid Stick 320E EEPROM-ID=0x9567eb1a, EEPROM-hash=0xb8846b20 - only this one don't work), I've more information for you.

My configuration is very similar to Miroslav, Fedora 11 with kernel 2.6.30.5-43.fc11.i686.PAE; v4l-dvb tree downloaded yesterday (15/09/2009) and I use scandvb to scan the channels. I've tryed your repository too, em28xx-vbi3, but it seems the same. The driver compile without problem, the system is rebooted every time I recompile it, modules are inserted without options and dmesg doesn't show any errors (http://pastebin.com/f340bf982).

Now the problem, very similar to Miroslav if MUX transmit only one channel; during tuning, the DVB-T stop on first MUX tuned and all MUX found after this one are not tuned and channels are not recognized. During tests, I've seen that if I change the MUX order in input file for scandvb, I can get channels list tuned from first MUX... after more tuning sessions to compile the list, the problem persist during normal view of transmission...

If you need more info ask to me, I'll be very happy to help you; if for you is useful, I've saved a tuning session with usbsnoop from windows and I've not done this for linux, but if you need it I can do (I need some time to do this because I don't know where to start).

Thanks for your support,
Sebastian

#3 lore raw
Quoted 65 lines · On Wed, Sep 16, 2009 at 9:09 AM, SebaX75 <[email protected]> wrote:
Quoted 29 lines · Devin Heitmueller has
Quoted 7 lines · Miroslav Pragl - mailing lists

Hello,
I've compiled and installed latest v4l-dvb and dvb-apps, extracted xceive firmware, so far so good. Distro is Fedora 11, x64 (2.6.30.5-43.fc11.x86_64)

Unfortunately scan finds only the first channel:

<snip>

Hello Miroslav,

Are you absolutely sure you installed the latest code, including "make unload" to unload the currently running modules?  I fixed this exact regression back in June, so I would be extremely surprised if you are really seeing this in the latest code.

I would suggest using the following commands, and then reboot:

<unplug device>
hg clone http://linuxtv.org/hg/v4l-dvb
cd v4l-dvb
make&&  make install&&  make unload
reboot
<plug in device>

Quoted 6 lines

Then see if it still happens.

Cheers,

Devin

Hi Devin,
I'm the person that has joined yesterday night on IRC channel to talk with you about this post.

During July, I've already talked with you about a problem
(http://www.mail-archive.com/[email protected]/msg07728.html), but I was new and not very able to do debug and explain the problem with good test case.
After two months of tests and 3 adapters used (Hauppauge Nova-T, a china generic Intel CE9500B1 and Pinnable Hybrid Stick 320E EEPROM-ID=0x9567eb1a, EEPROM-hash=0xb8846b20 - only this one don't work), I've more information for you.

My configuration is very similar to Miroslav, Fedora 11 with kernel 2.6.30.5-43.fc11.i686.PAE; v4l-dvb tree downloaded yesterday (15/09/2009) and I use scandvb to scan the channels. I've tryed your repository too, em28xx-vbi3, but it seems the same. The driver compile without problem, the system is rebooted every time I recompile it, modules are inserted without options and dmesg doesn't show any errors (http://pastebin.com/f340bf982).

Now the problem, very similar to Miroslav if MUX transmit only one channel; during tuning, the DVB-T stop on first MUX tuned and all MUX found after this one are not tuned and channels are not recognized.
During tests, I've seen that if I change the MUX order in input file for scandvb, I can get channels list tuned from first MUX... after more tuning sessions to compile the list, the problem persist during normal view of transmission...

Quoted 8 lines

If you need more info ask to me, I'll be very happy to help you; if for you is useful, I've saved a tuning session with usbsnoop from windows and I've not done this for linux, but if you need it I can do (I need some time to do this because I don't know where to start).

Thanks for your support,
Sebastian

Hello Sebastian,

Please do the following:

unplug the device
reboot
modprobe tuner-xc2028 debug=1
plug in the device
Make the two tuning attempts so that the failure gets logged. Send me the full dmesg output (making sure it includes from the time the device was connected).

Thanks,

Devin

Signature · 2 lines
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com
#4 lore raw
Quoted 50 lines · Devin Heitmueller has
Quoted 28 lines · On Wed, Sep 16, 2009 at 9:09 AM, SebaX75 <[email protected]> wrote:

Hi Devin,
I'm the person that has joined yesterday night on IRC channel to talk with you about this post.

During July, I've already talked with you about a problem
(http://www.mail-archive.com/[email protected]/msg07728.html), but I was new and not very able to do debug and explain the problem with good test case.
After two months of tests and 3 adapters used (Hauppauge Nova-T, a china generic Intel CE9500B1 and Pinnable Hybrid Stick 320E EEPROM-ID=0x9567eb1a, EEPROM-hash=0xb8846b20 - only this one don't work), I've more information for you.

My configuration is very similar to Miroslav, Fedora 11 with kernel 2.6.30.5-43.fc11.i686.PAE; v4l-dvb tree downloaded yesterday (15/09/2009) and I use scandvb to scan the channels. I've tryed your repository too, em28xx-vbi3, but it seems the same. The driver compile without problem, the system is rebooted every time I recompile it, modules are inserted without options and dmesg doesn't show any errors (http://pastebin.com/f340bf982).

Now the problem, very similar to Miroslav if MUX transmit only one channel; during tuning, the DVB-T stop on first MUX tuned and all MUX found after this one are not tuned and channels are not recognized.
During tests, I've seen that if I change the MUX order in input file for scandvb, I can get channels list tuned from first MUX... after more tuning sessions to compile the list, the problem persist during normal view of transmission...

Quoted 8 lines

If you need more info ask to me, I'll be very happy to help you; if for you is useful, I've saved a tuning session with usbsnoop from windows and I've not done this for linux, but if you need it I can do (I need some time to do this because I don't know where to start).

Thanks for your support,
Sebastian

Hello Sebastian,

Please do the following:

unplug the device
reboot
modprobe tuner-xc2028 debug=1
plug in the device
Make the two tuning attempts so that the failure gets logged. Send me the full dmesg output (making sure it includes from the time the device was connected).

Quoted 3 lines

Thanks,

Devin

Hi Devin,
I've done the test as you have told and the output results are at http://pastebin.com/f75008ea6.

The dmesg output is divided in three section:
- insert of device;
- first tuning section (only first MUX, at 474MHz, was tuned, nothing for 482 or 514MHz);
- second tuning section (only first MUX, at 514MHz, was tuned, nothing for 482 or 474MHz).

In the tuning sections I've reported input file and screen output for scandvb.

Thanks,
Sebastian