Skip to content

Commit 9648eda

Browse files
Radu-VeleAndroid (Google) Code Review
authored andcommitted
Merge "Add USB information to bugreport" into main
2 parents dfbbb44 + d077615 commit 9648eda

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

cmds/dumpstate/dumpstate.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1841,6 +1841,11 @@ Dumpstate::RunStatus Dumpstate::dumpstate() {
18411841
RunCommand("DUMP VENDOR RIL LOGS", {"vril-dump"}, options.Build());
18421842
}
18431843

1844+
/* Dump USB information */
1845+
RunCommand("typec_connector_class", {"typec_connector_class"},
1846+
CommandOptions::WithTimeout(10).AsRootIfAvailable().Build());
1847+
RunCommand("lsusb", {"lsusb"}, CommandOptions::WithTimeout(10).AsRootIfAvailable().Build());
1848+
18441849
printf("========================================================\n");
18451850
printf("== Android Framework Services\n");
18461851
printf("========================================================\n");

0 commit comments

Comments
 (0)