[mythtv-users] ivtv whine fixed

Will Dormann wd at pobox.com
Tue Jul 8 17:28:55 EDT 2003


At 02:41 PM 7/8/2003 -0500, you wrote:
>>From the init script, try dumping dmesg output somewhere. Load the
>driver with debug=127 as well.
>
>Then, compare it with what you get from doing it by hand.


Out of the 88 lines of output in dmesg, the only difference between the
init script ivtv initialization and the root-logged-in ivtv initialization
is this:

Init:
ivtv: i2c attach [client=saa7115[0],ok]

Root:
ivtv: i2c attach [client=saa7115[1],ok]


All other lines are identical.


Here's the whole thing, from the init output:

ivtv: Loading, I'll try to detect 1 devices!
ivtv:  .. running on kernel 2.4.20-gentoo-r5
ivtv: Setting some variables to invalid for detection
ivtv: Scanning PCI bus..
ivtv: Found card #0
ivtv: Found an unknown chip, treating it like an iTVC15
ivtv: base addr: 0xe0000000
ivtv: Enabling pci device
ivtv: 2051 (rev 1) at 00:0e.0, ivtv:      irq: 10, latency: 32, memory:
0xe00000
00
ivtv: attempting ioremap at 0xe0000000 len 0x04000000
ivtv: Masking interrupts
ivtv: activating i2c..
ivtv: i2c init
ivtv: setting scl and sda to 1
tuner: probing ivtv i2c driver #0 i2c adapter [id=0x10005]
tuner: chip found @ 0xc2
tuner(bttv): type forced to 2 (Philips NTSC (FI1236,FM1236 and
compatibles)) [in
smod]
ivtv: i2c client attach
ivtv: i2c attach [client=Philips NTSC (FI1236,FM1236 and ,ok]
saa7114.c: starting probe for adapter ivtv i2c driver #0 (0x10005)
saa7114.c: detecting saa7114 client on address 0x42
saa7115.c: writing init values
status: (1E) 0x8d, (1F) 0xb1
ivtv: i2c client attach
ivtv: i2c attach [client=saa7115[0],ok]
msp34xx: init: chip=MSP3448W-A2, has NICAM support
msp3410: daemon started
ivtv: i2c client attach
ivtv: i2c attach [client=MSP3448W-A2,ok]
ivtv: Active card count: 1.
ivtv: Stopping VDM
ivtv: Stopping AO
ivtv: pinging (?) APU
ivtv: Stopping VPU
ivtv: Resetting Hw Blocks
ivtv: Stopping SPU
ivtv: Sleeping for 10ms
ivtv: init Encoder SDRAM pre-charge
ivtv: init Encoder SDRAM refresh to 1us
ivtv: init Decoder SDRAM pre-charge
ivtv: init Decoder SDRAM refresh to 1us
ivtv: Sleeping for 0ms (600 recommended)
ivtv: Card ready for firmware!
ivtv: Loading encoder image
ivtv: Loading decoder firmware
ivtv: Sleeping for 1 sec
ivtv: Sleeping for 1 sec
ivtv: About to search for mailboxes
ivtv: Searching for encoder mailbox
ivtv: .ivtv: match: 0x34567812 at 0xe01e6104. match: 1
ivtv: match: 0x56781234 at 0xe01e6108. match: 2
ivtv: match: 0x78123456 at 0xe01e610c. match: 3
ivtv: found encoder mailbox!
ivtv: Searching for decoder mailbox
ivtv: .ivtv: .ivtv: .ivtv: .ivtv: match: 0x34567812 at 0xe11e6404. match: 1
ivtv: match: 0x56781234 at 0xe11e6408. match: 2
ivtv: match: 0x78123456 at 0xe11e640c. match: 3
ivtv: found decoder mailbox!
ivtv: Getting firmware version..
ivtv: Getting encoder firmware rev.
ivtv: API Call: 0x000000c4
ivtv: getting mailbox
ivtv: [0] .. 0x00000000
ivtv: got free mailbox: 0
ivtv: retval: 0x00000000
ivtv: Releasing mailbox (before 0x00000007, ivtv: after 0x00000000 )
ivtv: Encoder revision: 0x02030207
ivtv: Getting decoder firmware rev.
ivtv: API Call: 0x00000011
ivtv: getting mailbox
ivtv: [0] .. 0x00000000
ivtv: got free mailbox: 0
ivtv: retval: 0x00000000
ivtv: Releasing mailbox (before 0x00000004, ivtv: after 0x00000000 )
ivtv: Decoder revision: 0x02020001
ivtv: Setting Tuner
ivtv: call_i2c_client
ivtv: call_i2c_client
ivtv: v4l2 setup
ivtv: Configuring 250rev1 card
ivtv: v4l2 init
ivtv: Setting audio to input 3
ivtv: call_i2c_client
ivtv: Registered v4l2 device, minor 0
ivtv: Registered v4l2 device, minor 32
ivtv: Registered v4l2 device, minor 224


More information about the mythtv-users mailing list