USB host mode support? Is this a bad question? - Sharp Aquos Crystal

Does anyone care to look into a patch or addition to the software or kernel to allow usb host support? I think that the hardware supports usb host, but the software removes compatibility because when I plug in a Playstation 3 controller it the 4 lights on the front flash, and it charges, but nothing happens on the the phone as well as when I plug in a usb flash drive or the otg cable itself the message for USB host mode does not pop up.. I have looked for a sulution for this but couldn't find one. Any help, or an answer to what this means would be great!
Thanks
By the way, this is a rooted 306sh

never mind, i got it working

Related

USB Host Problem

Hello,
I use Jungo's WinDriver USB to allow my software to communicate with various digital cameras. It works on every USB host equipped Pocket PC except the X7500, any ideas as to what HTC has done differently with this model? I`ve tested under both the standard WM5 ROM and the 2.19 WM6 ROM with the same results. The driver detects the first attach and detach, but not the subsequent ones. Any ideas would be much appreciated before I FedEx my poor X7500 half way around to world to Jungo..
do you have the 4in1 cable? That has a host mode usb port on it!
No need for funny software. The port on the side (miniusb) is not host, but the one on the 4in1 cable is I beleive.
Kick me anyone if im talking out my bumcrack.
I have the 4 in one cable WinDriver is an SDK that allows user mode software to talk to USB devices without writing full device drivers. In my case, it allows me to develop drivers for Canon and Nikon cameras that Windows CE does not otherwise support.
Please excuse my ignorance here, but does this mean i could plug a external hard drive in and read/write to it?
Thanks in advance
The pilgrim
Yes, I have plugged in USB thumb drives and they are recognized. Power drain is the issue with external USB drives. If you have one with external power input, it should work. I may be testing this shortly. I will repost once I have some deffinitive results.
the_pilgrim said:
Please excuse my ignorance here, but does this mean i could plug a external hard drive in and read/write to it?
Thanks in advance
The pilgrim
Click to expand...
Click to collapse
Not all. Some will work, some will experience compatibility issues, and some will have problems due to power consumption. The best way to find out is test it with the host cable attached and see. If the device doesn't initially work try a few things first....try plugging it in to a power source if it's capable of that, try soft reset while device is plugged in, etc. After trying a few different things, let us know the results and what model you have. Maybe post it to the peripheral compatibility thread. Thanks!
I have bought HTC 4 in 1 CABLE and another 4 in 1 usb from poundland and both work perfectly when you connect external pen drives and mouse.

Is it possible to use a usb mouse through DX's usb port?

I understand that there is a hardware mod that allows you to use other usb devices on the droid-x.
http://forum.xda-developers.com/showthread.php?t=726210
The phone on that thread is the Moto Milestone, will the exact same mod work for the Droid-X?
Also, do I have to write any new drivers for it recognize the mouse or is the linux "absolute mouse" drivers already part of the OS?
thanks in adv!
bump to see if anyone has tried this on the droid-x, don't want to cut up a couple cables and know that it doesn't work
last bump before cutting up the wires and verifying myself
This requires USB host mode - does the DX have that?
I tried it last night and follow the instructions to the T but it doesn't work. Booted of the micro usb, removed it right when the moto logo disappears and when I plug in a usb mouse, nothing happens. I don't see the mouse being powered at all ...
Any suggestions or thoughts?

[Q] Usb webcam support? Old Thread Missing Files?

I'm looking for the new instructions for this thread : http://forum.xda-developers.com/showthread.php?t=1105497
I can't find any of the downloads as the links lead to a 404 Error. Which means cant be found. So does anyone have these files still?
Nook Color Tweaks has a host mode toggle.
Pretty much any of the newish Roms will have USB host mode. I don't know about the webcam part (and don't have the right usb adapter to test it.
gallahad2000 said:
Nook Color Tweaks[/URL] has a host mode toggle.
Pretty much any of the newish Roms will have USB host mode. I don't know about the webcam part (and don't have the right usb adapter to test it.
Click to expand...
Click to collapse
Thanks will try this, I installed the app, so should I just enable USB HOST MODE, then use this piece USB 2.0 A Female to Micro-B Male Adapter to connect my usb keyboard in? and it should process it? sorry noob here
If you are going to be able to get it to work at all you will likely need a powered hub as well.....

[GUIDE] How to enable USB OTG.

Hi all, i found in xda forum a pdf guide of how to enable OTG on kernel, with Linux, here is the link, i didn't do this pdf, i'd found it here in this forum...
Here we go:
I hope anyone try this method, i can't try it because i have no time.
first thing first this is for the galaxy s3 and well we have the play.....and secondly i belive that the only sign of OTG on the play was in the fileing system and not the actual hardware...
so all in all i dont belive that its posible to get otg on our play
No USB OTG will never be possible on the PLAY. Sombody on here posted the play shematics. The ID pin in micro usb slot is not connected, so our device will stay in slave mode and cannot change to master.
Jammz said:
No USB OTG will never be possible on the PLAY. Sombody on here posted the play shematics. The ID pin in micro usb slot is not connected, so our device will stay in slave mode and cannot change to master.
Click to expand...
Click to collapse
Then wouldn't it be possible to connect the pin?
Well no because then the USB device would go into slave mode but our play couldnt do anything. you would need to change the motherboard add a usb chip and so on ... so in fact it is not possible. USB OTG will not work on our play. end.

[Q] USB OTG behaviour

Hi,
So I'm developing an app to communicate over serial with a HID and testing on the g6 is proving troublesome.
The scene:
-Hid/USB Permissions granted
-Device filter correct and working as intended
-Goal is to send a string over serial.
Allthough I'm 100% sure my test code is correct, the app cannot open a serial port.
Is it normal behaviour in recent versions of android for the device to recognise an otg cable as a power source? Even with no other device connected? Are there any known issues opening serial ports on the g6? (7.0)
The cable works as intended when I plug a mouse or keyboard in but refuses to open a serial connection when my takget device is plugged in. It recognises it as a HID an can pull the serial number etc.
The android serial library should not require root or any other hackery So I'm a bit confused. I've ordered a few other otg adapters just in case.
Anyone who knows what might be going on pleas pitch in.
I've had some issues getting a serial adaptor working as well. I'm on 870DS. Originally tried the wired version of this:
https://forum.xda-developers.com/an...odemu-connect-android-to-30pin-t3234840/page1
Thank God the developer changed to Bluetooth. I tried about 6 different otg cables. Worked fine on other non usb-c phones.
I suspect it is the adapter too...sucks so bad. The annoying thing is that I was so confident in android serial that I wrote a lot of code before I bothered testing the concept lol.
Does your OTG work on memory sticks OK? I have a G6 h870ds. My OTG only works for me with USB3 OTG adapters and USB3 memory sticks. I don't have a USB3 HID device to try. I now have a large collection of different OTG adapters and memory sticks. I opened up some of the adapters to buzz them through to make sure they were made correctly. They were! It took a while for the penny to drop why some things worked and some didn't!
I cant use USB2 OTG adapters or USB2 memory sticks, keyboards or cameras. Initial connection of the USB2 OTG adapter is recognized but no connected devices are detected. I used an app called USB Device Info that can give me details of detected devices and only USB3 devices are ever detected.
I have a USB2 memory stick with an LED on it. When it is first connected to the OTG cable it flashes in a way that leads me to think it is trying to reply to USB bus interrogation but something (probably software) fails. The phone connects to my USB2 PC port just fine so I don't think the hardware is at fault. I've reset the phone and upgraded to Oreo too but alas that didn't help.
A friend of mine has a G6 H870S and all my adapters and memory stick combinations work fine on his phone so I find myself wondering if I'm just unlucky or whether the dual sim version is subtly different in some way.
I fully admit I know nothing about the inner workings of USB but as far as I can determine USB3 uses all of the USB2 connections and the additional connections only available on a USB3 port so the hardware should be OK. I'm guessing most HID devices are USB2 but if its a USB3 could you possible have a related problem but in reverse?
Every time I plug in any USB OTG adapter I get that same pop up screen that defaults to select as "power supply" even with no device connected whatever I have previously chosen.
What works for me is to plug in the OTG adapter, and only then plug in the memory stick to it. Otherwise I get the "Power supply" thing too.
Arak0n said:
What works for me is to plug in the OTG adapter, and only then plug in the memory stick to it. Otherwise I get the "Power supply" thing too.
Click to expand...
Click to collapse
Leaving just the OTG adapter connected for a few seconds then attaching the usb device does not help. USB2 devices are never detected but all my various USB3 memory sticks work reliably when using a USB3 spec adapter. I've given up worrying about it now and accepted that there is just something a bit iffy about my G6.

Categories

Resources