Re: Unknown CX23885 device

2010-07-27 Thread Christian Iversen
On 2010-07-27 22:09, Steven Toth wrote:
> On 7/27/10 3:21 PM, Christian Iversen wrote:
>> (please CC, I'm not subscribed yet)
>>
>> Hey Linux-DVB people
>>
>> I'm trying to make an as-of-yet unsupported CX23885 device work in Linux.
> 
> http://kernellabs.com/hg/~stoth/cx23885-mpx/
> 
> Try this and if necessary module option card=29.

Without card=29, nothing was found. This is with card=29, but still
no /dev/dvb nodes.

[ 6287.278003]  2010-07-27 22:38:24 
[ 6288.248799] Linux video capture interface: v2.00
[ 6288.268106] cx23885 driver version 0.0.2 loaded
[ 6288.268273] cx23885 :02:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 6288.268276] cx23885[0]: cx23885_dev_setup() Memory configured for PCIe 
bridge type 885
[ 6288.268396] CORE cx23885[0]: subsystem: 1461:c139, board: MPX-885 
[card=29,insmod option]
[ 6288.268398] cx23885[0]: cx23885_pci_quirks()
[ 6288.268402] cx23885[0]: cx23885_dev_setup() tuner_type = 0x0 tuner_addr = 0x0
[ 6288.268404] cx23885[0]: cx23885_dev_setup() radio_type = 0x0 radio_addr = 0x0
[ 6288.268405] cx23885[0]: cx23885_reset()
[ 6288.368410] cx23885[0]: cx23885_sram_channel_setup() Configuring channel 
[VID A]
[ 6288.368421] cx23885[0]: cx23885_sram_channel_setup() Erasing channel [ch2]
[ 6288.368423] cx23885[0]: cx23885_sram_channel_setup() Configuring channel 
[TS1 B]
[ 6288.368436] cx23885[0]: cx23885_sram_channel_setup() Erasing channel [ch4]
[ 6288.368437] cx23885[0]: cx23885_sram_channel_setup() Erasing channel [ch5]
[ 6288.368439] cx23885[0]: cx23885_sram_channel_setup() Configuring channel 
[TS2 C]
[ 6288.368452] cx23885[0]: cx23885_sram_channel_setup() Configuring channel [TV 
Audio]
[ 6288.368467] cx23885[0]: cx23885_sram_channel_setup() Erasing channel [ch8]
[ 6288.368469] cx23885[0]: cx23885_sram_channel_setup() Erasing channel [ch9]
[ 6288.399900] cx25840 2-0044: cx23885 A/V decoder found @ 0x88 (cx23885[0])
[ 6288.404410] cx25840 2-0044: firmware: requesting v4l-cx23885-avcore-01.fw
[ 6289.042011] cx25840 2-0044: loaded v4l-cx23885-avcore-01.fw firmware (16382 
bytes)
[ 6289.054227] cx23885[0]: registered device video0 [v4l2]
[ 6289.054244] cx23885[0]: registered device vbi0
[ 6289.054320] cx23885[0]: registered ALSA audio device
[ 6289.068837] cx23885_dev_checkrevision() Hardware revision = 0xb0
[ 6289.068845] cx23885[0]/0: found at :02:00.0, rev: 2, irq: 16, latency: 
0, mmio: 0xd7a0
[ 6289.068855] cx23885 :02:00.0: setting latency timer to 64
[ 6289.068859] IRQ 16/cx23885[0]: IRQF_DISABLED is not guaranteed on shared IRQs

What's the preferred method of pulling the source, btw?

I just downloaded a .tar.gz. It works, but updating is not pleasant :)

-- 
Med venlig hilsen
Christian Iversen
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Unknown CX23885 device

2010-07-27 Thread Steven Toth

On 7/27/10 3:21 PM, Christian Iversen wrote:

(please CC, I'm not subscribed yet)

Hey Linux-DVB people

I'm trying to make an as-of-yet unsupported CX23885 device work in Linux.


http://kernellabs.com/hg/~stoth/cx23885-mpx/

Try this and if necessary module option card=29.

Any good?

- Steve

--
Steven Toth - Kernel Labs
http://www.kernellabs.com


--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Unknown CX23885 device

2010-07-27 Thread Christian Iversen

On 2010-07-27 21:37, Alex Deucher wrote:

On Tue, Jul 27, 2010 at 3:21 PM, Christian Iversen
  wrote:

(please CC, I'm not subscribed yet)

Hey Linux-DVB people

I'm trying to make an as-of-yet unsupported CX23885 device work in Linux.

I've tested that the device is not supported using the newest snapshot
of the DVB drivers. They did support a bunch of extra devices compared
to the standard ubuntu driver, but to no avail.

This is what I know about the device:

### physical description ###

The device is a small mini-PCIe device currently installed in my
Thinkpad T61p notebook. It did not originate there, but I managed to fit it
in.


How are you attaching the video/audio/antenna/etc. input to the pcie
card?  I don't imagine the card is much use without external
connectors.


For now, I'm using a wifi-antenna lead to connect it. I think that 
should at least work as a proof-of-concept. Even if I can't tune in any 
channels, I should still be able to control the card, which I can't 
right now.


When/if it has a chance of working, I'm planning to mod my laptop to fit 
an antenna lead, properly mounted.


Any suggestions for proceeding?

--
Med venlig hilsen
Christian Iversen
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Unknown CX23885 device

2010-07-27 Thread Alex Deucher
On Tue, Jul 27, 2010 at 3:21 PM, Christian Iversen
 wrote:
> (please CC, I'm not subscribed yet)
>
> Hey Linux-DVB people
>
> I'm trying to make an as-of-yet unsupported CX23885 device work in Linux.
>
> I've tested that the device is not supported using the newest snapshot
> of the DVB drivers. They did support a bunch of extra devices compared
> to the standard ubuntu driver, but to no avail.
>
> This is what I know about the device:
>
> ### physical description ###
>
> The device is a small mini-PCIe device currently installed in my
> Thinkpad T61p notebook. It did not originate there, but I managed to fit it
> in.

How are you attaching the video/audio/antenna/etc. input to the pcie
card?  I don't imagine the card is much use without external
connectors.

Alex

>
> It has an "Avermedia" logo on top, but no other discernable markings.
> I've tried removing the chip cover, but I can't see any other major chips
> than the cx23885. I can take a second look, if I know what to look for.
>
> ### pci info ###
>
> $ sudo lspci -s 02:00.0 -vv
> 02:00.0 Multimedia video controller: Conexant Systems, Inc. CX23885 PCI
> Video and Audio Decoder (rev 02)
>        Subsystem: Avermedia Technologies Inc Device c139
>        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
> Stepping- SERR+ FastB2B- DisINTx-
>        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
> SERR-         Latency: 0, Cache Line Size: 64 bytes
>        Interrupt: pin A routed to IRQ 16
>        Region 0: Memory at d7a0 (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+
> Queue=0/0 Enable-
>                Address:   Data: 
>        Capabilities: [100] Advanced Error Reporting 
>        Capabilities: [200] Virtual Channel 
>        Kernel driver in use: cx23885
>        Kernel modules: cx23885
>
>
> I've tried several different card=X settings for "modprobe cx23885", and a
> few of them result in creation of /dev/dvb devices, but none of them really
> seem towork.
>
> What can I try for a next step?
>
> --
> Med venlig hilsen
> Christian Iversen
>
> ___
> linux-dvb users mailing list
> For V4L/DVB development, please use instead linux-media@vger.kernel.org
> linux-...@linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
> --
> To unsubscribe from this list: send the line "unsubscribe linux-media" in
> the body of a message to majord...@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Unknown CX23885 device

2010-07-27 Thread Christian Iversen

(please CC, I'm not subscribed yet)

Hey Linux-DVB people

I'm trying to make an as-of-yet unsupported CX23885 device work in Linux.

I've tested that the device is not supported using the newest snapshot
of the DVB drivers. They did support a bunch of extra devices compared
to the standard ubuntu driver, but to no avail.

This is what I know about the device:

### physical description ###

The device is a small mini-PCIe device currently installed in my
Thinkpad T61p notebook. It did not originate there, but I managed to fit 
it in.


It has an "Avermedia" logo on top, but no other discernable markings.
I've tried removing the chip cover, but I can't see any other major chips
than the cx23885. I can take a second look, if I know what to look for.

### pci info ###

$ sudo lspci -s 02:00.0 -vv
02:00.0 Multimedia video controller: Conexant Systems, Inc. CX23885 PCI 
Video and Audio Decoder (rev 02)

Subsystem: Avermedia Technologies Inc Device c139
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- 
ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- 
SERR- 
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 16
Region 0: Memory at d7a0 (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+ 
Queue=0/0 Enable-

Address:   Data: 
Capabilities: [100] Advanced Error Reporting 
Capabilities: [200] Virtual Channel 
Kernel driver in use: cx23885
Kernel modules: cx23885


I've tried several different card=X settings for "modprobe cx23885", and 
a few of them result in creation of /dev/dvb devices, but none of them 
really seem towork.


What can I try for a next step?

--
Med venlig hilsen
Christian Iversen

___
linux-dvb users mailing list
For V4L/DVB development, please use instead linux-media@vger.kernel.org
linux-...@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html