[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#249380: discover1: Discover doesn't detect TV-card



Package: discover1
Version: 1.5-9
Severity: normal


I use Linux kernel 2.6 which supports my TV card, but discover
doesn't detect it. 
I must manually run: modprobe bttv card=42
                                                                                
I believe, it would be wise if the discover program loaded bttv
 module automatically if the TV card is connected to the computer.
 If it is impossible to check the options (card/tuner model) of connected
 TV card, discover should ask the type of TV card with debconf.

Card (and tuner, which is correctly autodetected in most cases without 
need to specify manually) numbers are listed in kernel documentation:
Directory /Documentation/video4linux/ , files CARDLIST.bttv and CARDLIST.tuner
you can see these files online:
http://kernel.kernelnotes.de/linux-2.6.5/Documentation/video4linux/CARDLIST.bttv 
http://kernel.kernelnotes.de/linux-2.6.5/Documentation/video4linux/CARDLIST.tuner

Here is output of lspci
mantas:/tmp# /sbin/lspci -v |grep -A5 Brooktree
00:09.0 Multimedia video controller: Brooktree Corporation Bt878 (rev 11)
        Flags: bus master, medium devsel, latency 32, IRQ 11
        Memory at e6000000 (32-bit, prefetchable) [size=4K]
        Capabilities: [44] Vital Product Data
        Capabilities: [4c] Power Management version 2

00:09.1 Multimedia controller: Brooktree Corporation Bt878 (rev 11)
        Flags: bus master, medium devsel, latency 32, IRQ 11
        Memory at e6001000 (32-bit, prefetchable) [size=4K]
        Capabilities: [44] Vital Product Data
        Capabilities: [4c] Power Management version 2

mantas:/tmp# /sbin/lspci -n |grep "09\."
00:09.0 Class 0400: 109e:036e (rev 11)
00:09.1 Class 0480: 109e:0878 (rev 11)

Btw, it would be nice, if saa7134 chipset based cards were autodetected too,
for pci id of these cards look at /Documentation/video4linux/CARDLIST.saa7134
http://kernel.kernelnotes.de/linux-2.6.5/Documentation/video4linux/CARDLIST.saa7134

Also there are more and more cards, which use cx88 chipset, for pci id of
these cards look at file /drivers/media/video/cx88/cx88-cards.c ,
 struct cx88_subid cx88_subids from kernel sources tree.

http://kernel.kernelnotes.de/linux-2.6.5/drivers/media/video/cx88/cx88-cards.c

I have one more idea - it would be usefull if PCI id data would be updated
automatically if kernel sources are changed, for example new pci ids were added

-- System Information:
Debian Release: 3.0
Architecture: i386
Kernel: Linux mantas.namai.lt 2.6.3-1-k7 #2 Tue Feb 24 20:39:50 EST 2004 i686
Locale: LANG=lt_LT, LC_CTYPE=lt_LT

Versions of packages discover1 depends on:
ii  ash                         0.3.8-37     NetBSD /bin/sh
ii  dash                        0.4.21       The Debian Almquist Shell
ii  debconf                     1.2.23woody1 Debian configuration management sy
ii  libc6                       2.3.2.ds1-10 GNU C Library: Shared libraries an
ii  libdiscover1                1.1-6        hardware identification library

-- debconf information excluded




Reply to: