I2C transfer logs for Antti's DS3103 driver and DVBSky's DS3103 driver

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

 



Here are four logs from doing:

	scandvb -a1 ./e.1

where the contents of file e.1 are:

	S 11919000 V 27500000 3/4

which is probing a region on the Eutelsat-9A satellite broadcast.

I inserted:

	diff -uNr linux-3.11.7-300.dvbsky_4.fc20.x86_64/drivers/i2c/i2c-core.c i2c-monitor/drivers/i2c/i2c-core.c
	--- i2c-monitor/drivers/i2c/i2c-core.c	2013-09-02 21:46:10.000000000 +0100
	+++ linux-3.11.7-300.dvbsky_4.fc20.x86_64/drivers/i2c/i2c-core.c	2013-11-14 22:11:08.757282401 +0000
	@@ -1491,6 +1491,16 @@
		unsigned long orig_jiffies;
		int ret, try;

	+	for (ret = 0; ret < num; ret++) {
	+		if (msgs[ret].flags & I2C_M_RD)
	+			pr_notice("I2C %s: RD %02x %u\n",
	+				  adap->name, msgs[ret].addr, msgs[ret].len);
	+		else
	+			pr_notice("I2C %s: WR %02x %u [%*phN]\n",
	+				  adap->name, msgs[ret].addr, msgs[ret].len,
	+				  msgs[ret].len, msgs[ret].buf);
	+	}
	+
		/* Retry automatically on arbitration loss */
		orig_jiffies = jiffies;
		for (ret = 0, try = 0; try <= adap->retries; try++) {

into the kernel to generate these logs.

The four logs are:

 (1) DVBSky's megapatch: I2C traffic generated by cx23885 module initialisation
     and probing.

 (2) DVBSky's megapatch: I2C traffic generated by the aforementioned scandvb
     command.

 (3) Antti's drivers plus my S952 glue: I2C traffic generated by cx23885
     module initialisation and probing.

 (4) Antti's drivers plus my S952 glue: I2C traffic generated by the
     aforementioned scandvb command.

The scandvb command with the DVBSky megapatch gave:

	dumping lists (25 services)
	Italy Service:11919:v:0:27500:2003:3003:3
	Karusel int:11919:v:0:27500:2004:3004:4
	SVT WORLD:11919:v:0:27500:2008:3008:8
	...

and was very consistent.

Antti's patch gave:

	dumping lists (22 services)
	[0001]:11919:v:0:27500:0:0:1
	[0003]:11919:v:0:27500:0:0:3
	[000d]:11919:v:0:27500:0:0:13
	...

and sometimes:

	dumping lists (0 services)

and once:

	dumping lists (32 services)
	[f714]:11919:v:0:27500:0:0:63252
	[e38b]:11919:v:0:27500:0:0:58251
	[b7ba]:11919:v:0:27500:0:0:47034
	...

David

Attachment: mega-initial-i2c.log.bz2
Description: BZip2 compressed data

Attachment: mega-worked-i2c.log.bz2
Description: BZip2 compressed data

Attachment: antti-initial-i2c.log.bz2
Description: BZip2 compressed data

Attachment: antti-worked-i2c.log.bz2
Description: BZip2 compressed data


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux