Re: Any chance of help with v4l-dvb-experimental / Avermedia A16D please?

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

 



Hi Mauro,

OK,
In tuner-i2c.h, stuck this in:

static inline int tuner_i2c_xfer_send(struct tuner_i2c_props *props,
char *buf, int len)
{
	struct i2c_msg msg = { .addr = props->addr, .flags = 0,
			       .buf = buf, .len = len };
	int ret = i2c_transfer(props->adap, &msg, 1);
printk("len[%d]; ret[%d];\n", len, ret);
	return (ret == 1) ? len : ret;
}

basically gives messages like this:

[   53.141639] xc2028 2-0061: Trying to load scode 0
[   53.141641] xc2028 2-0061: load_scode called
[   53.141643] xc2028 2-0061: seek_firmware called, want type=F8MHZ
SCODE (20000002), id 0000000100000007.
[   53.141649] xc2028 2-0061: Selecting best matching firmware (3 bits)
for type=SCODE (20000000), id 0000000100000007:
[   53.141654] xc2028 2-0061: Found firmware for type=SCODE (20000000),
id 0000000200000007.
[   53.141658] xc2028 2-0061: Loading SCODE for type=SCODE HAS_IF_5640
(60000000), id 0000000200000007.
[   53.153618] len[4]; ret[1];
[   53.181576] len[12]; ret[1];
[   53.193557] len[2]; ret[1];
[   53.209540] xc2028 2-0061: xc2028_get_reg 0004 called
[   53.221520] xc2028 2-0061: xc2028_get_reg 0008 called
[   53.233496] xc2028 2-0061: Device is Xceive 3028 version 1.0,
firmware version 2.7
[   53.245477] len[2]; ret[1];
[   53.273434] len[4]; ret[1];
[   53.317366] len[4]; ret[1];
[   53.421207] xc2028 2-0061: divisor= 00 00 64 00 (freq=400.000)
[   53.421215] tuner' 2-0061: tv freq set to 400.00
[   53.421218] xc2028 2-0061: xc2028_set_analog_freq called
[   53.421220] xc2028 2-0061: generic_set_freq called
[   53.421223] xc2028 2-0061: should set frequency 400000 kHz
[   53.421225] xc2028 2-0061: check_firmware called
[   53.421227] xc2028 2-0061: checking firmware, user requested
type=F8MHZ (2), id 00000000000000ff, scode_tbl (0), scode_nr 0
[   53.421232] xc2028 2-0061: BASE firmware not changed.
[   53.421234] xc2028 2-0061: Std-specific firmware already loaded.
[   53.421236] xc2028 2-0061: SCODE firmware already loaded.
[   53.421238] xc2028 2-0061: xc2028_get_reg 0004 called
[   53.433188] xc2028 2-0061: xc2028_get_reg 0008 called
[   53.445170] xc2028 2-0061: Device is Xceive 3028 version 1.0,
firmware version 2.7
[   53.457151] len[2]; ret[1];
[   53.485107] len[4]; ret[1];
[   53.529046] len[4]; ret[1];
[   53.632881] xc2028 2-0061: divisor= 00 00 64 00 (freq=400.000)
[   53.633194] saa7133[0]: registered device video0 [v4l2]
[   53.633213] saa7133[0]: registered device vbi0
[   53.633237] saa7133[0]: registered device radio0
[   53.633296] tuner' 2-0061: Cmd TUNER_SET_STANDBY accepted for analog
TV
[   53.633299] xc2028 2-0061: xc2028_sleep called
[   53.644862] len[4]; ret[1];

now open tvtime:

here is tuner-core.c stuff:

Mar 28 00:25:41 ubuntu kernel: [  352.901873] tuner' 2-0061: Cmd
VIDIOC_S_STD accepted for analog TV
Mar 28 00:25:41 ubuntu kernel: [  352.901881] tuner' 2-0061: tv freq set
to 400.00
Mar 28 00:25:41 ubuntu kernel: [  352.901885] xc2028 2-0061:
xc2028_set_analog_freq called
Mar 28 00:25:41 ubuntu kernel: [  352.901888] xc2028 2-0061:
generic_set_freq called
Mar 28 00:25:41 ubuntu kernel: [  352.902177] xc2028 2-0061: should set
frequency 400000 kHz

error occurring in tuner-xc2028.c after here:

Mar 28 00:25:41 ubuntu kernel: [  352.902179] xc2028 2-0061:
check_firmware called
Mar 28 00:25:41 ubuntu kernel: [  352.902182] xc2028 2-0061: checking
firmware, user requested type=F8MHZ (2), id 00000000000000ff, scode_tbl
(0), scode_nr 0
Mar 28 00:25:41 ubuntu kernel: [  352.902196] xc2028 2-0061:
load_firmware called
Mar 28 00:25:41 ubuntu kernel: [  352.902199] xc2028 2-0061:
seek_firmware called, want type=BASE F8MHZ (3), id 0000000000000000.
Mar 28 00:25:41 ubuntu kernel: [  352.902203] xc2028 2-0061: Found
firmware for type=BASE F8MHZ (3), id 0000000000000000.

seems to have occurred by here:

Mar 28 00:25:41 ubuntu kernel: [  352.902207] xc2028 2-0061: Loading
firmware for type=BASE F8MHZ (3), id 0000000000000000.
Mar 28 00:25:41 ubuntu kernel: [  352.903017] len[64]; ret[-5];
Mar 28 00:25:41 ubuntu kernel: [  352.903020] xc2028 2-0061: i2c output
error: rc = -5 (should be 64)
Mar 28 00:25:41 ubuntu kernel: [  352.903022] xc2028 2-0061: -5 returned
from send
Mar 28 00:25:41 ubuntu kernel: [  352.903026] xc2028 2-0061: Error -22
while loading base firmware
Mar 28 00:25:42 ubuntu kernel: [  352.955955] xc2028 2-0061: Retrying
firmware load

Still digging,

Regards,
Tim

_______________________________________________
linux-dvb mailing list
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

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

  Powered by Linux