LinHES Forums
http://forum.linhes.org/

new to knoppmyth. without cable
http://forum.linhes.org/viewtopic.php?f=14&t=5804
Page 1 of 1

Author:  kenadak [ Thu Aug 25, 2005 10:57 pm ]
Post subject:  new to knoppmyth. without cable

ok, I've got knoppMyth installed...

basic system info:
asus A7V8X-X
1gb ram
250 gb HD
amd 2500 athalon
d-link dwl520
EZ media TV Expert 350 (based on philips saa7135hl/101 tuner on a chip)

Linux sees the card (according to dmesg):
<SNIP>
Linux video capture interface: v1.00
saa7130/34: v4l2 driver version 0.2.12 loaded
ACPI: PCI interrupt 0000:00:0b.0[A] -> GSI 19 (level, low) -> IRQ 19
saa7133[0]: found at 0000:00:0b.0, rev: 240, irq: 19, latency: 32, mmio: 0xd4800000
saa7133[0]: subsystem: 12ab:0800, board: UPMOST PURPLE TV [card=36,autodetected]
saa7133[0]: board init: gpio is 0
saa7133[0]: dsp access wait timeout [bit=WRR]
saa7133[0]: dsp access wait timeout [bit=WRR]
saa7133[0]: i2c eeprom 00: ab 12 00 08 00 00 00 00 00 00 00 00 00 00 00 00
saa7133[0]: i2c eeprom 10: ff ff ff ff 15 00 05 01 13 c2 db ff ff ff ff ff
saa7133[0]: i2c eeprom 20: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
tuner 0-004b: chip found @ 0x96 (saa7133[0])
tuner 0-004b: type set to 43 (Philips NTSC MK3 (FM1236MK3 or FM1236/F))
saa7133[0]: registered device video0 [v4l2]
saa7133[0]: registered device vbi0
<SNIP>

I do not have cable... all I want to do is use the S-Video input

2 things I've noticed about mythtv...

1: hitting escape brings me to a question "do you want to leave mythtv: yes? no?" it can take up to 1 full minute to see this message...

2: click on watch TV and it shows a black screen for about 30-45 seconds and comes back to the front end...

my first question is: is there a way to just bring up a video window from the capture card (S-video input) to insure its working?

second: am I missing some basic setup step or is this card not supported?

third: once it is working how do I tell mythtv to use it.

<quick adendum>

mythbackend tells me:

QServerSocket: failed to bind or listen to the socket.
Faild to bind to port 6543
... huh? whats that mean... do I really need a network connection (which is infact working)

I have created video sorces, I've created capture devices, I've added channels by hand, I've told it to default to s-video... nothin'

any help is apprciated... any more info you might need I'll be happy to add

Author:  khrusher [ Fri Aug 26, 2005 5:45 am ]
Post subject: 

I think you should be able to test the board with mplayer from the command line

Author:  kenadak [ Fri Aug 26, 2005 8:25 am ]
Post subject:  output from mplayer

khrusher wrote:
I think you should be able to test the board with mplayer from the command line


output from mplayer using mplayer tv:// -tv driver=v4l2:input=1

MPlayer 1.0pre6-3.3.5 (C) 2000-2004 MPlayer Team
CPU: Advanced Micro Devices Athlon MP/XP/XP-M Barton (Family: 6, Stepping: 0)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled with runtime CPU detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection.


Setting up LIRC support...
Playing tv://.
TV detected! ;-)
Selected driver: v4l2
name: Video 4 Linux 2 input
author: Martin Olschewski <olschewski@zpr.uni-koeln.de>
comment: first try, more to come ;-)
Selected device: UPMOST PURPLE TV
Tuner cap: STEREO LANG1 LANG2
Tuner rxs: MONO
Capabilites: video capture video overlay VBI capture device tuner read/write streaming
supported norms: 0 = PAL; 1 = PAL-BG; 2 = PAL-I; 3 = PAL-DK; 4 = NTSC; 5 = SECAM; 6 = PAL-M; 7 = PAL-Nc; 8 = PAL-60;
inputs: 0 = Television; 1 = S-Video;
Current input: 1
Current format: BGR24
v4l2: current audio mode is : MONO
vo: X11 running at 1024x768 with depth 16 and 16 bpp (":0.0" => local display)
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 640 x 480 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 640x480 => 640x480 Planar YV12
Selected video codec: [rawyv12] vfm:raw (RAW YV12)
==========================================================================
Audio: no sound
Starting playback...

a black window shows up... I have a good s-video cable and the output of the reciever is working properly...

Author:  kenadak [ Fri Aug 26, 2005 8:59 am ]
Post subject: 

OK, so this was posted in the Video4Linux mailing list this past monday (Aug. 22 2005) I don't quite speak V4L jargon so if anyone here can translate what this means my feable attempt to read it says something to the affect that V4L missinterprets the card/decoder configuration and assigns is Upmost Purple TV? does this mean this card is not yet supported and they just added a fix on monday?

----<====== Posted from Video4Linux-list mailing list =====>----

hi all,
Thanks for the replies, i made a card definition already and this has been
submitted to mkrufy, i have to implement Ir and radio and test a lot of stuff
and will, check all the things you mention about ir and others.

pci id repository obliviously says 12ab Yuan technologies.
and my card is also defently a 8275/90 tuner.

the remote control seams to be i2c, i can't find any gpio messages, either
under linux nor windows, also the windows driver has no trace of any IR init
or definition, it is 100% image/sound. regspy doesn't record any change when
i start the irwatch.exe under windows. so i supppose this is really not
passing thru gpio


i will also contact Wang-Chan Chen <m8923014@xxxxxxxxxxxxxxx>
but i think he got a bad eeprom sloped on his board, if you compare the card
definitions on bttv-gallery, you will, imo, quickly come to the same
conclusion. but i can be wrong.

here is a new dmesg dump, look at the card number

saa7133[0]: subsystem: 12ab:0800, board: Yuan TUN-900 (saa7135)
[card=65,autodetected]
saa7133[0]: board init: gpio is 1
saa7133[0]: dsp access wait timeout [bit=WRR]
saa7133[0]: dsp access wait timeout [bit=WRR]
saa7133[0]: dsp access wait timeout [bit=WRR]
: chip found @ 0x96 (saa7133[0])
tuner 0-004b: tuner: type set to tda8290+75
saa7133[0]: i2c eeprom 00: ab 12 00 08 00 00 00 00 00 00 00 00 00 00 00 00
saa7133[0]: i2c eeprom 10: ff ff ff ff 15 00 05 01 13 c2 db ff ff ff ff ff
saa7133[0]: i2c eeprom 20: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: registered device video0 [v4l2]
saa7133[0]: registered device vbi0
saa7133[0]: registered device radio0

Cheers

Le Lundi 22 Août 2005 01:24, hermann pitton a écrit :
> Am Sonntag, den 21.08.2005, 23:50 +0400 schrieb Nickolay V. Shmyrev:
> > В Втр, 16/08/2005 в 23:05 +0200, [Webgeeks Admin] пишет:
> > > Hi all,
> > > I have some troubles to get my board working, i compiled brand new
> > > source from CVS. And got no signal in tvtime, The board is detected as
> > > a UPMOST PURPLE TV, that one is in fact the TUN800, it seams that the
> > > pci-id are the same, but it isn't my model at all, my board is a Yuan
> > > TUN900 Rev 1.4, and the package says, Xpertvision FunTv, it comes with
> > > a remote control and has also a radio built in. The card is shown on
> > > www.bttv-gallery.de look for TUN-900 i took a look on the chips and so
> > > on, it is a saa7135/HL, you will see that tuners are supposed to be
> > > TDA8290 and 8275 and from the windows drivers i suppose there are some
> > > gpio init/handling stuff also.
> > >
> > > mkrufky from #v4l on irc.freenode.net, told me that I might get some
> > > advice on this list.
> > >
> > > any info about how to get this card to work is welcome,
> > > i hope i have been clear enough, if not, you can find me on
> > > irc.freenode.net #v4l
> > >
> > > Regards,
> > >
> > > here is a little bit more info i grabbed :
> > >
> > > lspci -vn (took the part concerning my card)
> > >
> > > 0000:02:02.0 0480: 1131:7133 (rev f0)
> > > Subsystem: 12ab:0800
> > > Flags: bus master, medium devsel, latency 32, IRQ 209
> > > Memory at ea001000 (32-bit, non-prefetchable) [size=2K]
> > > Capabilities: [40] Power Management version 2
> > >
> > > cat /proc/version
> > >
> > > Linux version 2.6.8-2-686 (horms@xxxxxxxxxxxxxxxxxxxxxxxxxxx) (gcc
> > > version 3.3.5 (Debian 1:3.3.5-12)) #1 Thu May 19 17:53:30 JST 2005
> > >
> > > and modprobe
> > > saa7130/34: v4l2 driver version 0.2.14 loaded
> > > ACPI: PCI interrupt 0000:02:02.0[A] -> GSI 21 (level, low) -> IRQ 209
> > > saa7133[0]: found at 0000:02:02.0, rev: 240, irq: 209, latency: 32,
> > > mmio: 0xea001000
> > > saa7133[0]: subsystem: 12ab:0800, board: UPMOST PURPLE TV
> > > [card=36,autodetected]
> > > saa7133[0]: board init: gpio is 0
> > > saa7133[0]: dsp access wait timeout [bit=WRR]
> > > saa7133[0]: dsp access wait timeout [bit=WRR]
> > > saa7133[0]: dsp access wait timeout [bit=WRR]
> > > tda9885/6/7: chip found @ 0x96
> > > saa7133[0]: i2c eeprom 00: ab 12 00 08 00 00 00 00 00 00 00 00 00 00 00
> > > 00 saa7133[0]: i2c eeprom 10: ff ff ff ff 15 00 05 01 13 c2 db ff ff ff
> > > ff ff saa7133[0]: i2c eeprom 20: ff ff ff ff ff ff ff ff ff ff ff ff ff
> > > ff ff ff saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff
> > > ff ff ff ff saa7133[0]: registered device video0 [v4l2]
> > > saa7133[0]: registered device vbi0
> > >
> > > if i add the i2c_scan=1 insmod i got this devices found
> > >
> > > saa7133[0]: i2c scan: found device @ 0x96 [???]
> > > saa7133[0]: i2c scan: found device @ 0xa0 [eeprom]
> > > saa7133[0]: i2c scan: found device @ 0xf4 [???]
> >
> > Let's ask original author of Upmost purple support. I am
> > CC ing Wang-Chan Chen <m8923014@xxxxxxxxxxxxxxx>
>
> Nickolay, can remember well. Wang-Chan Chen has really this subsystem on
> that card, but the eeprom is not fully identical, didn't know how to
> decode it. It is also for sure saa7133 and FQ1236 MK3 should be alright.
> http://marc.theaimsgroup.com/?l=linux-v ... 229944&w=2
>
> Gpio init was all zero, but he was never able to switch from default
> svideo input to TV on the same vmux 7 without booting m$ first.
> http://marc.theaimsgroup.com/?l=linux-v ... 700321&w=2
>
> Finally Wang-Chan found a Pericom videomux most likely switched by a
> proprietary micro controller command.
> http://marc.theaimsgroup.com/?l=linux-v ... 500670&w=2
>
> The NEC D64083GF,
> http://www.necel.com/digital_av/english ... 64083.html
> also on the unsupported Compro Videomate TV Ultra NTSC version and
> mentioned in the bttv-gallery, seemed not yet involved ...
>
> He spent lots of work to make the remote working with ir-kbd-i2c, I bet
> it is also in use with that new card since also this device at 0xf4,
> also gpio init is 0, but else it is pretty different concerning the
> silicon tuner=54 and saa7135.
> http://marc.theaimsgroup.com/?l=linux-v ... 408023&w=2
>
> As usual we need to know about all chips, here especially about this
> Pericom vmux and the NEC filter, also about tda8275 or tda8275A.
> If not present why not try card=39 tuner=54 and don't load the tda9887,
> there is an address clash, therefore it should be also commented/removed
> from the Upmost Purple TV entry for testing if there is this default
> only svideo on vmux 7 game if tuner=54 and svideo is tested on that one
> too.
>
> Cheers,
> Hermann
>
>
>
> --
> video4linux-list mailing list
> Unsubscribe mailto:video4linux-list-request@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo ... linux-list

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo ... linux-list

Author:  kenadak [ Fri Aug 26, 2005 1:36 pm ]
Post subject: 

ok, a little futher now... but now in mythtvbackend.log there is a message when I attempt to watch TV that says: unknown video codec

sounds like that might be my last piece to getting this working... where do i find the video codecs for different cards (this card supposidly "supports video capture format (MPEG-1/2/4/VCD/SVCD/DVD.....)" according to the back of the box)

any help would be greatly apprciated.

Author:  tstd [ Tue Oct 04, 2005 8:18 am ]
Post subject:  new kernel which supports saa7135

http://linux.softpedia.com/progDownload ... -1960.html
(this site might help you)

http://ring.aist.go.jp/archives/linux/k ... 7135.patch
(this patch is already included in kernel-2.6.14-rc3)

kernel-2.6.14-rc3 supports saa7135.

so the better way I think is to build new kernel-2.6.14-rc3 by yourself and restart with this kernel.

to build the new kernel takes time but is very useful.

drivers/media/video/saa7134/
saa7134-cards.c
saa7134.h

Thanks.
:D

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/