Skip to content

Instantly share code, notes, and snippets.

View IshamMohamed's full-sized avatar
:shipit:
() => {}

Isham Mohamed IshamMohamed

:shipit:
() => {}
View GitHub Profile
@IshamMohamed
IshamMohamed / mtk_custom_usb.h
Created May 18, 2013 17:41
Custom USB kernal code for MTK USB device.
#ifndef MTK_USB_CUSTOM_H
#define MTK_USB_CUSTOM_H
/* Force full-speed is not guaranteed with adb function, use it with care! */
//#define USB_FORCE_FULL_SPEED
#define USB_MS_PRODUCT_ID 0x0001
#define USB_MS_ADB_PRODUCT_ID 0x0c03
#define USB_RNDIS_PRODUCT_ID 0x0003
#define USB_RNDIS_ADB_PRODUCT_ID 0x0004