From: Mauro Carvalho Chehab Date: Mon, 8 Nov 2010 15:41:31 +0000 (-0200) Subject: Print a generic message for the URB's that aren't currently parsed X-Git-Tag: v4l-utils-0.8.2~118 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5b47eff969f567cd2069a33d16d7d0b413bd3747;p=platform%2Fupstream%2Fv4l-utils.git Print a generic message for the URB's that aren't currently parsed Signed-off-by: Mauro Carvalho Chehab --- diff --git a/contrib/cx231xx/parse_cx231xx.pl b/contrib/cx231xx/parse_cx231xx.pl index e6f7905..d85a641 100755 --- a/contrib/cx231xx/parse_cx231xx.pl +++ b/contrib/cx231xx/parse_cx231xx.pl @@ -118,9 +118,11 @@ while (<>) { parse_i2c($reqtype, $req, $wvalue, $windex, $wlen, $payload); } elsif ($req < 3) { parse_i2c($reqtype, $req, $wvalue, $windex, $wlen, $payload); - } -# if ($req >= 8 && $req <= 0xb) { + } elsif ($req >= 8 && $req <= 0xb) { parse_gpio($reqtype, $req, $wvalue, $windex, $wlen, $payload); -# } + } else { + printf("Reqtype: %3d, Req %3d, wValue: 0x%04x, wIndex 0x%04x, wlen %d: %s\n", + $reqtype, $req, $wvalue, $windex, $wlen, $payload); + } } }