[linux-dvb] [PATCH] Siemens DVB-C PCI: SAA7113 Analog Module, on integrating msp3400.c, fixing stereo

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Johannes Stezenbach wrote:
> thomas schorpp wrote:
> 
>>at the moment ive to solve a type conversion problem for inter-module
>>communication with the msp3400.ko, since msp_command() takes i2c_client
>>type and av7110 type does only provide type i2c_adapter member (which
>>has a container member of clients). and the i2c_client seems to be

> 
> 
> I can recommend linux/Documentation/i2c/writing-clients.
> 
> Basically you can add I2C_CLASS_TV_ANALOG to
> av7110->i2c_adap.class (av7110.c) and load
> the msp3400 driver, it should automatically
> attach to the bus. This is of course just a hack,
> because the classes were introduced specifically
> to keep analog stuff away from DVB I2C busses,
> because it causes problems in some cases.
> 
> Johannes
> 
> 

thx, yes, ive done this yesterday already.

is there a mailing list problem?

it seems Youre getting msgs too late.

the msp gets initialised. ill solve the interface problem to
msp_command() by using the list of clients member of i2c_adapter struct.

y
tom

Jul 18 23:34:33 tom1 kernel: saa7146: register extension 'dvb'.
Jul 18 23:34:33 tom1 kernel: ACPI: PCI Interrupt 0000:00:0b.0[A] -> GSI
19 (level, low) -> IRQ 209
Jul 18 23:34:33 tom1 kernel: saa7146: found saa7146 @ mem e0d1ec00
(revision 1, irq 209) (0x110a,0x0000).
Jul 18 23:34:33 tom1 kernel: DVB: registering new adapter (Fujitsu
Siemens DVB-C).
Jul 18 23:34:33 tom1 kernel: adapter has MAC addr = 00:d0:5c:02:05:c6
Jul 18 23:34:33 tom1 kernel: dvb-ttpci: av7110_bootarm(): debi test OK
Jul 18 23:34:33 tom1 kernel: dvb-ttpci: av7110_bootarm(): load boot code
Jul 18 23:34:33 tom1 kernel: dvb-ttpci: av7110_bootarm(): load dram code
Jul 18 23:34:33 tom1 kernel: dvb-ttpci: av7110_bootarm(): load dpram code
Jul 18 23:34:33 tom1 kernel: dvb-ttpci: gpioirq unknown type=0 len=0
Jul 18 23:34:33 tom1 kernel: dvb-ttpci: info @ card 0: firm f0240009,
rtsl b0250018, vid 71010068, app 8000261f
Jul 18 23:34:33 tom1 kernel: dvb-ttpci: firmware @ card 0 supports CI
link layer interface
Jul 18 23:34:33 tom1 kernel: dvb-ttpci: av7110_set_volume():
av7110:de504000,
Jul 18 23:34:33 tom1 kernel: dvb-ttpci: DVB-C analog module @ card 0
detected, initializing MSP3400 kernel driver
Jul 18 23:34:33 tom1 kernel: msp34xx: setvolume: mute=on 58880:32768
v=0x00 b=0x00
***********
Jul 18 23:34:33 tom1 kernel: msp34xx: init: chip=MSP3400C-C8 mode=manual
***********
Jul 18 23:34:33 tom1 kernel: msp3400: kthread started
Jul 18 23:34:33 tom1 kernel: msp3400: thread: sleep
Jul 18 23:34:33 tom1 kernel: msp34xx: setvolume: mute=on 0:0  v=0x00 b=0x00
Jul 18 23:34:33 tom1 kernel: msp3400: thread: wakeup
Jul 18 23:34:33 tom1 kernel: msp3410: thread: restart scan
Jul 18 23:34:33 tom1 kernel: msp34xx: setvolume: mute=on 0:0  v=0x00 b=0x00
Jul 18 23:34:33 tom1 kernel: msp3400: setmode: 0
Jul 18 23:34:33 tom1 kernel: dvb-ttpci: av7110_set_volume():
av7110:de504000,
Jul 18 23:34:33 tom1 kernel: msp3400: carrier1 val:  2171 / 4.5   NTSC
Jul 18 23:34:33 tom1 kernel: saa7146_vv: saa7146 (0): registered device
video1 [v4l2]
Jul 18 23:34:33 tom1 kernel: saa7146_vv: saa7146 (0): registered device
vbi0 [v4l2]
Jul 18 23:34:33 tom1 kernel: DVB: registering frontend 0 (VLSI VES1820
DVB-C)...
Jul 18 23:34:33 tom1 kernel: msp3400: carrier1 val:  1550 / 5.5   PAL B/G
Jul 18 23:34:33 tom1 kernel: dvb-ttpci: found av7110-0.
Jul 18 23:34:33 tom1 input.agent[13739]:      evdev: already loaded
Jul 18 23:34:33 tom1 kernel: msp3400: carrier1 val:  1390 / 6.0   PAL I
Jul 18 23:34:34 tom1 input.agent[13746]:      evdev: already loaded
Jul 18 23:34:34 tom1 kernel: msp3400: carrier1 val:   965 / 6.5   PAL
D/K + SAT + SECAM
Jul 18 23:34:34 tom1 kernel: msp3400: setmode: 3
Jul 18 23:34:34 tom1 kernel: msp3400: FM setstereo: mono
Jul 18 23:34:34 tom1 kernel: msp3400: setstereo final source/matrix = 0x0
Jul 18 23:34:34 tom1 kernel: msp34xx: setvolume: mute=on 58880:32768
v=0x00 b=0x00
Jul 18 23:34:34 tom1 kernel: msp3400: mono sound carrier: 4.501 MHz
Jul 18 23:34:34 tom1 kernel: msp3400: thread: sleep










[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux