This is an automatic generated email to let you know that the following patch were queued at the http://git.linuxtv.org/v4l-utils.git tree:
Subject: parse_em28xx.pl: Parse also i2c device scans Author: Mauro Carvalho Chehab <[email protected]> Date: Wed Mar 9 11:15:37 2011 -0300 While comparing the parsed messages between the saved register data of em28xx and netmon parser, noticed that the scan messages were not parsed. Also, it seems that the data from the driver is wrong, as it is saying that some data were returned by the probed devices. Comparing both logs is actually a very good test, as it shows that the netfilter parser is working properly, as the only differences are on the I2C scan messages. Signed-off-by: Mauro Carvalho Chehab <[email protected]> contrib/em28xx/parse_em28xx.pl | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) --- http://git.linuxtv.org/v4l-utils.git?a=commitdiff;h=c2e45973a724fb32a9d890a6e836735aa7fc053e diff --git a/contrib/em28xx/parse_em28xx.pl b/contrib/em28xx/parse_em28xx.pl index 05e12db..e4b5525 100755 --- a/contrib/em28xx/parse_em28xx.pl +++ b/contrib/em28xx/parse_em28xx.pl @@ -282,8 +282,14 @@ while (<>) { if (m/40 0[23] 00 00 ([0-9a-f].) 00 ([0-9a-f].) 00\s+[\>]+\s+([0-9a-f ]+)/) { printf "i2c_master_send(0x$1>>1, { $3 }, 0x$2);\n"; + next; } if (m/c0 0[23] 00 00 ([0-9a-f].) 00 ([0-9a-f].) 00\s+[\<]+\s+([0-9a-f ]+)/) { printf "i2c_master_recv(0x$1>>1, &buf, 0x$2); /* $3 */\n"; + next; + } + if (m/c0 0[23] 00 00 ([0-9a-f].) 00 ([0-9a-f].) 00\s+[\<]+/) { + printf "i2c_master_recv(0x$1>>1, &buf, 0x$2); /* nothing returned */\n"; + next; } } _______________________________________________ linuxtv-commits mailing list [email protected] http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits
