Mailing List Archive

[UNKNOWN IVTV CARD] Sony TV card
I've got a Sony TV card extracted from the unknown (Sony?) brandname computer.
Unfortunately, "ivtv" driver can't recognize it and aviced me to post
IDs to this list ;)

This card has labels: "Sony", "PCVA-IMB5A", "ENX-26"


[root@dio ~]# dmesg
[......]
ivtv: Start initialization, version 1.4.1
ivtv0: Initializing card 0
ivtv0: Unknown card: vendor/device: [4444:0016]
ivtv0: subsystem vendor/device: [104d:813d]
ivtv0: cx23416 based
ivtv0: Defaulting to Hauppauge WinTV PVR-150 card
ivtv0: Please mail the vendor/device and subsystem vendor/device IDs
and what kind of
ivtv0: card you have to the ivtv-devel mailinglist (www.ivtvdriver.org)
ivtv0: Prefix your subject line with [UNKNOWN IVTV CARD].
ivtv 0000:01:01.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
tveeprom 1-0050: Encountered bad packet header [aa]. Corrupt or not a
Hauppauge eeprom.
ivtv0: Invalid EEPROM
cx25840 1-0044: cx25 0-21 found @ 0x88 (ivtv i2c driver #0)
All bytes are equal. It is not a TEA5767
tuner 1-0060: chip found @ 0xc0 (ivtv i2c driver #0)
wm8775 1-001b: chip found @ 0x36 (ivtv i2c driver #0)
wm8775 1-001b: I2C: cannot write 000 to register R23
wm8775 1-001b: I2C: cannot write 000 to register R7
wm8775 1-001b: I2C: cannot write 021 to register R11
wm8775 1-001b: I2C: cannot write 102 to register R12
wm8775 1-001b: I2C: cannot write 000 to register R13
wm8775 1-001b: I2C: cannot write 1d4 to register R14
wm8775 1-001b: I2C: cannot write 1d4 to register R15
wm8775 1-001b: I2C: cannot write 1bf to register R16
wm8775 1-001b: I2C: cannot write 185 to register R17
wm8775 1-001b: I2C: cannot write 0a2 to register R18
wm8775 1-001b: I2C: cannot write 005 to register R19
wm8775 1-001b: I2C: cannot write 07a to register R20
wm8775 1-001b: I2C: cannot write 102 to register R21
IRQ 17/ivtv0: IRQF_DISABLED is not guaranteed on shared IRQs
ivtv0: Registered device video1 for encoder MPG (4096 kB)
ivtv0: Registered device video33 for encoder YUV (2048 kB)
ivtv0: Registered device vbi1 for encoder VBI (1024 kB)
ivtv0: Registered device video25 for encoder PCM (320 kB)
ivtv0: Registered device radio1 for encoder radio
ivtv0: Initialized card: Hauppauge WinTV PVR-150
ivtv: End initialization
ivtv 0000:01:01.0: firmware: requesting v4l-cx2341x-enc.fw
ivtv0: Loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
ivtv0: Encoder revision: 0x02060039
cx25840 1-0044: firmware: requesting v4l-cx23885-avcore-01.fw
cx25840 1-0044: unable to open firmware v4l-cx23885-avcore-01.fw
wm8775 1-001b: I2C: cannot write 0c0 to register R21
wm8775 1-001b: I2C: cannot write 1d4 to register R14
wm8775 1-001b: I2C: cannot write 1d4 to register R15
wm8775 1-001b: I2C: cannot write 102 to register R21
tuner 1-0060: tuner type not set
wm8775 1-001b: I2C: cannot write 0c0 to register R21
wm8775 1-001b: I2C: cannot write 1d4 to register R14
wm8775 1-001b: I2C: cannot write 1d4 to register R15
wm8775 1-001b: I2C: cannot write 102 to register R21
tuner 1-0060: tuner type not set
tuner 1-0060: tuner type not set
wm8775 1-001b: I2C: cannot write 0c0 to register R21
wm8775 1-001b: I2C: cannot write 1d4 to register R14
wm8775 1-001b: I2C: cannot write 1d4 to register R15
wm8775 1-001b: I2C: cannot write 108 to register R21
tuner 1-0060: tuner type not set
wm8775 1-001b: I2C: cannot write 0c0 to register R21
wm8775 1-001b: I2C: cannot write 1d4 to register R14
wm8775 1-001b: I2C: cannot write 1d4 to register R15
wm8775 1-001b: I2C: cannot write 102 to register R21


[root@dio ~]# lspci -vv

[....]
01:01.0 Multimedia video controller: Internext Compression Inc iTVC16
(CX23416) MPEG-2 Encoder (rev 01)
Subsystem: Sony Corporation Device 813d
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop-
ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium
>TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64 (32000ns min, 2000ns max), Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 17
Region 0: Memory at e8000000 (32-bit, prefetchable) [size=64M]
Capabilities: [44] 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-
Kernel driver in use: ivtv
Kernel modules: ivtv
[....]

_______________________________________________
ivtv-devel mailing list
ivtv-devel@ivtvdriver.org
http://ivtvdriver.org/mailman/listinfo/ivtv-devel
Re: [UNKNOWN IVTV CARD] Sony TV card [ In reply to ]
On Monday 19 October 2009 15:20:34 Alexander Voropay wrote:
> I've got a Sony TV card extracted from the unknown (Sony?) brandname computer.
> Unfortunately, "ivtv" driver can't recognize it and aviced me to post
> IDs to this list ;)
>
> This card has labels: "Sony", "PCVA-IMB5A", "ENX-26"

Sorry for the late reply, it's been very busy lately.

I went through the archives and apparently Eric Anderson managed to get this
working almost two years ago. For whatever reason I never picked up this
patch (hint: if I seem to ignore an email, then mail again after a week to
remind me!).

I have attached his original patch and reproduced his email below and CC-ed
him as well:

On Wednesday 09 January 2008 07:52:30 Eric Anderson wrote:
>
> I've had this card working for a while now (104d/813d) with myth.
> Attached is a patch against
> video4linux-20071208. A few notes:
>
> 1. The tuner on the card doesn't seem to match any standard
> ones. I modified
> an existing tuner entry. Ideally a new tuner entry should be
> created. (The only
> difference from the one I modified is that the low-to-mid range
> frequency cut-off
> is slightly different, as are the bit config settings.)
>
> 2. It wasn't obvious how to choose a second audio input other
> than using "radio" as an option.
> Basically there's two GPIO audio inputs. Using radio allowed me
> to avoid major restructuring
> to the code. (perhaps other cards don't have this often../)
>
> 3. It's not clear that there's a mute setting that works. Not
> sure why.
>
> 4. I haven't had a chance to test the two Svideo inputs. I set
> them to COMPOSITE1 and
> SVIDEO2, but I'm not sure those are the correct settings. The
> standard composite video
> inputs seem to work.
>
> Hans, can you pick up this patch as-is? Or does it need more cleaning
> up? Or more information?
> I'm also happy to test out a future build if you have a chance to
> merge it in.
>
> Thanks.
>
> -Eric
>

Eric, did you work more on this?

I have prepared a repository which adds this patch (with a few small minor
modifications):

http://www.linuxtv.org/hg/~hverkuil/v4l-dvb-ivtv

Alexander, can you test this? Instructions on building that tree are here:

http://www.ivtvdriver.org/index.php/Download#Bleeding_Edge_driver

(just replace the v4l-dvb repository in that description with mine).

Eric, even if you have no time to look at this, I would like to get a
'Signed-off-by' line from you (see here:
http://www.linuxtv.org/wiki/index.php/Development:_How_to_submit_patches).
That allows me to merge it into the kernel if this patch works.

The other thing we need is which tuner model is used by Eric's and Alexander's
cards. Eric provided a workaround patch that modified one tuner, but it
probably should become a new tuner definition. And then we need to know
which tuner it is. I'm also not sure what tuner Alexander has: it might be
a different one.

I've also CC-ed Andy Walls since I have no idea whether I will have the time
to work more on this. All my weekends for the rest of the year are already
pretty full, so I hope Andy can take over from me. Or at least help with
answering mailinglist posts...

Regards,

Hans

--
Hans Verkuil - video4linux developer - sponsored by TANDBERG Telecom
Re: [UNKNOWN IVTV CARD] Sony TV card [ In reply to ]
On Sun, 2009-11-15 at 14:57 +0100, Hans Verkuil wrote:

>
> I've also CC-ed Andy Walls since I have no idea whether I will have the time
> to work more on this. All my weekends for the rest of the year are already
> pretty full, so I hope Andy can take over from me. Or at least help with
> answering mailinglist posts...

I'll add it to my pile. I've got a bit of ivtv (IR) and cx25840 module
problems or ptahces backed up that I need to clear out though.

For most of this coming week, I'll only be able to read emails (not
send), but I will check IRC (#v4l and #linuxtv) in the evenings.

Regards,
Andy




_______________________________________________
ivtv-devel mailing list
ivtv-devel@ivtvdriver.org
http://ivtvdriver.org/mailman/listinfo/ivtv-devel
Re: [UNKNOWN IVTV CARD] Sony TV card [ In reply to ]
On Sun, 2009-11-15 at 14:57 +0100, Hans Verkuil wrote:
> On Monday 19 October 2009 15:20:34 Alexander Voropay wrote:
> > I've got a Sony TV card extracted from the unknown (Sony?) brandname computer.
> > Unfortunately, "ivtv" driver can't recognize it and aviced me to post
> > IDs to this list ;)
> >
> > This card has labels: "Sony", "PCVA-IMB5A", "ENX-26"
>
> Sorry for the late reply, it's been very busy lately.
>
> I went through the archives and apparently Eric Anderson managed to get this
> working almost two years ago. For whatever reason I never picked up this
> patch (hint: if I seem to ignore an email, then mail again after a week to
> remind me!).
>
> I have attached his original patch and reproduced his email below and CC-ed
> him as well:
>
> On Wednesday 09 January 2008 07:52:30 Eric Anderson wrote:
> >
> > I've had this card working for a while now (104d/813d) with myth.
> > Attached is a patch against
> > video4linux-20071208. A few notes:
> >
> > 1. The tuner on the card doesn't seem to match any standard
> > ones. I modified
> > an existing tuner entry. Ideally a new tuner entry should be
> > created. (The only
> > difference from the one I modified is that the low-to-mid range
> > frequency cut-off
> > is slightly different, as are the bit config settings.)
> >
> > 2. It wasn't obvious how to choose a second audio input other
> > than using "radio" as an option.
> > Basically there's two GPIO audio inputs. Using radio allowed me
> > to avoid major restructuring
> > to the code. (perhaps other cards don't have this often../)
> >
> > 3. It's not clear that there's a mute setting that works. Not
> > sure why.
> >
> > 4. I haven't had a chance to test the two Svideo inputs. I set
> > them to COMPOSITE1 and
> > SVIDEO2, but I'm not sure those are the correct settings. The
> > standard composite video
> > inputs seem to work.
> >
> > Hans, can you pick up this patch as-is? Or does it need more cleaning
> > up? Or more information?
> > I'm also happy to test out a future build if you have a chance to
> > merge it in.
> >
> > Thanks.
> >
> > -Eric
> >
>
> Eric, did you work more on this?
>
> I have prepared a repository which adds this patch (with a few small minor
> modifications):
>
> http://www.linuxtv.org/hg/~hverkuil/v4l-dvb-ivtv
>
> Alexander, can you test this? Instructions on building that tree are here:
>
> http://www.ivtvdriver.org/index.php/Download#Bleeding_Edge_driver
>
> (just replace the v4l-dvb repository in that description with mine).
>
> Eric, even if you have no time to look at this, I would like to get a
> 'Signed-off-by' line from you (see here:
> http://www.linuxtv.org/wiki/index.php/Development:_How_to_submit_patches).
> That allows me to merge it into the kernel if this patch works.
>
> The other thing we need is which tuner model is used by Eric's and Alexander's
> cards. Eric provided a workaround patch that modified one tuner, but it
> probably should become a new tuner definition. And then we need to know
> which tuner it is. I'm also not sure what tuner Alexander has: it might be
> a different one.


I found pictures of the ENX-20 KIKYOU on Japanese auction sites. The
various units shown all look the same. The tuner assemblies made by
Sony have these markings

8-598-604-00
BTF-PJ301Z SONY
MADE IN JAPAN
K 2H29 AC

8-598-604-00
BTF-PJ301Z SONY
MADE IN JAPAN
K 2M18 AD

8-598-604-00
BTF-PJ301Z SONY
MADE IN JAPAN
K 2K01 AD

8-598-632-00
BTF-PJ401Z SONY
MADE IN CHINA
T 3E24 AK


So that's only two different tuner assemblies really

Sony Part # 859863200
Tuner Model # BTF-PJ401Z

Sony Part # 859860400
Tuner Model # BTF-PJ301Z

The PJ401Z is confirmed as the proper model number on this page:
http://www.ued.net/catalog/cat_item_idx_5268.html

I can find no information about these tuner assemblies, what TV systems
they support, or how to program them. Experimentation looks like the
best we can get aside from any comments in the Windows *.inf files.

Regards,
Andy


> I've also CC-ed Andy Walls since I have no idea whether I will have the time
> to work more on this. All my weekends for the rest of the year are already
> pretty full, so I hope Andy can take over from me. Or at least help with
> answering mailinglist posts...
>
> Regards,
>
> Hans



_______________________________________________
ivtv-devel mailing list
ivtv-devel@ivtvdriver.org
http://ivtvdriver.org/mailman/listinfo/ivtv-devel