Talk:Pinnacle PCTV Hybrid Pro Card (310c): Difference between revisions

From LinuxTVWiki
Jump to navigation Jump to search
Line 37: Line 37:
==== /proc/iomem ====
==== /proc/iomem ====


the memory in linux isn't continuous:
<pre>
<pre>
30000000-33ffffff : PCI Bus #02
30000000-33ffffff : PCI Bus #01
30000000-31ffffff : PCI CardBus #03
30000000-31ffffff : PCI CardBus #02
32000000-33ffffff : PCI CardBus #07
32000000-33ffffff : PCI CardBus #06
34000000-340003ff : 0000:00:1f.1
34000000-340003ff : 0000:00:1f.1
36000000-37ffffff : PCI CardBus #03
36000000-37ffffff : PCI CardBus #02
38000000-39ffffff : PCI CardBus #07
38000000-39ffffff : PCI CardBus #06
</pre>

<pre>
PCI: Bus 2, cardbus bridge: 0000:01:06.0
IO window: 00003000-000030ff
IO window: 00003400-000034ff
PREFETCH window: 30000000-31ffffff
MEM window: 36000000-37ffffff
PCI: Bus 6, cardbus bridge: 0000:01:06.1
IO window: 00003800-000038ff
IO window: 00003c00-00003cff
PREFETCH window: 32000000-33ffffff
MEM window: 38000000-39ffffff
PCI: Bridge: 0000:00:1e.0
IO window: 3000-3fff
MEM window: e0200000-e07fffff
PREFETCH window: 30000000-33ffffff
</pre>
</pre>



Revision as of 20:02, 18 December 2006

Faq

PCI allocation failed

PCI: Failed to allocate mem resource #0:1000000@38000000 for 0000:03:00.2

http://bugzilla.kernel.org/show_bug.cgi?id=1840

Windows Allocation

allocation in windows:

Cardbus #1:
E0207000 - E0207FFF
FEBFE000 - FEBFEFFF
FABFE000 - FEBFDFFF
E/A FF00 - FFFF
E/A FD00 - FDFF
IRQ 10
000DF000 - 000DFFFF

Cardbus #2:
E0208000 - E0208FFF
FABFD000 - FABFDFFF
E4000000 - E7FFFFFF
E/A FC00 - FCFF
E/A FB00 - FBFF
IRQ 10
000DE000 - 000DEFFF

PCMCIA:
Function 0: IRQ 10, FB000000 - FBFFFFFF - dvb-t/analog TV tuner card
Function 1: IRQ 10, FC000000 - FCFFFFFF - Pinnacle PCTV 310c Audio AVStream Device
Function 2: IRQ 10, FD000000 - FDFFFFFF - TS capture device

/proc/iomem

30000000-33ffffff : PCI Bus #01
  30000000-31ffffff : PCI CardBus #02
  32000000-33ffffff : PCI CardBus #06
34000000-340003ff : 0000:00:1f.1
36000000-37ffffff : PCI CardBus #02
38000000-39ffffff : PCI CardBus #06
PCI: Bus 2, cardbus bridge: 0000:01:06.0
  IO window: 00003000-000030ff
  IO window: 00003400-000034ff
  PREFETCH window: 30000000-31ffffff
  MEM window: 36000000-37ffffff
PCI: Bus 6, cardbus bridge: 0000:01:06.1
  IO window: 00003800-000038ff
  IO window: 00003c00-00003cff
  PREFETCH window: 32000000-33ffffff
  MEM window: 38000000-39ffffff
PCI: Bridge: 0000:00:1e.0
  IO window: 3000-3fff
  MEM window: e0200000-e07fffff
  PREFETCH window: 30000000-33ffffff

lspci -vvv

03:00.0 Multimedia video controller: Conexant CX23880/1/2/3 PCI Video and Audio Decoder (rev 05)
        Subsystem: Yuan Yuan Enterprise Co., Ltd. Unknown device 1788
        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: 64 (5000ns min, 13750ns max)
        Interrupt: pin A routed to IRQ 10
        Region 0: Memory at 36000000 (32-bit, non-prefetchable) [size=16M]
        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-

03:00.1 Multimedia controller: Conexant CX23880/1/2/3 PCI Video and Audio Decoder [Audio Port] (rev 05)
        Subsystem: Yuan Yuan Enterprise Co., Ltd. Unknown device 1788
        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: 64 (1000ns min, 63750ns max)
        Interrupt: pin A routed to IRQ 10
        Region 0: Memory at 37000000 (32-bit, non-prefetchable) [size=16M]
        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-

03:00.2 Multimedia controller: Conexant CX23880/1/2/3 PCI Video and Audio Decoder [MPEG Port] (rev 05)
        Subsystem: Yuan Yuan Enterprise Co., Ltd. Unknown device 1788
        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
        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-