Related
ADMIN EDIT:
adq is also a member here, direct link to his site about this:
http://adq.livejournal.com/95689.html
for dev's a patch is available to patch the kernel to enable this
It looks that one there are some guys that succeed to use the USB in host mode on an Android device ....
issue 738 on code.google http://code.google.com/p/android/iss...ummary%20Stars
Implementing the USB on the Go feature on a phone, will allow you to
conect to the phone:
- regular keyboards - imagine how easy you enter contacts, edit notes
and other text information into your phone when you go to home / work
and connect the keyboards from the computers you are using there.
- regular mice
- flash drivers, card readers, external hard drives, foto camera
- printers - so you can easily print the photos you make wit the built
in camera, and office documents you edit from the phone.
- scanners
- monitors (with a USB-to-VGA adapter, like the HTC Advantage X7510
does)
- WiFi cards
- USB ethernet cards - this would be an imensely great feature.
Because with propper software you can test an ethernet port (ping,
etc), even test UTP cables - like the expensive Fluke devices do. Just
imagine how convenient is to test a network without taking the laptop
with you and without buying expensive network testing tools.
- TV Tuners
- another phone that will stay in "slave mode"
- web camera - maybe it's a silly idea, but hey, why not?
- pen tablets
- USB hubs - so you will be able to connect all the above peripherals
to the phone in the same time.
Click to expand...
Click to collapse
for HTC Hero
http://adq.livejournal.com/
This guy succeed to attache a real keyboard, a real mouse that is used as a trackball and a external USB storage device!!
Also he is using a battery USB hub to resolve the charging needs of some of the devices.....
how to create the cable , and some tests for Motorola Droid...
http://www.tombom.co.uk/blog/?p=124
Whoa, nice find. I didn't think this was even possible. I've been telling anyone who asked about it to keep dreaming. My bad.
yes..I also wanted to do this since I bought my first WM phone .... someone else tried this ?
instead of creating that patched cable do you think that a battery hub like this one that can change the gender of the USB, can be use instead ?
http://www.everfast.com.hk/catalog/usb-hub-battery-charger-usb-hub-4-ports-p-138.html
PS: it has also battery based charging capabilities
That's an interesting thought, although I don't have anything near the technical knowledge of this type of thing to say for sure. Your guess is as good as mine.
craig0r said:
That's an interesting thought, although I don't have anything near the technical knowledge of this type of thing to say for sure. Your guess is as good as mine.
Click to expand...
Click to collapse
i'd say it should work with this. but i am afraid we'll have to wait until someone actually implements this somehow...
can someone pleeeease implement this somehow?
Keep in mind that If i read this correctly, this patch will disable usb device mode (i.e. wont be able to access the sd card as a mass storage device anymore and HTC Sync will be disabled as well).
Edit: At least for the time being. The dev seems keen on getting the device-mode/ host-mode drivers to cooperate.
alt236 said:
Keep in mind that If i read this correctly, this patch will disable usb device mode (i.e. wont be able to access the sd card as a mass storage device anymore and HTC Sync will be disabled as well).
Edit: At least for the time being. The dev seems keen on getting the device-mode/ host-mode drivers to cooperate.
Click to expand...
Click to collapse
Yeah, it shouldn't be too hard to implement a software switch.
On the other blog they propose this cables :
http://www.brightonnet.co.jp/english/product/other/bbm-wireel.html
http://www.overstock.com/Electronic...d=123620&fp=F&ci_src=14110944&ci_sku=12436069
http://cgi.ebay.com/Micro-USB-Host-...Accessories?hash=item3a57229ee9#ht_5104wt_939
PS : I would like to buy one of this cables
PS2: I see on that e-bay link that this is already working on various linux powered mobile devices.
Hi, thanks for posting this here
Yeah, I'm just reading how the OMAP USB drivers implement the software switch just now to see how best to do it; right now looks like three drivers - two actually implementing the host/device mode, and one stub mediating which one is actually active.
I'm hoping to have something along these lines working next week.
thats great news mate will u posting your cabel guide to also this should be added i think to the custom roms (or at least a option the the kitchen tool)
There has been some progress:
http://adq.livejournal.com/
http://groups.google.com/group/android-kernel/browse_thread/thread/b871a27624f69b85
is it still not ready to be implemented even in experimental ROMs?
How should I install that? From Recovery? Like a Rom
is there any update on this? I would love to be able to read my SDCARD on my digital camer just by linking in with a usb cable
USB devices not detected by USB HOST
I am developing application to detect my printer by NOVO 7 Paladin(Android 4.0).
By USB HOST CONTROLLER application(which is available in market) the printer/mouse/keyboard is detected. But in my application(Written in java) these devices are not detected
With the reference of below link this application is developed
developer.android.com/guide/topics/usb/host.html
My Code Sample
mUsbManager = (UsbManager)getSystemService(Context.USB_SERVICE);
HashMap<String, UsbDevice> foundDevices = mUsbManager.getDeviceList();
Iterator<UsbDevice> iterator = foundDevices.values().iterator();
if (foundDevices.size()>0)
{String old = textv.getText().toString();
textv.setText(old +" foundDevices ");
}
Samsung's press release for the processor confirmed USB host capabilities. But it doesnt look like that functionality is exposed at an OS level yet.
As done similarly for Nexus One, will it be possible to write up a driver or something like that for Samsung Galaxy S?
It would be too good to have an external HDD connected to this device!!! (That means, practically unlimited storage!!)
I know that there could be problems with power required to spin a drive, but my Creative Zen Vision M (60 GB) player had USB host (badly implemented) capabilities - and it was able to spin hard drives.
Is it worth a try with SGS?
What?? Nobody interested?
Was having a look for this same answer. Hope things have progressed a bit.
SGS USB Host Documentation
Guess What!! I was going through the bundled "Documentation" along with the SGS i9000 code and I found this!!
Code:
S3C24XX USB Host support
========================
Introduction
------------
This document details the S3C2410/S3C2440 in-built OHCI USB host support.
Configuration
-------------
Enable at least the following kernel options:
menuconfig:
Device Drivers --->
USB support --->
<*> Support for Host-side USB
<*> OHCI HCD support
.config:
CONFIG_USB
CONFIG_USB_OHCI_HCD
Once these options are configured, the standard set of USB device
drivers can be configured and used.
That is very encouraging. But I haven't done any kernel compiling (hell, I haven't even done any Android coding, this being my first Android phone!!). So its gonna a be a while before I can put this to a good use.
Now, I am not sure if this is just "Host" or if it would support "OTG" also. I found the documentation on S5PC110 [Dev Sheet] a bit confusing also. It does show that the microprocessor has both HOST and OTG capabilities, but I am not sure to what the USB port has been wired to.
May be somebody can put this to a good use.
Well if this as easy as it sounds, it beats any logic whatsoever, why Samsung didn't put in this functionality out-of-the-box with SGS. This device seems severely constricted in features which the S5PC110 chip init readily supports.
samsung are idiots lol, hopefully it works tho
Are there any apps which would tell us what exact piece of hardware we have in an Android phone?
You have a s5pc110 processor, in the Galaxy S.
Any talk about usb host drivers (for that processor / s5pc series) would probably be done on the linux-samsung-soc mailing list.
+1
Really looking for this feature ,,,, very helpful ....
thanks for starting this topic ....
What do people use this feature for? I guess I am having a hard time envisioning why this would be useful on a phone.
brunes said:
What do people use this feature for? I guess I am having a hard time envisioning why this would be useful on a phone.
Click to expand...
Click to collapse
You could connect USB memory disks , external HDDs ,external camera and so on to your Galaxy S and browse files ...... very very helpful...
Any one know how to use this feature? I badly wanna connect USB keyboard to my SGS.
Anyone? Sorry for spaming, but i really need it. Maybe someone have got some links explaining how to enable usb host? I'm not a dev. but i can try do something, anything to get this to work!
What we have to do? Some drivers, or new kernel?
Right now I'm going to buy 2-female USB adapter. Please, reply!
19arek93 said:
Anyone? Sorry for spaming, but i really need it. Maybe someone have got some links explaining how to enable usb host? I'm not a dev. but i can try do something, anything to get this to work!
What we have to do? Some drivers, or new kernel?
Right now I'm going to buy 2-female USB adapter. Please, reply!
Click to expand...
Click to collapse
If you are this desperate why not just use a bluetooth keyboard...
Because is very expensive.
Has it been officially confirmed that the Galaxy S can't do USB host ?
This would be an amazing feature on an already amazing device.
From what I know a about jpc rom it now installs a cdrom drive when plugged in to windows. Seems to that there's soms sort of host capabilities are built in
Sent from my GT-I9000 using XDA App
Sent from my GT-I9000 using XDA App
samsung source code
Hi!
I too find this feature very useful. However, I found little information about it on the net. So I started digging through the source code provided by Samsung (GT-I9000_OpenSource.zip). From this and from the specs of the chip (S5PC110_EVT1_UM10.pdf), I take it that the phone does support USB host. The problem is, it can only do either client or host, not both at the same time. Now here is where it gets tricky.
The Samsung kernel source is not as neatly separated into independent modules as you would expect from a Linux kernel. The USB client stuff (usb-storage, modem...) is connected with the driver that checks for cable plugging and unplugging which in turn is connected with the driver for the voltage regulator that starts charging the battery and supplies the cpu with power as soon as you connect the phone to your computer. Consequently you can't just build the USB client stuff as a module to be able to unload it and load the USB host module instead.
I have started to write a workaround for that, separating these interconnected drivers from each other. The easiest point to take it apart seems to be the driver of the voltage regulator. It has the fewest external dependencies. It does, however, pose the problem that the phone won't charge if something goes wrong...
Well, I got as far as being able to compile the source with the USB client stuff as bunch of modules and the independent part compiled into the kernel. I got that flashed on the phone. It boots, it doesn't blow up, and USB client is disabled. So far, so good.
Problem is, the client modules won't load. I don't know why, yet. Having to work with the on screen keyboard and a terminal instead of getting a shell via "adb shell" isn't helping either...
Well. That's as far as I got today.
Suggestions? Comments?
Woah!!! You've gone forward way farther than I have!!
I took a lot of time trying to get around to a proper working kernel itself! :-( I am a complete noob at this - SGS being my first phone. [Not to mention the fact that I almost got my phone bricked once and got into infinite boot sequence on another instance.]
I had been trying to add modules built-in into the kernel itself - without making any code changes. I find when I plug-in my Mircro USB OTG cable - dmesg gives out 4 lines of log entries -
Code:
[s3c_usb_cable]done_clk_enable
[s3c_usb_cable]done_udc_reinit
[s3c_usb_cable]done_udc_enable
FSA INTR = dev1 : 0x80, dev2 : 0x0, Attach : 0x1
Of the above 4 lines - for the first 3 I was able to find the code in the file -
Code:
<Path_to_source_code>/GT-I9000_OpenSource/GalaxyS_Kernel.tar/GalaxyS/linux-2.6.29/drivers/usb/gadget/s3c_udc_otg.c
Now these entries come up only when I connect my OTG cable. Normal cable does not give this. May be the SGS can do both OTG and Device mode at the same time?
To understand more of this I tried to enable DEBUG. But apart from getting in to infinite boot loop, I was not able to move ahead much.
Another interesting thing that I noticed was that -
Code:
CONFIG_USB_S3C_OTGD=y
is set in the normal/unmodified .config file obtained from OpenSource website of Samsung.
From what I understand, this means that the OTG module is directly compiled and linked in to all of our kernels. But for some reason, it is not working as expected.
Well I am stumped!!! May be I will look more in to this during this weekend.
coooolboyz said:
Samsung's press release for the processor confirmed USB host capabilities. But it doesnt look like that functionality is exposed at an OS level yet.
As done similarly for Nexus One, will it be possible to write up a driver or something like that for Samsung Galaxy S?
It would be too good to have an external HDD connected to this device!!! (That means, practically unlimited storage!!)
I know that there could be problems with power required to spin a drive
Is it worth a try with SGS?
Click to expand...
Click to collapse
If you used an SSD you wouldn't have to worry about power to spin it up Although I don't think I've seen a USB one anywhere...
Best of luck, this would be an awesome and very useful feature to have!
hello, this is my first post, and i wish that somebody know if this adapter graphics card:
http ://www .dealextreme. com/p/usb-2-0-to-vga-display-adapter-cable-for-extra-monitor-screen-34756
http ://www .pandawill. com/usb-to-vga-usbvga-display-adapter-for-monitor-screen_p38476.html
or this
http ://www .amazon. com/Plugable-UGA-125-Multiple-Monitors-1280x1024/dp/B003IE49T8/ref=sr_1_3?ie=UTF8&qid=1304438526&sr=8-3
works in a device with android and usb host.
will be nice if i could connect any cellphone to a lcd tv or connect a tablet to two monitors.
leomg said:
hello, this is my first post, and i wish that somebody know if this adapter graphics card:
http ://www .dealextreme. com/p/usb-2-0-to-vga-display-adapter-cable-for-extra-monitor-screen-34756
http ://www .pandawill. com/usb-to-vga-usbvga-display-adapter-for-monitor-screen_p38476.html
or this
http ://www .amazon. com/Plugable-UGA-125-Multiple-Monitors-1280x1024/dp/B003IE49T8/ref=sr_1_3?ie=UTF8&qid=1304438526&sr=8-3
works in a device with android and usb host.
will be nice if i could connect any cellphone to a lcd tv or connect a tablet to two monitors.
Click to expand...
Click to collapse
This depends solely on which phone you have.
Also try going to forum.xda-developers.com and scroll down to your particular phone and search thier general forum for it, mainly because chances are someone already has asked or talked about this
I don't think any Android phone will support USB to Video adapters. Some android phones have hdmi or video out capabilities. But those types of USB to Video adapters need special drivers which I don't believe are available for Android OS.
zarathustrax said:
I don't think any Android phone will support USB to Video adapters. Some android phones have hdmi or video out capabilities. But those types of USB to Video adapters need special drivers which I don't believe are available for Android OS.
Click to expand...
Click to collapse
I think that too, but there are drivers for linux and then android should make it work. I was just wondering if anyone tried.
here i found a list of the devices that are compatible with displaylink:
w w w.displaylink.com/shop/index.php?product=5
and in "download driver" are drivers for linux.
someone know if the driver for linux works for android ??
Pd: If a linux based router can: w w w.engadget.com/2009/05/18/displaylink-for-linux-turns-a-humble-wireless-router-into-a-beau/
why android cellphone or tablet cant.
also i found an app ($1,99) that allow to convert ipad screen into a new display for a computer through wireless, is there some app like that for android??
leomg said:
here i found a list of the devices that are compatible with displaylink:
w w w.displaylink.com/shop/index.php?product=5
and in "download driver" are drivers for linux.
someone know if the driver for linux works for android ??
Pd: If a linux based router can: w w w.engadget.com/2009/05/18/displaylink-for-linux-turns-a-humble-wireless-router-into-a-beau/
why android cellphone or tablet cant.
also i found an app ($1,99) that allow to convert ipad screen into a new display for a computer through wireless, is there some app like that for android??
Click to expand...
Click to collapse
Android runs on top of a modified linux kernel, but it's not a true linux distro, so it can't run linux apps or drivers. Something would have to be written special. Maybe if you can run ubuntu off your device, you may be able to do something. What device do you have that has USB host?
Also, if its not USB 2, you may not have enough speeds to transfer. I think sending video output through usb would take a lot of processing power, which it may not be worthwhile with a phone.
What device do you have and exactly what are you trying to do... If I knew what you're trying to do, I might be able to help. I'm good with stuff like that.
You could maybe just get a DLNA adapter and wireless send video to a monitor or TV, instead. I'm not sure what you are exactly trying to get accompliched. give more details.
I bought a SmartQ t10, that still doesnt arrive, I bought it for the screen and battery, then i saw this adapter, so im seeing if can get video out.
I found a mailing list where a guy with a motorola droid (who managed to switch to USB host mode) trying to do this.
w w w.mailinglistarchive.com/html/[email protected]/2010-07/msg00073.html
according to what I understood you should enable the auxiliary output video and change the driver to operate with mobile device processor.
here i found how to do it:
sites.google.com/site/voyageofbeagleboard/Home/displaylink-for-android
Code:
DisplayLink for android (latested version)
How to build displaylink driver for android
Displaylink is asic vender for USB-DISPLAY converter. It's is little slow, but expand your gadet example for android based equipment. So I modified the displaylink driver called udlfb for android.
How to build
- prepare android source code. I checked on beagleboard and android2.0
- extract and replace files with framework-core.tgz under framegework/base
- extract and replace files with kernel.tgz under kernel
- rebuild kernel and android
Description of tar archives
- framework-core.tgz
Import mouse and touch features support from android-x86 project . This is depend on android2.0 eclair
Touch features is following as:
Touch the right corner on and off touch feature.
[HOME] Touch the status bar
[MENU] Touch the status bar from left to right
[BACK] Touch status bat from right to left
- kernel.tgz
udlfb driver for android. Original udlfb driver source code is in latest linux driver/stagine/udlfb
Add double size frame buffer for pan_display
Add pan_display function
Make maximu resolution 1024x768. Original code support much more high resolution, but It cause crash under memory allocation.
Contents of tar archives
framework-core.tgz
==============================
Import usefule function from android-x86
core/java/android/view/RawInputEvent.java
include/ui/EventHub.h
libs/ui/EventHub.cpp
services/java/com/android/server/InputDevice.java
services/java/com/android/server/KeyInputQueue.java
services/java/com/android/server/WindowManagerService.java
services/java/com/android/server/status/StatusBarView.java
services/java/com/android/server/status/TouchFeature.java
kernel.tgz
==============================
touchscreeen driver depend my equipment.
drivers/input/touchscreen/Kconfig
drivers/input/touchscreen/usbtouchscreen.c
DisplayLink driver for android
drivers/video/Kconfig ->add configuration
drivers/video/Makefile ->add udlfb/Makefile
dotconfig -> .config example
drivers/video/udlfb/ -> driver
this will work??
If your phone does not have USB host mode you can modify your kernel to support it. Then it's a case of getting drivers, which may or may not be difficult.
Yes, i found that too, usb host for nexus one: sven.killig.de/android/N1/2.2/usb_host/
i guess that work for any device.
but I'm interested in that first run the driver already having a device with USB host, because is there more research about getting usb host or usb otg
Here is a android 1.6 driver from the opensource .
http://libdlo.freedesktop.org/wiki/
or
https://github.com/magoroku15/DisplayLink-driver-for-android
Any one know how to use it or update it to work on newer android ?
Gingerbread has very good compatibility mode so it "could" run there.
Sent from my Huge Device 2 using XDA App
zarathustrax said:
Android runs on top of a modified linux kernel, but it's not a true linux distro, so it can't run linux apps or drivers. Something would have to be written special. Maybe if you can run ubuntu off your device, you may be able to do something. What device do you have that has USB host?
Also, if its not USB 2, you may not have enough speeds to transfer. I think sending video output through usb would take a lot of processing power, which it may not be worthwhile with a phone.
What device do you have and exactly what are you trying to do... If I knew what you're trying to do, I might be able to help. I'm good with stuff like that.
You could maybe just get a DLNA adapter and wireless send video to a monitor or TV, instead. I'm not sure what you are exactly trying to get accompliched. give more details.
Click to expand...
Click to collapse
he simply wants to project his phone display on a lcd tv or a pc monitor.
many ppl with no hdmi output would love to stream by usb, it also allows to connect other usb devices which not supported with MHL.
usb 2.0 is fast enough to stream.
i have same problem
dsa
vga adapter
i was thinking about getting 7 of these to run an office, but they are hdmi.
http://www.ebay.com/itm/TBS2910-Mat...1085685686?pt=Desktop_PCs&hash=item4d163ea3b6
and i stumbled apon this anyone tried this yet? idk how it interacts with android to get the display, but it must work somehow lol
http://www.ebay.com/itm/MHL-Micro-U...Phone_PDA_Cables_Adapters&hash=item4ac7878c5f
<img src="http://i.ebayimg.com/00/s/NTAxWDQyMA==/z/vKYAAOxy4M5R9wYk/$(KGrHqEOKpwFHcVK2kc5BR9wYkDdGg~~60_3.JPG">
I've been researching the same kind of thing. I have an android head unit that I want to show everything I see on my roof screen but so far no luck. I have tried UBS to RCA and UBS to VGA adaptors but so far no luck. I even thought maybe something like android to android screen share like 'say' mobile-phone to android-tv-box and connect the tv-box in the car and share my Android head-unit to the tv-box but I can't find an app that works with doing that either.
Hi ya'll,
I added host mode support for the SGT (probably works on other samsung devices as well). However, I'm not really able to maintain an 'end user' ROM/kernel. If any of you devs would like to pull from my github site (attribution appreciated) please do. I'm happy to help if you have questions, comments or find bugs.
The first dev besides me that tries this will need to be reasonably comfortable with wiring up a 30 pin connector, though I gather from searching that there are off the shelf cables that are almost right for this application. Later support for off the shelf cables can be added.
The only thing that makes the standard USB cable not suitable is that the USB-OTG mode pin needs to be pulled to ground. That pin is entirely detected by software, so if someone wanted to make a little app that toggles USB host mode on/off then an off the shelf cable would probably work.
Here's the original thread I posted in the wrong forum (didn't have enough posts to post here):
http://forum.xda-developers.com/showthread.php?t=1233072
Nice, looking forward to a working kernel than I will buy a secound data cable
Sent from my GT-P1000 using XDA Premium App
If this is not a joke... WOW
Let's say, if they find a cure for cancer tomorrow, this would be still best news of this week...
Usb sticks, card readers, external hdds, printers everything....
Looking forward to an "end-user"-kernel...
Sent from my GT-P1000 using XDA App
spike1985 said:
Usb sticks, card readers, external hdds, printers everything....
Click to expand...
Click to collapse
One note: From looking at the code I kinda doubt that "isochronous mode" USB will work without more bug fixes. I don't think this is a big deal because this mode is used by few USB device types (cameras and USB audio). So don't expect those sorts of devices to work.
Memory sticks, keyboards, mice and printers are probably fine. I've tried a number of USB serial adapters and they all work fine.
Here are the docs
In the interest of discussing this fix, here's what's involved.
If you are a dev and want to try this in your kernel, please PM me if you find any problems or have questions. (I don't follow these forums very much)
----
This file is a collection of notes on using the USB OTG port of the Samsung Galaxy Tab in HOST mode.
I'm writing this document to capture both the software and hardware changes needed for this device in one place.
If you are a brave Android kernel hacker, please try these changes out and send pull requests to github with any
fixes you add. I have been unable to find a 'master' github site where hobbyists are maintaining a master Samsung
kernel and Android OS, if you have such a site feel free to include my fixes (though credit would be appreciated).
These fixes are provided 'as-is' and you could bust your device or do any number of bad things.
I'm going to post these notes on the xda forums, but for the latest code and documentation please see my github site.
History: The Samsung open source kernel files (from opensource.samsung.com) contained a USB host mode driver for the
S5PC110 chipset. These drivers were located in drivers/usb/host/s3c-otg. The driver contained a number of bugs which
I've fixed and it now seems to work reasonably well for USB serial ports, flash drives etc.
Hardware: To use USB host mode on your samsung tablet _external 5V DC seems to be required_. I have not found
turning any of the samsung LDOs on to make the unit provide USB power (if you find different, please let me know).
To wire up a USB host mode cable you'll need the following pinout (found on a web forum):
1 Gnd P
2 Gnd P
3 USB_DP_CON I/O
4 USB_DM_CON I/O
5 IF_CON_SENSE I
6 V_ACCESSORY_5.0V P
7 V_BUS_1 P
8 V_BUS_1 P
9 VOUT_CHARGER P (gives out 4v when checked with a multimeter)
10 VOUT_CHARGER P (gives out 4v when checked with a multimeter)
11 --- --
12 --- --
13 ACCESSORY_ID / USB_ID I
14 ACCESSORY_INT I
15 Gnd P
16 Gnd P
17 MHL_DP I/O
18 MHL_DM I/O
19 MHL_ID I
20 IF_RXD I
21 IF_TXD O
22 --- --
23 AP_TV_OUT O
24 REMOTE_SENSE I
25 --- --
26 --- --
27 EAR_L_CRADLE O
28 EAR_R_CRADLE O
29 3.5_INT_TEST I
30 Gnd P
Your cable will need to connect the following five pins:
1 Gnd
3 USB_DP
4 USB_DM
8 5V+ (at least 1A if you want to support high speed charging of the tablet)
13 Host mode (attach to ground to run tablet as a host, or leave disconnected to run tablet as a USB target)
A summary of my driver changes:
* Fix a nubmer of cases where TDs would be used after delete_td and the associated storage was freed (caused kernel
heap corruption)
* Allow a bit more time for some mystery Samsung LDO to power up before switching to host mode (caused failure in device detect)
* Wait for channel disabled interrupt when cancelling transactions (prevents a race condition with the ISR)
* Properly switch into USB host mode when a host mode cable is detected (see 30pin_con.c)
* Mark transfers as done when cancel_to_transfer_td is called (prevents rescheduling transactions we have freed)
* do not force is_need_to_insert_scheduler true in cancel_transfer, this caused list corruption in the ed list
spike1985 said:
If this is not a joke... WOW
Let's say, if they find a cure for cancer tomorrow, this would be still best news of this week...
Usb sticks, card readers, external hdds, printers everything....
Looking forward to an "end-user"-kernel...
Sent from my GT-P1000 using XDA App
Click to expand...
Click to collapse
yea turn out little tabs into a pc but is it really possible??? I heard people smarter than me say that the tab doesn’t have the required hardware and no amount of code will make it magically appear
spike1985 said:
If this is not a joke... WOW
Let's say, if they find a cure for cancer tomorrow, this would be still best news of this week...
Usb sticks, card readers, external hdds, printers everything....
Looking forward to an "end-user"-kernel...
Sent from my GT-P1000 using XDA App
Click to expand...
Click to collapse
sorry pal, but I rather had the cure for cancer!!! It won't bring my mother back, but it sure would help others.
sick!
Sorry. Did not want to hurt anybody. Lost several frinds and family by cancer as well. Just wanted to quote from a sitcom...
Sorry for hurting
Sent from my GT-P1000 using XDA App
thanks for saying sorry explaining
take care!
Sent from my GT-P1000 using xda premium
Hi Punk Geek, regarding the state change between host and client in software, what command would be required to achieve this? I'm looking to test on a Galaxy S i9000 if possible so there's obviously no 30 pin connector.
If only someone could integrate this in the overcome rom.
Or make a seperate installer for this . (is that possible or does it has to be integrated into the rom ?)
zoro007 said:
If only someone could integrate this in the overcome rom.
Or make a seperate installer for this . (is that possible or does it has to be integrated into the rom ?)
Click to expand...
Click to collapse
It gets integrated into the kernel.
PunkGeek - Did you use the information from this thread to make the wire?
http://forum.xda-developers.com/showthread.php?t=1149442
If so, it seems fairly straight forward.
After a long time it seems that it was in the new version of Humber-OS
CM9 RC01 version 20120127
implemented found this app in the release
Must we design these adapter self, or can we use the one for the new Galaxy Tab.
Edit
---------- Post added at 10:14 PM ---------- Previous post was at 10:10 PM ----------
punkgeek said:
One note: From looking at the code I kinda doubt that "isochronous mode" USB will work without more bug fixes. I don't think this is a big deal because this mode is used by few USB device types (cameras and USB audio). So don't expect those sorts of devices to work.
Memory sticks, keyboards, mice and printers are probably fine. I've tried a number of USB serial adapters and they all work fine.
Click to expand...
Click to collapse
Hi @punkgeek, kindly elaborate on how you able to run usb to serial. Im interested on this.
Anybody can also share their setup.
Thanks
Sent from my GT-P1000 using xda premium
Hello,
Currently i'm working on a personal project to integrate my GS3 into my car display and audio. Well this was easy with the help of a MHL or Allshare Cast Dongle.
My next goal was to install a 4 wire resistive touchscreen on my car display and use it as an external touchscreen control. I bought a 7" 4 wire resistive touchscreen with a USB module build around the CYPRESS CY7C63723C chip. I hooked up the touchscreen with OTG to test if there any initial reactions from my GS3, needless to say there wasn't any (no surprise there).
After a little digging around I came up with the conclusion that I need to create a custom "Input Device Configuration Files" for my touchscreen based on the following links
http://source.android.com/tech/input/touch-devices.html
http://source.android.com/tech/input/input-device-configuration-files.html
My initial question before I start plugging away with some codes is how would I name the files, the documents states "Input device configuration files are located by USB vendor, product (and optionally version) id or by input device name." How would I find the product ID or the input device name for the touchscreen? I'm sure this can be done thru terminal or something but I am new to android development so cut me a little slack here
Also if you know of any Input device configuration files dealing with touchscreen please post it.
Anyone?
hechen said:
Anyone?
Click to expand...
Click to collapse
You would probably be better served asking this on one of the more general hacking sub forums. Here, you're just going to get people who are familiar with the S3. There, you may find someone who has done something similar on another phone.
hechen said:
Anyone?
Click to expand...
Click to collapse
Any resolution with this?
I have been pondering the idea as well, but have no coding or hacking experience to go off of.
Would love to hear about the progress for this project and maybe a writeup of parts and procedures so far.