Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
IVTV and PVR-500 on SPARC
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
rjmars97
n00b
n00b


Joined: 08 May 2006
Posts: 51
Location: Idaho

PostPosted: Thu Jan 29, 2009 6:00 am    Post subject: IVTV and PVR-500 on SPARC Reply with quote

My mythtv box died recently, and out of a lack of another computer to use, thought that I would see if I could get my PVR-500 tuner to work in my Sun Fire V120. The card seems to be recognized fine, but the kernel module can't seem to properly load the firmware onto the tuner. The issue seems to be that the I2C module on the motherboard is not communicating properly with the card, based on these lines from the system log:
Code:

...
Jan 29 05:21:18 apollo [   70.410916] i2c /dev entries driver
Jan 29 05:21:18 apollo [   70.457094] i2c-core: driver [dev_driver] registered
Jan 29 05:21:18 apollo [   70.457159] ali1535_smbus 0000:01:03.0: SMBREV = 0x0
Jan 29 05:21:18 apollo [   70.457169] ali1535_smbus 0000:01:03.0: ALI1535_smba = 0x4000
Jan 29 05:21:18 apollo [   70.457409] i2c-adapter i2c-0: adapter [SMBus ALI1535 adapter at 4000] registered
Jan 29 05:21:18 apollo [   70.457635] i2c-dev: adapter [SMBus ALI1535 adapter at 4000] registered as minor 0
Jan 29 05:21:18 apollo [   70.460349] i2c-parport-light: adapter type unspecified
Jan 29 05:21:18 apollo [   70.529441] i2c-core: driver [ds1682] registered
Jan 29 05:21:18 apollo [   70.529590] i2c-core: driver [at24] registered
Jan 29 05:21:18 apollo [   70.529742] i2c-core: driver [eeprom] registered
Jan 29 05:21:18 apollo [   70.529765] i2c-adapter i2c-0: found normal entry for adapter 0, addr 0x50
Jan 29 05:21:18 apollo [   73.862665] i2c-adapter i2c-0: Idle wait Timeout! STS=0x00
Jan 29 05:21:18 apollo [   73.934850] i2c-adapter i2c-0: Transaction (pre): STS=00, TYP=00, CMD=00, ADD=00, DAT0=00, DAT1=00
Jan 29 05:21:18 apollo [   73.939332] i2c-adapter i2c-0: Error: command never completed
Jan 29 05:21:18 apollo [   74.015073] i2c-adapter i2c-0: Transaction (post): STS=00, TYP=00, CMD=00, ADD=00, DAT0=00, DAT1=00
Jan 29 05:21:18 apollo [   74.015090] i2c-adapter i2c-0: found normal entry for adapter 0, addr 0x51
Jan 29 05:21:18 apollo [   77.345997] i2c-adapter i2c-0: Idle wait Timeout! STS=0x00
Jan 29 05:21:18 apollo [   77.418122] i2c-adapter i2c-0: Transaction (pre): STS=00, TYP=00, CMD=00, ADD=00, DAT0=00, DAT1=00
Jan 29 05:21:18 apollo [   77.422664] i2c-adapter i2c-0: Error: command never completed
...


The errors continue for a bit before it attempts to load the firmware onto the tuner card by loading the ivtv module:
Code:

Jan 29 05:21:18 apollo [  129.580829] Linux video capture interface: v2.00
Jan 29 05:21:18 apollo [  129.654630] ivtv:  Start initialization, version 1.4.0
Jan 29 05:21:18 apollo [  129.657534] ivtv0: Initializing card #0
Jan 29 05:21:18 apollo [  129.657553] ivtv0: Autodetected Hauppauge card (cx23416 based)
Jan 29 05:21:18 apollo [  129.659238] PCI: Enabling device: (0000:03:08.0), cmd 2
Jan 29 05:21:18 apollo [  129.659270] ivtv0: Unreasonably low latency timer, setting to 64 (was 0)
Jan 29 05:21:18 apollo [  129.659513] i2c-adapter i2c-1: adapter [ivtv i2c driver #0] registered
Jan 29 05:21:18 apollo [  129.659704] i2c-dev: adapter [ivtv i2c driver #0] registered as minor 1
Jan 29 05:21:18 apollo [  129.659751] i2c-adapter i2c-1: master_xfer[0] W, addr=0x50, len=1
Jan 29 05:21:18 apollo [  130.325996] i2c-adapter i2c-1: i2c_outb: 0xa0, timeout at bit #7
Jan 29 05:21:18 apollo [  131.659321] i2c-adapter i2c-1: i2c_outb: 0xa0, timeout at bit #7
Jan 29 05:21:18 apollo [  132.992654] i2c-adapter i2c-1: i2c_outb: 0xa0, timeout at bit #7
Jan 29 05:21:18 apollo [  134.325987] i2c-adapter i2c-1: i2c_outb: 0xa0, timeout at bit #7
Jan 29 05:21:18 apollo [  134.326001] i2c-adapter i2c-1: Used 4 tries to write to client at 0x50: failed, timeout?
Jan 29 05:21:18 apollo [  134.326016] i2c-adapter i2c-1: NAK from device addr 0x50 msg #0
Jan 29 05:21:18 apollo [  134.992669] tveeprom 1-0050: Huh, no eeprom present (err=-6)?
Jan 29 05:21:18 apollo [  134.992690] tveeprom 1-0050: Encountered bad packet header [ff]. Corrupt or not a Hauppauge eeprom.
Jan 29 05:21:18 apollo [  134.992704] ivtv0: Invalid EEPROM


It will continue to time out as long as I have the module loaded. It does not matter whether I have the I2C drivers loaded as modules as suggested by the ivtv driver, or build into the kernel. The V4L and tuner card drivers are built as modules. I have also tried this with a few different kernels, 2.6.23 and the most recent, 2.6.27-r8.

Anyone have an idea as to what could be wrong? Or is it simply foolish to expect the card to work in a SPARC machine?
_________________
I opened Pandora's box, let the cat out of the bag and put the ball in their court.
-- Hon. J. Hacker (The Ministry of Administrative Affairs)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum