Summary: | saa7134 driver screwed up in gentoo-dev-sources-2.6.10-r2 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | spiritus <sirspiritus> |
Component: | [OLD] Core system | Assignee: | Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
spiritus
2005-01-07 10:13:22 UTC
There are so few changes between -r1 and -r2 that I can't see where this is coming from. Are you *sure* it definately works fine on -r1? The trouble resolved after applying following patch: http://dl.bytesex.org/patches/2.6.10-1/All-2.6.10.diff.gz I'll recheck the -r1 if tvtuner works well. May be I was wrong about -r1 because haven't noted that applyed v4l patch from bytesex to the gentoo-dev-sources-2.6.10-r1 :) I was wrong. TV card doesn't work with the following options: # cat /etc/modules.d/tuner options tda9887 secam=d #options saa7134 card=35 tuner=24 options saa7134 card=35 alias /dev/v4l saa7134 below saa7134 tda9887a9887 it works only with the: # cat /etc/modules.d/tuner options tda9887 secam=d options saa7134 card=35 tuner=24 alias /dev/v4l saa7134 below saa7134 tda9887 I've checked if all is ok with the tuner type autodetection, but it seems not. I have AverMedia AverTV/Studio 305 TV card with the following PCI ID: 0000:02:04.0 Multimedia controller: Philips Semiconductors SAA7130 Video Broadcast Decoder (rev 01) Subsystem: Avermedia Technologies Inc: Unknown device 2108 Flags: bus master, medium devsel, latency 32, IRQ 18 Memory at e7001000 (32-bit, non-prefetchable) Capabilities: [40] Power Management version 1 Although saa7134 knows about this card: saa7130[0]: subsystem: 1461:2108, board: AverMedia 305 [card=35,insmod option] But the system is unable to autodetect its type: saa7130[0]: subsystem: 1461:2108, board: UNKNOWN/GENERIC [card=0,autode tected] Even when card=35 specified saa7134 doesn't detect tuner type correctly, because there are no any video output: tuner: chip found at addr 0xc2 i2c-bus saa7130[0] tuner: type set to 38 (Philips PAL/SECAM multi (FM1216ME MK3)) by saa7130[0] Only if I specify card=35 tuner=24(or tuner=3) and secam=d option for tda9887 I get video output from the TV card: saa7130[0]: found at 0000:02:04.0, rev: 1, irq: 18, latency: 32, mmio: 0xe7001000 saa7130[0]: subsystem: 1461:2108, board: AverMedia 305 [card=35,insmod option] saa7130[0]: board init: gpio is 107a8 saa7130[0]: i2c eeprom 00: 61 14 08 21 ff ff ff ff ff ff ff ff ff ff ff ff saa7130[0]: i2c eeprom 10: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff saa7130[0]: i2c eeprom 20: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff saa7130[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff tuner: chip found at addr 0xc2 i2c-bus saa7130[0] tuner: type set to 24 (Philips PAL/SECAM multi (FQ1216ME)) by saa7130[0] saa7130[0]: registered device video0 [v4l2] saa7130[0]: registered device vbi0 saa7130[0]: registered device radio0 So I'd like saa7134 driver to autodetect this AverMedia AverTV 305 TV card in future releases of gentoo-dev-sources :) subsystem: 1461:2108 board name: AverMedia AverTV 305 chip type: SAA7130 saa7134 options: card=35 tuner=24 tda9887 option: secam=d (SECAM/DK) Please bug the patch maintainer to send the fixes to Linus. Then, if you can track down the patch that fixes autodetection, I will consider adding it. Thanks. reopening to track issue I'm not keen on applying the whole lot unless it goes upstream first..and unfortunately as you noticed, the saa7134 fix requires another patch to be applied, which would then require the other drivers to be updated too. Sorry, not going to apply this at this time. After all there seems no much issues except kernel doesn't autodetect TV tuner card, the same thing with the latest video4linux kernel patch from bytesex.org and there is issue with the saa7134 fix that doesn't compile, but full patch applies and compiles ok. TV Tuner works fine with the manually specified experimentally found insmod options with the gentoo-dev-sources and with the latest v4l patch. I would contact patch mantainer and ask him to implement AvermeDia TV Studio 305 correct autodetection. Yep, that sounds like the best idea. Thanks for reporting. |