projects
/
platform
/
upstream
/
v4l-utils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
baed6b8
)
Print a generic message for the URB's that aren't currently parsed
author
Mauro Carvalho Chehab
<mchehab@redhat.com>
Mon, 8 Nov 2010 15:41:31 +0000
(13:41 -0200)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Mon, 8 Nov 2010 15:41:31 +0000
(13:41 -0200)
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
contrib/cx231xx/parse_cx231xx.pl
patch
|
blob
|
history
diff --git
a/contrib/cx231xx/parse_cx231xx.pl
b/contrib/cx231xx/parse_cx231xx.pl
index
e6f7905
..
d85a641
100755
(executable)
--- 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);
+ }
}
}