USB OTG - Huawei MediaPad, T-Mobile SpringBoard

I am in need of some feedback.
I would like to use my springboard with a proprietary usb based device similar to an arduino, but the stock 4.0.3 rom USB OTG capabilities only allow for things like usb thumb drives and keyboards. the usb device i am using doesn't show up as available to android. using an app like "USB Host Diagnostics" claims that the android API has support, and classes are found, but device was not detected. it does also claim there is kernel support and the device was detected at the kernel/linux level. therefore the stock ICS appears to have OS support, but not 3rd party support. I am looking to see if any of the ICS or JB roms from others support USB OTG at the android level, not just the OS level.
thanks.

For proprietary device you need a driver I guess.

eighty-four said:
For proprietary device you need a driver I guess.
Click to expand...
Click to collapse
I know that it requires some sort of driver support, but not specific drivers for the device. I am currently developing the code for it on my Acer a500 with no problem, and it didn't require anything special/extra. the original Honeycomb and the stock ICS both see the device fine.

Related

What USB devices can be used with the G-Tab?

Is there a list of functions that can be used with the GTab USB? For example: can I mount a digital camera as a USB drive?
Pretty much all storage devices work. People have had success with 3g usb adapter. Mouse and keyboard also work. I haven't tried printer yet.
Has any research been done with usb wifi adapters? I've searched but with no success as I'm sure the issue would be driver related.
The kernel controls what can and cannot be used via USB first.. If there is kernel support for your do-dad, you're good to go at least for the first step... after that, the rest of the Android framework needs to allow you to do something useful with the thing, which may or may not stop it from helping... or may require apps, or additional libraries, or pixie dust.
Right out of the box, if it looks like a HID (keyboard/mouse) or storage, something encouraging will happen on most of the g-tab roms, even the stock rom. If its storage but a format that's not supported by your kernel, you may need additional modules, or it may never work.
Everything else, who knows. Use a custom kernel, and get the source, and build one that supports what you want. Check for linux support - if its supported in linux, odds are way way better...
user mode usb driver support?
I would like to write a "virtual Control Panel" application to communicate with a propriatery device via USB. Under Windows XP, I wrote a device driver, DLL and C++ application.
Now I am sure the linux kernel does not support the proprietary protocol of my device. However I understand that some linux systems support user mode device drivers for USB devices.
Is this the case with Android 2.3?
If so, can a user mode device driver be written with the Android SDK?

USB host?

Hi everyone,
I'm a proud Legend owner, but I'm thinking in change my phone soon (but not yet). Anyway, I was thnking if I can give my phone a new live connecting it to a hard drive, so I can build a webserver, filesharing or whatever with almost no power consumption.
However, I found that is necessary for the kernel to allow USB Host mode for it. Newer android versions support it, but for everyone else I've found this http://sven.killig.de/android/N1/2.2/usb_host/, there's a port even for G1.
Anyone with enought skills for porting it to legend?
usb otg works on thc legend
Hello
I compiled the kernel (ver 2.6.35) for htc legend and applied the Sven Killing's ehci usb host hack. I connected an usb mice and an usb keyboard, and both worked. I changed an some points the kernel source (like Kconfig and etc.) if somebody needs i can upload it.
You need an external power supply for the connected devices, and hacked an homemade usb micro host cable like this:
beyondthekeeboard.files.wordpress.com/2010/10/picture-50.png
It works fine, I didn't tested mass storage, but i think it would work.
Could you upload your compiled kernel?
Hello people,
i need some help enabling usb otg on the legend aswell. im running CM 7.2 and 2.6.32 kernel.
If someone could upload a modded kernel or do a step-by-step instruction for a noob like me, i'd be really grateful
Need also OTG functionality on my legend! Does anybody have a modded kernel?

[Q] Help about attaching a webcam to android devic

Hello friends and happy new year for all.
I have a question about using webcams in an android device,
can anyone help me
I mean , I want to attach my webcam to my android device (Xperia mini pro) but I don't know how to do it.
please help me.
You don't.
I find a way
I allso found a way in youtube but I don't know how to us it
I hope masters in here can help me
but I cant send the link here so I write the search words
Usage of USB webcam with customized Galaxy Nexus (android 4.0.3)
search in youtube
Why nobody don't help me ???
lovelysunset said:
Why nobody don't help me ???
Click to expand...
Click to collapse
Read the description of the video.
Sent from my Galaxy Nexus using xda premium
Attaching any USB peripheral requires the device to have USB On-The-Go (OTG) support. A lot of the newer (and high-end) devices have this, but yours does not. So it's not possible. It's not just a simple software mod. USB OTG requires the device to have a USB port that's capable of delivering power output to power low power USB peripherals like keyboards, mice, flash drives. For that same reason, in the video it is mentioned that only low power webcams work. It's at the hardware level, so no it won't be possible with your phone at all.
Sent from my Desire HD using xda premium
sashank said:
Attaching any USB peripheral requires the device to have USB On-The-Go (OTG) support. A lot of the newer (and high-end) devices have this, but yours does not. So it's not possible. It's not just a simple software mod. USB OTG requires the device to have a USB port that's capable of delivering power output to power low power USB peripherals like keyboards, mice, flash drives. For that same reason, in the video it is mentioned that only low power webcams work. It's at the hardware level, so no it won't be possible with your phone at all.
Click to expand...
Click to collapse
Thanks for your answer but I can use usb devices like Flash memory , usb mouse & keyboard , game pad and my 500 GB hard drive and also I can use usb power for my usb speaker .
is this not enough to being a device to support USB ?
can you help me in this way.
Thanks man!
lovelysunset said:
Thanks for your answer but I can use usb devices like Flash memory , usb mouse & keyboard , game pad and my 500 GB hard drive and also I can use usb power for my usb speaker .
is this not enough to being a device to support USB ?
can you help me in this way.
Click to expand...
Click to collapse
Yes you're right, your device does indeed have full OTG support. Sony never mentioned it in the official specifications, but I did a search in your device's forum and found info about it. In that case, I guess the procedure to getting the webcam to work is more hardware specific, so can't say whether it can or cannot work with your device. Your best bet is to ask a dev for your device about it, and see if they're interested to look into it. Also, the guy in the video said only low power webcams work. This is because the USB port can't deliver that much power output.
Having USB Host mode and even a powered USB hub is not enough to use a USB webcam.
You need kernel support and a custom app that accesses video4linux interface (/dev/videoX) OR a patched android framework that routes video4linux interface to android's standard camera API.
In other words, you must be able to modify and compile your own kernel and custom ROM for your particular device.
sashank said:
Yes you're right, your device does indeed have full OTG support. Sony never mentioned it in the official specifications, but I did a search in your device's forum and found info about it. In that case, I guess the procedure to getting the webcam to work is more hardware specific, so can't say whether it can or cannot work with your device. Your best bet is to ask a dev for your device about it, and see if they're interested to look into it. Also, the guy in the video said only low power webcams work. This is because the USB port can't deliver that much power output.
Click to expand...
Click to collapse
thanks a lot for your answer
brugobo said:
Having USB Host mode and even a powered USB hub is not enough to use a USB webcam.
You need kernel support and a custom app that accesses video4linux interface (/dev/videoX) OR a patched android framework that routes video4linux interface to android's standard camera API.
In other words, you must be able to modify and compile your own kernel and custom ROM for your particular device.
Click to expand...
Click to collapse
thanks
but can you help me about edit my kernel (boot.img) and which app I can use ??
lovelysunset said:
thanks
but can you help me about edit my kernel (boot.img) and which app I can use ??
Click to expand...
Click to collapse
You can't just edit the boot.img, you have to edit the source and then compile it. Either learn how to program etc. Or ask a developer for your device to have a look.
Sent from my Galaxy Nexus using xda premium
NIMBAH said:
You can't just edit the boot.img, you have to edit the source and then compile it. Either learn how to program etc. Or ask a developer for your device to have a look.
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
thanks a lot man!
I have a Sony Ericsson Xperia Neo V running Lupus kernel and FXP152 (CM10) ROM. My phone's specification says it supports USB OTG. How can I get this feature?
Also, I am unable to use USB Mass storage mode. Its disabled for some reason. Can anyone explain?
answer
feeroz123 said:
I have a Sony Ericsson Xperia Neo V running Lupus kernel and FXP152 (CM10) ROM. My phone's specification says it supports USB OTG. How can I get this feature?
Also, I am unable to use USB Mass storage mode. Its disabled for some reason. Can anyone explain?
Click to expand...
Click to collapse
hi dear
for your broblem
first of all you must buy a cable that mach your phone port
second your phone must be unlock and root
third you must use modules that is with kernel (flash with CMW) and then install ModuleLoader.apk and select the modules you installed
then you must install a app (like stickmount.apk) to mount the usb you attached
you can found apps in apknew site
may this help you
sashank said:
Yes you're right, your device does indeed have full OTG support. Sony never mentioned it in the official specifications, but I did a search in your device's forum and found info about it. In that case, I guess the procedure to getting the webcam to work is more hardware specific, so can't say whether it can or cannot work with your device. Your best bet is to ask a dev for your device about it, and see if they're interested to look into it. Also, the guy in the video said only low power webcams work. This is because the USB port can't deliver that much power output.
Click to expand...
Click to collapse
Totally agree with Sashank
lovelysunset said:
hi dear
for your broblem
first of all you must buy a cable that mach your phone port
second your phone must be unlock and root
third you must use modules that is with kernel (flash with CMW) and then install ModuleLoader.apk and select the modules you installed
then you must install a app (like stickmount.apk) to mount the usb you attached
you can found apps in apknew site
may this help you
Click to expand...
Click to collapse
Thanks.
How do i get my device identified in my PC as a Disk Drive? I have tried flashing the following UMS zip, but no help on FXP152:
forum.xda-developers.com/showpost.php?p=34956370&postcount=4174
answer
feeroz123 said:
Thanks.
How do i get my device identified in my PC as a Disk Drive? I have tried flashing the following UMS zip, but no help on FXP152:
forum.xda-developers.com/showpost.php?p=34956370&postcount=4174
Click to expand...
Click to collapse
hello dear
I sow that page but I've no idea why you cant see the drive in your computer
first of all you must ENABLE your USB debuging from your device
and make sure you have installed your phones driver in your computer
maybe your phone is in MTA mode so you can see your drive under your phones name in camputer
and make sure your cable is working fine.
may this helpfull
lovelysunset said:
hello dear
I sow that page but I've no idea why you cant see the drive in your computer
first of all you must ENABLE your USB debuging from your device
and make sure you have installed your phones driver in your computer
maybe your phone is in MTA mode so you can see your drive under your phones name in camputer
and make sure your cable is working fine.
may this helpfull
Click to expand...
Click to collapse
Yes, I had enable mass_storage in buil.prop file before flashing that zip. Actually it used to work in FXP 148. But now am on FXp 152 ROm, and now that patch is not working.
I have USB device drivers for my phone from some other path. But thats not getting identified by driver update.
Currently, my phone gets identified in MTP mode in Device Manger, but no drivers installed (shows as yellow question mark).

Mediatek mt6753 OTG support

Hi all,
I try to get USB-OTG support for my mt6753 phone running. Lots of websites show that the device should offer OTG support and you find several phones with this chipset having this option. I have a DOOGEE T3 that should have that, too.
But nothing happens when connecting different USB storages to the phone. Neither the device internal LEDs flashes nor kmsg / dmesg shows something USB related (phone is rooted).
I already ran several USB OTG checkers from google app store that added android usb host permissions in /etc/permissions in several xml files.
I also added the usb.host setting in build.prop and disabled the charger only option.
I also added a seperate USB power supply for definitively providing enough power for the USB storage. When using this additional cable the USB storage blinks twice but nothing happens on the phone.
There are a lot of items in /sys on the phone (e.g. usb20_host) that should point me to the capabilities for OTG.
I don't see a real "hardware" usb host controller in lsusb (like an uchi or ehci controller I know from Intel based systems) - only the "Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub"
How to proceed? If you need more information to determine the next steps, just let me know.
Best regards,
RX1901
Changing the cmode property to 2 (host mode only) causes some kernel debugging lines that state at the end "switch_int_to_host is done" but the "is_host" stays 0.
Am I on the right track?
After further checkings, it looks as if the usb20_otg_if is not compiled into the kernel. How can I add this? As a quick test a .ko file would be sufficient.
RX1901 said:
After further checkings, it looks as if the usb20_otg_if is not compiled into the kernel. How can I add this? As a quick test a .ko file would be sufficient.
Click to expand...
Click to collapse
Find a kernel source for your chip. However, I'm concerned about your phone not powering up the guest device. I think it should do that regardless of the driver. Is your OTG cable good? Proper cable should have OTG pin pulled to the ground on the phone's side and floating on the device's side.

USB Host - BEISTA K107

Hello
I've got my hand on a BEISTA K107, a low end Android tab with Android 10.0 on it.
I'm trying to setup a photobooth but the tablet do not detect my DSLR when I plug it in USB. The tablet is supposed to be OTG compatible but It seems that it's not usb host compatible
Any idea how to correct that ?
I've try rooting it without success
@zeph
Support for USB host and/or USB accessory modes are ultimately dependant on the device's hardware, regardless of Android platform level.

Categories

Resources