Unknown USB Device connected - Galaxy Tab 10.1 General

Hi, I was wondering if anyone else had this problem...
I'm developing an application that controls custom hardware over USB. I've been testing on a Xoom where it works fine, but I recently bought a Galaxy 10.1 to test compatibility. The application runs fine but when I connect my custom USB device to the tablet it says "Unknown USB Device connected"
Other USB devices work fine such as mice and USB flash drives on the Galaxy, so I believe there's nothing wrong with my adapter.
Application details:
My application has a USB_DEVICE_ATTACHED intent filter with my device's device/product id specified in the corresponding device_filter.xml file. When I plug my device into the Xoom, I get the expected prompt asking if I would like to launch my app. On the Galaxy I get no such prompt, it just says unknown USB device.
Any ideas? Thanks in advance.

Related

USB Error

When I plug my Touch HD in to my PC by USB i get the following message "Warning, The device doesn't support the USB head set, please remove it"
Any ideas?
if it's the pc i would suspect that it's an usb driver issue
or a 3th party program giving the msg
i would try another computer to verify this
seems to be doing it on all computers.
The computer finds the phone for a few seconds then i get the error message and the phone dissappears from the explorer.
The phone still charges though
I have 2 touch hd's and its only happening with the one.
Is this an issue anyone else has encountered? Could the USB port be damaged? If so where can I get it repaired and how much am I looking at?

[Q] Note 4 USB Internet Tethering not working

Hi!
I'm going out of my mind with this. I've tried everything in my knowledge to do.
So. I have the 32 gig version Samsung Galaxy Note 4 with the Snapdragon 805 processor. Wifi tethering on it works just fine but my desktop computer doesn't have wifi for now. If I use the built in usb tethering, EVERYTHING that has anything to do with my internet connections on Windows, freezes. It won't load Network and Sharing center let alone anything else regarding networking devices until I unplug the phone. I've tried using device manager to reinstall the device "Samsung NDIS internet sharing device" (or something), without solving the problem. I've tried using generic drivers, samsung drivers, I've uninstalled drivers using USBDEVIEW, I've reinstalled android drivers and samsungs own drivers, not solving the problem.
I tried using an app from the app store that uses usb tethering via USB Debugging and installing a 3rd party app on the computer that acts as a virtual networking device, but as soon as I connect the phone, the software on my Windows pc says "USB I/O Error" or something of such.
I'm going mad with this problem. What am I doing wrong?!
Oh...... my god. The frustration!
I plugged the damn thing on another usb port (which happens to be a USB 3.0 port, I don't know if that has anything to do with it), and now it works.
Why the hell does it have to be so random? Is there some way in Windows to just... RESET everything regarding usb ports and drivers and everything?
uuffffgghh
(sorry op for expressing myself)
Greate
I tried usb 2 it's working correctly

USB Synchronous and Asynchronous

Hi,
I am having a hard time trying to get a couple of USB devices to work properly on my headunit. One is a USB CarPlay dongle, and the other is an OTA tv tuner. Both USB devices get recognized by the headunit, however in the case of the first, it never gets passed a connection state where the dongle starts talking to the application. In case of the second, the OTA never finds TV stations after doing a complete scan.
USB devices like keyboards, mice, USB flash drives, even a webcam work fine. I contacted the manufacturer and they said they only support USB synchronous which may be the reason these devices can't work properly.
The unit is an Eonon GA7157 with the Allwinner R16 1.6GHz Cortex A7 Quad-Core CPU.
Questions:
Is it possible this is a valid claim?
My unit is rooted, can USB asynchronous be enabled via software?
I was also thinking this could be an OTG wiring issue, what do you think? I say so because the only way I could get the CarPlay dongle to work on my Samsung Tablet A, was with an OTG cable. A straight connector presented the same symptoms.
I am not too experienced with Android, so please be gentle
He was feeding you a load of horse manure.
Either that, or he meant something entirely different by "USB synchronous".
Precisely what do you mean by "get recognized by the headunit"?
What exactly *are* these two devices you are trying to use?
What *drivers* do they use?
Have you confirmed that the kernel is enumerating the devices?
Have you confirmed that the kernel is binding the proper drivers to them?
Have you confirmed that Android knows how to deal with the interfaces that the drivers are providing for these devices?
Have you confirmed that the interface permissions are such that a user application will be able to access it?
An OTG cable does two things;
1) It reverses the gender of the connector,
2) It sends a signal to the phone/tablet/whatever that it should switch its USB port from slave mode to host mode.
Nothing else.
Thanks for the tips. By recognize I mean that Android prompts me to confirm opening the accompanying apps when I plug in these devices to the USB port. E.g. I plug in the CarPlay dongle, Android prompts: do you want use Zbox (App) every time you use this device (Cancel or OK); I press OK and then the App stays in trying to connect mode forever.
The manufacturer has locked down USB debugging. Do you know of any apps (rooted or not) that will give me the information you pointed out?
thanks
It is unlikely that USB debugging is "locked down". More likely, its just because your USB device port is stuck perpetually in "host" mode on the wrong side of a USB hub, and therefore you can't connect to it. Try connecting to adb over IP instead.
I've never heard of any USB device on Android causing any kind of popup. That is very strange. Is it possible that the popup is being created by the program, i.e. "zbox"? Its possible that the system is sending a broadcast upon device enumeration, but the device access permissions are either wrong, or the kernel doesn't have the proper driver available.
luciusfox said:
It is unlikely that USB debugging is "locked down". More likely, its just because your USB device port is stuck perpetually in "host" mode on the wrong side of a USB hub, and therefore you can't connect to it. Try connecting to adb over IP instead.
I've never heard of any USB device on Android causing any kind of popup. That is very strange. Is it possible that the popup is being created by the program, i.e. "zbox"? Its possible that the system is sending a broadcast upon device enumeration, but the device access permissions are either wrong, or the kernel doesn't have the proper driver available.
Click to expand...
Click to collapse
Thanks again. I am including some pictures that may help explain the problem a little better. As far as the passcode, from what I can tell this unit has 3. One for the Advanced Car Settings, Developer Settings, and USB Debugging. The first 2 I found on another forum and are 123456 and the other 7890. The USB Debugging is an alphanumeric string which I haven't found anywhere, and the manufacturer refuses to release it. When I toggle the USB debugging on, I get prompted to input the passcode. I have tried a few codes but no go, the USB debugging switch goes back to the off position.
The other pictures show the USB port capabilities of the headunit. The unit has 3 USB ports: one is taken by the WiFi module, the other by a dashcam, and the remaining one is open and where I plugged in the CarPlay dongle. There is also another picture of the USB CarPlay dongle device plugged in and listed as Mass Storage Gadget. The dongle does have internal storage of a few MBs.
Finally, I include a picture of the application Zbox. This is the latest version and it starts automatically when I plug in the USB CarPlay dongle.
Well, I made some progress with the password for the USB debugging switch. To summarize:
Car Settings: 123456
Developer Options: 7890
USB Debugging: [email protected]
Now I just need to figure out how to make the USB port work properly. Any ideas? I have USB debugging access and the device is rooted.
Well according to your second-last picture, the device is being detected as UMS (Usb Mass Storage). I.e., like a usb flash disk.
VIDID of 0x0525:0xA4A5 looks to be an e-ink tablet called "Pocketbook Pro 903".
The problem may be that your "carplay dongle" is masquerading as something it isn't.
Well, the VIDID could be the problem; however, this same CarPlay dongle works fine on 2 other Android devices; moreover, a USB OTA tuner behaves the same way, meaning it does not work on the headunit but does on remix and a tablet.
Well guys, this unit is going back to the seller. After playing with it and not getting anywhere with customization and customer service, it’s out the door.
I am getting an xtron octacore px5 unit. It looks like these head units have better developer support.
Do you have the English version of 3.0 you can post?
bass_rock said:
Do you have the English version of 3.0 you can post?
Click to expand...
Click to collapse
You mean the Zbox firmware and software? if so, pm me, and I'll forward it to you.
isisyodin said:
You mean the Zbox firmware and software? if so, pm me, and I'll forward it to you.
Click to expand...
Click to collapse
Yea, and actually I was able to use the version on their site. It was al in English when I installed it and I’m now on version 3.0.2
bass_rock said:
Yea, and actually I was able to use the version on their site. It was al in English when I installed it and I’m now on version 3.0.2
Click to expand...
Click to collapse
Whats new on 3.0.2 compared to 3.0.0? Do you know what was updated?
isisyodin said:
Whats new on 3.0.2 compared to 3.0.0? Do you know what was updated?
Click to expand...
Click to collapse
According to Google Translate:
1. Optimize U disk upgrade USB recognition rate is higher
2. Optimize the phone connection, mobile phone recognition rate is better
3.carlife in the help page to add download guide
I was able to get it from here: https://translate.google.com/transl...=en&ie=UTF-8&u=http://zjinnova.com&edit-text=
bass_rock said:
According to Google Translate:
1. Optimize U disk upgrade USB recognition rate is higher
2. Optimize the phone connection, mobile phone recognition rate is better
3.carlife in the help page to add download guide
I was able to get it from here: https://translate.google.com/transl...=en&ie=UTF-8&u=http://zjinnova.com&edit-text=
Click to expand...
Click to collapse
My new Xtrons recognizes the Zbox dongle very quickly. I think it is now as quick as some of the dedicated Alpine and Pioneer units.
As far as software, crisper icons and bypassing the connection window would be nice option. It should only display when a problem occurs. One thing that is flimsy is the USB connector but no software upgrade will fix it. I am considering opening it up and soldering a better connector. Also, heat dissipation is an issue. It needs a heatsink. I may just add one when I crack it open.
I am looking forward to the next iteration with wireless CarPlay. Someday.
isisyodin said:
My new Xtrons recognizes the Zbox dongle very quickly. I think it is now as quick as some of the dedicated Alpine and Pioneer units.
As far as software, crisper icons and bypassing the connection window would be nice option. It should only display when a problem occurs. One thing that is flimsy is the USB connector but no software upgrade will fix it. I am considering opening it up and soldering a better connector. Also, heat dissipation is an issue. It needs a heatsink. I may just add one when I crack it open.
I am looking forward to the next iteration with wireless CarPlay. Someday.
Click to expand...
Click to collapse
Yea the update definitely enhanced it a lot. I used to have a pioneer and it feels close to the same now.
bass_rock said:
Yea the update definitely enhanced it a lot. I used to have a pioneer and it feels close to the same now.
Click to expand...
Click to collapse
Prior to 3.0.2, what firmware/software where you running?

My PC doesn't recognize my Nexus 7 2013

I have an Asus Nexus 7 tablet that over a year ago I rooted and flashed and maybe a few other things, I don't fully remember, but I did get it to run the Nitrogen OS successfully, and since then I've used it with no problems. But the other day I plugged it into my PC via USB cable as I always do when I want to load a movie or whatever, and this time my PC refused to have anything to do with it. Immediately upon plugging it into my desktop's USB 3.0 (2.0 port does the same thing) I get this Windows 10 notification: "USB Device Not Recognized. The last USB device you connected to this computer has malfunctioned and Windows does not recognize it." When I check under Device Manager I see a yellow triangle warning under Universal Serial Bus controllers that says, "Unknown USB Device (Device Descriptor Request Failed)." And that's as far as I can go. There is no mention of ASUS, Nexus, or Android anywhere else in Device Manager. I've checked under all the headings.
It seems Windows 10 knows something has been connected when I plug in via USB but it doesn't know what to do with the device. I've searched the Internet high and low for a solution but nothing works. Here's what I've tried:
1) Uninstalled the yellow triangle error driver from Device Manager, checked for new hardware, got the yellow triangle back.
2) Tried updating driver but "You have the latest driver installed."
3) Tried installing USB driver from Google and "the operation completed successfully" but the problem remains even after reboot.
4) Went to Developer Options and ensured USB debugging is turned on and MTP is selected in USB Configuration. When I turn USB Debugging on and off with the Nexus connected via USB, Windows 10 reacts, but only to tell me with each change that I have an "unknown USB device attached," basically all the original error messages. I get the same errors whether I'm set for MTP or Camera or charge only or any of the other options.
5) Learned others have found a bad cable can cause my problem so I located three spare cables around the house and none worked. So I ordered a fresh new data cable from Amazon which arrived today -- but the problem remains.
6) I have a triple-boot PC. All three OS installations are Win10 but installed separately on different drives -- one of them is from the Microsoft Insider program, so should be the latest and greatest -- but I have the exact same problem on all three.
7) Wondered if maybe Linux would work so tried Knoppix live boot disk and even did a full installation of Zorin on a separate HDD. Neither version of Linux recognized that any Android device was attached. I even ran a "find-mtp" Linux program but it saw nothing.
8) Installed Wondershare Mobile Go and Syncios Data Transfer -- both are programs for dealing with Android devices via USB on a PC -- and neither sees my Nexus. And I guess there's no way they could as the Nexus doesn't appear in Device Manager.
8) Reset the Nexus to factory settings. All my apps and so forth are gone but the problem remains exactly the same.
I've been at this for about a week now so there are probably other things I've tried and forgotten about but nothing has worked. If I had another Android device I'd see if the computer recognizes it via USB but I don't have one. Maybe I can get a friend to help me out. I'm grasping at straws.
One more thing -- I don't remember whether I've ever before communicated with this Nexus on my current computer. In May of this year my old Asus MBO failed and I've built a new computer around an Asus Prime X299-A. It's working great, its USB ports are giving me no problems with anything else I throw at them, but I'm wondering of maybe I've got something set wrong in BIOS (UEFI). I've gone through every USB setting I can find in BIOS and no changes offered seem appropriate. But I've tried them this way and that with no apparent effect. And as I said, USB 3.0 and 2.0 are working great for everything else.
And when I wrote that last paragraph it hit me that I should try the spare PC I keep in a closet. Duh. So,
9) Tried a different PC, a spare Win10 system I built from spare parts from my old system plus an el cheapo MBO. This is a TOTALLY DIFFERENT COMPUTER -- but the problem is exactly the same.
It can't be the Nitrogen OS -- I just can't go there. It's been working perfectly for over a year, no glitches whatsoever. How could it suddenly decide to stop connecting via USB? I've pulled all my hair -- totally bald now, but that didn't work either. Any other ideas? Anybody? Toss the Nexus in the trash? That would be no fun. And it does work, though with the factory reset I've erased all the kids movies I was keeping on it for the young ones who occasionally visit and I have no way to put them back. I dunno what to try next ....
Other things to try
Windows 7 or better yet XP
Disable your anti-virus on your pc
Make sure usb debugging turned on for the tablet.
Use an app like drivedroid to see what usb setting work with your phone. (Not what the app is meant for, but the settings wizard is pretty helpful.)
Worst case:
Use the Nexus Root Kit to unroot and return the device to factory image, then reroot and install latest twrp and image of your choice.
Sent from my LGLS992 using Tapatalk
My Nexus 7 2013 connects straight up With Windows 7 Professional on a Lenova M92p "desktop". The Nexus is set via Developer Options for USB Configuration of "MTP (Media Transfer Protocol)". Upon plugging in the Nexus to the Win 7 machine, on the Nexus you swipe down to see a menu for USB options, which defaults to Charging. Then you set it to File Transfers, and Windows autoplay then asks what you want to do, one option of which is "Open Device to View Files". That is Windows 7, which works! In Windows 7 the Nexus 7 appears in Device Manager under Portable Devices.
Windows 10 Professional, which I have on my XPS 13 9370, does not even acknowledge that there is a device connected under Portable Devices. Under Unknown Devices, when right-clicking to Update Driver and choosing among those for Portable Devices, there are many MTP devices from 4 manufacturers including Microsoft (including Kodak 4800 Digital Camera) but none of them load. I get "The device cannot start. (Code 10)". I've read that the correct one is "MTP USB Device" but neither that one nor any MTP device driver loads. Stuck!!
jbabin1 said:
My Nexus 7 2013 connects straight up With Windows 7 Professional on a Lenova M92p "desktop". The Nexus is set via Developer Options for USB Configuration of "MTP (Media Transfer Protocol)". Upon plugging in the Nexus to the Win 7 machine, on the Nexus you swipe down to see a menu for USB options, which defaults to Charging. Then you set it to File Transfers, and Windows autoplay then asks what you want to do, one option of which is "Open Device to View Files". That is Windows 7, which works! In Windows 7 the Nexus 7 appears in Device Manager under Portable Devices.
Windows 10 Professional, which I have on my XPS 13 9370, does not even acknowledge that there is a device connected under Portable Devices. Under Unknown Devices, when right-clicking to Update Driver and choosing among those for Portable Devices, there are many MTP devices from 4 manufacturers including Microsoft (including Kodak 4800 Digital Camera) but none of them load. I get "The device cannot start. (Code 10)". I've read that the correct one is "MTP USB Device" but neither that one nor any MTP device driver loads. Stuck!!
Click to expand...
Click to collapse
I replied earlier but being lazy I didn't log in so here we go again so you'll see I'm the OP. My Win10 Pro desktop recognizes my Nexus 7 nicely since I halfway pried the back off the Nexus and then snapped it back in place. Yep, that's all it took. Apparently something was loose or misaligned inside the Nexus and just fiddling with it fixed it. Yay.
jbabin1 said:
My Nexus 7 2013 connects straight up With Windows 7 Professional on a Lenova M92p "desktop". The Nexus is set via Developer Options for USB Configuration of "MTP (Media Transfer Protocol)". Upon plugging in the Nexus to the Win 7 machine, on the Nexus you swipe down to see a menu for USB options, which defaults to Charging. Then you set it to File Transfers, and Windows autoplay then asks what you want to do, one option of which is "Open Device to View Files". That is Windows 7, which works! In Windows 7 the Nexus 7 appears in Device Manager under Portable Devices.
Windows 10 Professional, which I have on my XPS 13 9370, does not even acknowledge that there is a device connected under Portable Devices. Under Unknown Devices, when right-clicking to Update Driver and choosing among those for Portable Devices, there are many MTP devices from 4 manufacturers including Microsoft (including Kodak 4800 Digital Camera) but none of them load. I get "The device cannot start. (Code 10)". I've read that the correct one is "MTP USB Device" but neither that one nor any MTP device driver loads. Stuck!!
Click to expand...
Click to collapse
Your issue is not similar to the OP who had no connectivity at all in different PCs.
The issue is the driver in your case, may be a clash of drivers. Install USBDview in the PC and using it, uninstall every driver related to USB. Don't worry, since Windows will reinstall any driver needed as and when the peripherals are connected. Restart the PC and disable 'driver signing' and any antivirus program including Windows Defender. Now connect the tab and check if the correct drivers are installed and the tab is recognised. If not, try to update the driver in Device Manager. If even that doesn't work, you may have to reinstall Windows.

Samsung S8 "not connected" to PC

I have this S8 for 3 years already and since few weeks ago, didn't have problem with connecting phone to PC and transfer files. Now when I connect phone to computer, nothing happens (except phone shows it charges). Phone doesn't show in "this PC" (windows 10) nor there is sound of device connecting to PC (also no removable media in taskbar). There was update in between but I am not sure if that is the problem.
EDIT: I have connected gf's huawei and everything is fine.. it shows right away after connecting
@InMoment1
Android is rooted? You use the Samsung USB Driver that matches your device? If so you can switch the device to MTP mode
Code:
adb shell "svc usb setFunctions mtp"
It's not rooted.
I did use SystemUI tuner application (but just to remove clock from main screen, didn't touch anything else).
I tried with samsung's driver (but even before I downloaded it, my phone worked just from "window's default")
This code that you wrote, how and where do i write it in phone?
Thnx!

Categories

Resources