Talk:Twinhan VP-1020A

From LinuxTVWiki
Revision as of 20:08, 2 January 2008 by Spidertnt (talk | contribs)
Jump to navigation Jump to search

Any help with loading the i2cdetect program when i run i2cdetect this is all that shows up

Installed I2C busses:

   i2c-0       smbus           SMBus ALI15X3 adapter at e800           Non-I2C SMBus adapter 

Am i missing something ?

In the article you say "Note: To fix the EEPROM, it is IMPORTANT that you load all modules for your 1020 card except dvb-bt8xx."

How do i load the correct modules when it won't boot...if i rename bttv.ko it does boot .

but renaming dvb-bt8xx.ko has no effect

help


Ok this is what i did and it seemed to work

root@peter-desktop:/lib/modules/2.6.15-26-386/kernel/drivers/media/video# cp bttv.bak bttv.ko root@peter-desktop:/lib/modules/2.6.15-26-386/kernel/drivers/media/video# modprobe bttv card=0x71 i2c_hw=1 root@peter-desktop:/lib/modules/2.6.15-26-386/kernel/drivers/media/video# i2cdetect Error: No i2c-bus specified! Syntax: i2cdetect [-y] [-a] [-q|-r] I2CBUS [FIRST LAST]

       i2cdetect -l
       i2cdetect -V
 I2CBUS is an integer
 With -a, probe all addresses (NOT RECOMMENDED)
 With -q, uses only quick write commands for probing (NOT RECOMMENDED)
 With -r, uses only read byte commands for probing (NOT RECOMMENDED)
 If provided, FIRST and LAST limit the probing range.
 With -l, lists installed busses only
 Installed I2C busses:
   i2c-1       unknown         bt878 #0 [hw]                           Algorithm unavailable
   i2c-0       unknown         SMBus PIIX4 adapter at e800             Algorithm unavailable

root@peter-desktop:/lib/modules/2.6.15-26-386/kernel/drivers/media/video# i2cdetect 1 WARNING! This program can confuse your I2C bus, cause data loss and worse! I will probe file /dev/i2c-1. I will probe address range 0x03-0x77. Continue? [Y/n] y

    0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f

00: XX XX XX XX XX XX XX XX XX XX XX XX XX 10: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX 20: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX 30: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX 40: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX 50: 50 XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX 60: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX 70: XX XX XX XX XX XX XX XX root@peter-desktop:/lib/modules/2.6.15-26-386/kernel/drivers/media/video# i2cdump 1 0x50 No size specified (using byte-data access) WARNING! This program can confuse your I2C bus, cause data loss and worse! I will probe file /dev/i2c-1, address 0x50, mode byte Continue? [Y/n] y

    0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef

00: 00 f0 00 dc 00 10 00 38 ff ff ff ff ff ff ff ff .?.?.?.8........ 10: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ 20: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ 40: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ 50: 00 ff ff ff ff ff ff 20 ff 00 00 ff ff ff ff ff ....... ........ 60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ 80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ 90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ f0: ff ff ff ff ff ff ff ff fe f9 00 00 00 01 fe fe ........??...??? root@peter-desktop:/lib/modules/2.6.15-26-386/kernel/drivers/media/video# i2cset -y 1 0x50 0xfc 0x00 b Warning - readback failed root@peter-desktop:/lib/modules/2.6.15-26-386/kernel/drivers/media/video# i2cset -y 1 0x50 0xfd 0x01 b Warning - readback failed root@peter-desktop:/lib/modules/2.6.15-26-386/kernel/drivers/media/video# i2cset -y 1 0x50 0xfe 0x18 b Warning - readback failed root@peter-desktop:/lib/modules/2.6.15-26-386/kernel/drivers/media/video# i2cset -y 1 0x50 0xff 0x22 b Warning - readback failed root@peter-desktop:/lib/modules/2.6.15-26-386/kernel/drivers/media/video#

Now everthing boots correctly in Kubuntu

Tried the card back now in Windows XP and all the drivers now load correctly

Fixed firmware twinhan 1020a