[glux] solo per GURU.... non breve
@arminillo
carminillo@tiscali.it
Ven 10 Set 2004 16:56:20 CEST
Ciao,
ho un piccolo problema con la mia scheda tv (Typhoon TV-Capture) ... non
rileva alcun canale (sia scantv che tvtime-scanner)... eppure sia il
modulo della scheda, che il "tuner" sembrano essere riconosciuti...
Iniziamo con il tracciato relativo alla scheda al momento del boot...
/var/log/syslog
Sep 10 08:04:46 sword kernel: Linux video capture interface: v1.00
Sep 10 08:04:46 sword kernel: saa7130/34: v4l2 driver version 0.2.12 loaded
Sep 10 08:04:46 sword kernel: ACPI: PCI interrupt 0000:00:0d.0[A] -> GSI
10 (level, low) -> IRQ 10
Sep 10 08:04:46 sword kernel: saa7134[0]: found at 0000:00:0d.0, rev: 1,
irq: 10, latency: 32, mmio: 0xea000000
Sep 10 08:04:46 sword kernel: saa7134[0]: subsystem: 4e42:0138, board:
LifeView FlyVIDEO3000 [card=2,autodetected]
Sep 10 08:04:46 sword kernel: saa7134[0]: board init: gpio is 38500
Sep 10 08:04:46 sword kernel: saa7134[0]: registered input device for IR
Sep 10 08:04:46 sword kernel: i2c_adapter i2c-0: registered as adapter #0
Sep 10 08:04:46 sword kernel: i2c_adapter i2c-0: master_send: writing 1
bytes.
Sep 10 08:04:46 sword kernel: i2c_adapter i2c-0: master_recv: reading 64
bytes.
Sep 10 08:04:46 sword kernel: i2c_adapter i2c-0: master_recv: return:1
(count:64, addr:0x50)
Sep 10 08:04:46 sword kernel: saa7134[0]: i2c eeprom 00: 42 4e 38 01 10
28 ff ff ff ff ff ff ff ff ff ff
Sep 10 08:04:46 sword kernel: saa7134[0]: i2c eeprom 10: ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff
Sep 10 08:04:46 sword kernel: saa7134[0]: i2c eeprom 20: ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff
Sep 10 08:04:46 sword kernel: saa7134[0]: i2c eeprom 30: ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff
Sep 10 08:04:46 sword kernel: tuner: Ignoring new-style parameters in
presence of obsolete ones
Sep 10 08:04:46 sword kernel: i2c-core: driver i2c TV tuner driver
registered.
Sep 10 08:04:46 sword kernel: i2c_adapter i2c-0: found normal i2c_range
entry for adapter 0, addr 0060
Sep 10 08:04:46 sword kernel: i2c_adapter i2c-0: master_xfer: with 1 msgs.
Sep 10 08:04:46 sword kernel: i2c_adapter i2c-0: found normal i2c_range
entry for adapter 0, addr 0061
Sep 10 08:04:46 sword kernel: i2c_adapter i2c-0: master_xfer: with 1 msgs.
Sep 10 08:04:46 sword kernel: tuner: chip found at addr 0xc2 i2c-bus
saa7134[0]
Sep 10 08:04:46 sword kernel: tuner: type set to 5 (Philips PAL_BG
(FI1216 and compatibles)) by saa7134[0]
Sep 10 08:04:46 sword kernel: i2c_adapter i2c-0: client [Philips PAL_BG
(FI1216 and compatibles)] registered to adapter
Sep 10 08:04:46 sword kernel: registering 0-0061
Sep 10 08:04:46 sword kernel: i2c_adapter i2c-0: found normal i2c_range
entry for adapter 0, addr 0062
Sep 10 08:04:46 sword kernel: i2c_adapter i2c-0: master_xfer: with 1 msgs.
Sep 10 08:04:46 sword kernel: i2c_adapter i2c-0: found normal i2c_range
entry for adapter 0, addr 0063
Sep 10 08:04:46 sword kernel: i2c_adapter i2c-0: master_xfer: with 1 msgs.
Sep 10 08:04:46 sword kernel: i2c_adapter i2c-0: found normal i2c_range
entry for adapter 0, addr 0064
Sep 10 08:04:46 sword kernel: i2c_adapter i2c-0: master_xfer: with 1 msgs.
Sep 10 08:04:46 sword kernel: i2c_adapter i2c-0: found normal i2c_range
entry for adapter 0, addr 0065
Sep 10 08:04:46 sword kernel: i2c_adapter i2c-0: master_xfer: with 1 msgs.
Sep 10 08:04:46 sword kernel: i2c_adapter i2c-0: found normal i2c_range
entry for adapter 0, addr 0066
Sep 10 08:04:46 sword kernel: i2c_adapter i2c-0: master_xfer: with 1 msgs.
Sep 10 08:04:46 sword kernel: i2c_adapter i2c-0: found normal i2c_range
entry for adapter 0, addr 0067
Sep 10 08:04:46 sword kernel: i2c_adapter i2c-0: master_xfer: with 1 msgs.
Sep 10 08:04:46 sword kernel: i2c_adapter i2c-0: found normal i2c_range
entry for adapter 0, addr 0068
Sep 10 08:04:46 sword kernel: i2c_adapter i2c-0: master_xfer: with 1 msgs.
Sep 10 08:04:46 sword kernel: i2c_adapter i2c-0: found normal i2c_range
entry for adapter 0, addr 0069
Sep 10 08:04:46 sword kernel: i2c_adapter i2c-0: master_xfer: with 1 msgs.
Sep 10 08:04:46 sword kernel: i2c_adapter i2c-0: found normal i2c_range
entry for adapter 0, addr 006a
Sep 10 08:04:46 sword kernel: i2c_adapter i2c-0: master_xfer: with 1 msgs.
Sep 10 08:04:46 sword kernel: i2c_adapter i2c-0: found normal i2c_range
entry for adapter 0, addr 006b
Sep 10 08:04:46 sword kernel: i2c_adapter i2c-0: master_xfer: with 1 msgs.
Sep 10 08:04:46 sword kernel: i2c_adapter i2c-0: found normal i2c_range
entry for adapter 0, addr 006c
Sep 10 08:04:46 sword kernel: i2c_adapter i2c-0: master_xfer: with 1 msgs.
Sep 10 08:04:46 sword kernel: i2c_adapter i2c-0: found normal i2c_range
entry for adapter 0, addr 006d
Sep 10 08:04:46 sword kernel: i2c_adapter i2c-0: master_xfer: with 1 msgs.
Sep 10 08:04:46 sword kernel: i2c_adapter i2c-0: found normal i2c_range
entry for adapter 0, addr 006e
Sep 10 08:04:46 sword kernel: i2c_adapter i2c-0: master_xfer: with 1 msgs.
Sep 10 08:04:46 sword kernel: i2c_adapter i2c-0: found normal i2c_range
entry for adapter 0, addr 006f
Sep 10 08:04:46 sword kernel: i2c_adapter i2c-0: master_xfer: with 1 msgs.
Sep 10 08:04:46 sword kernel: saa7134[0]: registered device video0 [v4l2]
Sep 10 08:04:46 sword kernel: saa7134[0]: registered device vbi0
Sep 10 08:04:46 sword kernel: saa7134[0]: registered device radio0
Ecco i moduli utilizzati...
## lsmod ##
tuner 20772 0
saa7134 99920 0
video_buf 22276 1 saa7134
v4l2_common 6400 1 saa7134
v4l1_compat 14596 1 saa7134
i2c_core 27280 2 tuner,saa7134
ir_common 5380 1 saa7134
Ecco l'output di alcune applicazioni tv provate....
TVTIME
Output
videoinput: Can't read frame. Error was: Input/output error (0).
MPLAYER
lanciato con il comando:
mplayer tv:// -tv
driver=v4l2:input=0:normid=0:mjpeg:decimation=2:amode=1:chanlist=italy:channels=G-RAIUNO,H2-RAIUNO,28-RAIDUE,35-RAIDUE,39-RAITRE,43-RAITRE,22-RETE_4,55-RETE_4,30-CANALE_5,52-CANALE_5,24-ITALIA_1,64-ITALIA_1,54-LA7,21-LA7,48-MTV,50-ITALIA_7,42-SUPER3,44-RETE_A,32-SI,38-SI,45-T9
-ao alsa -vf crop=344:288:4:0 -vo xv
Output
v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0
XAWTV
Output
v4l2: read: Input/output error
Il kernel montato sulla macchina è:
2.6.9-rc1-bk10-trust
l'output di:
- lspci
0000:00:00.0 Host bridge: VIA Technologies, Inc. VT8377 [KT400/KT600
AGP] Host Bridge
0000:00:01.0 PCI bridge: VIA Technologies, Inc. VT8235 PCI Bridge
0000:00:0b.0 Multimedia audio controller: C-Media Electronics Inc CM8738
(rev 10)
0000:00:0c.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL-8029(AS)
0000:00:0d.0 Multimedia controller: Philips Semiconductors SAA7134 (rev 01)
0000:00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB
1.1 Controller (rev 80)
0000:00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB
1.1 Controller (rev 80)
0000:00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB
1.1 Controller (rev 80)
0000:00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82)
0000:00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
0000:00:11.1 IDE interface: VIA Technologies, Inc.
VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
0000:00:13.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL-8139/8139C/8139C+ (rev 10)
0000:00:14.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host
Controller (rev 46)
0000:01:00.0 VGA compatible controller: ATI Technologies Inc Radeon R300
NE [Radeon 9500 Pro]
0000:01:00.1 Display controller: ATI Technologies Inc Radeon R300
[Radeon 9500 Pro] (Secondary)
- xawtv -hwscan
/dev/video0: OK [ -device /dev/video0 ]
type : v4l2
name : LifeView FlyVIDEO3000
flags: overlay capture tuner
ioctl: VIDIOCGFBUF(base=(nil);height=0;width=0;depth=0;bytesperline=0):
Invalid argument
Ho provato a compilare i moduli scaricati da
http://linux.bytesex.org/v4l2/saa7134.html sia relativi al modulo sia
patch per v4l2 per 2.6.x
Ovviamente... nessun risultato...
Qualcuno è in grado di darmi qualche suggerimento/consigli o addiruttura
postare la soluzione? :)))
Grazie
@arminillo
P.S. Il file README.saa7134 (/usr/src/linux/Documentation/video4linux)
mi da un indizio....
Known Problems
==============
* The tuner for the flyvideos isn't detected automatically and the
default might not work for you depending on which version you have.
There is a tuner= insmod option to override the driver's default.
Ma guardando la lista dei tuner (| grep PAL) queste sono le alternative:
tuner=0 - Temic PAL (4002 FH5)
tuner=1 - Philips PAL_I (FI1246 and compatibles)
tuner=3 - Philips (SECAM+PAL_BG) (FI1216MF, FM1216MF, FR1216MF)
tuner=5 - Philips PAL_BG (FI1216 and compatibles)
tuner=7 - Temic PAL_I (4062 FY5)
tuner=14 - Temic PAL_BG (4006FH5)
tuner=16 - Temic PAL_DK (4016 FY5)
tuner=18 - Temic PAL_I (4066 FY5)
tuner=19 - Temic PAL* auto (4006 FN5)
tuner=20 - Temic PAL_BG (4009 FR5) or PAL_I (4069 FR5)
tuner=22 - Temic PAL/SECAM multi (4046 FM5)
tuner=23 - Philips PAL_DK (FI1256 and compatibles)
tuner=24 - Philips PAL/SECAM multi (FQ1216ME)
tuner=25 - LG PAL_I+FM (TAPC-I001D)
tuner=26 - LG PAL_I (TAPC-I701D)
tuner=28 - LG PAL_BG+FM (TPI8PSB01D)
tuner=29 - LG PAL_BG (TPI8PSB11D)
tuner=30 - Temic PAL* auto + FM (4009 FN5)
tuner=32 - Samsung PAL TCPM9091PD27
tuner=34 - Temic PAL_BG (4106 FH5)
tuner=35 - Temic PAL_DK/SECAM_L (4012 FY5)
tuner=37 - LG PAL (newer TAPC series)
tuner=38 - Philips PAL/SECAM multi (FM1216ME MK3)
tuner=41 - Philips PAL_MK (FI1216 MK)
Maggiori informazioni sulla lista
glux