Skip to contentSkip to conversation

TV card detected wrongly by the kernel. Any chance to get this fixed?

DISCUSSION Manuel Reimer 3 participants 5 messages Aug 22, 2007 – Aug 24, 2007

lore
Share & tools
lore
#0 lore raw

Hello,

I have a BT878 based TV card (was sold by a german discounter some years ago).

Unfortunately this card gets detected wrongly and so I'm unable to watch tv, if I allow the kernel to auto-detect the card.

If I unload the module and reload it using the right "card=" value, then anything works well. So one of the first steps, I do if I install a new version of my distribution, is to place the "unload module and reload with the right value" code to my "rc.local" file.

Is there any chance to get this card added to the kernel, so the right value gets auto-loaded?

Thanks in advance

Yours

Manuel Reimer

#1 lore raw
Quoted 8 lines · Manuel Reimer

Hello,

I have a BT878 based TV card (was sold by a german discounter some years ago).

Unfortunately this card gets detected wrongly and so I'm unable to watch tv, if I allow the kernel to auto-detect the card.

Quoted 7 lines

If I unload the module and reload it using the right "card=" value, then anything works well. So one of the first steps, I do if I install a new version of my distribution, is to place the "unload module and reload with the right value" code to my "rc.local" file.

Is there any chance to get this card added to the kernel, so the right value gets auto-loaded?

It might be possible, but the driver maintainer (Cc'ed) should know best.

What is the "card=" value you use?
What is the line for yor card in the "lspci -nn" output?

Quoted 5 lines

Thanks in advance

Yours

Manuel Reimer

cu
Adrian

Signature · 4 lines
       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed
#2 lore raw

Manuel,

Quoted 12 lines
Quoted 7 lines

I have a BT878 based TV card (was sold by a german discounter some years ago).

Unfortunately this card gets detected wrongly and so I'm unable to watch tv, if I allow the kernel to auto-detect the card.

If I unload the module and reload it using the right "card=" value,

then

Quoted 1 line

anything works well. So one of the first steps, I do if I install a

new

Quoted 1 line

version of my distribution, is to place the "unload module and

reload with

Quoted 8 lines
Quoted 3 lines

the right value" code to my "rc.local" file.

Is there any chance to get this card added to the kernel, so the

right

Quoted 1 line

value gets auto-loaded?

It might be possible, but the driver maintainer (Cc'ed) should know best.

Most cheap bt8xx boards don't have eeprom or other means for properly detecting the board internals. For such boards, you need to specify card=<nr>, otherwise the driver will use a generic "default" that may not work.

The proper way for handling this is by adding at /etc/modprobe.conf (or /etc/modules, depending on your distro) a line like:

options bttv card=<nr>

This way, every time the module will load, the modprobe tools will use the proper options.

If your board have an unique PCI ID, we may add it to the driver, avoiding this need. For this, we will need the results of the following command:

lspci -vv -nn

Cheers,
Mauro

#3 lore raw
Quoted 5 lines · Mauro Carvalho Chehab

If your board have an unique PCI ID, we may add it to the driver, avoiding this need. For this, we will need the results of the following command:

lspci -vv -nn

I'm using card=65 to use my card. I never tried the tuner (don't need it) but the composite-in works for displaying the input of my sattelite receiver and I'm able to read videotext, too. Without "card=65", I only got black/white output...

Here are the values of the lspci -vv -nn command. I reduced the output to the two entries, belonging to the card.

00:10.0 Multimedia video controller [0400]: Brooktree Corporation Bt878 Video Capture [109e:036e] (rev 11)
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Latency: 32 (4000ns min, 10000ns max)
Interrupt: pin A routed to IRQ 10
Region 0: Memory at e7004000 (32-bit, prefetchable) [size=4K]
Capabilities: [44] Vital Product Data
Capabilities: [4c] Power Management version 2
Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:10.1 Multimedia controller [0480]: Brooktree Corporation Bt878 Audio Capture [109e:0878] (rev 11)
Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin A routed to IRQ 10
Region 0: Memory at e7005000 (32-bit, prefetchable) [size=4K]
Capabilities: [44] Vital Product Data
Capabilities: [4c] Power Management version 2
Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

Thanks in advance for your answer.

CU

Manuel

#4 lore raw

Em Qui, 2007-08-23 às 17:23 +0200, Manuel Reimer escreveu:

Quoted 7 lines
Quoted 5 lines · Mauro Carvalho Chehab

If your board have an unique PCI ID, we may add it to the driver, avoiding this need. For this, we will need the results of the following command:

lspci -vv -nn

Quoted 7 lines

I'm using card=65 to use my card. I never tried the tuner (don't need it) but the composite-in works for displaying the input of my sattelite receiver and I'm able to read videotext, too. Without "card=65", I only got black/white output...

00:10.0 Multimedia video controller [0400]: Brooktree Corporation Bt878 Video Capture [109e:036e] (rev 11)

I can't see and subsystem ID. Since it is not on the few range of boards where we know other ways for detecting the board internals, there's no known way for auto-detecting your board.

The solution for you is to add:
options bttv card=65
into /etc/modprobe.conf (or /etc/modules.conf, or /etc/modules - depending on your distro).

This way, every time the driver is loaded, the card=65 option will automatically be used by the bttv driver.

Signature · 2 lines
Cheers,
Mauro