capthookb Δημοσ. 15 Φεβρουαρίου 2015 Δημοσ. 15 Φεβρουαρίου 2015 (επεξεργασμένο) Bus 003 Device 008: ID eb1a:2881 eMPIA Technology, Inc. EM2881 Video Controller Έχω το εν λόγω dvb-t tuner και εδώ και μερικέ μέρες το είχα στο raspberry και δούλευε κανονικά με tvheadend. Από χθες το βράδυ δε δουλεύει. Το έβαλα στο pc για να δω τι συμβαίνει και βλέπω στο dmesg αυτά: Feb 15 18:15:22 kernel: em28xx: New device @ 480 Mbps (eb1a:2881, interface 0, class 0) Feb 15 18:15:22 kernel: em28xx: Video interface 0 found: isoc Feb 15 18:15:22 kernel: em28xx: chip ID is em2882/3 Feb 15 18:15:22 kernel: em2882/3 #0: unknown eeprom format or eeprom corrupted ! Feb 15 18:15:22 kernel: em2882/3 #0: Identified as Pinnacle Hybrid Pro (card=53) Feb 15 18:15:22 kernel: em2882/3 #0: analog set to isoc mode. Feb 15 18:15:22 kernel: em28xx audio device (eb1a:2881): interface 1, class 1 Feb 15 18:15:22 kernel: em28xx audio device (eb1a:2881): interface 2, class 1 Feb 15 18:15:22 kernel: usbcore: registered new interface driver em28xx Feb 15 18:15:22 kernel: em2882/3 #0: Registering V4L2 extension Feb 15 18:15:22 kernel: tvp5150 7-005c: chip found @ 0xb8 (em2882/3 #0) Feb 15 18:15:22 kernel: tvp5150 7-005c: tvp5150am1 detected. Feb 15 18:15:22 kernel: usbcore: registered new interface driver snd-usb-audio Feb 15 18:15:22 kernel: tuner 7-0061: Tuner -1 found with type(s) Radio TV. Feb 15 18:15:22 kernel: xc2028 7-0061: creating new instance Feb 15 18:15:22 kernel: xc2028 7-0061: type set to XCeive xc2028/xc3028 tuner Feb 15 18:15:22 kernel: em2882/3 #0: Config register raw data: 0x10 Feb 15 18:15:22 kernel: em2882/3 #0: AC97 vendor ID = 0xffbaffff Feb 15 18:15:22 kernel: em2882/3 #0: AC97 features = 0x6a90 Feb 15 18:15:22 kernel: em2882/3 #0: Unknown AC97 audio processor detected! Feb 15 18:15:22 kernel: xc2028 7-0061: Loading 80 firmware images from xc3028-v27.fw, type: xc2028 firmware, ver 2.7 Feb 15 18:15:22 kernel: tvp5150 7-005c: i2c i/o error: rc == -6 Feb 15 18:15:22 kernel: tvp5150 7-005c: i2c i/o error: rc == -6 Feb 15 18:15:22 kernel: tvp5150 7-005c: i2c i/o error: rc == -6 Feb 15 18:15:22 kernel: tvp5150 7-005c: i2c i/o error: rc == -6 Feb 15 18:15:22 kernel: xc2028 7-0061: Loading firmware for type=BASE F8MHZ (3), id 0000000000000000. Feb 15 18:15:23 kernel: (0), id 00000000000000ff: Feb 15 18:15:23 kernel: xc2028 7-0061: Loading firmware for type=(0), id 0000000100000007. Feb 15 18:15:23 kernel: xc2028 7-0061: Loading SCODE for type=MONO SCODE HAS_IF_5320 (60008000), id 0000000f00000007. Feb 15 18:15:24 kernel: em2882/3 #0: V4L2 video device registered as video1 Feb 15 18:15:24 kernel: em2882/3 #0: V4L2 VBI device registered as vbi1 Feb 15 18:15:24 kernel: em2882/3 #0: V4L2 extension successfully initiaized Feb 15 18:15:24 kernel: em28xx: Registered (Em28xx v4l2 Extension) extension Feb 15 18:15:24 kernel: em2882/3 #0: Binding DVB extension Feb 15 18:15:24 kernel: em2882/3 #0: no endpoint for DVB mode and transfer type 0 Feb 15 18:15:24 kernel: em2882/3 #0: em28xx_dvb: failed to pre-allocate USB transfer buffers for DVB. Feb 15 18:15:24 kernel: em28xx: Registered (Em28xx dvb Extension) extension Feb 15 18:15:24 kernel: tvp5150 7-005c: i2c i/o error: rc == -6 Feb 15 18:15:24 kernel: tvp5150 7-005c: i2c i/o error: rc == -6 Feb 15 18:15:24 kernel: tvp5150 7-005c: tvp5150_selmux: failed with error = -6 Feb 15 18:15:24 kernel: tvp5150 7-005c: i2c i/o error: rc == -6 Feb 15 18:15:24 kernel: tvp5150 7-005c: tvp5150_selmux: failed with error = -6 #lsmod | grep em28 em28xx_dvb 29555 0 em28xx_v4l 35276 0 videobuf2_vmalloc 13286 1 em28xx_v4l em28xx 84413 2 em28xx_dvb,em28xx_v4l dvb_core 102038 2 em28xx_dvb,videobuf2_dvb tveeprom 20593 2 saa7134,em28xx videobuf2_core 39635 4 saa7134_dvb,saa7134,em28xx_v4l,videobuf2_dvb v4l2_common 12814 6 tuner,saa7134,em28xx_v4l,em28xx,tvp5150,videobuf2_core videodev 135040 7 tuner,saa7134,em28xx_v4l,em28xx,tvp5150,v4l2_common,videobuf2_core usbcore 199382 10 em28xx_dvb,em28xx_v4l,snd_usb_audio,em28xx,snd_usbmidi_lib,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci i2c_core 50240 18 drm,i915,i2c_i801,tuner,saa7134_dvb,saa7134,em28xx_dvb,drm_kms_helper,tda8290,tda827x,i2c_algo_bit,em28xx,tvp5150,v4l2_common,tveeprom,tuner_xc2028,tda1004x,videodev Στο /etc/modprobe.d/em28xx.conf το εχω δηλώσει ως card=53, γιατί μόνο έτσι δουλευε, αντί για card=50 που είναι το σωστό. Βέβαια το άλλαξα αλλά και πάλι έβγαλε περισσότερα σφάλματα options em28xx card=53 i2c_scan=1 Τι έπαθε; Κάηκε; Γιατί λέει "known eeprom format or eeprom corrupted !" Μπορώ να την επιδιορθώσω κάπως την eeprom; Εδώ είναι ένα link από το linuxtv.org που αναφέρει τα μυνήματα που εμφανίζει ο kernel. Εκεί αναγνωρίζει κανονικά eeprom. http://www.linuxtv.org/wiki/index.php/MSI_DigiVox_A/D_II Edit. Λοιπόν, θυμήθηκα και τι έκανα και μάλλον εγώ φταίω που δεν παίζει τώρα. Είχα βάλει ένα αισθητήρα DHT11 θερμοκρασίας/υγρασιας στο raspberry και δοκίμαζα διάφορα. Ήθελα να μπορεί να το αναγνωρίζει το lm-sensors και βρήκα αυτή τη σελίδα: http://homepage.eircom.net/~nigelbrooke/Electronics_Projects/Temp_sensor_for_Raspberry_pi.html Επομένως πάτησα από root: #modprobe i2c-dev #i2cdetect -y 0 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- 48 -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- -- #echo lm75 0x48 > /sys/class/i2c-adapter/i2c-0/new_device #sensors όπου 48 ήταν κάποιο άλλο νουμερο, νομίζω 50.Μάλλον μετά από αυτά τα μαγικά κάτι χάλασα και δεν ξέρω τι! Αν μπορεί ας βοηθήσει κάποιος. Επεξ/σία 15 Φεβρουαρίου 2015 από capthookb
capthookb Δημοσ. 15 Φεβρουαρίου 2015 Μέλος Δημοσ. 15 Φεβρουαρίου 2015 Τελικά την έσωσα την κάρτα. http://www.lm-sensors.org/wiki/i2cToolsDocumentation Με το i2cdump ειδα πως τα bytes διέφεραν από αυτό που έβλεπα στο wiki του linuxtv.org για τη συγκεκριμένη κάρτα. Οπότε με το i2cset διόρθωσα byte προς byte τον πίνακα (μάλλον την eeprom) και επανήλθε το tunerάκι. 1
Προτεινόμενες αναρτήσεις
Δημιουργήστε ένα λογαριασμό ή συνδεθείτε για να σχολιάσετε
Πρέπει να είστε μέλος για να αφήσετε σχόλιο
Δημιουργία λογαριασμού
Εγγραφείτε με νέο λογαριασμό στην κοινότητα μας. Είναι πανεύκολο!
Δημιουργία νέου λογαριασμούΣύνδεση
Έχετε ήδη λογαριασμό; Συνδεθείτε εδώ.
Συνδεθείτε τώρα