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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

Jump to solution
1,296 Views
陳冠儒
Contributor IV

我設計一塊板子,跟原始線路不同在更動了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

Labels (2)
1 Solution
735 Views
jimmychan
NXP TechSupport
NXP TechSupport

How the OTG_ID pin you connected?

View solution in original post

2 Replies
736 Views
jimmychan
NXP TechSupport
NXP TechSupport

How the OTG_ID pin you connected?

735 Views
陳冠儒
Contributor IV

hi,jimmychan:

感謝您的回答,經過測試後目前的確是 ID pin出問題,因為一開始我們用到mini-to-usb轉接器他沒控制ID,所以導致偵測不到滑鼠,現在ID  pin拉low後,已經解決此問題,所以非常謝謝您指出此問題,感謝您。

sam敬上~~~

0 Kudos