Currently, we have a forked sdbd for our kernel so there was no need to
patch our kernel.
However, the forked sdbd will be merged to upstream sdbd and to make it
compatible with adb in userspace cost a large effort.
So the better way is patch our kernel to adopt sdb protocol, on the
other hand, no patch needed to sdbd user space server and client.
Signed-off-by: Chengwei Yang <chengwei.yang@intel.com>
/* number of tx requests to allocate */
#define TX_REQ_MAX 4
-static const char adb_shortname[] = "android_adb";
+static const char adb_shortname[] = "samsung_sdb";
struct adb_dev {
struct usb_function function;
.bInterfaceNumber = 0,
.bNumEndpoints = 2,
.bInterfaceClass = 0xFF,
- .bInterfaceSubClass = 0x42,
- .bInterfaceProtocol = 1,
+ .bInterfaceSubClass = 0x20,
+ .bInterfaceProtocol = 2,
};
static struct usb_endpoint_descriptor adb_highspeed_in_desc = {