[APP][2.1+][ROOT] Usb Host Controller 0.42

Search This thread

DforDesign

Senior Member
Jul 1, 2011
435
74
Hey sztupy.

I have a question. I want to use xbox 360 controller for windows with wireless receiver with my sgs II. I'm using syiah kernel http://xdaforums.com/showthread.php?t=1555259

When I connect it the leds are blinking and it's recognized in your USB host controller under connected usb devicec, however it says S3C USB host driver NOT found. Can I somehow add it? Is iut passible? I'm "fighting" with it since a week and can't find a solution. I don't need extra power, right?

Thanks in advance.
 
Last edited:

akaSM

Senior Member
Apr 22, 2012
91
24
I tried this app in my Xperia Pro (stock everything, 2.34, rooted) and it worked nicely, except for this:

mkdir failed for -p, Read-only file system
No such file or directory

I had to manually make the folders I had set in the app to be able to mount anything but, after that, mounting my devices was fine.

Also, the "please wait" message stays there for a long time, but as soon as text appears behind the "please wait" message, if I change the screen orientation, the message disappears and I can use the app.

Finally, my phone detects a couple card readers I have but, I cannot mount them, that is until I connect one (any) USB hub, after that I can mount my card readers.

is possible use mass-storage devices on SE Xperia Pro (stock ROM) via OTG cable? I had both, but works just with mouses, keyboards etc. when I connect for example USB-stick flash drive, it just say "unknown device connected). in latest version app "USB host controller" I am possible see all connected devices with right names, but they never shows in "mass-storage" section :confused:

root is needed or not? in few days I will try flash CM7 or CM9 and then I will try it again :)

Yes it is, I just did it. To use a hard drive, I had to use external power though. Also, have in mind the card reader issue I mentioned.
 

sztupy

Inactive Recognized Developer
Dec 21, 2008
1,061
877
Edinburgh
sztupy.hu
Hey sztupy.

I have a question. I want to use xbox 360 controller for windows with wireless receiver with my sgs II. I'm using syiah kernel http://xdaforums.com/showthread.php?t=1555259

When I connect it the leds are blinking and it's recognized in your USB host controller under connected usb devicec, however it says S3C USB host driver NOT found. Can I somehow add it? Is iut passible? I'm "fighting" with it since a week and can't find a solution. I don't need extra power, right?

Thanks in advance.

That line is for SGS1 users, it won't bother you. The controller should work just fine on SGS2, without external power, and on it's own.
 

akaSM

Senior Member
Apr 22, 2012
91
24
Ok so, it seems the app doesn't really work in the Xperia Pro, at least not by itself. I had the USB STORAGE MANAGER installed the first time I tried Usb Host Controller 0.44, and everything worked according to my previous post. Since I found a nice replacement to USB STORAGE MANAGER, I uninstalled it. I rebooted my phone and, the next time I used Usb Host Controller 0.44, I could see the connected devices but, none of them were mountable.

Since Usb Host Controller 0.44 no longer worked, I installed USB STORAGE MANAGER again and, surprise, Usb Host Controller 0.44 was working fine again!

Is there anything I can do to help figure what's going on, and why is it dependent on USB STORAGE MANAGER (at least in my phone)
 

me21

New member
Apr 23, 2012
3
0
Hello,

is it possible to connect usb-to-serial converter with this application and to use it from another application?
 

barrmulio

Senior Member
Oct 5, 2010
357
359
has anyone had any luck with microsd card readers? my cards are recognized in the 'connected usb devices' section as silicon motion generic usb2.0 card, but nothing under mass storage device

dsmsg indicates device isn't supported
 

akaSM

Senior Member
Apr 22, 2012
91
24
has anyone had any luck with microsd card readers? my cards are recognized in the 'connected usb devices' section as silicon motion generic usb2.0 card, but nothing under mass storage device

dsmsg indicates device isn't supported

Try using a usb hub, for some reason card readers work only when connected to a hub, except for a few ones.
 
  • Like
Reactions: barrmulio

skeerthy

Member
Nov 3, 2010
9
0
Sony Xperia S - Force Host mode without OTG cable.

I have this simple requirement where I want to force the USB to host mode (OTG mode) without having to use a OTG enabled USB cable. I tried the app, but it keeps on waiting and ultimately I need to force close it.

I want to use the standard cable provided with the phone for charging the phone with a male to female gender changer.

I do not want to root my phone either. Is it possible to force the phone to OTG mode?
 

sztupy

Inactive Recognized Developer
Dec 21, 2008
1,061
877
Edinburgh
sztupy.hu
I have this simple requirement where I want to force the USB to host mode (OTG mode) without having to use a OTG enabled USB cable. I tried the app, but it keeps on waiting and ultimately I need to force close it.

I want to use the standard cable provided with the phone for charging the phone with a male to female gender changer.

I do not want to root my phone either. Is it possible to force the phone to OTG mode?

No.
 

jafargio

Member
Jan 13, 2011
20
0
Tbilisi
gadadi.ge
Motorola XOOM MZ604 Rooted 4.0.4

When trying to mount: No such file or directory


I created folder on mnt/sdcard directory to have permissions to write but still same message.
 

retsam88

Senior Member
Feb 23, 2009
358
54
Reporting working USB controller on HD2 SD ICS build with newest USB Host patch. Mounting USB disk works nicely.
 

frenccw

Senior Member
Jun 15, 2011
703
226
Works perfectly on Galaxy Nexus with AOKP m5. :) Waiting on NTFS support. Will definitely donate then! Thanks for your efforts
 

Izzy Stinson

Senior Member
Aug 12, 2011
702
73
What does this app do exactly?

My phone Sony ericcson xperia mini pro supports USB otg. I have tried it with mouse, pendrive, USB keyboard and USB gamepad without analog.

Yesterday I bought a USB gamepad with analog and it doesn't worked. I got the message in notification bar saying the USB is using too much power please unplug the USB and something like that.

I thought this app can fix that ^^

Sent from my SK17i using XDA
 

Supaiku

Senior Member
Oct 18, 2010
230
46
This looks like a very interesting application. Over in the HTC One X section a bundle of people are looking forward to being able from use otg /host mode. Do you know if this application could be of heeklp with trouble shooting or whatnot? currently some of the kernels enable otg /host, but it does not function.

Sent from my Thrive using Tapatalk 2
 

pcoiner

Member
Jun 14, 2012
12
0
Galaxy Nexus S3C USB Host driver not found

I’m new to Android, so I apologize in advance if I’m overlooking something fundamental.
I'm running Android 4.0.4 CyanogenMod Ver 9-20120614-NIGHTLY-toro on a Galaxy Nexus.
I downloaded and installed USB HOST.
When I start it says “S3C USB Host driver not found”.
I’m assuming that my OS does not/did not include this driver.
When I look at your posts on xdadevelopers ([KERNEL][ICS-CM9 or JVU] USB Host mode (OTG) driver for SGS i9000 [BUILD 5]) it seems you include this driver in a kernel that you have written???
Being from the Windows world it does not make sense to replace the kernel of my OS when I only need a driver. (assuming that is the problem/why I’m seeing S3C USB Host driver not found error)
Is there any way to load only the driver or do I need to replace the kernel of my OS with your kernel?


On another note regarding power out the USB port. (I have seen quite a few references to enabling power out the US port in this thread)
Before I found USB Host, I first found/tried a app called “Stick Mount” users many there claim to only use a OTG cable with their devices and make no mention of an eternal USB hub to provide power…so it would appear that they are getting power the port/pin 1/somewhere??
So maybe the makers of Stick Mount have solved the power out of the USB port problem???


http://xdaforums.com/showthread.php?t=1400034&highlight=power+pin+1

Anyway I have a compact flash card that I’m trying to read using my USB port of my Galaxy Nexus he but I’m first testing with a thumb drive.
If I could get this to work on my phone it would be heaven.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 48
    Usb Host Controller

    attachment.php


    attachment.php


    attachment.php
    attachment.php


    Shows enumerated usb devices, and allows you to mount external mass storage devices to the filesystem. Supports advanced features like the ability to reload partition tables and reseting USB devices. It can also control the USB Host functionality of S5PC210 devices with the appropriate kernel patch (more about this later)

    The application does not use the USB Host API, so it can also run on older, 2.x devices. Because of that however almost all functionality (except for the listing of USB devices) requires root access.

    The application needs a device that has USB Host (or USB OTG) functionality. Most modern high-end devices have this ability. Check the documentation and specification of your device (this functionality is usually called USB OTG or USB Host)

    If your device doesn't have native USB OTG functionality, there are kernel patches for some older devices to enable the functionality, most notably for:

    - S5PC210 based Samsung phones (Galaxy S, Captivate, Nexus S)
    - QSD8250 based HTC phones (G1, Nexus One, Desire, Incredible)

    You can find appropriate kernel drivers for these phones here:
    - Samsung phones: http://xdaforums.com/showthread.php?t=1450298
    - HTC phones: http://sven.killig.de/android/N1/2.2/usb_host/

    Note that these drivers might require skills to install, and may damage your phone and void your warranty!
    11
    Changelog and downloads

    The application can always be downloaded from the Android Market: https://market.android.com/details?id=hu.sztupy.android.usbhostcontroller If you have Market, please download it from there. Thanks.

    Version 0.44 Download: http://android.sztupy.hu/dl/usbhost/UsbHostController-0.44.apk

    Fixed:
    • Crashes on some devices when getting wireless wifi data

    Version 0.42 Download: http://android.sztupy.hu/dl/usbhost/UsbHostController-0.42.apk

    Fixed:
    • Crashes on orientation change while opening the application

    Version 0.4 Download: http://android.sztupy.hu/dl/usbhost/UsbHostController-0.4.apk

    Fixed:
    • Crashes on pre-gingerbread devices
    • Crashes when using some ad-blockers


    Version 0.3 Download: http://android.sztupy.hu/dl/usbhost/UsbHostController-0.3.apk

    Fixed:
    • Massive instability on JVU/gingerbread
    • Various other gingerbread fixes


    Version 0.2 Download: http://android.sztupy.hu/dl/usbhost/UsbHostController-0.2.apk

    Fixed:
    • Increased stability

    Added features:
    • real-time dmesg logging
    • reload partition table of devices
    • reset USB devices
    • turn off device charging (S5PC210 devices only)
    • multiple mount points support
    • Hungarian localization

    Version 0.1 Download: http://android.sztupy.hu/dl/usbhost/UsbHostController-0.1.apk
    • Initial release
    4
    Help/FAQ

    What is this good for?

    Usb Host Controller let's you see what devices are connected to your phone, and also lets you mount external drives.

    There are already a lot of apps for that

    Yes, but UHC has some distinctive features:
    • To enumerate devices it does not use neither the USB Host API, nor external applications, like lsusb from busybox. Instead it reads the information from the filesystem, which is always avialable, therefore it can be used to debug all kinds of devices which have USB host support.
    • It has a special features to help control the USB Host mode of S5PC210 based Samsung devices (Galaxy S, Nexus S, etc.)
    • It also has some features usually not available (even from the command line), like the ability to reload the partition information, and the ability to reset USB devices

    How to use

    Most of the functionality should be straightforward, but the USB tab might need some clarification:

    The USB tab shows all the USB devices connected to your phone, that have been found by the system. Below the devices you can see all of the USB Mass Storage devices (external hard drives, flash drives, other Android phones, etc.), with their avialable partitions. You can click on any line, and based on the line you click on you will have a list of options to choose from:

    • Clicking on an USB device in the upper part lets you reset that device. Sometimes mice, and keyboards need to be reset for them to work correctly.
    • Clicking on a partition lets you mount it to a mount point. The application will ask you where you want to mount it. The list of mount points can be set inside the settings panel. If the partition is mounted you can unmount it here.
    • Clicking on a Mass Storage Device (not on the partitions, but the base device above tha partitions) will lets you reset the hard drive, or reload the partition table of the disk. The latter is useful, if the system doesn't recognize a change in its partition information. This is usually needed, if you connect an external card reader, and you insert or remove a card from it. It also makes conecting other Android phones as storage possible, as they will not send their partition tables until you switch the USB Storage mode on them on.

    What are the options if I have an S5PC210 based phone
    The application lets you change how the USB Host is working in the S5PC210 based kernels (and currently only on those!). The avialable modes are:

    • Client: Default mode, means no matter what happens the phone stays in client (USB gadget) mode
    • Host: No matter what happens, the phone switches to host mode and stays there. Not recommended.
    • OTG: The phone is in client mode by default but changes to host mode if an OTG cable is detected.
    • Auto-host: The phone is in client mode by default but changes to host mode if any type of cable is detected. (good for homemade OTG cables where pins 4-5 are not shorted)

    Using Host mode is not recommended, as the root hub of the S3C Host driver won't re-enumerate devices if they are changed (It is still useful for debug purposes). If you need host mode use either OTG mode (preferred if you have a valid OTG cable, which means it has the 4th pin grounded), or auto-host mode, which you should use if you have a "non valid" OTG cable (on which the 4th pin is not connected)
    2
    What info/files you need, so that you can add support to other devices?

    Sent from my Derp using XDA Herp

    If the device has USB host mode (most newer high-end devices and tablets, from that even most chinese ones), this app should work on it just fine.

    If it doesn't have, but the chip supports it then a willing developer needs to try to enable it. I'm only working on S5PC210 (Hummingbird) based phones, as I have only access to them. Patches for QSD8250 (Snapdragon) based phones are available though.

    If the device has a chip without USB host support (most low-end / mid-range phones) then sorry, this is not possible.
    1
    App mounts external drive,but contents is not visible. Reports s3c usb host driver not found. Any ideas? ((btw no other app works at mounting the drive:just yours. Great job)

    ---------- Post added at 05:43 AM ---------- Previous post was at 05:28 AM ----------

    App mounts external drive,but contents is not visible. Reports s3c usb host driver not found. Any ideas? ((btw no other app works at mounting the drive:just yours. Great job)

    S3c driver only visible if you have an s3c otg controller (samsung phones). Please post a dmesg log (after connecting the device) if you can, i'll check it

    Sent from my GT-I9000 using XDA App