Bug 50411 - No color with MPX-885 (cx23885 chip)
Summary: No color with MPX-885 (cx23885 chip)
Status: NEW
Alias: None
Product: v4l-dvb
Classification: Unclassified
Component: cx88 (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: v4l-dvb_cx88
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-12 09:32 UTC by Michael
Modified: 2012-11-12 09:32 UTC (History)
0 users

See Also:
Kernel Version: 3.2
Subsystem:
Regression: No
Bisected commit-id:


Attachments
Image captured from MPX-885 (436.41 KB, image/png)
2012-11-12 09:32 UTC, Michael
Details

Description Michael 2012-11-12 09:32:19 UTC
Created attachment 86161 [details]
Image captured from MPX-885

Hello

There is "initial" support for the MPX-885 mini-pcie card, see here:

http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=commit;h=2cb9ccd4612907c0a30de9be1c694672e0cd8933

Testing an MPX-885 card on an Ubuntu 12.04 amd64 system with kernel 3.2.0.32 the driver in general works with the card. There are some problems, though:

1.) MINOR PROBLEM: The card is not auto-recognized. The module needs to be loaded with the option "card=32" to get it recognized.
2.) MINOR PROBLEM: With PAL camera, there is a black left border of about 20-30 pixel. No border on the right side.
3.) MAJOR PROBLEM: The image is mainly black & white only with some green and red information. There are vertical light green and red stripes

I have attached an image captured with the card. The cable in the background should be pure red. The box in the foreground has a green top. I hope we can fix this, so the card would get usable.

Here is the syslog from loading the module WITHOUT the card=32 option:
Nov 12 10:25:11 omnibox2 kernel: [  424.812439] cx23885 0000:04:00.0: PCI INT A disabled
Nov 12 10:25:15 omnibox2 kernel: [  428.144663] Linux video capture interface: v2.00
Nov 12 10:25:15 omnibox2 kernel: [  428.158172] cx23885 driver version 0.0.3 loaded
Nov 12 10:25:15 omnibox2 kernel: [  428.158340] cx23885 0000:04:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
Nov 12 10:25:15 omnibox2 kernel: [  428.158356] cx23885[0]: Board has no valid PCIe Subsystem ID and can't
Nov 12 10:25:15 omnibox2 kernel: [  428.158359] cx23885[0]: be autodetected. Pass card=<n> insmod option
Nov 12 10:25:15 omnibox2 kernel: [  428.158363] cx23885[0]: to workaround that. Redirect complaints to the
Nov 12 10:25:15 omnibox2 kernel: [  428.158366] cx23885[0]: vendor of the TV card.  Best regards,
Nov 12 10:25:15 omnibox2 kernel: [  428.158368] cx23885[0]:         -- tux
Nov 12 10:25:15 omnibox2 kernel: [  428.158375] cx23885[0]: Here is a list of valid choices for the card=<n> insmod option:
Nov 12 10:25:15 omnibox2 kernel: [  428.158381] cx23885[0]:    card=0 -> UNKNOWN/GENERIC
Nov 12 10:25:15 omnibox2 kernel: [  428.158387] cx23885[0]:    card=1 -> Hauppauge WinTV-HVR1800lp
Nov 12 10:25:15 omnibox2 kernel: [  428.158392] cx23885[0]:    card=2 -> Hauppauge WinTV-HVR1800
Nov 12 10:25:15 omnibox2 kernel: [  428.158398] cx23885[0]:    card=3 -> Hauppauge WinTV-HVR1250
Nov 12 10:25:15 omnibox2 kernel: [  428.158403] cx23885[0]:    card=4 -> DViCO FusionHDTV5 Express
Nov 12 10:25:15 omnibox2 kernel: [  428.158409] cx23885[0]:    card=5 -> Hauppauge WinTV-HVR1500Q
Nov 12 10:25:15 omnibox2 kernel: [  428.158414] cx23885[0]:    card=6 -> Hauppauge WinTV-HVR1500
Nov 12 10:25:15 omnibox2 kernel: [  428.158419] cx23885[0]:    card=7 -> Hauppauge WinTV-HVR1200
Nov 12 10:25:15 omnibox2 kernel: [  428.158424] cx23885[0]:    card=8 -> Hauppauge WinTV-HVR1700
Nov 12 10:25:15 omnibox2 kernel: [  428.158429] cx23885[0]:    card=9 -> Hauppauge WinTV-HVR1400
Nov 12 10:25:15 omnibox2 kernel: [  428.158435] cx23885[0]:    card=10 -> DViCO FusionHDTV7 Dual Express
Nov 12 10:25:15 omnibox2 kernel: [  428.158441] cx23885[0]:    card=11 -> DViCO FusionHDTV DVB-T Dual Express
Nov 12 10:25:15 omnibox2 kernel: [  428.158446] cx23885[0]:    card=12 -> Leadtek Winfast PxDVR3200 H
Nov 12 10:25:15 omnibox2 kernel: [  428.158452] cx23885[0]:    card=13 -> Compro VideoMate E650F
Nov 12 10:25:15 omnibox2 kernel: [  428.158457] cx23885[0]:    card=14 -> TurboSight TBS 6920
Nov 12 10:25:15 omnibox2 kernel: [  428.158462] cx23885[0]:    card=15 -> TeVii S470
Nov 12 10:25:15 omnibox2 kernel: [  428.158466] cx23885[0]:    card=16 -> DVBWorld DVB-S2 2005
Nov 12 10:25:15 omnibox2 kernel: [  428.158472] cx23885[0]:    card=17 -> NetUP Dual DVB-S2 CI
Nov 12 10:25:15 omnibox2 kernel: [  428.158477] cx23885[0]:    card=18 -> Hauppauge WinTV-HVR1270
Nov 12 10:25:15 omnibox2 kernel: [  428.158482] cx23885[0]:    card=19 -> Hauppauge WinTV-HVR1275
Nov 12 10:25:15 omnibox2 kernel: [  428.158487] cx23885[0]:    card=20 -> Hauppauge WinTV-HVR1255
Nov 12 10:25:15 omnibox2 kernel: [  428.158492] cx23885[0]:    card=21 -> Hauppauge WinTV-HVR1210
Nov 12 10:25:15 omnibox2 kernel: [  428.158497] cx23885[0]:    card=22 -> Mygica X8506 DMB-TH
Nov 12 10:25:15 omnibox2 kernel: [  428.158502] cx23885[0]:    card=23 -> Magic-Pro ProHDTV Extreme 2
Nov 12 10:25:15 omnibox2 kernel: [  428.158508] cx23885[0]:    card=24 -> Hauppauge WinTV-HVR1850
Nov 12 10:25:15 omnibox2 kernel: [  428.158513] cx23885[0]:    card=25 -> Compro VideoMate E800
Nov 12 10:25:15 omnibox2 kernel: [  428.158518] cx23885[0]:    card=26 -> Hauppauge WinTV-HVR1290
Nov 12 10:25:15 omnibox2 kernel: [  428.158523] cx23885[0]:    card=27 -> Mygica X8558 PRO DMB-TH
Nov 12 10:25:15 omnibox2 kernel: [  428.158528] cx23885[0]:    card=28 -> LEADTEK WinFast PxTV1200
Nov 12 10:25:15 omnibox2 kernel: [  428.158533] cx23885[0]:    card=29 -> GoTView X5 3D Hybrid
Nov 12 10:25:15 omnibox2 kernel: [  428.158539] cx23885[0]:    card=30 -> NetUP Dual DVB-T/C-CI RF
Nov 12 10:25:15 omnibox2 kernel: [  428.158544] cx23885[0]:    card=31 -> Leadtek Winfast PxDVR3200 H XC4000
Nov 12 10:25:15 omnibox2 kernel: [  428.158550] cx23885[0]:    card=32 -> MPX-885
Nov 12 10:25:15 omnibox2 kernel: [  428.159294] CORE cx23885[0]: subsystem: 0000:0000, board: UNKNOWN/GENERIC [card=0,autodetected]
Nov 12 10:25:15 omnibox2 kernel: [  428.295873] cx23885_dev_checkrevision() Hardware revision = 0xa5
Nov 12 10:25:15 omnibox2 kernel: [  428.295886] cx23885[0]/0: found at 0000:04:00.0, rev: 4, irq: 16, latency: 0, mmio: 0xfe600000
Nov 12 10:25:15 omnibox2 kernel: [  428.295906] cx23885 0000:04:00.0: setting latency timer to 64

And here with the card=32 option:
Nov 12 10:26:53 omnibox2 kernel: [  526.582960] Linux video capture interface: v2.00
Nov 12 10:26:53 omnibox2 kernel: [  526.595186] cx23885 driver version 0.0.3 loaded
Nov 12 10:26:53 omnibox2 kernel: [  526.595366] cx23885 0000:04:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
Nov 12 10:26:53 omnibox2 kernel: [  526.596591] CORE cx23885[0]: subsystem: 0000:0000, board: MPX-885 [card=32,insmod option]
Nov 12 10:26:53 omnibox2 kernel: [  526.743355] cx25840 3-0044: cx23885 A/V decoder found @ 0x88 (cx23885[0])
Nov 12 10:26:54 omnibox2 kernel: [  527.397690] cx25840 3-0044: loaded v4l-cx23885-avcore-01.fw firmware (16382 bytes)
Nov 12 10:26:54 omnibox2 kernel: [  527.414158] i2c-core: driver [tuner] using legacy suspend method
Nov 12 10:26:54 omnibox2 kernel: [  527.414172] i2c-core: driver [tuner] using legacy resume method
Nov 12 10:26:54 omnibox2 kernel: [  527.416920] cx23885[0]: registered device video0 [v4l2]
Nov 12 10:26:54 omnibox2 kernel: [  527.418163] cx23885[0]: registered device vbi0
Nov 12 10:26:54 omnibox2 kernel: [  527.421893] cx23885[0]: registered ALSA audio device
Nov 12 10:26:54 omnibox2 kernel: [  527.441264] cx23885_dev_checkrevision() Hardware revision = 0xa5
Nov 12 10:26:54 omnibox2 kernel: [  527.441283] cx23885[0]/0: found at 0000:04:00.0, rev: 4, irq: 16, latency: 0, mmio: 0xfe600000
Nov 12 10:26:54 omnibox2 kernel: [  527.441304] cx23885 0000:04:00.0: setting latency timer to 64

lspci -vvv:
04:00.0 Multimedia video controller: Conexant Systems, Inc. CX23885 PCI Video and Audio Decoder (rev 04)
	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: 64 bytes
	Interrupt: pin A routed to IRQ 16
	Region 0: Memory at fe600000 (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- Surprise- 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 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [90] Vital Product Data
		Unknown small resource type 00, will not decode more.
	Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+
		Address: 0000000000000000  Data: 0000
	Capabilities: [100 v1] Advanced Error Reporting
		UESta:	DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
		UEMsk:	DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
		UESvrt:	DLP+ SDES- TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
		CESta:	RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
		CEMsk:	RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
		AERCap:	First Error Pointer: 00, GenCap- CGenEn- ChkCap- ChkEn-
	Capabilities: [200 v1] Virtual Channel
		Caps:	LPEVC=0 RefClk=100ns PATEntryBits=1
		Arb:	Fixed+ WRR32+ WRR64+ WRR128-
		Ctrl:	ArbSelect=WRR64
		Status:	InProgress-
		Port Arbitration Table [240] <?>
		VC0:	Caps:	PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
			Arb:	Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
			Ctrl:	Enable+ ID=0 ArbSelect=Fixed TC/VC=01
			Status:	NegoPending- InProgress-
	Kernel driver in use: cx23885
	Kernel modules: cx23885

Note You need to log in before you can comment on or make changes to this bug.