Bug 112710 - Yast: TV card database is too old
Summary: Yast: TV card database is too old
Status: RESOLVED FIXED
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: YaST2 (show other bugs)
Version: Beta 2
Hardware: Other All
: P5 - None : Major
Target Milestone: ---
Assignee: Ladislav Slezák
QA Contact: Klaus Kämpf
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-24 13:45 UTC by Ladislav Slezák
Modified: 2005-09-22 07:47 UTC (History)
0 users

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ladislav Slezák 2005-08-24 13:45:15 UTC
Yast doesn't offer new TV card models in manual configuration. The database is old.
Comment 1 Ladislav Slezák 2005-08-24 13:55:47 UTC
The database is generated from CARDLIST.saa7134 and CARDLIST.bttv file for
respective drivers. I just have found that there is also CARDLIST.cx88 file. But
for which driver it is?

kernel/drivers/media/video/cx88 contains these drivers:
cx88-blackbird.ko
cx88-dvb.ko
cx88xx.ko
cx8800.ko
cx8802.ko

To which driver is the file related? cx88xx? (The most generic name?) 
Comment 2 Ladislav Slezák 2005-08-25 09:16:58 UTC
The database was updated in yast2-tv-2.12.5 (bttv and saa7134 driver options,
the database generator now also better groups cards by vendor).

CARDLIST.cx88 is still not used, waiting for info.
Comment 3 Gerd Hoffmann 2005-09-01 12:41:06 UTC
It's not that easy with cx88, The chip has several pci functions which can be
enabled and disabled.

PCI function 0 (pci ID 0x8800) is analog tv/video, the driver module for that
one is cx8800.

PCI function 2 (pci id 0x8802) is for MPEG transport stream transfer, on
existing cards this is used for both analog cards with hardware mpeg encoder
(cx88-blackbird) and dvb cards (cx88-dvb).  You have to itentify the card by
subsystem ID to figure which is dvb and wich is blackbird, the driver has that
informations in the card database (cx88-cards.c).

cx88xx.ko is common core core, cx8802.ko is common code for the blackbird and
dvb drivers, both are autoloaded by symbol references so yast2/hwinfo doesn't
need to know about them.
Comment 4 Ladislav Slezák 2005-09-09 12:15:00 UTC
Thanks for the info!

I suppose that CARDLIST.cx88 has similar syntax to CARDLIST.bttv.
In that case it would mean that CARDLIST.cx88 contains possible values for
module option card.

As I can see the only driver from the list in comment #1 which has card option
is cx88xx.

For CARDLIST.bttv cards yast uses bttv driver with option card=X, would that
work for cx88xx driver as well? It seems that I need to use also another module
(cx88-blackbird or cx88-dvb), right? It would be too compilated in that case...
Comment 5 Gerd Hoffmann 2005-09-09 13:16:14 UTC
Yes, CARDLIST.cx88 is simliar and it is the cx88xx core module which takes the
card= insmod option.  The other driver modules get the info indirectly from
cx88xx and don't need any insmod options.
Comment 6 Gerd Hoffmann 2005-09-21 12:45:41 UTC
back to ladislav (comment #5 hopefully answers your question).
Comment 7 Ladislav Slezák 2005-09-21 13:42:20 UTC
OK, if I understand it correctly the yast module should set cx88xx driver for
the cards mentioned in CARDLIST.cx88, right?
Comment 8 Ladislav Slezák 2005-09-21 15:18:30 UTC
Fixed in STABLE (yast2-tv-2.13.0)
Comment 9 Gerd Hoffmann 2005-09-22 07:47:09 UTC
Yes, "options cx88xx card=..."