Log in Register FAQ Memberlist Search pcHDTV Forum Index
pcHDTV Forum

pcHDTV Forum Index -> Installation/Setup -> 2.6.23 kernel and pcHDTV 5500, won't tune channel [SOLVED]
Post new topic  Reply to topic View previous topic :: View next topic 
2.6.23 kernel and pcHDTV 5500, won't tune channel [SOLVED]
PostPosted: Mon Jan 14, 2008 8:29 am Reply with quote
photonwave
 
Joined: 10 Nov 2004
Posts: 45
Location: Carlsbad, CA




Hello All,

I have a pcHDTV 5500 and a pcHDTV 2000 in my Gentoo linux box. Up until yesterday I was running a 2.6.22-r9 kernel with my 5500 and MythTV with no problems. I'm not actually using the 2000 card now, but it's still in the system.

However, once I upgraded to 2.6.23-r3, I found that I was unable to change the channel on the hdtv card. There is one error message that I've not seen before and Google is not yielding any help in finding out if it is a problem:
Quote:
DVB: Unable to find symbol dvb_pll_attach()


I create my kernel with DVB built-in.

When I try to run with mythtv, it claims something else is using the tuner.

If I use
Code:
fuser /dev/dvb/adapter0/*
, it shows that nothing is attached to the DVB devices.

I tried using dvbstream, xsig and getatsc to manually tune a channel, but those don't work either. I even tried using the Video4Linux2 devices: /dev/v4l/vbi0 and /dev/v4l/video0. No luck.

Any suggestions?

Here is the dmesg output at boot:
Code:
Linux video capture interface: v2.00
bttv: driver version 0.9.17 loaded
bttv: using 8 buffers with 2080k (520 pages) each for capture
bttv: Bt8xx card found (0).
ACPI: PCI Interrupt 0000:00:08.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
bttv0: Bt878 (rev 17) at 0000:00:08.0, irq: 11, latency: 32, mmio: 0xef021000
bttv0: detected: pcHDTV HD-2000 TV [card=112], PCI subsystem ID is 7063:2000
bttv0: using: pcHDTV HD-2000 TV [card=112,autodetected]
bttv0: gpio: en=00000000, out=00000000 in=0000007f [init]
bttv0: tuner type=42
bttv0: registered device video0
bttv0: registered device vbi0
bttv0: add subdevice "dvb0"
cx2388x v4l2 driver version 0.0.6 loaded
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11
ACPI: PCI Interrupt 0000:00:0b.0[A] -> Link [LNKD] -> GSI 11 (level, low) -> IRQ 11
CORE cx88[0]: subsystem: 7063:5500, board: pcHDTV HD5500 HDTV [card=47,autodetected]
TV tuner 64 at 0x1fe, Radio tuner -1 at 0x1fe
cx88[0]/0: found at 0000:00:0b.0, rev: 5, irq: 11, latency: 32, mmio: 0xeb000000
cx88[0]/0: registered device video1 [v4l2]
cx88[0]/0: registered device vbi1
cx2388x cx88-mpeg Driver Manager version 0.0.6 loaded
cx88[0]/2: cx2388x 8802 Driver Manager
ACPI: PCI Interrupt 0000:00:0b.2[A] -> Link [LNKD] -> GSI 11 (level, low) -> IRQ 11
cx88[0]/2: found at 0000:00:0b.2, rev: 5, irq: 11, latency: 32, mmio: 0xed000000
cx2388x blackbird driver version 0.0.6 loaded
cx8802_register_driver() ->registering driver type=blackbird access=shared
CORE cx88[0]: subsystem: 7063:5500, board: pcHDTV HD5500 HDTV [card=47]
cx8802_register_driver() ->probe failed err = -19
cx2388x dvb driver version 0.0.6 loaded
cx8802_register_driver() ->registering driver type=dvb access=shared
CORE cx88[0]: subsystem: 7063:5500, board: pcHDTV HD5500 HDTV [card=47]
cx88[0]/2: cx2388x based dvb card
DVB: Unable to find symbol dvb_pll_attach()
DVB: registering new adapter (cx88[0])
DVB: registering frontend 0 (LG Electronics LGDT3303 VSB/QAM Frontend)...
tuner 0-0061: chip found @ 0xc2 (bt878 #0 [sw])
tuner 0-0061: type set to 42 (Philips FCV1236D ATSC/NTSC dual in)
tuner 0-0061: type set to 42 (Philips FCV1236D ATSC/NTSC dual in)
tuner 1-0043: chip found @ 0x86 (cx88[0])
tda9887 1-0043: tda988[5/6/7] found @ 0x43 (tuner)
tuner 1-0061: chip found @ 0xc2 (cx88[0])
tuner 1-0061: type set to 64 (LG TDVS-H06xF)
tuner 1-0061: type set to 64 (LG TDVS-H06xF)
bt878: AUDIO driver version 0.0.0 loaded
bt878: Bt878 AUDIO function found (0).
ACPI: PCI Interrupt 0000:00:08.1[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
bt878_probe: card id=[0x20007063],[ pcHDTV HD-2000 TV ] has DVB functions.
bt878(0): Bt878 (rev 17) at 00:08.1, irq: 11, latency: 32, memory: 0xef023000
DVB: registering new adapter (bttv0)
DVB: Unable to find symbol dvb_pll_attach()
DVB: registering frontend 1 (Oren OR51211 VSB Frontend)...


Last edited by photonwave on Tue Jan 15, 2008 12:43 pm; edited 1 time in total

_________________
Gentoo 2.6.23-r3, pcHDTV 2000 and HD-5500, CM 4221 Antenna, MythTV
View user's profile Send private message
2.6.23 kernel and pcHDTV 5500, won't tune channel [SOLVED]
PostPosted: Tue Jan 15, 2008 10:01 am Reply with quote
photonwave
 
Joined: 10 Nov 2004
Posts: 45
Location: Carlsbad, CA




Okay,

The benefit of Gentoo is being able to peruse the kernel source code when you need to.

The problem was a small change in how the frontend DVB drivers are attached in the 2.6.23 kernel vs the 2.6.22 kernel.

The fix is that I needed to compile in the I2C PLL based tuners in order to force a piece of code to be compiled and loaded. I tend to compile what I need into the kernel, but this should work just as well if you compile it as a module and use modprobe (or autoload) to load it later.

I use genkernel to configure my kernel, so here is the applicable change:

Code:
Kernel Configuration:
    Device Drivers -->
        Multimedia devices -->
            DVB/ATSC adapters -->
                Customize DVB frontends -->
  <*> Generic I2C PLL based tuners


I hope this helps others.

For reference, here are all of my kernel configuration parameters for my mythtv gentoo 2.6.23 box with two pcHDTV cards (2000 & 5500). All of these option may not be required, but it works for me!

Code:

Device Drivers-->
 I2C support ->
      <*> I2C support
      <*> I2C device interface
      I2C Algorithms -->
              <*> I2C bit-banging interfaces
         <*> I2C PCF 8584 interfaces
         <*> I2C PCA 9564 interfaces
   
      I2C Hardware bus support -->
         <*> Nvidia nForce2, nForce3 and nForce4
         <*> Parallel port adapter
         <*> VIA 82C586B (i2c-via)
         <*> VIA VT82C596/82C686/82xx and CX700 (i2c-viapro)

      Miscellaneous I2C Chip support -->
         <*> EEPROM reader (eeprom)

        Multimedia devices ->

            <*> Video For Linux
            [*]   Enable Video for Linux API 1 (DEPRECATED)
            ---   Enable Video for Linux API 1 compatible layer
            [*]   Video Capture Adapters -->
                  [ ]   Enable advanced debug functionality 
                  [*]   Autoselect pertinent encoders/decoders and other helper chips
                  < >   Virtual Video Driver
                  <*>   BT848 Video For Linux
                  [*]     DVB/ATSC Support for bt878 based TV cards
                  < >     SAA6588 Radio Chip RDS decoder support on BT848 cards
         .
         .

                  <*>   Conexant 2388x (bt878 successor) support
                  < >     Conexant 2388x DMA audio support
                  <*>     Blackbird MPEG encoder support (cx2388x + cx23416)
                  <*>     DVB/ATSC Support for cx2388x based TV cards
                  < >   Conexant cx23416/cx23415 MPEG encoder/decoder support 
         .
         .

            [ ]   Radio Adapters -->
            <*> DVB For Linux
            [*]   Load and attach frontend modules as needed
            [*]   DVB/ATSC adapters -->
             ---   Supported SAA7146 based PCI Adapters
              .
              .
                  ---   Supported BT878 Adapters
                  ---   BT8xx based PCI cards
                  ---   Supported Pluto2 Adapters
                  < >   Pluto2 cards
             ---   Supported DVB frontends
                        Customize DVB frontends -->
          .
          .

                        --- ATSC (North American/Korean Terrestrial/Cable DTV) frontends
                        <*> NxtWave Communications NXT2002/NXT2004 based
                        <*> Oren OR51211 based
                        <*> Oren OR51132 based
                        <*> Broadcom BCM3510
                        <*> LG Electronics LGDT3302/LGDT3303 based
                        --- Tuners/PLL support
                        <*> Generic I2C PLL based tuners                     

            [ ] DAB adapters

_________________
Gentoo 2.6.23-r3, pcHDTV 2000 and HD-5500, CM 4221 Antenna, MythTV
View user's profile Send private message
2.6.23 kernel and pcHDTV 5500, won't tune channel [SOLVED]
  pcHDTV Forum Index -> Installation/Setup
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 7 Hours  
Page 1 of 1  

  
  
 Post new topic  Reply to topic  


Powered by phpBB © 2001-2003 phpBB Group
Theme created by Vjacheslav Trushkin