Monday, March 3, 2014
How to identify android development board usb device is plugged into the
Now we have a special needs, how to identify the usb device is inserted. Equipment or u can not work properly, only need to insert the usb to have a way to know enough
u I could find a way to insert the disk in the list below ---/proc/partitions--- flash drive is inserted if there will be new information is written,
However, mouse, keyboard, or other device do not know know how to identify U port is inserted it?
U want to know is not to be inserted in the mouth. Please help<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
Bangding yourself, come take a look at it
In addition to the usb driver can not change certain system files by reading the answer it
You help friends
Reply:
. . . . Found a strange way to solve it. Nobody ah ~! ! ! Depressed
Reply:
Landlord is how to detect the usb device, I am now working on this piece, only to monitor the broadcast boot after many online said detection in applications such as broadcast messages USB_DEVICE_ATTACHED activities can be started, but now I did not succeed, the landlord can not share. Can provide ideas to solve it, very grateful, email: 903994024@qq.com
Reply:
My needs are simple and may not apply to you, I read the dmesg, the device can determine usb passed in
Reply:
Landlord to ask, how to judge ah? ? I have to judge whether the USB connection
Reply:
Will the landlord, I am now engaged in this, I use that to test that code that ADBtest official google, but without success, to ask how to identify android devices other USB device into the information. Solving ah ~ ~ ~ ~ ~!
Reply:
Landlord in it? How you solve that problem? I want to flat into the phone, giving users a hint of it
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment