Changes to be done in the kernel for USB adb support

off_topic
custom_board

#1

Hi,
In the old linux kernels (3.4) there is a function for usb ADB support but the same is missing in the latest kernels, so what are the changes to be done in the latest kernel to make sure that USB debugging works properly in android


#2

Which board are you talking about?


#3

In general not specific to any board, what all to be enabled in the Linux to make USB ADB working?


#4

@pundiramit any idea about the specifics of enabling adb?


#5

It used to be f_adb.c, but that’s now obsolete. I believe it is now covered by f_accessory.c
Note that its not a mainline driver.

Use CONFIG_USB_CONFIGFS_F_ACC=y


#6

Other than platform specific USB/UDC support enabled, CONFIG_USB_CONFIGFS_F_FS=y is all you need for ADB to work.