[linux-dvb] Compro VideoMate DVB-T300 auto detect problem- suggested code fix

Gunther Mayer gunther.mayer at gmx.net
Fri Mar 31 17:40:50 CEST 2006


James Lawrence wrote:

>
>
> Gunther Mayer wrote:
>
>>
>> Can you do one more experiment
>> - cold boot (but do not load saa7134 module, e.g. you can rename it 
>> before this experiment)
>> - then warm boot (without loading the module)
>> - report "lspci -vn"
>> => This will prove if misdetection is triggered by out driver (or has 
>> another root cause)
>>
>> Gunther
>
>
> My previous post was rejected because it was too big - I included too 
> much detail ... here's the abbreviated version
> Three cases tried:
> 1) lspci -vn after a cold boot wihtout loading the module
> 2) lspci -vn after a warm boot without loading the module (not loaded 
> since the machine was powered up)
> 3) lspci -vn after a warm boot where the module was loaded prior to 
> the reboot
>
> 1 & 2 give identical results (only the entries for the two TV cards 
> are shown in order to keep the post brief)
>
> 02:07.0 0480: 1131:7134 (rev 01)
>        Subsystem: 185b:c900
>        Flags: bus master, medium devsel, latency 32, IRQ 10
>        Memory at f6004000 (32-bit, non-prefetchable) [size=1K]
>        Capabilities: [40] Power Management version 1
>
> 02:09.0 0480: 1131:7134 (rev 01)
>        Subsystem: 185b:c900
>        Flags: bus master, medium devsel, latency 32, IRQ 9
>        Memory at f6005000 (32-bit, non-prefetchable) [size=1K]
>        Capabilities: [40] Power Management version 1
>
> 3 is different:
>
> 02:07.0 0480: 1131:7134 (rev 01)
>        Subsystem: 1850:0000
>        Flags: bus master, medium devsel, latency 32, IRQ 10
>        Memory at f6004000 (32-bit, non-prefetchable) [size=1K]
>        Capabilities: [40] Power Management version 1
>
> 02:09.0 0480: 1131:7134 (rev 01)
>        Subsystem: 1850:0000
>        Flags: bus master, medium devsel, latency 32, IRQ 9
>        Memory at f6005000 (32-bit, non-prefetchable) [size=1K]
>        Capabilities: [40] Power Management version 1
>
> Note that the only difference is the PCI ID. All other entries are 
> identical - I have trimmed them out to keep the post short.
>
Thanks this proves:
- warm boot leaves the PCI subsystem ID intact
- loading the saa7134 module corrupts some state on the card,
   so on the next reboot the PCI subsystem ID is corrput



More information about the linux-dvb mailing list