AnsweredAssumed Answered

如何啟動一個由usb  otg插入的滑鼠裝置

Question asked by chen sam on May 28, 2015
Latest reply on Jun 7, 2015 by chen sam

我設計一塊板子,跟原始線路不同在更動了USB_H1_PWR_EN,但是使用原始code卻看不到有偵測到滑鼠插入,而進入android系統後,不更是不能驅動滑鼠,故不明為何?

我該如何讓板子看到輸入裝置滑鼠呢?

訊息如下:

紅字部份中是demo board沒有出現的訊息,故我認為是比較有可能有問題的描述,再麻煩大家幫忙了,感謝。

 

 

Initializing USB Mass Storage driver...

usbcore: registered new interface driver usb-storage

USB Mass Storage support registered.

usbcore: registered new interface driver usbserial

usbserial: USB Serial Driver core

USB Serial support registered for GSM modem (1-port)

usbcore: registered new interface driver option

option: v0.7.2:USB Driver for GSM modems

USB Serial support registered for Qualcomm USB modem

usbcore: registered new interface driver qcserial

ARC USBOTG Device Controller driver (1 August 2005)

android_usb gadget: Mass Storage Function, version: 2009/09/11

android_usb gadget: Number of LUNs=1

lun0: LUN: removable file: (no medium)

Gadget Android: controller 'fsl-usb2-udc' not recognized

android_usb gadget: android_usb ready

Suspend udc for OTG auto detect          

USB Host suspend begins

will suspend roothub and its children

ehci_fsl_bus_suspend begins, DR

ehci_fsl_bus_suspend ends, DR

host suspend ends

USB Gadget resume begins

fsl_udc_resume, Wait for wakeup thread finishes

dr_controller_run: udc enter low power mode

USB Gadget resume ends

fsl-usb2-udc: bind to driver android_usb

mousedev: PS/2 mouse device common for all mice

input: gpio-keys as /devices/platform/gpio-keys/input/input0

input: max11801_ts as /devices/platform/imx-i2c.1/i2c-1/1-0048/input/input1

Outcomes