Carte TV !

Merci de ton soutien micky, les commandes lspci ne doivent pas être correctes ça me donne ça :

Usage: lspci []

-v              Be verbose
-n              Show numeric ID's
-nn             Show both textual and numeric ID's (names & numbers)
-b              Bus-centric view (PCI addresses and IRQ's instead of those seen by the CPU)
-x              Show hex-dump of the standard portion of config space
-xxx            Show hex-dump of the whole config space (dangerous; root only)
-xxxx           Show hex-dump of the 4096-byte extended config space (root only)
-s [[[[<domain>]:]<bus>]:][<slot>][.[<func>]]   Show only devices in selected slots
-d [<vendor>]:[<device>]        Show only selected devices
-t              Show bus tree
-m              Produce machine-readable output
-i <file>       Use specified ID database instead of /usr/share/misc/pci.ids.gz
-D              Always show domain numbers
-M              Enable `bus mapping' mode (dangerous; root only)
-P <dir>        Use specified directory instead of /proc/bus/pci
-H <mode>       Use direct hardware access (<mode> = 1 or 2)
-F <file>       Read configuration data from given file
-G              Enable PCI access debugging[/code]

Ensuite :

[code]dmesg | grep -i tuner[/code]

me donne :

[code][   30.970515] tveeprom 0-0050: tuner model is Temic 4046FM5 (idx 43, type 22)
[   30.970527] bttv0: using tuner=38
[   31.030017] tuner 0-0061: chip found @ 0xc2 (bt878 #0 [sw])
[   31.030046] tuner 0-0061: type set to 38 (Philips PAL/SECAM multi (FM1216ME MK3))
[   31.030050] tuner 0-0061: type set to 38 (Philips PAL/SECAM multi (FM1216ME MK3))[/code]

Ma carte TV est une :

[code]Hauppauge wintv express pci

Tu peux consulter directement via ce lien :

http://www.hauppauge.fr/pages/products/data_express.html

Merci de ton aide 8)

Salut

Oui j’ai commis une erreur dans la commande desole.

La commande est la suivante

lspci -s 00:0a.0 -vn lspci -s 00:0a.1 -vn

Ca devrait aller mieux.

Le tuner de ta carte est le 38.

Charge le module avec les parametres card=10 et tuner=38

modprobe -rv bt878 modprobe -rv bttv modprobe -v bttv card=10 tuner=38

Donne le resultat des commandes ainsi que la fin de ton dmesg.

@+

Merci de ta rapidité :wink:

Voici ce qu’un :

me donne :

# lspci -s 00:0a.0 -vn
00:0a.0 0400: 109e:036e (rev 11)
        Subsystem: 0070:13eb
        Flags: bus master, medium devsel, latency 32, IRQ 19
        Memory at f8127000 (32-bit, prefetchable) [size=4K]
        Capabilities: [44] Vital Product Data
        Capabilities: [4c] Power Management version 2

Ce qu’un :

me donne :

# lspci -s 00:0a.1 -vn 00:0a.1 0480: 109e:0878 (rev 11) Subsystem: 0070:13eb Flags: bus master, medium devsel, latency 32, IRQ 19 Memory at f8124000 (32-bit, prefetchable) [size=4K] Capabilities: [44] Vital Product Data Capabilities: [4c] Power Management version 2

Un modprobe -rv bt878 me donne :

rmmod /lib/modules/2.6.20-16-generic/kernel/drivers/media/dvb/bt8xx/bt878.ko rmmod /lib/modules/2.6.20-16-generic/kernel/drivers/media/video/bt8xx/bttv.ko rmmod /lib/modules/2.6.20-16-generic/kernel/drivers/media/video/video-buf.ko rmmod /lib/modules/2.6.20-16-generic/kernel/drivers/media/common/ir-common.ko rmmod /lib/modules/2.6.20-16-generic/kernel/drivers/media/video/compat_ioctl32.ko rmmod /lib/modules/2.6.20-16-generic/kernel/drivers/i2c/algos/i2c-algo-bit.ko rmmod /lib/modules/2.6.20-16-generic/kernel/drivers/media/video/btcx-risc.ko rmmod /lib/modules/2.6.20-16-generic/kernel/drivers/media/video/tveeprom.ko

Un modprobe -rv bttv se lance correctement.

Un modprobe -v bttv card=10 tuner=38 me donne :

[code]# modprobe -v bttv card=10 tuner=38
insmod /lib/modules/2.6.20-16-generic/kernel/drivers/media/video/tveeprom.ko
insmod /lib/modules/2.6.20-16-generic/kernel/drivers/media/video/btcx-risc.ko
insmod /lib/modules/2.6.20-16-generic/kernel/drivers/i2c/algos/i2c-algo-bit.ko
insmod /lib/modules/2.6.20-16-generic/kernel/drivers/media/video/compat_ioctl32.ko
insmod /lib/modules/2.6.20-16-generic/kernel/drivers/media/common/ir-common.ko
insmod /lib/modules/2.6.20-16-generic/kernel/drivers/media/video/video-buf.ko
insmod /lib/modules/2.6.20-16-generic/kernel/drivers/media/video/bt8xx/bttv.ko card=10 tuner=38 card=10 tuner=38 card=2 tuner=2 tuner=38

[/code]

Et voici mon dmesg | grep -i tuner :

[ 30.657292] tveeprom 0-0050: tuner model is Temic 4046FM5 (idx 43, type 22) [ 30.657304] bttv0: using tuner=38 [ 30.693635] tuner 0-0061: chip found @ 0xc2 (bt878 #0 [sw]) [ 30.693659] tuner 0-0061: type set to 38 (Philips PAL/SECAM multi (FM1216ME MK3)) [ 30.693662] tuner 0-0061: type set to 38 (Philips PAL/SECAM multi (FM1216ME MK3)) [ 5359.552000] tuner 0-0061: chip found @ 0xc2 (bt878 #0 [sw]) [ 5359.604000] tveeprom 0-0050: tuner model is Temic 4046FM5 (idx 43, type 22) [ 5359.604000] bttv0: using tuner=38 [ 5359.608000] tuner 0-0061: type set to 38 (Philips PAL/SECAM multi (FM1216ME MK3))

Pour finir la fin de mon dmesg :

[ 43.638662] agpgart: Putting AGP V3 device at 0000:01:00.0 into 4x mode [ 43.935713] [drm] Setting GART location based on new memory map [ 43.935722] [drm] Loading R200 Microcode [ 43.935789] [drm] writeback test succeeded in 1 usecs [ 44.043579] ppdev: user-space parallel port driver [ 46.537412] apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16ac) [ 46.537417] apm: overridden by ACPI. [ 34.384000] Time: acpi_pm clocksource has been installed. [ 37.308000] Bluetooth: Core ver 2.11 [ 37.308000] NET: Registered protocol family 31 [ 37.308000] Bluetooth: HCI device and connection manager initialized [ 37.308000] Bluetooth: HCI socket layer initialized [ 37.412000] Bluetooth: L2CAP ver 2.8 [ 37.412000] Bluetooth: L2CAP socket layer initialized [ 37.512000] Bluetooth: RFCOMM socket layer initialized [ 37.512000] Bluetooth: RFCOMM TTY layer initialized [ 37.512000] Bluetooth: RFCOMM ver 1.8 [ 42.328000] eth1: no IPv6 routers present [ 612.888000] NTFS driver 2.1.28 [Flags: R/O MODULE]. [ 612.892000] NTFS-fs warning (device hdb5): parse_options(): Option utf8 is no longer supported, using option nls=utf8. Please use option nls=utf8 in the future and make sure utf8 is compiled either as a module or into the kernel. [ 612.956000] NTFS volume version 3.1. [ 4387.716000] usb 2-1: new full speed USB device using uhci_hcd and address 3 [ 4387.880000] usb 2-1: configuration #1 chosen from 1 choice [ 4388.100000] drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 3 if 0 alt 0 proto 2 vid 0x0686 pid 0x300C [ 4388.104000] usbcore: registered new interface driver usblp [ 4388.104000] drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver [ 4418.976000] usb 2-1: USB disconnect, address 3 [ 4418.976000] drivers/usb/class/usblp.c: usblp0: removed [ 5233.736000] bttv0: unloading [ 5359.536000] bttv: driver version 0.9.16 loaded [ 5359.536000] bttv: using 8 buffers with 2080k (520 pages) each for capture [ 5359.536000] bttv: Bt8xx card found (0). [ 5359.536000] bttv0: Bt878 (rev 17) at 0000:00:0a.0, irq: 19, latency: 32, mmio: 0xf8127000 [ 5359.536000] bttv0: detected: Hauppauge WinTV [card=10], PCI subsystem ID is 0070:13eb [ 5359.536000] bttv0: using: Hauppauge (bt848) [card=2,insmod option] [ 5359.536000] bttv0: gpio: en=00000000, out=00000000 in=00ffffdb [init] [ 5359.540000] bttv0: Hauppauge/Voodoo msp34xx: reset line init [5] [ 5359.552000] tuner 0-0061: chip found @ 0xc2 (bt878 #0 [sw]) [ 5359.604000] tveeprom 0-0050: Hauppauge model 44806, rev D143, serial# 7235676 [ 5359.604000] tveeprom 0-0050: tuner model is Temic 4046FM5 (idx 43, type 22) [ 5359.604000] tveeprom 0-0050: TV standards PAL(B/G) PAL(I) SECAM(L/L') PAL(D/D1/K) (eeprom 0x74) [ 5359.604000] tveeprom 0-0050: audio processor is None (idx 0) [ 5359.604000] tveeprom 0-0050: has no radio [ 5359.604000] bttv0: Hauppauge eeprom indicates model#44806 [ 5359.604000] bttv0: using tuner=38 [ 5359.608000] tuner 0-0061: type set to 38 (Philips PAL/SECAM multi (FM1216ME MK3)) [ 5359.608000] bttv0: i2c: checking for MSP34xx @ 0x80... not found [ 5359.608000] bttv0: i2c: checking for TDA9875 @ 0xb0... not found [ 5359.608000] bttv0: i2c: checking for TDA7432 @ 0x8a... not found [ 5359.624000] bttv0: i2c: checking for TDA9887 @ 0x86... not found [ 5359.648000] bttv0: registered device video0 [ 5359.648000] bttv0: registered device vbi0

Merci de votre aide c’est vraiment sympa :wink:

Salut

Remplace le contenu du fichier que tu as cree dans /etc/modprobe.d/ pour y mettre les options de bttv par ces options

options bttv tuner=38 options tda9887 port2=0

Le card=10 n’est pas necessaire car le systeme le connais deja.

L’option pour tda9887 est pour activer le son si tout va bien.

Decharge et recharge tes modules bttv

modprobe -rv bt878 modprobe -rv bttv modprobe -v bttv

redonne la fin de ton dmesg pour voir si tout est bien reconnu.

Normalement tu devrais pouvoir utiliser ta carte normalement.

@+

Merci de ton aide :wink:

Voici ce que me donne :

modprobe -rv bt878 modprobe -rv bttv modprobe -v bttv

après avoir modifier mon fichier bttv :

# modprobe -rv bt878 rmmod /lib/modules/2.6.20-16-generic/kernel/drivers/media/video/bt8xx/bttv.ko rmmod /lib/modules/2.6.20-16-generic/kernel/drivers/media/video/video-buf.ko rmmod /lib/modules/2.6.20-16-generic/kernel/drivers/media/common/ir-common.ko rmmod /lib/modules/2.6.20-16-generic/kernel/drivers/media/video/compat_ioctl32.ko rmmod /lib/modules/2.6.20-16-generic/kernel/drivers/i2c/algos/i2c-algo-bit.ko rmmod /lib/modules/2.6.20-16-generic/kernel/drivers/media/video/btcx-risc.ko rmmod /lib/modules/2.6.20-16-generic/kernel/drivers/media/video/tveeprom.ko root@psaumes:/home/harosso# modprobe -rv bttv root@psaumes:/home/harosso# modprobe -v bttv insmod /lib/modules/2.6.20-16-generic/kernel/drivers/media/video/tveeprom.ko insmod /lib/modules/2.6.20-16-generic/kernel/drivers/media/video/btcx-risc.ko insmod /lib/modules/2.6.20-16-generic/kernel/drivers/i2c/algos/i2c-algo-bit.ko insmod /lib/modules/2.6.20-16-generic/kernel/drivers/media/video/compat_ioctl32.ko insmod /lib/modules/2.6.20-16-generic/kernel/drivers/media/common/ir-common.ko insmod /lib/modules/2.6.20-16-generic/kernel/drivers/media/video/video-buf.ko insmod /lib/modules/2.6.20-16-generic/kernel/drivers/media/video/bt8xx/bttv.ko tuner=38 card=2 tuner=2 tuner=38

Voici la fin de mon dmesg :

[ 9443.932000] FAT: Directory bread(block 30006) failed
[ 9443.932000] scsi 2:0:0:0: rejecting I/O to dead device
[ 9443.932000] FAT: Directory bread(block 30007) failed
[ 9443.932000] scsi 2:0:0:0: rejecting I/O to dead device
[ 9443.932000] FAT: Directory bread(block 30008) failed
[ 9443.932000] scsi 2:0:0:0: rejecting I/O to dead device
[ 9443.932000] FAT: Directory bread(block 30009) failed
[ 9443.932000] scsi 2:0:0:0: rejecting I/O to dead device
[ 9443.932000] FAT: Directory bread(block 30010) failed
[ 9443.932000] scsi 2:0:0:0: rejecting I/O to dead device
[ 9443.932000] FAT: Directory bread(block 30011) failed
[ 9443.932000] scsi 2:0:0:0: rejecting I/O to dead device
[ 9443.932000] FAT: Directory bread(block 30012) failed
[ 9443.932000] scsi 2:0:0:0: rejecting I/O to dead device
[ 9443.932000] FAT: Directory bread(block 30013) failed
[ 9443.932000] scsi 2:0:0:0: rejecting I/O to dead device
[ 9443.932000] FAT: Directory bread(block 30014) failed
[ 9443.932000] scsi 2:0:0:0: rejecting I/O to dead device
[ 9443.932000] FAT: Directory bread(block 30015) failed
[20945.788000] agpgart: Found an AGP 3.0 compliant device at 0000:00:00.0.
[20945.788000] agpgart: Putting AGP V3 device at 0000:00:00.0 into 4x mode
[20945.788000] agpgart: Putting AGP V3 device at 0000:01:00.0 into 4x mode
[20946.064000] [drm] Setting GART location based on new memory map
[20946.064000] [drm] Loading R200 Microcode
[20946.064000] [drm] writeback test succeeded in 1 usecs
[21280.824000] agpgart: Found an AGP 3.0 compliant device at 0000:00:00.0.
[21280.824000] agpgart: Putting AGP V3 device at 0000:00:00.0 into 4x mode
[21280.824000] agpgart: Putting AGP V3 device at 0000:01:00.0 into 4x mode
[21281.100000] [drm] Setting GART location based on new memory map
[21281.100000] [drm] Loading R200 Microcode
[21281.100000] [drm] writeback test succeeded in 1 usecs
[22490.168000] bttv0: unloading
[22490.400000] bttv: driver version 0.9.16 loaded
[22490.400000] bttv: using 8 buffers with 2080k (520 pages) each for capture
[22490.400000] bttv: Bt8xx card found (0).
[22490.400000] bttv0: Bt878 (rev 17) at 0000:00:0a.0, irq: 19, latency: 32, mmio: 0xf8127000
[22490.400000] bttv0: detected: Hauppauge WinTV [card=10], PCI subsystem ID is 0070:13eb
[22490.400000] bttv0: using: Hauppauge (bt848) [card=2,insmod option]
[22490.400000] bttv0: gpio: en=00000000, out=00000000 in=00ffffdb [init]
[22490.404000] bttv0: Hauppauge/Voodoo msp34xx: reset line init [5]
[22490.412000] tuner 0-0061: chip found @ 0xc2 (bt878 #0 [sw])
[22490.456000] tveeprom 0-0050: Hauppauge model 44806, rev D143, serial# 7235676
[22490.456000] tveeprom 0-0050: tuner model is Temic 4046FM5 (idx 43, type 22)
[22490.456000] tveeprom 0-0050: TV standards PAL(B/G) PAL(I) SECAM(L/L') PAL(D/D1/K) (eeprom 0x74)
[22490.456000] tveeprom 0-0050: audio processor is None (idx 0)
[22490.456000] tveeprom 0-0050: has no radio
[22490.456000] bttv0: Hauppauge eeprom indicates model#44806
[22490.456000] bttv0: using tuner=38
[22490.456000] tuner 0-0061: type set to 38 (Philips PAL/SECAM multi (FM1216ME MK3))
[22490.456000] bttv0: i2c: checking for MSP34xx @ 0x80... not found
[22490.456000] bttv0: i2c: checking for TDA9875 @ 0xb0... not found
[22490.460000] bttv0: i2c: checking for TDA7432 @ 0x8a... not found
[22490.472000] bttv0: i2c: checking for TDA9887 @ 0x86... not found
[22490.488000] bttv0: registered device video0
[22490.488000] bttv0: registered device vbi0

Merci vraiment de ton aide micky :stuck_out_tongue:

Salut

Il doit y avoir un probleme dans ton /etc/modprobe.d/

Ceci n’est pas tout a fait normal

Il ne devrait y avoir que ceci comme argument tuner=38 pour bttv

Par contre, le scan a fonctionne ?

@+

Salut,

moi dans mon fichier bttv j’avais :

options bttv tuner=38 options tda9887 port2=0

Maintenant j’ai plus que :

options bttv tuner=38

Ta commande :

me donne :

# insmod /lib/modules/2.6.20-16-generic/kernel/drivers/media/video/bt8xx/bttv.ko tuner=38 card=2 tuner=2 tuner=38 insmod: error inserting '/lib/modules/2.6.20-16-generic/kernel/drivers/media/video/bt8xx/bttv.ko': -1 File exists

Voici les messages après l’éxécution de :

modprobe -rv bt878
modprobe -rv bttv
modprobe -v bttv

# modprobe -rv bt878
rmmod /lib/modules/2.6.20-16-generic/kernel/drivers/media/dvb/bt8xx/bt878.ko
rmmod /lib/modules/2.6.20-16-generic/kernel/drivers/media/video/bt8xx/bttv.ko
rmmod /lib/modules/2.6.20-16-generic/kernel/drivers/media/video/video-buf.ko
rmmod /lib/modules/2.6.20-16-generic/kernel/drivers/media/common/ir-common.ko
rmmod /lib/modules/2.6.20-16-generic/kernel/drivers/media/video/compat_ioctl32.ko
rmmod /lib/modules/2.6.20-16-generic/kernel/drivers/i2c/algos/i2c-algo-bit.ko
rmmod /lib/modules/2.6.20-16-generic/kernel/drivers/media/video/btcx-risc.ko
rmmod /lib/modules/2.6.20-16-generic/kernel/drivers/media/video/tveeprom.ko
root@psaumes:/home/harosso# modprobe -rv bttv
root@psaumes:/home/harosso# modprobe -v bttv
insmod /lib/modules/2.6.20-16-generic/kernel/drivers/media/video/tveeprom.ko 
insmod /lib/modules/2.6.20-16-generic/kernel/drivers/media/video/btcx-risc.ko 
insmod /lib/modules/2.6.20-16-generic/kernel/drivers/i2c/algos/i2c-algo-bit.ko 
insmod /lib/modules/2.6.20-16-generic/kernel/drivers/media/video/compat_ioctl32.ko 
insmod /lib/modules/2.6.20-16-generic/kernel/drivers/media/common/ir-common.ko 
insmod /lib/modules/2.6.20-16-generic/kernel/drivers/media/video/video-buf.ko 
insmod /lib/modules/2.6.20-16-generic/kernel/drivers/media/video/bt8xx/bttv.ko tuner=38 card=2 tuner=2 tuner=38[/code]



La fin de mon dmesg :

[code][   41.560000] eth1: no IPv6 routers present
[  454.236000] bttv0: unloading
[  459.160000] bttv: driver version 0.9.16 loaded
[  459.160000] bttv: using 8 buffers with 2080k (520 pages) each for capture
[  459.160000] bttv: Bt8xx card found (0).
[  459.160000] bttv0: Bt878 (rev 17) at 0000:00:0a.0, irq: 19, latency: 32, mmio: 0xf8127000
[  459.164000] bttv0: detected: Hauppauge WinTV [card=10], PCI subsystem ID is 0070:13eb
[  459.164000] bttv0: using: Hauppauge (bt848) [card=2,insmod option]
[  459.164000] bttv0: gpio: en=00000000, out=00000000 in=00ffffdb [init]
[  459.164000] bttv0: Hauppauge/Voodoo msp34xx: reset line init [5]
[  459.176000] tuner 1-0061: chip found @ 0xc2 (bt878 #0 [sw])
[  459.216000] tveeprom 1-0050: Hauppauge model 44806, rev D143, serial# 7235676
[  459.216000] tveeprom 1-0050: tuner model is Temic 4046FM5 (idx 43, type 22)
[  459.216000] tveeprom 1-0050: TV standards PAL(B/G) PAL(I) SECAM(L/L') PAL(D/D1/K) (eeprom 0x74)
[  459.216000] tveeprom 1-0050: audio processor is None (idx 0)
[  459.216000] tveeprom 1-0050: has no radio
[  459.216000] bttv0: Hauppauge eeprom indicates model#44806
[  459.216000] bttv0: using tuner=38
[  459.216000] tuner 1-0061: type set to 38 (Philips PAL/SECAM multi (FM1216ME MK3))
[  459.220000] bttv0: i2c: checking for MSP34xx @ 0x80... not found
[  459.220000] bttv0: i2c: checking for TDA9875 @ 0xb0... not found
[  459.220000] bttv0: i2c: checking for TDA7432 @ 0x8a... not found
[  459.236000] bttv0: i2c: checking for TDA9887 @ 0x86... not found
[  459.252000] bttv0: registered device video0
[  459.252000] bttv0: registered device vbi0

Je tiens vraiment à te remercier de ta patience et de ta volonté de m’aider :wink:

Salut

Il charge encore le module bttv avec des arguements qui n’ont plus lieu d’etre.

Donne le resultat de cette commande :

@+

Salut donc cette commande me donne :

Apparemment oui il charge avec les mauvais paramètres or dans mon fichier bttv j’ai ça :

Je comprends pas trop c’est étrange, surtout quand on y connais rien !

Merci de ton aide

:wink:

Salut

Lors du chargement des modules, il regarde tous les fichiers presents dans /etc/modprobe.d/ et dans ton cas tu as un fichier card et bttv. Et c’est le fichier card qui ajoute les arguments non voulu.

Supprime le fichier /etc/modprobe.d/card et decharge et recharge les modules de la carte. Cette fois ci il devrait passer les bons arguments.

@+

ah oui ok, donc j’ai supprimer ce fichier card.

J’ai taper ces commandes :

modprobe -rv bt878 modprobe -rv bttv modprobe -v bttv

Le truc c’est que j’ai toujours rien dans xawtv, étrange non ?

En tout cas merci de ton aide

bonjour,
si je peux me permettre une sggestion, essaie de lancer le scan sur le device video0 (regarde ton dmesg, c’est indiqué).

Slt, désolé de répondre que maintenant, tu veux que je fasse :

Parce que si c’est le cas il ne me trouve rien comme chaine !

Merci de ton aide :stuck_out_tongue:

bonjour,
chez moi la carte tuner est en /dev/video0 ;
C’est ce qui est indiqué dans ton dmesg aussi;
fait donc le scan sur /dev/video0
Perso j’utilise xine pour tester une carte vidéo, mais ensuite je l’exploite avec mythtv

http://mythtv-fr.info/

Salut

As tu des devices dans /dev/dvb ?

@+

Salut,

le répertoire /dev/dvb je l’ai même pas mais j’ai réussi à trouver vbi0

Cependant j’ai une webcam aussi !

++