TV karta.

Sekcia: Hardware a Drivery 27.03.2008 | 16:10
user   Návštevník
Zdravim. Do ruky sa mi dostala TV karta :
00:0a.0 Multimedia controller: Philips Semiconductors SAA7133/SAA7135 Video Broadcast Decoder (rev d1)
        Subsystem: KWorld Computer Co. Ltd. Unknown device 7253
        Flags: bus master, medium devsel, latency 32, IRQ 18
        Memory at ea010000 (32-bit, non-prefetchable) [size=2K]
Moduly sa mi zaviedli automaticky:
$ lsmod |grep saa
saa7134_alsa           15392  0
snd_pcm                80388  3 snd_cmipci,saa7134_alsa,snd_pcm_oss
snd                    54660  15 snd_cmipci,snd_opl3_lib,snd_hwdep,snd_mpu401_uart,snd_seq_oss,snd_rawmidi,saa7134_alsa,snd_pcm_oss,snd_mixer_oss,snd_seq,snd_seq_device,snd_pcm,snd_timer
saa7134               129100  1 saa7134_alsa
video_buf              26244  2 saa7134_alsa,saa7134
compat_ioctl32          2304  1 saa7134
ir_kbd_i2c              9872  1 saa7134
ir_common              35460  2 saa7134,ir_kbd_i2c
i2c_core               26112  4 nvidia,saa7134,ir_kbd_i2c,i2c_viapro
videodev               29312  1 saa7134
v4l2_common            18432  2 saa7134,videodev
v4l1_compat            15364  2 saa7134,videodev
V /dev/ mam vytvorene :
$ ls /dev/ | grep video
video0
Tv kartu spoznalo mythv. Aj ostatne. Ale nedari sa mi ju spustit. V mythtv zobrazi :
 Selhalo otevreni karty
Dalo by sa to neakym programom vyskusat okrem xawtv. Ten mi tam nesiel. A distro je MythBuntu 7.10.
    • Re: TV karta. 27.03.2008 | 16:32
      Peter S.   Návštevník
      pozri sa na tento návod
      pointa je, že modul by sa mal zavádzať týmto príkazom:
      modprobe saa7134 i2c_scan=1

      predtým si ho najprv odstran :
      rmmod saa7134

      a vyskušaj či ti to funguje. Ak ano na tej stranke si prečítaj ako to nastaviť na trvalo...
      • Re: TV karta. 27.03.2008 | 16:47
        user   Návštevník
        SKusil som to tak. Ale stale to iste... Ked som dal
         mplayer tv:// -tv driver=v4l2:norm=PAL:input=0:amode=1:width=384:height=288
         :outfmt=yuy2:device=/dev/video0:chanlist=europe-west:channel=E2
        
        Nabehla iba cierna obrazovka.
        • Re: TV karta. 27.03.2008 | 16:51
          user   Návštevník
          A skusal som aj tvtime
          # tvtime-scanner
          Reading configuration from /etc/tvtime/tvtime.xml
          Scanning using TV standard PAL.
          
              No tuner found on input 0.  If you have a tuner, please
              select a different input using --input=<num>.
          
          


          • Re: TV karta. 27.03.2008 | 17:12
            user   Návštevník
            V mythtv som sa dostal dalej. Dal som nacist tv kanaly. Nacitavalo percenta a nakoniec nic nenacitalo. Hm
            • Re: TV karta. 27.03.2008 | 18:10
              WlaSaTy   Návštevník
              a aky ma ta karta tuner.
              see dmesg.
              • Re: TV karta. 27.03.2008 | 19:55
                user   Návštevník
                Okis :
                dmesg:
                $ dmesg | grep saa
                [   38.544315] saa7130/34: v4l2 driver version 0.2.14 loaded
                [   38.544474] saa7133[0]: found at 0000:00:0a.0, rev: 209, irq: 18, latency: 32, mmio: 0xea010000
                [   38.544482] saa7133[0]: subsystem: 17de:7253, board: UNKNOWN/GENERIC [card=0,autodetected]
                [   38.544498] saa7133[0]: board init: gpio is 100
                [   38.677413] saa7133[0]: i2c eeprom 00: de 17 53 72 ff ff ff ff ff ff ff ff ff ff ff ff
                [   38.677426] saa7133[0]: i2c eeprom 10: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
                [   38.677437] saa7133[0]: i2c eeprom 20: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
                [   38.677447] saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
                [   38.677458] saa7133[0]: i2c eeprom 40: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
                [   38.677469] saa7133[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
                [   38.677480] saa7133[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
                [   38.677491] saa7133[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
                [   38.677880] saa7133[0]: registered device video0 [v4l2]
                [   38.677978] saa7133[0]: registered device vbi0
                [   39.049530] saa7134 ALSA driver for DMA sound loaded
                [   39.049579] saa7133[0]/alsa: saa7133[0] at 0xea010000 irq 18 registered as card -2
                
                
              • Re: TV karta. 27.03.2008 | 19:59
                user   Návštevník
                No neviem ako zistim ci ma aky tuner..Dostal som to ako cistu kartu bez CD. Ovladacov. IBA KARTU :)
                Jedine co je na cipe bych mohol napisat..
                • Re: TV karta. 27.03.2008 | 20:07
                  fantomas   Návštevník
                  no podla wiki driver nepodporuje subsystem 17de:7253
                  • Re: TV karta. 27.03.2008 | 20:20
                    fantomas   Návštevník
                    tuneru priradil 0 co je generic/neznamy, preto nevytvoril /dev/vbi0 ,ktory je potrebny pre ladenie, takze pravdepodobne z toho nic nebude
                    • Re: TV karta. 27.03.2008 | 21:29
                      user   Návštevník
                      vbi0 sa mi vytvorilo :
                      ~$ ls /dev/ | grep vbi
                      vbi0
                      
                      • Re: TV karta. 27.03.2008 | 21:42
                        fantomas   Návštevník
                        potom som si vsimol ;), ale aj tak modul nepodporuje dany subsystem a preto ho registruje ako generic, skus este manulne nanutit modulu cislo tuneru, ale sanca je miziva, o tom ze vbi0 nefunguje sveci aj vypis z tvtime-scannera
                        • Re: TV karta. 27.03.2008 | 21:56
                          fantoams   Návštevník
                          90 -> Kworld ATSC110 [17de:7350]

                          skus

                          modprobe saa7134 card=90
                      • Re: TV karta. 27.03.2008 | 21:52
                        WlaSaTy   Návštevník
                        a co takto?
                        ls -l /dev/vbi*
                        a skontrolovat prava uzivatela.

                        ps.: ls pajpa grep, kde som to uz videl?
                        • Re: TV karta. 28.03.2008 | 20:02
                          user   Návštevník
                          Vypis
                          $ ls -l /dev/vbi*
                          crw-rw---- 1 root video 81, 224 2008-03-28 19:02 /dev/vbi0
                          
                          • Re: TV karta. 30.03.2008 | 16:06
                            user   Návštevník
                            No ako ho pridat do skupiny video. Lebo ked som to robil naposledy pokazil som si cely system ...
                            • Re: TV karta. 30.03.2008 | 16:08
                              user   Návštevník
                              htpc@htpc:~$ groups
                              htpc adm dialout cdrom floppy audio dip video plugdev scanner admin powerdev mythtv lpadmin
                              htpc@htpc:~$
                              
                              htpc@htpc:~$ cat /etc/group
                              root:x:0:
                              daemon:x:1:
                              bin:x:2:
                              sys:x:3:
                              adm:x:4:ubuntu,htpc
                              tty:x:5:
                              disk:x:6:
                              lp:x:7:
                              mail:x:8:
                              news:x:9:
                              uucp:x:10:
                              man:x:12:
                              proxy:x:13:
                              kmem:x:15:
                              dialout:x:20:mythtv,ubuntu,htpc
                              fax:x:21:
                              voice:x:22:
                              cdrom:x:24:haldaemon,mythtv,ubuntu,htpc
                              floppy:x:25:haldaemon,ubuntu,htpc
                              tape:x:26:
                              sudo:x:27:
                              audio:x:29:mythtv,ubuntu,htpc
                              dip:x:30:ubuntu,htpc
                              www-data:x:33:
                              backup:x:34:
                              operator:x:37:
                              list:x:38:
                              irc:x:39:
                              src:x:40:
                              gnats:x:41:
                              shadow:x:42:
                              utmp:x:43:
                              video:x:44:mythtv,ubuntu,htpc
                              sasl:x:45:
                              plugdev:x:46:haldaemon,ubuntu,htpc
                              staff:x:50:
                              games:x:60:
                              users:x:100:
                              nogroup:x:65534:
                              dhcp:x:101:
                              syslog:x:102:
                              klog:x:103:
                              scanner:x:104:htpc
                              nvram:x:105:
                              fuse:x:106:
                              mysql:x:107:
                              admin:x:108:htpc
                              crontab:x:109:
                              ssh:x:110:
                              messagebus:x:111:
                              gdm:x:112:
                              haldaemon:x:113:
                              powerdev:x:114:haldaemon,htpc
                              mythtv:x:115:ubuntu,htpc
                              ntp:x:116:
                              ubuntu:x:999:
                              htpc:x:1000:
                              lpadmin:x:117:htpc
                              htpc@htpc:~$
                              
                              • Re: TV karta. 30.03.2008 | 19:18
                                WlaSaTy   Návštevník
                                $ man groups
                                GROUPS(1)                        User Commands                       GROUPS(1)
                                
                                NAME
                                       groups - print the groups a user is in
                                


                                toto vyzera ze je na danej verzii jadra ta tv karta nepodporovana, odporucim upgrade.
    • Re: TV karta. 27.03.2008 | 19:36
      fantomas   Návštevník
      skusim trochu mimo, skus pridat usera do skupiny video
      • Re: TV karta. 27.03.2008 | 19:58
        user   Návštevník
        Jasne uzivatelia by mali byt v skupine video.Prehravanie videii funguje. Aj 3D akceleracia
        a skusil som to
        
        $ mplayer tv://E8 -tv driver=v4l2
        MPlayer 2:1.0~rc1-0ubuntu13 (C) 2000-2006 MPlayer Team
        CPU: Intel(R) Celeron(R) CPU 2.60GHz (Family: 15, Model: 2, Stepping: 9)
        CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
        Compiled with runtime CPU detection.
        Can't open joystick device /dev/input/js0: No such file or directory
        Can't init input joystick
        
        Playing tv://E8.
        TV file format 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: UNKNOWN/GENERIC
         Capabilites:  video capture  video overlay  VBI capture device  read/write  streaming
         supported norms: 0 = PAL; 1 = PAL-BG; 2 = PAL-I; 3 = PAL-DK; 4 = NTSC; 5 = SECAM; 6 = SECAM-DK; 7 = SECAM-L; 8 = SECAM-Lc; 9 = PAL-M; 10 = PAL-Nc; 11 = PAL-60;
         inputs: 0 = default;
         Current input: 0
         Current format: BGR24
        Selected input hasn't got a tuner!
        xscreensaver_disable: Could not find XScreenSaver window.
        GNOME screensaver disabled
        ==========================================================================
        Opening video decoder: [raw] RAW Uncompressed Video
        VDec: vo config request - 640 x 480 (preferred colorspace: 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...
        v4l2: 66 frames successfully processed, 0 frames dropped.
        gnome_screensaver_control()
        Exiting... (Quit)
        
        • Re: TV karta. 27.03.2008 | 21:16
          JURAJ   Návštevník
          vyskusaj toto newim ci ti to pojde nastopro al ;

          rmmod saa7134
          modprobe saa7134 card=28 tuner=24


          ostatne uz musis vykukatt v nastaveniach tv programe (card a tuner nemusia byt totozne ale bohvie prehadzuju sa tam len tie cisla za ine podla typu)