Geniatech/MyGica X8507 PCI-Express Hybrid Card

From LinuxTVWiki
Jump to navigation Jump to search

PCI-Express receiver card, it allows you access free-to-air Brazilian standard digital terrestrial TV , analogue TV, FM radio and digital radio. It record and save TV programs directly in MPEG-II/H264 TS file.

Overview/Features

  • PCI-e interface
  • Inputs: Antenna, S-Video, Composite, YPbPr, IR and Stereo Audio

Components Used

Other Images

MyGica X8507 board cx23885 mb86a20s xc5000 MyGica X8507 board MyGica X8507 board


Identification

# lspci -vvvnn
03:00.0 Multimedia video controller [0400]: Conexant Systems, Inc. CX23885 PCI Video and Audio Decoder [14f1:8852] (rev 02)
       Subsystem: Conexant Systems, Inc. Device [14f1:8502]
       Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
       Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
       Latency: 0, Cache Line Size: 32 bytes
       Interrupt: pin A routed to IRQ 18
       Region 0: Memory at fe800000 (64-bit, non-prefetchable) [size=2M]
       Capabilities: [40] Express (v1) Endpoint, MSI 00
               DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <64ns, L1 <1us
                       ExtTag- AttnBtn- AttnInd- PwrInd- RBE- FLReset-
               DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
                       RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
                       MaxPayload 128 bytes, MaxReadReq 512 bytes
               DevSta: CorrErr- UncorrErr+ FatalErr- UnsuppReq+ AuxPwr- TransPend-
               LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Latency L0 <2us, L1 <4us
                       ClockPM- Suprise- LLActRep- BwNot-
               LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk-
                       ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
               LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
       Capabilities: [80] 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-
       Capabilities: [90] Vital Product Data <?>
       Capabilities: [a0] Message Signalled Interrupts: Mask- 64bit+ Count=1/1 Enable-
               Address: 0000000000000000  Data: 0000
       Capabilities: [100] Advanced Error Reporting
               UESta:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq+ ACSVoil-
               UEMsk:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSVoil-
               UESvrt: DLP+ SDES- TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSVoil-
               CESta:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
               CESta:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
               AERCap: First Error Pointer: 14, GenCap- CGenEn- ChkCap- ChkEn-
       Capabilities: [200] Virtual Channel <?>
       Kernel driver in use: cx23885
       Kernel modules: cx23885

Making it Work

Firmware

Drivers

Only analog TV --> Needed kernel > = 3.5

Analog input --> Needed kernel > = 3.7

Remote control --> Needed kernel > = 3.9

ISDB-t --> Needed kernel > = 3.12

Or latest drivers:

http://www.linuxtv.org/wiki/index.php/How_to_Obtain,_Build_and_Install_V4L-DVB_Device_Drivers

Radio = not yet; but see http://www.mail-archive.com/linux-media@vger.kernel.org/msg67291.html

Sample Kernel Output

dmesg

 cx23885 driver version 0.0.3 loaded
 CORE cx23885[0]: subsystem: 14f1:8502, board: Mygica X8502/X8507 ISDB-T [card=33,autodetected]
 cx25840 3-0044: cx23885 A/V decoder found @ 0x88 (cx23885[0])
 cx25840 3-0044: loaded v4l-cx23885-avcore-01.fw firmware (16382 bytes)
 tuner 2-0061: Tuner -1 found with type(s) Radio TV.
 xc5000 2-0061: creating new instance
 xc5000: Successfully identified at address 0x61
 xc5000: Firmware has not been loaded previously
 cx23885[0]: registered device video0 [v4l2]
 cx23885[0]: registered device vbi1
 cx23885[0]: registered ALSA audio device
 xc5000: waiting for firmware upload (dvb-fe-xc5000-1.6.114.fw)...
 xc5000: firmware read 12401 bytes.
 xc5000: firmware uploading...
 xc5000: firmware upload complete...
 cx23885_dvb_register() allocating 1 frontend(s)
 cx23885[0]: cx23885 based dvb card
 i2c i2c-1: Detected a Fujitsu mb86a20s frontend
 xc5000 2-0061: attaching existing instance
 xc5000: Successfully identified at address 0x61
 xc5000: Firmware has been loaded previously
 DVB: registering new adapter (cx23885[0])
 cx23885 0000:02:00.0: DVB: registering adapter 0 frontend 0 (Fujitsu mb86A20s)...
 cx23885_dev_checkrevision() Hardware revision = 0xb0
 cx23885[0]/0: found at 0000:02:00.0, rev: 2, irq: 18, latency: 0, mmio: 0xfd400000
 Registered IR keymap rc-total-media-in-hand-02
 input: cx23885 IR (Mygica X8502/X8507 ISDB-T) as /devices/pci0000:00/0000:00:06.0/0000:02:00.0/rc/rc2/input17
 rc2: cx23885 IR (Mygica X8502/X8507 ISDB-T) as /devices/pci0000:00/0000:00:06.0/0000:02:00.0/rc/rc2
 input: MCE IR Keyboard/Mouse (cx23885) as /devices/virtual/input/input18
 rc rc2: lirc_dev: driver ir-lirc-codec (cx23885) registered at minor = 0


Remote Control Support


Disabled by default

In OpenSUSE add this line to: /etc/modprobe.d/50-tv.conf

alias char-mayor-81 videodev
options cx23885 enable_885_ir=1 

External Links