PDA

Visualizza Versione Completa : Problema con scheda Tv Terratec Cinergy Hybrid XS USB ID 0ccd:005e



neiim
04-08-11, 09:07
Salve a tutti.
Sono un assiduo lettore di Linux Pro, ma ancora con poco successo anche se l'entusiasmo è molto.
Ci sono molte cose che non riesco a capire,ma sono convinto che con la costanza raggiungerò il mio obiettivo.
C'è un problema che mi assilla ormai da tempo e riguarda il riconoscimento della mia scheda Tv Usb.Ho già provato in passato a risolverlo, ma con esito negativo.
Come programmi per la visione e registrazione ho installato Kaffeine e MeTv.
Ho inoltre installato il seguente software:

sudo apt-get install mercurial gcc build-essential
sudo apt-get install linux-headers-$(uname -r)
sudo apt-get install linux-source
sudo apt-get install g++

Il modello di Tv è:

Terratec Cinergy Hybrid XS USB

Inserisco la penna nella porta usb e digito sul terminale “lsusb”:

…...
Bus 002 Device 002: ID 0ccd:005e TerraTec Electronic GmbH
…...
Digitando “dmesg | grep em28”:

[ 19.642975] em28xx: New device TerraTec Electronic GmbH Cinergy Hybrid T USB XS (2882) @ 480 Mbps (0ccd:005e, interface 0, class 0)
[ 19.643085] em28xx #0: chip ID is em2882/em2883
[ 19.832076] em28xx #0: i2c eeprom 00: 1a eb 67 95 cd 0c 5e 00 d0 12 5c 03 9e 40 de 1c
[ 19.832088] em28xx #0: i2c eeprom 10: 6a 34 27 57 46 07 01 00 00 00 00 00 00 00 00 00
[ 19.832097] em28xx #0: i2c eeprom 20: 46 00 01 00 f0 10 31 00 b8 00 14 00 5b 1e 00 00
[ 19.832106] em28xx #0: i2c eeprom 30: 00 00 20 40 20 6e 02 20 10 01 00 00 00 00 00 00
[ 19.832115] em28xx #0: i2c eeprom 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 19.832123] em28xx #0: i2c eeprom 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 19.832131] em28xx #0: i2c eeprom 60: 00 00 00 00 00 00 00 00 00 00 34 03 54 00 65 00
[ 19.832140] em28xx #0: i2c eeprom 70: 72 00 72 00 61 00 54 00 65 00 63 00 20 00 45 00
[ 19.832148] em28xx #0: i2c eeprom 80: 6c 00 65 00 63 00 74 00 72 00 6f 00 6e 00 69 00
[ 19.832157] em28xx #0: i2c eeprom 90: 63 00 20 00 47 00 6d 00 62 00 48 00 00 00 40 03
[ 19.832166] em28xx #0: i2c eeprom a0: 43 00 69 00 6e 00 65 00 72 00 67 00 79 00 20 00
[ 19.832174] em28xx #0: i2c eeprom b0: 48 00 79 00 62 00 72 00 69 00 64 00 20 00 54 00
[ 19.832183] em28xx #0: i2c eeprom c0: 20 00 55 00 53 00 42 00 20 00 58 00 53 00 20 00
[ 19.832191] em28xx #0: i2c eeprom d0: 28 00 32 00 38 00 38 00 32 00 29 00 00 00 1c 03
[ 19.832200] em28xx #0: i2c eeprom e0: 30 00 36 00 31 00 32 00 30 00 32 00 30 00 30 00
[ 19.832208] em28xx #0: i2c eeprom f0: 31 00 39 00 35 00 34 00 00 00 00 00 00 00 00 00
[ 19.832219] em28xx #0: EEPROM ID= 0x9567eb1a, EEPROM hash = 0x1213b3be
[ 19.832221] em28xx #0: EEPROM info:
[ 19.832222] em28xx #0: AC97 audio (5 sample rates)
[ 19.832224] em28xx #0: 500mA max power
[ 19.832226] em28xx #0: Table at 0x27, strings=0x409e, 0x1cde, 0x346a
[ 19.832944] em28xx #0: Identified as Terratec Hybrid XS (em2882) (card=55)
[ 19.832946] em28xx #0:
[ 19.833406] em28xx #0: The support for this board weren't valid yet.
[ 19.833706] em28xx #0: Please send a report of having this working
[ 19.833990] em28xx #0: not to V4L mailing list (and/or to other addresses)
[ 19.980507] tvp5150 2-005c: chip found @ 0xb8 (em28xx #0)
[ 19.997764] tuner 2-0061: chip found @ 0xc2 (em28xx #0)
[ 20.169065] em28xx #0: Config register raw data: 0xd0
[ 20.169824] em28xx #0: AC97 vendor ID = 0xffffffff
[ 20.170204] em28xx #0: AC97 features = 0x6a90
[ 20.170207] em28xx #0: Empia 202 AC97 audio processor detected
[ 20.534328] em28xx #0: v4l2 driver version 0.1.2
[ 20.752195] em28xx #0: V4L2 video device registered as /dev/video1
[ 20.752199] em28xx #0: V4L2 VBI device registered as /dev/vbi0
[ 20.768076] usbcore: registered new interface driver em28xx
[ 20.768081] em28xx driver loaded
[ 20.898162] em28xx-audio.c: probing for em28x1 non standard usbaudio
[ 20.898167] em28xx-audio.c: Copyright (C) 2006 Markus Rechberger
[ 761.054843] em28xx #0: disconnecting em28xx #0 video
[ 761.054847] em28xx #0: V4L2 device /dev/vbi0 deregistered
[ 761.054930] em28xx #0: V4L2 device /dev/video1 deregistered
[ 838.661795] em28xx: New device TerraTec Electronic GmbH Cinergy Hybrid T USB XS (2882) @ 480 Mbps (0ccd:005e, interface 0, class 0)
[ 838.662009] em28xx #0: chip ID is em2882/em2883
[ 838.837585] em28xx #0: i2c eeprom 00: 1a eb 67 95 cd 0c 5e 00 d0 12 5c 03 9e 40 de 1c
[ 838.837615] em28xx #0: i2c eeprom 10: 6a 34 27 57 46 07 01 00 00 00 00 00 00 00 00 00
[ 838.837640] em28xx #0: i2c eeprom 20: 46 00 01 00 f0 10 31 00 b8 00 14 00 5b 1e 00 00
[ 838.837668] em28xx #0: i2c eeprom 30: 00 00 20 40 20 6e 02 20 10 01 00 00 00 00 00 00
[ 838.837692] em28xx #0: i2c eeprom 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 838.837715] em28xx #0: i2c eeprom 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 838.837741] em28xx #0: i2c eeprom 60: 00 00 00 00 00 00 00 00 00 00 34 03 54 00 65 00
[ 838.837765] em28xx #0: i2c eeprom 70: 72 00 72 00 61 00 54 00 65 00 63 00 20 00 45 00
[ 838.837790] em28xx #0: i2c eeprom 80: 6c 00 65 00 63 00 74 00 72 00 6f 00 6e 00 69 00
[ 838.837816] em28xx #0: i2c eeprom 90: 63 00 20 00 47 00 6d 00 62 00 48 00 00 00 40 03
[ 838.837839] em28xx #0: i2c eeprom a0: 43 00 69 00 6e 00 65 00 72 00 67 00 79 00 20 00
[ 838.837864] em28xx #0: i2c eeprom b0: 48 00 79 00 62 00 72 00 69 00 64 00 20 00 54 00
[ 838.837891] em28xx #0: i2c eeprom c0: 20 00 55 00 53 00 42 00 20 00 58 00 53 00 20 00
[ 838.837914] em28xx #0: i2c eeprom d0: 28 00 32 00 38 00 38 00 32 00 29 00 00 00 1c 03
[ 838.837938] em28xx #0: i2c eeprom e0: 30 00 36 00 31 00 32 00 30 00 32 00 30 00 30 00
[ 838.837965] em28xx #0: i2c eeprom f0: 31 00 39 00 35 00 34 00 00 00 00 00 00 00 00 00
[ 838.837995] em28xx #0: EEPROM ID= 0x9567eb1a, EEPROM hash = 0x1213b3be
[ 838.838001] em28xx #0: EEPROM info:
[ 838.838006] em28xx #0: AC97 audio (5 sample rates)
[ 838.838011] em28xx #0: 500mA max power
[ 838.838021] em28xx #0: Table at 0x27, strings=0x409e, 0x1cde, 0x346a
[ 838.838701] em28xx #0: Identified as Terratec Hybrid XS (em2882) (card=55)
[ 838.838707] em28xx #0:
[ 838.838716] em28xx #0: The support for this board weren't valid yet.
[ 838.838721] em28xx #0: Please send a report of having this working
[ 838.838727] em28xx #0: not to V4L mailing list (and/or to other addresses)
[ 838.845824] tvp5150 2-005c: chip found @ 0xb8 (em28xx #0)
[ 838.853200] tuner 2-0061: chip found @ 0xc2 (em28xx #0)
[ 838.859507] em28xx #0: Config register raw data: 0xd0
[ 838.860330] em28xx #0: AC97 vendor ID = 0xffffffff
[ 838.860915] em28xx #0: AC97 features = 0x6a90
[ 838.860920] em28xx #0: Empia 202 AC97 audio processor detected
[ 839.089325] em28xx #0: v4l2 driver version 0.1.2
[ 839.175960] em28xx #0: V4L2 video device registered as /dev/video1
[ 839.175970] em28xx #0: V4L2 VBI device registered as /dev/vbi0
[ 839.175978] em28xx-audio.c: probing for em28x1 non standard usbaudio
[ 839.175983] em28xx-audio.c: Copyright (C) 2006 Markus Rechberger

Digitando “dmesg | grep DVB ”:

..non esce nulla!!!
Digitando “dmesg | grep firmware ”:

[ 20.074851] usb 2-1: firmware: requesting xc3028-v27.fw
[ 20.168398] xc2028 2-0061: Error: firmware xc3028-v27.fw not found.
[ 838.853507] usb 2-1: firmware: requesting xc3028-v27.fw
[ 838.858885] xc2028 2-0061: Error: firmware xc3028-v27.fw not found[CODE]

Digitando “tail /var/log/messages ”:
[CODE]Aug 3 18:19:07 neiim-notebook kernel: [ 838.860915] em28xx #0: AC97 features = 0x6a90
Aug 3 18:19:07 neiim-notebook kernel: [ 838.860920] em28xx #0: Empia 202 AC97 audio processor detected
Aug 3 18:19:07 neiim-notebook kernel: [ 838.992944] tvp5150 2-005c: tvp5150am1 detected.
Aug 3 18:19:07 neiim-notebook kernel: [ 839.089325] em28xx #0: v4l2 driver version 0.1.2
Aug 3 18:19:07 neiim-notebook kernel: [ 839.175960] em28xx #0: V4L2 video device registered as /dev/video1
Aug 3 18:19:07 neiim-notebook kernel: [ 839.175970] em28xx #0: V4L2 VBI device registered as /dev/vbi0
Aug 3 18:19:07 neiim-notebook kernel: [ 839.175978] em28xx-audio.c: probing for em28x1 non standard usbaudio
Aug 3 18:19:07 neiim-notebook kernel: [ 839.175983] em28xx-audio.c: Copyright (C) 2006 Markus Rechberger
Aug 3 18:19:08 neiim-notebook kernel: [ 839.817942] tvp5150 2-005c: tvp5150am1 detected.
Aug 3 18:19:08 neiim-notebook kernel: [ 840.089937] tvp5150 2-005c: tvp5150am1 detected.

Qualcuno cortesemente mi può aiutare?
Grazie ancora.

------------------------------------
Ubuntu 10.04
Acer Aspire 7520G: AMD TurionTM 64 X2 dual-core mobile technologyTL-64; 17" WXGA + high-brightness (200-nits) Acer CrystalBriteTM TFT LCD, 1440 x 900 pixel resolution; NVIDIA GeForce® 8600M GS with up to 1024MB of TurbocacheTM; 3GB DDR2;...

Sonic
04-08-11, 11:15
Devi estrarre il firmware dalla versione per windows dei drivers, a questo link c'e' una guida, non so dirti se alla fine funzionera' :P ma tentar non nuoce: http://forum.ubuntu-it.org/index.php?topic=228071.0

neiim
05-08-11, 10:22
Ciao Sonic.
Ho estratto il firmware e lo ho copiato dentro "lib/firmware/". Ho riavviato il sistema e ho digitato “dmesg | grep firmware ”:

[ 18.016811] usb 2-1: firmware: requesting xc3028-v27.fw
[ 18.138878] xc2028 2-0061: Loading 80 firmware images from xc3028-v27.fw, type: xc2028 firmware, ver 2.7
[ 18.184038] xc2028 2-0061: Loading firmware for type=BASE (1), id 0000000000000000.
[ 19.134546] xc2028 2-0061: Loading firmware for type=(0), id 000000000000b700.


Dal risultato sembra che il firmware sia stato riconosciuto e caricato (o almeno mi sembra!!).
Ho avviato Kaffeine e MeTv, ma non trova ancora nessun sintonizzatore. :-\
Ora forse il problema rimane il caricamento del modulo em28xx o del modulo v4l o DVB.
Se può essere utile lanciando "lsmod":

Module Size Used by
xt_TCPMSS 2931 1
xt_tcpmss 1197 1
iptable_mangle 2771 1
ppp_deflate 3682 0
zlib_deflate 19568 1 ppp_deflate
bsd_comp 4811 0
ppp_async 6734 1
crc_ccitt 1339 1 ppp_async
isofs 29250 1
cdc_ether 3541 0
usbnet 14943 1 cdc_ether
mii 4381 1 usbnet
cdc_acm 14658 2
usb_storage 39553 1
binfmt_misc 6587 1
ppdev 5259 0
em28xx_alsa 6154 1
tuner_xc2028 19769 1
tuner 20412 1
tvp5150 14819 1
snd_atiixp_modem 9103 0
snd_via82xx_modem 8486 0
snd_intel8x0m 10751 0
snd_ac97_codec 100646 3 snd_atiixp_modem,snd_via82xx_modem,snd_intel8x0m
ac97_bus 1002 1 snd_ac97_codec
em28xx 82206 1 em28xx_alsa
v4l2_common 15431 3 tuner,tvp5150,em28xx
joydev 8740 0
snd_hda_codec_realtek 203408 1
ir_common 38875 1 em28xx
videobuf_vmalloc 5586 1 em28xx
videobuf_core 16356 2 em28xx,videobuf_vmalloc
tveeprom 11102 1 em28xx
arc4 1153 2
ipt_REJECT 1928 1
ipt_LOG 4542 5
xt_multiport 2378 8
xt_limit 1382 7
xt_tcpudp 2011 44
ipt_addrtype 1631 4
xt_state 1098 7
snd_hda_intel 22005 2
snd_hda_codec 74201 2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep 5412 1 snd_hda_codec
snd_pcm_oss 35308 0
snd_mixer_oss 13746 1 snd_pcm_oss
snd_pcm 70694 8 em28xx_alsa,snd_atiixp_modem,snd_via82xx_modem,snd _intel8x0m,snd_ac97_codec,snd_hda_intel,snd_hda_co dec,snd_pcm_oss
ip6table_filter 2343 1
ip6_tables 11227 1 ip6table_filter
snd_seq_dummy 1338 0
nf_nat_irc 1124 0
snd_seq_oss 26722 0
nf_conntrack_irc 3332 1 nf_nat_irc
ath5k 121632 0
snd_seq_midi 4557 0
nf_nat_ftp 1836 0
snd_rawmidi 19056 1 snd_seq_midi
nf_nat 15735 2 nf_nat_irc,nf_nat_ftp
nf_conntrack_ipv4 10672 9 nf_nat
nf_defrag_ipv4 1073 1 nf_conntrack_ipv4
snd_seq_midi_event 6003 2 snd_seq_oss,snd_seq_midi
nf_conntrack_ftp 5381 1 nf_nat_ftp
snd_seq 47263 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_mid i_event
nf_conntrack 61615 7 xt_state,nf_nat_irc,nf_conntrack_irc,nf_nat_ftp,nf _nat,nf_conntrack_ipv4,nf_conntrack_ftp
iptable_filter 2271 1
snd_timer 19098 2 snd_pcm,snd_seq
snd_seq_device 5700 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi ,snd_seq
ip_tables 9991 2 iptable_mangle,iptable_filter
x_tables 14299 11 xt_TCPMSS,xt_tcpmss,ipt_REJECT,ipt_LOG,xt_multipor t,xt_limit,xt_tcpudp,ipt_addrtype,xt_state,ip6_tab les,ip_tables
mac80211 205402 1 ath5k
ath 7611 1 ath5k
fbcon 35102 71
tileblit 2031 1 fbcon
font 7557 1 fbcon
bitblit 4707 1 fbcon
softcursor 1189 1 bitblit
uvcvideo 57310 0
videodev 34361 5 tuner,tvp5150,em28xx,v4l2_common,uvcvideo
psmouse 63245 0
nvidia 9961216 47
v4l1_compat 13251 2 uvcvideo,videodev
acer_wmi 13861 0
lirc_ene0100 6536 0
lirc_dev 8884 1 lirc_ene0100
serio_raw 3978 0
k8temp 3152 0
snd 54180 23 em28xx_alsa,snd_atiixp_modem,snd_via82xx_modem,snd _intel8x0m,snd_ac97_codec,snd_hda_codec_realtek,sn d_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,sn d_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_se q,snd_timer,snd_seq_device
cfg80211 126528 3 ath5k,mac80211,ath
agpgart 31724 1 nvidia
vga16fb 11385 1
vgastate 8961 1 vga16fb
sdhci_pci 5470 0
sdhci 15462 1 sdhci_pci
led_class 2864 3 ath5k,acer_wmi,sdhci
video 17375 0
output 1871 1 video
soundcore 6620 1 snd
snd_page_alloc 7076 5 snd_atiixp_modem,snd_via82xx_modem,snd_intel8x0m,s nd_hda_intel,snd_pcm
i2c_nforce2 5199 0
lp 7028 0
parport 32635 2 ppdev,lp
usbhid 36110 0
ohci1394 26950 0
hid 67064 1 usbhid
ieee1394 81181 1 ohci1394
forcedeth 49556 0
ahci 32200 5
pata_amd 8766 0
Se mi puoi dare qualche indicazione.
Grazie ancora.

----------------------------------------------
Ubuntu 10.04
Acer Aspire 7520G: AMD TurionTM 64 X2 dual-core mobile technologyTL-64; 17" WXGA + high-brightness (200-nits) Acer CrystalBriteTM TFT LCD, 1440 x 900 pixel resolution; NVIDIA GeForce® 8600M GS with up to 1024MB of TurbocacheTM; 3GB DDR2;...

pennega
05-08-11, 11:27
Ciao e benvenuto neiim

ho spostato la discussione sul forum di ubuntu, tanto stiamo parlando di questa disctro.
Potrebbe essere un problema di permessi?
forse il tuo utente non fà parte del gruppo video, se il device viene riconosciuto come /dev/video1 (almeno dai precenti comandi così pare) controlla i permessi di questo device, vedia che gruppo appartiene (probabilmente video) ed aggiungi il tuo user a questo gruppo
Per vedere a che gruppi appartiene il tuo user digita

id

neiim
06-08-11, 09:16
Ciao.
Lanciando "id":

uid=1000(neiim) gid=1000(neiim) gruppi=4(adm),7(lp),20(dialout),24(cdrom),46(plugd ev),105(lpadmin),119(admin),122(sambashare),1000(n eiim)

Allora non faccio parte del gruppo video?:confused:
Se si, come faccio ad aggiungermi?
Grazie e a presto.

pennega
06-08-11, 10:40
ti basta editare il file /etc/group ed aggiungere il tuo user al gruppo, più utenti vanno separti da una virgola, esempio



adm:x:4:root,daemon,pennega
optical:x:93:hal,pennega
floppy:x:94:hal,pennega


e poi devi rifare il login

oppure anchora più semplice

gpasswd -a user group

queste sono operazioni che vanno fatte da root o tramite sudo :D

neiim
06-08-11, 16:23
Ciao.
Scusa ma essendo alle prime armi forse non ho capito.
Dopo aver aperto il file group con:

sudo gedit /etc/group
vado alla fine del file ed inserisco le seguenti righe di codice:


adm:x:4:root,daemon,neiim
optical:x:93:hal,neiim
floppy:x:94:hal,neiim

o cosa devo inserire per per far parte del gruppo video?

Ok poi per digitare:

gpasswd -a user group
A presto.

pennega
06-08-11, 17:29
quelli che ti ho messo sono degli esempi, tu devi cercare la riga del gruppo video ed aggiungere il tuo nome utente dopo i 2 punti o se c'è già un utente metti una virgola dopo quello e ti aggiungi dopo la virgola.
altrimenti usi gpasswd cosi:


sudo gpasswd -a TUO_NOME_UTENTE video

neiim
08-08-11, 12:38
Ciao pennega.
Mi sono aggiunto al gruppo video.:)

......
video:x:44:neiim
.......
Ho riavviato il sistema ed ho aperto Kaffeine, ma non ho ancora trovato la scheda tv USB.
Devo forse installare ancora qualcosa, per farla funzionare?
Grazie ancora e a presto.

----------------------------------------------
Ubuntu 10.04, kernel 2.6.32-28-generic.
Acer Aspire 7520G: AMD TurionTM 64 X2 dual-core mobile technologyTL-64; 17" WXGA + high-brightness (200-nits) Acer CrystalBriteTM TFT LCD, 1440 x 900 pixel resolution; NVIDIA GeForce® 8600M GS with up to 1024MB of TurbocacheTM; 3GB DDR2;...