Modify Android usb devices name(MTK)
./mediatek/custom/mt6573/kernel/usb/src/mtk_usb_custom.h
1 #ifndef MTK_USB_CUSTOM_H
2 #define MTK_USB_CUSTOM_H
3
4 /* Force full-speed is not guaranteed with adb function, use it with care! */
5 //#define USB_FORCE_FULL_SPEED
6
7 #define USB_MS_PRODUCT_ID 0x0001
8 #define USB_MS_ADB_PRODUCT_ID 0x0c03
9 #define USB_RNDIS_PRODUCT_ID 0x0003
10 #define USB_RNDIS_ADB_PRODUCT_ID 0x0004
11 #define USB_MS_ADB_ACM_PRODUCT_ID 0x0005
12 #define USB_ACM_PRODUCT_ID 0x0006
13
14 #define VENDOR_ID 0x0bb4 /* USB vendor id */
15 #define PRODUCT_ID USB_MS_PRODUCT_ID /* USB default product id */
16
17 #define MANUFACTURER_STRING "MediaTek"
18 #define PRODUCT_STRING "MT65xx Android Phone"
19
20 #define USB_ETH_VENDORID 0
21 #define USB_ETH_VENDORDESCR "MediaTek"
22
23 #define USB_MS_VENDOR "MediaTek"
24 #define USB_MS_PRODUCT "MT65xx MS"
25 #define USB_MS_RELEASE 0x0100
26
27 #define CHR_TYPE_DETECT_DEB 400 /* debounce time for charger type detection, in ms */
28
29 #endif /* MTK_USB_CUSTOM_H */