Fixed typing error with adbfast in issue 293 and 296.
Sorted several codes numerically and added some more adb related
codes scrapped from libmtp idProduct values.
Higher confidence due to idProduct values given in issue 296,
therefore converted Motorola from blanket accept to default drop.
initial patch was to add android links, however, based on looking at
libmtp these are both mtp, therefore changed these to adb+mtp, while
the mtp-only product was dropped and left for libmtp to handle since
it appears there is no adb for this. More details given in issue #46
Reduce several generic links down to more specifics
by changing "assumed match" due to vendor code, to
"assumed exits" using GOTO="android_usb_rules_end".
This should help reduce false positives that perhaps
should be handled elsewhere like cameras, keypads,
keyboards, mice, or other devices, etc, etc, etc.
Some vendor info is very ambigous and needs more info
therefore commented-out code (needs more info).
Some vendors left as-is since they appear specific to
a product type and it might break a line of something
which may be better left for now, looked at in future.
merged in some idProduct details from linux-usb.org,
device hunt, and also libmtp.
Cleaned up some commenting for more consistency.
Detailed info by alpenb (issue#259) shows various adb modes, and also
appears to possibly conflict with Umidigi F1, which shows a fastboot.
Scraped idProducts from libmtp for more adb connections MT65xx/67xx.
Expanded adbcdc for debugging purposes, and added some cdc comments.
The previous refactor has accidentally changed this to an early exit,
even though this section sets a variable that needs to be acted upon.
Fixes: 16daf49a ("refactor: use GOTO next LABEL after device found (for a faster rules script). (#266)")
Code flow should go faster since further tests aren't performed as per
existing code flow.
Setup of variables are mostly done later (more compact script file).
* more codes for Kindle 10, plus Anbernic RG353P
Cycled through the various sequences and found codes for these modes.
Continuation of issue #256
* Kindle 8, Kindle 10, Anbernic RG353P, PinePhone
Joshua Fern collected information and provided details for
Kindle 8, 10, game emulator and a phone. This is a
continuation of Issue #256
* Add adb_adb{mtp,ptp,tet,midi}
Attempt to add adb and mtp at the same time.
Add differentiation between different adb modes.
Follow-up with details in Issue #256
---------
Co-authored-by: Joshua Fern <JoshuaFern@protonmail.com>