LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-10-2014, 04:39 PM   #16
jefro
Moderator
 
Registered: Mar 2008
Posts: 18,093

Rep: Reputation: 2709Reputation: 2709Reputation: 2709Reputation: 2709Reputation: 2709Reputation: 2709Reputation: 2709Reputation: 2709Reputation: 2709Reputation: 2709Reputation: 2709

Did we ever try VLC?
 
Old 06-19-2014, 05:35 AM   #17
kaza
Member
 
Registered: Apr 2010
Distribution: FC17
Posts: 185

Original Poster
Rep: Reputation: 2
Some more info:

I attempted to recompile (and also to update) the kernel which is now:

Code:
<root localhost>.../temp>uname -r
3.14.7-100.hpfs.fc19.x86_64
Also, I set some debugging of the xc500 driver in
/etc/modprobe.d/openfwwf.conf

Code:
options b43 nohwcrypt=1 qos=0
options xc5000 no_poweroff=1 debug=1
options saa7134 card=16 tuner=76
I'm still getting I2C errors, although now there are some
more debug printouts. Here's the relevant lines of "dmesg" output:

Code:
[   26.562122] saa7130/34: v4l2 driver version 0, 2, 17 loaded
[   26.562282] saa7130[0]: found at 0000:09:06.0, rev: 1, irq: 21, latency: 64, mmio: 0xfebffc00
[   26.562290] saa7130[0]: subsystem: 1131:0000, board: ASUS TV-FM 7134 [card=16,insmod option]
[   26.562308] saa7130[0]: board init: gpio is 4080
[   26.662985] saa7130[0]: Huh, no eeprom present (err=-5)?
[   26.896904] tuner 5-0061: Tuner -1 found with type(s) Radio TV.
[   27.331694] xc5000: xc5000_attach(5-0061)
[   27.331700] xc5000 5-0061: creating new instance
[   27.333949] xc5000: Successfully identified at address 0x61
[   27.333951] xc5000: Firmware has not been loaded previously
[   27.336950] xc5000: xc5000_is_firmware_loaded() returns True id = 0x20
[   27.336952] xc5000: xc5000_set_tv_freq() frequency=6400 (in units of 62.5khz)
[   27.336954] xc5000: xc_SetSignalSource(1) Source = CABLE
[   27.341953] xc5000: xc_SetTVStandard(0x8049,0x0c04)
[   27.341955] xc5000: xc_SetTVStandard() Standard = B/G-PAL-NICAM
[   27.356954] xc5000: xc_tune_channel(400000000)
[   27.356956] xc5000: xc_set_RF_frequency(400000000)
[   27.474985] xc5000: *** ADC envelope (0-1023) = 1540
[   27.477984] xc5000: *** Frequency error = 0 Hz
[   27.480985] xc5000: *** Lock status (0-Wait, 1-Locked, 2-No-signal) = 2814
[   27.486987] xc5000: *** HW: V0.0, FW: V 0.0.32527
[   27.489987] xc5000: *** Horizontal sync frequency = 7538 Hz
[   27.492987] xc5000: *** Frame lines = 980
[   27.495988] xc5000: *** Quality (0:<8dB, 7:>56dB) = 0
[   27.498989] xc5000: *** Unweighted analog SNR = 56 dB
[   27.501990] xc5000: *** Total gain = 211.80 dB
[   27.504991] xc5000: xc5000_is_firmware_loaded() returns False id = 0x2000
[   27.504993] xc5000: waiting for firmware upload (dvb-fe-xc5000-1.6.114.fw)...
[   27.692299] xc5000: firmware read 12401 bytes.
[   27.692303] xc5000: firmware uploading...
[   27.692307] xc5000: xc5000_TunerReset()
[   29.942597] xc5000: firmware upload complete...
[   29.963602] xc5000: xc_initialize()
[   29.964703] xc5000: I2C write failed (len=4)
[   29.964705] xc5000: waiting for firmware upload (dvb-fe-xc5000-1.6.114.fw)...
[   29.965100] xc5000: firmware read 12401 bytes.
[   29.965102] xc5000: firmware uploading...
[   29.965104] xc5000: xc5000_TunerReset()
[   29.965126] xc5000: I2C write failed (len=3)
[   29.965128] xc5000: firmware upload failed...
[   29.965131] xc5000: Unable to load firmware and init tuner
[   29.965167] xc5000: xc5000_sleep()
[   29.965373] saa7130[0]: registered device video0 [v4l2]
[   29.965441] saa7130[0]: registered device vbi0
[   29.965506] saa7130[0]: registered device radio0
[   29.968333] xc5000: I2C read failed
[   29.968340] xc5000: xc5000_is_firmware_loaded() returns False id = 0x1186
[   29.968342] xc5000: waiting for firmware upload (dvb-fe-xc5000-1.6.114.fw)...
[   29.968345] xc5000: I2C read failed
[   29.968352] xc5000: xc5000_is_firmware_loaded() returns False id = 0x1
[   29.968354] xc5000: waiting for firmware upload (dvb-fe-xc5000-1.6.114.fw)...
[   29.968379] xc5000: firmware read 12401 bytes.
[   29.968382] xc5000: firmware read 12401 bytes.
[   29.968383] xc5000: firmware uploading...
[   29.968385] xc5000: xc5000_TunerReset()
[   29.968387] xc5000: firmware uploading...
[   29.968389] xc5000: xc5000_TunerReset()
[   29.968957] xc5000: I2C write failed (len=3)
[   29.968960] xc5000: firmware upload failed...
[   29.968962] xc5000: Unable to load firmware and init tuner
[   29.968973] xc5000: I2C write failed (len=3)
[   29.968975] xc5000: firmware upload failed...
[   29.968980] xc5000: Unable to load firmware and init tuner
[   29.969474] xc5000: xc5000_sleep()
[   29.969525] xc5000: I2C read failed
[   29.969530] xc5000: xc5000_is_firmware_loaded() returns False id = 0x6638
[   29.969532] xc5000: waiting for firmware upload (dvb-fe-xc5000-1.6.114.fw)...
[   29.969546] xc5000: xc5000_sleep()
[   29.969561] xc5000: firmware read 12401 bytes.
[   29.969563] xc5000: firmware uploading...
[   29.969565] xc5000: xc5000_TunerReset()
[   29.969587] xc5000: I2C write failed (len=3)
[   29.969588] xc5000: firmware upload failed...
[   29.969592] xc5000: Unable to load firmware and init tuner
[   29.969705] xc5000: xc5000_sleep()
Does these additional debug messaged shed any light as to what might be wrong?

TIA,
 
Old 06-24-2014, 11:31 AM   #18
kaza
Member
 
Registered: Apr 2010
Distribution: FC17
Posts: 185

Original Poster
Rep: Reputation: 2
Some more info:

After adding "debug=1" xc5000 option
it took me few days of experimenting with slightly altering the files

.../drivers/i2c/i2c-core.c
.../drivers/media/tuners/xc5000.c

by inserting kernel print messages to get some more info in "dmesg" output
and recompiling the kernel (I'm not sure I couldn't recompile only the modules
but since I'm a newbie to recompiling kernel modules, I prefare to stick with a written
guide at https://fedoraproject.org/wiki/Building_a_custom_kernel?rd=Docs/CustomKernel).
Anyway, after getting the following dmesg output (I left only the xc5000/i2c related lines):

Code:

[   26.464569] saa7130/34: v4l2 driver version 0, 2, 17 loaded
[   26.464733] saa7130[0]: found at 0000:09:06.0, rev: 1, irq: 21, latency: 64, mmio: 0xfebffc00
[   26.464740] saa7130[0]: subsystem: 1131:0000, board: ASUS TV-FM 7134 [card=16,insmod option]
[   26.464759] saa7130[0]: board init: gpio is 4080
[   26.565884] adap->name: saa7130[0]
[   26.565890] master_xfer[0] W, addr=0x50, len=1
[   26.566035] Try #0 of adap->algo->master_xfer returns: -5
[   26.566036] __i2c_transfer returns: -5
[   26.566038] saa7130[0]: Huh, no eeprom present (err=-5)?
[   26.709782] adap->name: saa7130[0]
[   26.709788] master_xfer[0] W, addr=0x42, len=0
[   26.709939] Try #0 of adap->algo->master_xfer returns: -5
[   26.709941] __i2c_transfer returns: -5
[   26.709943] adap->name: saa7130[0]
[   26.709944] master_xfer[0] W, addr=0x43, len=0
[   26.710092] Try #0 of adap->algo->master_xfer returns: -5
[   26.710094] __i2c_transfer returns: -5
[   26.710095] adap->name: saa7130[0]
[   26.710096] master_xfer[0] W, addr=0x4a, len=0
[   26.710244] Try #0 of adap->algo->master_xfer returns: -5
[   26.710245] __i2c_transfer returns: -5
[   26.710246] adap->name: saa7130[0]
[   26.710248] master_xfer[0] W, addr=0x4b, len=0
[   26.710396] Try #0 of adap->algo->master_xfer returns: -5
[   26.710397] __i2c_transfer returns: -5
[   26.711564] adap->name: saa7130[0]
[   26.711566] master_xfer[0] W, addr=0x60, len=0
[   26.711714] Try #0 of adap->algo->master_xfer returns: -5
[   26.711715] __i2c_transfer returns: -5
[   26.711717] adap->name: saa7130[0]
[   26.711718] master_xfer[0] W, addr=0x61, len=0
[   26.713856] Try #0 of adap->algo->master_xfer returns: 1
[   26.713858] __i2c_transfer returns: 1
[   26.713920] tuner 5-0061: Tuner -1 found with type(s) Radio TV.
[   26.888181] xc5000: xc5000_attach(5-0061)
[   26.888188] xc5000 5-0061: creating new instance
[   26.888191] adap->name: saa7130[0]
[   26.888193] master_xfer[0] W, addr=0x61, len=2
[   26.888194] master_xfer[1] R, addr=0x61, len=2
[   26.892204] Try #0 of adap->algo->master_xfer returns: 2
[   26.892209] __i2c_transfer returns: 2
[   26.892212] xc5000: Successfully identified at address 0x61
[   26.892213] xc5000: Firmware has not been loaded previously
[   26.892221] adap->name: saa7130[0]
[   26.892223] master_xfer[0] W, addr=0x61, len=2
[   26.892224] master_xfer[1] R, addr=0x61, len=2
[   26.894910] Try #0 of adap->algo->master_xfer returns: 2
[   26.894913] __i2c_transfer returns: 2
[   26.894916] xc5000: xc5000_is_firmware_loaded() returns True (0x0) id = 0x20
[   26.894918] xc5000: xc5000_set_tv_freq() frequency=6400 (in units of 62.5khz)
[   26.894920] xc5000: xc_SetSignalSource(1) Source = CABLE
[   26.894921] adap->name: saa7130[0]
[   26.894923] master_xfer[0] W, addr=0x61, len=4
[   26.896903] Try #0 of adap->algo->master_xfer returns: 1
[   26.896905] __i2c_transfer returns: 1
[   26.896907] K.A.: xc_write_reg, buf[0]=0x0,buf[1]=0xd,buf[2]=0x0,buf[3]=0x1,res=0
[   26.896908] adap->name: saa7130[0]
[   26.896909] master_xfer[0] W, addr=0x61, len=2
[   26.896911] master_xfer[1] R, addr=0x61, len=2
[   26.899903] Try #0 of adap->algo->master_xfer returns: 2
[   26.899904] __i2c_transfer returns: 2
[   26.899906] xc5000: xc_SetTVStandard(0x8049,0x0c04)
[   26.899907] xc5000: xc_SetTVStandard() Standard = B/G-PAL-NICAM
[   26.899908] adap->name: saa7130[0]
[   26.899910] master_xfer[0] W, addr=0x61, len=4
[   26.902915] Try #0 of adap->algo->master_xfer returns: 1
[   26.902920] __i2c_transfer returns: 1
[   26.902938] K.A.: xc_write_reg, buf[0]=0x0,buf[1]=0x1,buf[2]=0x80,buf[3]=0x49,res=0
[   26.902940] adap->name: saa7130[0]
[   26.902942] master_xfer[0] W, addr=0x61, len=2
[   26.902944] master_xfer[1] R, addr=0x61, len=2
[   26.905913] Try #0 of adap->algo->master_xfer returns: 2
[   26.905919] __i2c_transfer returns: 2
[   26.905922] adap->name: saa7130[0]
[   26.905924] master_xfer[0] W, addr=0x61, len=4
[   26.907917] Try #0 of adap->algo->master_xfer returns: 1
[   26.907921] __i2c_transfer returns: 1
[   26.907924] K.A.: xc_write_reg, buf[0]=0x0,buf[1]=0x2,buf[2]=0xc,buf[3]=0x4,res=0
[   26.907927] adap->name: saa7130[0]
[   26.907929] master_xfer[0] W, addr=0x61, len=2
[   26.907931] master_xfer[1] R, addr=0x61, len=2
[   26.910906] Try #0 of adap->algo->master_xfer returns: 2
[   26.910907] __i2c_transfer returns: 2
[   26.910909] adap->name: saa7130[0]
[   26.910910] master_xfer[0] W, addr=0x61, len=4
[   26.912928] Try #0 of adap->algo->master_xfer returns: 1
[   26.912930] __i2c_transfer returns: 1
[   26.912932] K.A.: xc_write_reg, buf[0]=0x0,buf[1]=0xb,buf[2]=0x0,buf[3]=0x9,res=0
[   26.912933] adap->name: saa7130[0]
[   26.912934] master_xfer[0] W, addr=0x61, len=2
[   26.912936] master_xfer[1] R, addr=0x61, len=2
[   26.915909] Try #0 of adap->algo->master_xfer returns: 2
[   26.915910] __i2c_transfer returns: 2
[   26.915912] xc5000: xc_tune_channel(400000000)
[   26.915914] xc5000: xc_set_RF_frequency(400000000)
[   26.915915] adap->name: saa7130[0]
[   26.915916] master_xfer[0] W, addr=0x61, len=4
[   26.917907] Try #0 of adap->algo->master_xfer returns: 1
[   26.917909] __i2c_transfer returns: 1
[   26.917910] K.A.: xc_write_reg, buf[0]=0x0,buf[1]=0x10,buf[2]=0x64,buf[3]=0x0,res=0
[   26.917912] adap->name: saa7130[0]
[   26.917913] master_xfer[0] W, addr=0x61, len=2
[   26.917914] master_xfer[1] R, addr=0x61, len=2
[   26.920909] Try #0 of adap->algo->master_xfer returns: 2
[   26.920910] __i2c_transfer returns: 2
[   26.920912] adap->name: saa7130[0]
[   26.920913] master_xfer[0] W, addr=0x61, len=2
[   26.920914] master_xfer[1] R, addr=0x61, len=2
[   26.923909] Try #0 of adap->algo->master_xfer returns: 2
[   26.923911] __i2c_transfer returns: 2
[   27.030948] adap->name: saa7130[0]
[   27.030954] master_xfer[0] W, addr=0x61, len=2
[   27.030957] master_xfer[1] R, addr=0x61, len=2
[   27.033938] Try #0 of adap->algo->master_xfer returns: 2
[   27.033939] __i2c_transfer returns: 2
[   27.033941] xc5000: *** ADC envelope (0-1023) = 1540
[   27.033942] adap->name: saa7130[0]
[   27.033944] master_xfer[0] W, addr=0x61, len=2
[   27.033945] master_xfer[1] R, addr=0x61, len=2
[   27.036937] Try #0 of adap->algo->master_xfer returns: 2
[   27.036938] __i2c_transfer returns: 2
[   27.036940] xc5000: *** Frequency error = 0 Hz
[   27.036941] adap->name: saa7130[0]
[   27.036942] master_xfer[0] W, addr=0x61, len=2
[   27.036944] master_xfer[1] R, addr=0x61, len=2
[   27.039937] Try #0 of adap->algo->master_xfer returns: 2
[   27.039938] __i2c_transfer returns: 2
[   27.039939] xc5000: *** Lock status (0-Wait, 1-Locked, 2-No-signal) = 2814
[   27.039940] adap->name: saa7130[0]
[   27.039942] master_xfer[0] W, addr=0x61, len=2
[   27.039943] master_xfer[1] R, addr=0x61, len=2
[   27.042938] Try #0 of adap->algo->master_xfer returns: 2
[   27.042939] __i2c_transfer returns: 2
[   27.042940] adap->name: saa7130[0]
[   27.042941] master_xfer[0] W, addr=0x61, len=2
[   27.042943] master_xfer[1] R, addr=0x61, len=2
[   27.045939] Try #0 of adap->algo->master_xfer returns: 2
[   27.045940] __i2c_transfer returns: 2
[   27.045942] xc5000: *** HW: V0.0, FW: V 0.0.32527
[   27.045943] adap->name: saa7130[0]
[   27.045945] master_xfer[0] W, addr=0x61, len=2
[   27.045946] master_xfer[1] R, addr=0x61, len=2
[   27.048940] Try #0 of adap->algo->master_xfer returns: 2
[   27.048941] __i2c_transfer returns: 2
[   27.048942] xc5000: *** Horizontal sync frequency = 31206 Hz
[   27.048943] adap->name: saa7130[0]
[   27.048945] master_xfer[0] W, addr=0x61, len=2
[   27.048946] master_xfer[1] R, addr=0x61, len=2
[   27.051947] Try #0 of adap->algo->master_xfer returns: 2
[   27.051949] __i2c_transfer returns: 2
[   27.051950] xc5000: *** Frame lines = 16340
[   27.051951] adap->name: saa7130[0]
[   27.051953] master_xfer[0] W, addr=0x61, len=2
[   27.051954] master_xfer[1] R, addr=0x61, len=2
[   27.054944] Try #0 of adap->algo->master_xfer returns: 2
[   27.054946] __i2c_transfer returns: 2
[   27.054947] xc5000: *** Quality (0:<8dB, 7:>56dB) = 0
[   27.054948] adap->name: saa7130[0]
[   27.054949] master_xfer[0] W, addr=0x61, len=2
[   27.054951] master_xfer[1] R, addr=0x61, len=2
[   27.057943] Try #0 of adap->algo->master_xfer returns: 2
[   27.057944] __i2c_transfer returns: 2
[   27.057946] xc5000: *** Unweighted analog SNR = 0 dB
[   27.057947] adap->name: saa7130[0]
[   27.057948] master_xfer[0] W, addr=0x61, len=2
[   27.057949] master_xfer[1] R, addr=0x61, len=2
[   27.060943] Try #0 of adap->algo->master_xfer returns: 2
[   27.060945] __i2c_transfer returns: 2
[   27.060946] xc5000: *** Total gain = 211.80 dB
[   27.060952] adap->name: saa7130[0]
[   27.060953] master_xfer[0] W, addr=0x61, len=2
[   27.060954] master_xfer[1] R, addr=0x61, len=2
[   27.063943] Try #0 of adap->algo->master_xfer returns: 2
[   27.063945] __i2c_transfer returns: 2
[   27.063947] xc5000: xc5000_is_firmware_loaded() returns False (0x1) id = 0x2000
[   27.063949] xc5000: waiting for firmware upload (dvb-fe-xc5000-1.6.114.fw)...
[   27.217734] xc5000: firmware read 12401 bytes.
[   27.217739] xc5000: firmware uploading...
[   27.217742] xc5000: xc5000_TunerReset()
[   27.217758] adap->name: saa7130[0]
[   27.217760] master_xfer[0] W, addr=0x61, len=3
[   27.219984] Try #0 of adap->algo->master_xfer returns: 1
[   27.219986] __i2c_transfer returns: 1
[   27.219988] K.A.: xc_load_i2c_sequence sent 3 bytes, result: 0
[   27.230991] adap->name: saa7130[0]
[   27.230998] master_xfer[0] W, addr=0x61, len=3
[   27.232985] Try #0 of adap->algo->master_xfer returns: 1
[   27.232988] __i2c_transfer returns: 1
[   27.232989] K.A.: xc_load_i2c_sequence sent 3 bytes, result: 0
[   27.232991] adap->name: saa7130[0]
[   27.232992] master_xfer[0] W, addr=0x61, len=3
[   27.234985] Try #0 of adap->algo->master_xfer returns: 1
[   27.234987] __i2c_transfer returns: 1
[   27.234988] K.A.: xc_load_i2c_sequence sent 3 bytes, result: 0
[   27.234989] adap->name: saa7130[0]
[   27.234991] master_xfer[0] W, addr=0x61, len=64
[   27.245996] Try #0 of adap->algo->master_xfer returns: 1
[   27.245998] __i2c_transfer returns: 1
[   27.245999] K.A.: xc_load_i2c_sequence sent 64 bytes, result: 0
[   27.246000] adap->name: saa7130[0]
.
.	198 repetitions of sucsessful 64 bytes transfer.
.
[   29.419534] master_xfer[0] W, addr=0x61, len=64
[   29.430531] Try #0 of adap->algo->master_xfer returns: 1
[   29.430532] __i2c_transfer returns: 1
[   29.430534] K.A.: xc_load_i2c_sequence sent 64 bytes, result: 0
[   29.430535] adap->name: saa7130[0]
[   29.430536] master_xfer[0] W, addr=0x61, len=16
[   29.434531] Try #0 of adap->algo->master_xfer returns: 1
[   29.434532] __i2c_transfer returns: 1
[   29.434534] K.A.: xc_load_i2c_sequence sent 16 bytes, result: 0
[   29.434535] adap->name: saa7130[0]
[   29.434536] master_xfer[0] W, addr=0x61, len=12
[   29.437531] Try #0 of adap->algo->master_xfer returns: 1
[   29.437533] __i2c_transfer returns: 1
[   29.437534] K.A.: xc_load_i2c_sequence sent 12 bytes, result: 0
[   29.437535] adap->name: saa7130[0]
[   29.437536] master_xfer[0] W, addr=0x61, len=4
[   29.439532] Try #0 of adap->algo->master_xfer returns: 1
[   29.439533] __i2c_transfer returns: 1
[   29.439535] K.A.: xc_load_i2c_sequence sent 4 bytes, result: 0
[   29.439536] adap->name: saa7130[0]
[   29.439537] master_xfer[0] W, addr=0x61, len=18
[   29.443532] Try #0 of adap->algo->master_xfer returns: 1
[   29.443533] __i2c_transfer returns: 1
[   29.443535] K.A.: xc_load_i2c_sequence sent 18 bytes, result: 0
[   29.443536] adap->name: saa7130[0]
[   29.443537] master_xfer[0] W, addr=0x61, len=6
[   29.446533] Try #0 of adap->algo->master_xfer returns: 1
[   29.446534] __i2c_transfer returns: 1
[   29.446535] K.A.: xc_load_i2c_sequence sent 6 bytes, result: 0
[   29.446536] adap->name: saa7130[0]
[   29.446538] master_xfer[0] W, addr=0x61, len=12
[   29.449533] Try #0 of adap->algo->master_xfer returns: 1
[   29.449535] __i2c_transfer returns: 1
[   29.449536] K.A.: xc_load_i2c_sequence sent 12 bytes, result: 0
[   29.449537] adap->name: saa7130[0]
[   29.449539] master_xfer[0] W, addr=0x61, len=3
[   29.451534] Try #0 of adap->algo->master_xfer returns: 1
[   29.451536] __i2c_transfer returns: 1
[   29.451537] K.A.: xc_load_i2c_sequence sent 3 bytes, result: 0
[   29.451538] adap->name: saa7130[0]
[   29.451539] master_xfer[0] W, addr=0x61, len=3
[   29.453534] Try #0 of adap->algo->master_xfer returns: 1
[   29.453536] __i2c_transfer returns: 1
[   29.453537] K.A.: xc_load_i2c_sequence sent 3 bytes, result: 0
[   29.453538] adap->name: saa7130[0]
[   29.453540] master_xfer[0] W, addr=0x61, len=3
[   29.455535] Try #0 of adap->algo->master_xfer returns: 1
[   29.455537] __i2c_transfer returns: 1
[   29.455538] K.A.: xc_load_i2c_sequence sent 3 bytes, result: 0
[   29.455539] adap->name: saa7130[0]
[   29.455540] master_xfer[0] W, addr=0x61, len=5
[   29.457536] Try #0 of adap->algo->master_xfer returns: 1
[   29.457537] __i2c_transfer returns: 1
[   29.457538] K.A.: xc_load_i2c_sequence sent 5 bytes, result: 0
[   29.463538] K.A.: xc_set_xtal, chip id: XC5000A
[   29.463540] xc5000: firmware upload complete...
[   29.564564] xc5000: xc_initialize()
[   29.564566] adap->name: saa7130[0]
[   29.564567] master_xfer[0] W, addr=0x61, len=4
[   29.565665] Try #0 of adap->algo->master_xfer returns: -5
[   29.565667] __i2c_transfer returns: -5
[   29.565668] xc5000: I2C write failed (len=4, dbg_i2c_trnsr_res=-5)
[   29.565670] K.A.: xc_write_reg, buf[0]=0x0,buf[1]=0x0,buf[2]=0x0,buf[3]=0x0,res=2
[   29.565672] xc5000: waiting for firmware upload (dvb-fe-xc5000-1.6.114.fw)...
[   29.566063] xc5000: firmware read 12401 bytes.
[   29.566065] xc5000: firmware uploading...
[   29.566067] xc5000: xc5000_TunerReset()
[   29.566081] adap->name: saa7130[0]
[   29.566082] master_xfer[0] W, addr=0x61, len=3
[   29.566092] Try #0 of adap->algo->master_xfer returns: -5
[   29.566093] __i2c_transfer returns: -5
[   29.566094] xc5000: I2C write failed (len=3, dbg_i2c_trnsr_res=-5)
[   29.566095] K.A.: xc_load_i2c_sequence sent 3 bytes, result: 2
[   29.566096] xc5000: firmware upload failed...
[   29.566099] xc5000: Unable to load firmware and init tuner
[   29.566135] xc5000: xc5000_sleep()
[   29.566514] saa7130[0]: registered device video0 [v4l2]
[   29.566638] saa7130[0]: registered device vbi0
[   29.566759] saa7130[0]: registered device radio0
[   29.570187] adap->name: saa7130[0]
[   29.570194] master_xfer[0] W, addr=0x61, len=2
[   29.570196] master_xfer[1] R, addr=0x61, len=2
[   29.570747] Try #0 of adap->algo->master_xfer returns: -5
[   29.570749] __i2c_transfer returns: -5
[   29.570751] xc5000: I2C read (xc5000_readreg) failed (len===2, dbg_i2c_trnsr_res=-5)
[   29.570754] xc5000: xc5000_is_firmware_loaded() returns False (0xffffff87) id = 0x6638
[   29.570755] xc5000: waiting for firmware upload (dvb-fe-xc5000-1.6.114.fw)...
[   29.570788] xc5000: firmware read 12401 bytes.
[   29.570790] xc5000: firmware uploading...
[   29.570792] xc5000: xc5000_TunerReset()
[   29.570805] adap->name: saa7130[0]
[   29.570807] master_xfer[0] W, addr=0x61, len=3
[   29.570816] Try #0 of adap->algo->master_xfer returns: -5
[   29.570817] __i2c_transfer returns: -5
[   29.570819] xc5000: I2C write failed (len=3, dbg_i2c_trnsr_res=-5)
[   29.570820] K.A.: xc_load_i2c_sequence sent 3 bytes, result: 2
[   29.570821] xc5000: firmware upload failed...
[   29.570826] xc5000: Unable to load firmware and init tuner
[   29.571348] xc5000: xc5000_sleep()
[   29.572027] adap->name: saa7130[0]
[   29.572032] master_xfer[0] W, addr=0x61, len=2
[   29.572033] master_xfer[1] R, addr=0x61, len=2
[   29.572622] Try #0 of adap->algo->master_xfer returns: -5
[   29.572624] __i2c_transfer returns: -5
[   29.572625] xc5000: I2C read (xc5000_readreg) failed (len===2, dbg_i2c_trnsr_res=-5)
[   29.572628] xc5000: xc5000_is_firmware_loaded() returns False (0xffffff87) id = 0x6100
[   29.572629] xc5000: waiting for firmware upload (dvb-fe-xc5000-1.6.114.fw)...
[   29.573186] adap->name: saa7130[0]
[   29.573190] master_xfer[0] W, addr=0x61, len=2
[   29.573192] master_xfer[1] R, addr=0x61, len=2
[   29.573201] Try #0 of adap->algo->master_xfer returns: -5
[   29.573202] __i2c_transfer returns: -5
[   29.573204] xc5000: I2C read (xc5000_readreg) failed (len===2, dbg_i2c_trnsr_res=-5)
[   29.573206] xc5000: xc5000_is_firmware_loaded() returns False (0xffffff87) id = 0x141
[   29.573207] xc5000: waiting for firmware upload (dvb-fe-xc5000-1.6.114.fw)...
[   29.573239] xc5000: firmware read 12401 bytes.
[   29.573240] xc5000: firmware uploading...
[   29.573242] xc5000: xc5000_TunerReset()
[   29.573255] adap->name: saa7130[0]
[   29.573257] master_xfer[0] W, addr=0x61, len=3
[   29.573680] xc5000: firmware read 12401 bytes.
[   29.573684] xc5000: firmware uploading...
[   29.573687] xc5000: xc5000_TunerReset()
[   29.573702] adap->name: saa7130[0]
[   29.573704] master_xfer[0] W, addr=0x61, len=3
[   29.573809] Try #0 of adap->algo->master_xfer returns: -5
[   29.573811] __i2c_transfer returns: -5
[   29.573817] xc5000: I2C write failed (len=3, dbg_i2c_trnsr_res=-5)
[   29.573819] K.A.: xc_load_i2c_sequence sent 3 bytes, result: 2
[   29.573820] xc5000: firmware upload failed...
[   29.573822] xc5000: Unable to load firmware and init tuner
[   29.573830] Try #0 of adap->algo->master_xfer returns: -5
[   29.573832] __i2c_transfer returns: -5
[   29.573834] xc5000: I2C write failed (len=3, dbg_i2c_trnsr_res=-5)
[   29.573835] K.A.: xc_load_i2c_sequence sent 3 bytes, result: 2
[   29.573836] xc5000: firmware upload failed...
[   29.573845] xc5000: Unable to load firmware and init tuner
[   29.573873] xc5000: xc5000_sleep()
[   29.573907] xc5000: xc5000_sleep()
[   38.014670] adap->name: Radeon i2c bit bus 0x91
[   38.014677] master_xfer[0] W, addr=0x50, len=1
[   38.014679] master_xfer[1] R, addr=0x50, len=8
[   38.017055] Try #0 of adap->algo->master_xfer returns: 2
[   38.017057] __i2c_transfer returns: 2
[   38.017059] adap->name: Radeon i2c bit bus 0x91
[   38.017061] master_xfer[0] W, addr=0x50, len=1
[   38.017062] master_xfer[1] R, addr=0x50, len=1
[   38.018590] Try #0 of adap->algo->master_xfer returns: 2
[   38.018594] __i2c_transfer returns: 2
[   38.018640] adap->name: Radeon i2c bit bus 0x91
[   38.018643] master_xfer[0] W, addr=0x50, len=1
[   38.018644] master_xfer[1] R, addr=0x50, len=128
[   38.045866] Try #0 of adap->algo->master_xfer returns: 2
[   38.045867] __i2c_transfer returns: 2
[   38.046128] adap->name: Radeon i2c bit bus 0x90
[   38.046130] master_xfer[0] W, addr=0x50, len=1
[   38.046132] master_xfer[1] R, addr=0x50, len=8
[   38.049181] i2c i2c-0: NAK from device addr 0x50 msg #0
[   38.049216] Try #0 of adap->algo->master_xfer returns: -6
[   38.049219] __i2c_transfer returns: -6
[   38.055014] adap->name: Radeon i2c bit bus 0x90
[   38.055021] master_xfer[0] W, addr=0x50, len=1
[   38.055023] master_xfer[1] R, addr=0x50, len=8
[   38.056066] i2c i2c-0: NAK from device addr 0x50 msg #0
[   38.056099] Try #0 of adap->algo->master_xfer returns: -6
[   38.056100] __i2c_transfer returns: -6
[   38.062076] adap->name: Radeon i2c bit bus 0x91
[   38.062079] master_xfer[0] W, addr=0x50, len=1
[   38.062081] master_xfer[1] R, addr=0x50, len=8
[   38.064449] Try #0 of adap->algo->master_xfer returns: 2
[   38.064451] __i2c_transfer returns: 2
[   38.064453] adap->name: Radeon i2c bit bus 0x91
[   38.064455] master_xfer[0] W, addr=0x50, len=1
[   38.064456] master_xfer[1] R, addr=0x50, len=1
[   38.065377] Try #0 of adap->algo->master_xfer returns: 2
[   38.065379] __i2c_transfer returns: 2
[   38.065380] adap->name: Radeon i2c bit bus 0x91
[   38.065381] master_xfer[0] W, addr=0x50, len=1
[   38.065383] master_xfer[1] R, addr=0x50, len=128
[   38.092510] Try #0 of adap->algo->master_xfer returns: 2
[   38.092512] __i2c_transfer returns: 2
[   38.093211] adap->name: Radeon i2c bit bus 0x90
[   38.093214] master_xfer[0] W, addr=0x50, len=1
[   38.093215] master_xfer[1] R, addr=0x50, len=8
[   38.094238] i2c i2c-0: NAK from device addr 0x50 msg #0
[   38.094270] Try #0 of adap->algo->master_xfer returns: -6
[   38.094271] __i2c_transfer returns: -6
[   38.100778] adap->name: Radeon i2c bit bus 0x90
[   38.100785] master_xfer[0] W, addr=0x50, len=1
[   38.100787] master_xfer[1] R, addr=0x50, len=8
[   38.102244] i2c i2c-0: NAK from device addr 0x50 msg #0
[   38.102277] Try #0 of adap->algo->master_xfer returns: -6
[   38.102279] __i2c_transfer returns: -6
[   48.961667] adap->name: Radeon i2c bit bus 0x91
[   48.961674] master_xfer[0] W, addr=0x50, len=1
[   48.961676] master_xfer[1] R, addr=0x50, len=8
[   48.964053] Try #0 of adap->algo->master_xfer returns: 2
[   48.964054] __i2c_transfer returns: 2
[   48.964057] adap->name: Radeon i2c bit bus 0x91
[   48.964059] master_xfer[0] W, addr=0x50, len=1
[   48.964060] master_xfer[1] R, addr=0x50, len=1
[   48.964980] Try #0 of adap->algo->master_xfer returns: 2
[   48.964982] __i2c_transfer returns: 2
[   48.964983] adap->name: Radeon i2c bit bus 0x91
[   48.964984] master_xfer[0] W, addr=0x50, len=1
[   48.964986] master_xfer[1] R, addr=0x50, len=128
[   48.992116] Try #0 of adap->algo->master_xfer returns: 2
[   48.992117] __i2c_transfer returns: 2
[   48.992535] adap->name: Radeon i2c bit bus 0x90
[   48.992537] master_xfer[0] W, addr=0x50, len=1
[   48.992538] master_xfer[1] R, addr=0x50, len=8
[   48.993572] i2c i2c-0: NAK from device addr 0x50 msg #0
[   48.993603] Try #0 of adap->algo->master_xfer returns: -6
[   48.993605] __i2c_transfer returns: -6
[   48.999694] adap->name: Radeon i2c bit bus 0x90
[   48.999697] master_xfer[0] W, addr=0x50, len=1
[   48.999698] master_xfer[1] R, addr=0x50, len=8
[   49.000718] i2c i2c-0: NAK from device addr 0x50 msg #0
[   49.000750] Try #0 of adap->algo->master_xfer returns: -6
[   49.000751] __i2c_transfer returns: -6
[   49.770639] adap->name: Radeon i2c bit bus 0x91
[   49.770646] master_xfer[0] W, addr=0x50, len=1
[   49.770648] master_xfer[1] R, addr=0x50, len=8
[   49.773023] Try #0 of adap->algo->master_xfer returns: 2
[   49.773025] __i2c_transfer returns: 2
[   49.773028] adap->name: Radeon i2c bit bus 0x91
[   49.773029] master_xfer[0] W, addr=0x50, len=1
[   49.773031] master_xfer[1] R, addr=0x50, len=1
[   49.773951] Try #0 of adap->algo->master_xfer returns: 2
[   49.773952] __i2c_transfer returns: 2
[   49.773954] adap->name: Radeon i2c bit bus 0x91
[   49.773955] master_xfer[0] W, addr=0x50, len=1
[   49.773956] master_xfer[1] R, addr=0x50, len=128
[   49.801089] Try #0 of adap->algo->master_xfer returns: 2
[   49.801091] __i2c_transfer returns: 2
[   49.801279] adap->name: Radeon i2c bit bus 0x90
[   49.801281] master_xfer[0] W, addr=0x50, len=1
[   49.801283] master_xfer[1] R, addr=0x50, len=8
[   49.802319] i2c i2c-0: NAK from device addr 0x50 msg #0
[   49.802351] Try #0 of adap->algo->master_xfer returns: -6
[   49.802352] __i2c_transfer returns: -6
[   50.817399] adap->name: Radeon i2c bit bus 0x91
[   50.817407] master_xfer[0] W, addr=0x50, len=1
[   50.817409] master_xfer[1] R, addr=0x50, len=8
[   50.819788] Try #0 of adap->algo->master_xfer returns: 2
[   50.819790] __i2c_transfer returns: 2
[   50.819792] adap->name: Radeon i2c bit bus 0x91
[   50.819793] master_xfer[0] W, addr=0x50, len=1
[   50.819795] master_xfer[1] R, addr=0x50, len=1
[   50.820724] Try #0 of adap->algo->master_xfer returns: 2
[   50.820725] __i2c_transfer returns: 2
[   50.820727] adap->name: Radeon i2c bit bus 0x91
[   50.820728] master_xfer[0] W, addr=0x50, len=1
[   50.820730] master_xfer[1] R, addr=0x50, len=128
[   50.847859] Try #0 of adap->algo->master_xfer returns: 2
[   50.847861] __i2c_transfer returns: 2
[   50.848287] adap->name: Radeon i2c bit bus 0x90
[   50.848294] master_xfer[0] W, addr=0x50, len=1
[   50.848296] master_xfer[1] R, addr=0x50, len=8
[   50.849330] i2c i2c-0: NAK from device addr 0x50 msg #0
[   50.849362] Try #0 of adap->algo->master_xfer returns: -6
[   50.849364] __i2c_transfer returns: -6
[   50.855151] adap->name: Radeon i2c bit bus 0x90
[   50.855153] master_xfer[0] W, addr=0x50, len=1
[   50.855154] master_xfer[1] R, addr=0x50, len=8
[   50.856180] i2c i2c-0: NAK from device addr 0x50 msg #0
[   50.856212] Try #0 of adap->algo->master_xfer returns: -6
[   50.856213] __i2c_transfer returns: -6
I noticed that the I2C errors start after the firmware upload when "xc_initialize()"
function is called, which just writes the value of "0" to the init. register, residing at
address "0". The returned error code "-5" is a general I/O error of I2C.
I attempted to increase the wait times between the end of firmware upload and the "xc_initialize()"
and after it and the rest of the command - same errors. I'm beginning to come to the conclusion
that the card itself is faulty: there are many I2C transfers successfully made before the "xc_initialize()"
call. Considering the fact it's a cheap card with absolutely no name on it, a hardware fault is quite possible.
I'll try buying on e-bay the Asus-TV7134 card for which I could read the tuner name
and find it in the list:

#define TUNER_PHILIPS_FQ1216AME_MK4 56

If anyone sees in the "dmesg" output some simple solution to the problem,
I'll be happy to know it (and save buying another card), if not:
thanks for everyone for their responses, let's hope the Asus card will live up to its name.
 
Old 06-24-2014, 05:51 PM   #19
jefro
Moderator
 
Registered: Mar 2008
Posts: 18,093

Rep: Reputation: 2709Reputation: 2709Reputation: 2709Reputation: 2709Reputation: 2709Reputation: 2709Reputation: 2709Reputation: 2709Reputation: 2709Reputation: 2709Reputation: 2709
You might try a usb install of some distro to see if this can work. Use a real install not a live usb type by some creator.

An 8G should be enough. Be sure to unplug your internal drive before you do this or use a virtual machine so you don't mess up current install.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
driver for gadmei pt228f pci tv tuner slayerking Linux - Hardware 0 12-16-2011 01:38 PM
Recording TV from a PCI tv tuner card. glore2002 Slackware 15 09-05-2009 07:19 PM
Adding a PCI TV Tuner TheORlyFactor Linux - Hardware 15 02-18-2009 03:00 PM
ATI All-in-Wonder X600 PCI-E tv tuner derfaust Linux - Hardware 1 05-29-2006 04:02 AM
PCI TV card - no options for tuner or tv available stevod333 Linux - Hardware 1 04-17-2006 09:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration