yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] sztupy:
The extra 5v you connect to the cable is the same that the phone (or any other usb host) would give out if it had this capability. But because it doesn't you have to give this yourselves. Just make sure it's 5v, not something much higher (like 12v, or 220v AC)

You might also check the USB Host mode driver for the Nexus One topic, as it has the same problem (needs external power): http://xdaforums.com/showthread.php?t=694427 It does contain some links to external power sources.

One of the thing the author uses is a Plugable UD-160-A Usb docking station: http://plugable.com/products/ud-160-a/ it has a build in usb ethernet, audio and video (dvi and vga through displaylink) driver and allows four other usb connections, while having a 5v/2.5A power port. He managed to get everything working on it (including video out). I haven't got an usb-displaylink converter so I can't comment on the video usb out feature on the SGS though.
[Galaxy S I9000 Android Development] Chainfire:
DSLR Controller

Ok so after some more testing, DSLR Controller now works on your CM9 (v0.85) build and on your JVU build (v0.83).

It is not particularly stable or particularly fast, but it somewhat works. Be prepared for communication errors and crashes now and then.
[Galaxy S I9000 Android Development] eruur:
Check these out, I guess they can be used as external power source for a more "portable" OTG usage :)

http://www.duracell.com/en-US/category/power-reserves.jspx
[Galaxy S I9000 Android Development] hellboy2703:
first of all, thanks for bringing the OTG for all of the SGS users...

today i bought a BELKIN 4 port usb hub (powered) for this porous only, top get my canon 60d working on the sgs..

http://www.belkin.com/in/IWCatProductPage.process?Product_Id=534859

but it didn't worked for me,

when i tried my usb hdd with external power it showed on the usb tab, but didn't mount. i think this is because i hav 2 partition on the hdd and those are in ntfs format.
[Galaxy S I9000 Android Development] sztupy:
ntfs won't yet work, as there is no ntfs-3g support in current ROMs.

Can't comment on the camera though. Does it get enumerated? (eg does it appear in the list of devices?)
[Galaxy S I9000 Android Development] emilio280301:
Finally I can post on the thread. I made my own Y cable, I was able to use a card reader and my DSLR EOS 550D with dslr remote. I'm waiting for a usb cable to test it properly with hard disk or pendrives, it should be here tomorrow. I tested the Semaphore versions of the JVU kernel and the other build made by sztupy.

I need some help to use debug option, i think that the debug information can help to the development. Could anyone make me a step by step guide to get adb working on windows? I Installed the sdk, install the tools but adb commands never works or find the phone by usb or wifi
[Galaxy S I9000 Android Development] Epic_VS:
Did you install the drivers, then go in device manager and select the android adb driver for your device?

1. Right click on your device in device manager

2. update driver software

3. browse my computer manually

4. let me pick from a list of drivers on my computer

5. Have disk

6. browse

7. android-sdk-windows\extras\google\usb_driver\android_winusb.inf

8. Ok
[Galaxy S I9000 Android Development] Chainfire:
The DSLR Controller version that works with the ICS builds of this kernel has been uploaded to Android Market. (Can take up to 48 hours to visibly update... the version you want is v0.85)
[Galaxy S I9000 Android Development] jamesd256:
It's quite easy to make a battery box that takes 4 x AA NimH batteries. They are typically 1.2V, so that will give you 4.8V in series, allowing for interchangeable batteries.

You can buy the bits at Maplin / Radio Shack for the cost of a couple of beers if you have some basic soldering skills to throw it together.
[Galaxy S I9000 Android Development] sztupy:
You don't really need soldering either. Buy a battery holder, and buy an USB extension cable. Cut it open, then connect red wire to red, and black wire to black wire. Use some electrical tape around them, and you're finished.

Of course you can solder the wires together for a more lasting fix.

You can also add an 5V regulator, if you're concerned about over-voltages.
[Galaxy S I9000 Android Development] tiuk:
Just be aware, if you use alkaline batteries instead of nimh they have a higher nominal voltage, which will put you over 5v. Also, as the the batteries deplete the voltage will drop.

The Source (RadioShack in the US) sells a tiny USB external battery for a couple bucks, it's the size of a Zippo lighter. Something like that will provide a constant 5v and can also be charged by USB.

Sent from Captivate, teamhacksung ICS.
[Galaxy S I9000 Android Development] sztupy:
Okay, I've still doing the USB1.x work. Many thanks to coolboyz for pointing me out that the usb controller is indeed well documented.

This is the current state of my research:

1. The controller can be set to work in USB 1.0 (LS/FS) mode. I tried it, and it works: all devices (be it a mice or a flash disk) are properly seen even when connected through a hub. You will lose USB 2.0 speeds though.

2. The driver is clearly missing support for split transactions (needed if you want to use 1.x devices through an usb 2.0 hub). It is also missing support for isochornous transactions (used by usb audio and video hardware).

3. There is another implementation of the same specification made by the original author of this usb controller (Synopsis). It has support for both isochronous transactions and split transations. Today I tried to make it boot, but it wasn't seeing the external devices. (well at least it didn't crash). I'm trying to get a newer version of this driver and patch it up. It's code has still a lot of problems, but at least it's a complete implementation of the USB OTG spec.

Now I have a question: the usb otg driver in the SGS and variants is the same that is used by the Galaxy S II, which does has native usb host mode. If the above mentioned stuff is correct that means that you probably cannot connect an usb keyboard to the sgs through an usb 2.0 hub. (and neither will audio and video devices work). I know that samsung has crippled the usb host using a whitelist, but Can someone with access to a Galaxy S II test whether the above things are true? (preferably on a kernel that has whitelist disabled and all usb debug messsages enabled) It would mean much to me, and to the direction of the development of this kernel.
[Galaxy S I9000 Android Development] coooolboyz:
I'm glad that the documentation did prove to be helpful. Hopefully you will be able to get this working correctly (and without external power :cool:) in the nearest future.

And yeah I did try to get this thing working a long time ago (and reached no where :D). May be this attempt would give some insights as well? - http://xdaforums.com/showthread.php?t=709135

I just wish I am more helpful to you - I feel bad that all I am doing is throwing documentations your way.
[Galaxy S I9000 Android Development] AgentFour20:
Is any one working on porting this to the vibrant ?
[Galaxy S I9000 Android Development] hellboy2703:
No, it doesn't. I'll get enother Y cable to try it again.
[Galaxy S I9000 Android Development] sztupy:
I don't know about this. Unfortunately there is no teamhacksung port for the Vibrant, that would make my job much-much easier. (that's why there is already a captivate port)

It does seem though that some kerneldevs are picking up the modifications (stratosk, glitch, devil), some of them who are building for multiple devices. So maybe it will appear on other devices too.
[Galaxy S I9000 Android Development] sztupy:
I know that topic, mentioned in post 4 too. That's where I saw it's working on the Tab, and that's why I started the port to the SGS.
[Galaxy S I9000 Android Development] saszseb:
Onecosmic's ICS has one for Vibrant.
[Galaxy S I9000 Android Development] tanzhjoash:
usb dacs with ICS on SGS

I'm still waiting for my OTG cable to be delivered, and i have a question..

Has anyone tried connecting their SGS to a usb dac and was able to play music through it?

Is this implementation even possible at this stage?? since its different from connecting a usb external storage device.
[Galaxy S I9000 Android Development] sztupy:
usb audio is based on isochronous transfer usb support, which is unfortunately missing in this implementation (and it is missing in the SGS 2 as well).
[Galaxy S I9000 Android Development] FadeFx:
I think a USB dac for audio playback is not really needed, but the other way arround would be amazing, as a DJ i would love to connect my sgs to the rec out of the mixer and record my set as stereo audio...

--------------------------

tapatalked from vizio vtab1008
[Galaxy S I9000 Android Development] nsa666:
It is possible to connect a dvb-t receiver?

Like here:

http://www.youtube.com/watch?v=2bkDLXzvlSo
[Galaxy S I9000 Android Development] sztupy:
I think every audio/video usb streaming device is using isochronous transfer (except for proprietary things, like the LiveView on Canons. Those use bulk transfer, that is supported well), so no, at least not yet. I might look into it though, as it would be definitely fun, but I don't have neither an usb audio nor an usb video device. There are fresh threads on the linux-usb mailing list with people trying to get the OWC OTG device in upstream, and I'm too trying to make it boot on the SGS.

Unfortunately someone said that there the split/isochronous transfer is very laggy and cpu intensive on this chipset, so there might be a reason for samsung not to support this on the sgs2 as well. :(
[Galaxy S I9000 Android Development] nsa666:
As far as i know, DVB-T/C devices support both modes. You can actually switch between isochronus and bulk mode.

For example in linux you can switch it with:

/opt/bin/mediaclient --dtvtransfermode=bulk -d /dev/dvb/adapter0/frontend0
[Galaxy S I9000 Android Development] sztupy:
Good to hear. They will probably work in bulk mode, you just need the drivers and the applications.
[Galaxy S I9000 Android Development] sztupy:
It seems it did find the sd card reader, but it couldn't find anything connected to it (= no devices or partitions). Not sure where the bug is though, but I'll check it later.
[Galaxy S I9000 Android Development] vishal24387:
@ sztupy

Your work is awesome. I am using galaxy I9003 having opam 3630 chip (different chip than galaxy S) with gingerbread 2.3.6 stock rom with utter chaos kernel. As u said that ur patches are device independent then can it be applied in my device also???
[Galaxy S I9000 Android Development] tiuk:
Last night i made a quick twist and tape Y cable (micro USB, USB A male, USB A female, OTG pin not grounded), figured I would solder it if it worked.

I connected power (tried a battery pack, AC charger, and powered hub), plugged in to the phone), and it started charging. When i plugged a device (tried a flash drive, keyboard, mouse) dmesg showed "global over current protection) and charging stopped, devices were not listed. i did try connecting a hub, which was found, but still no devices.

I'm guessing one of my connections was bad. The app was set to auto host mode.

Sent from Captivate, teamhacksung ICS.
[Galaxy S I9000 Android Development] Arise:
I think not all hubs works. In order for the hub to work, a NON compliant USB hub must me used.

Non compliant hubs are those that send power on the upstream port when they get powered from an external power source. I think only those hubs are working.

---------- Post added at 02:49 PM ---------- Previous post was at 02:44 PM ----------

One more thing. While the USB port might not give out voltage, the mic/headphone/tvout port does this, right? Maybe a custom made cable can be used to get power from that 3,5 jack port. What voltage... got no idea. :D
[Galaxy S I9000 Android Development] sztupy:
Or you can use it like in this picture: http://sven.killig.de/android/N1/2.2/usb_host/IMG_0001_1.JPG

(This is a powered usb hub with usb audio, video and ethernet support. It doesn't give power upstream, but you can simply use a Y-cable here as well, connecting the "power" end to an output port)
[Galaxy S I9000 Android Development] sztupy:
overcurrent might mean you switched GND with +5V. That's considered bad practice, but usually devices are protected against this.
[Galaxy S I9000 Android Development] sztupy:
I don't know. If the omap chip uses the same otg chipset (synopsys) it might work, but it would probably need more work, than with devices with S5PV210 chips.
[Galaxy S I9000 Android Development] hellboy2703:
Now with a Y cable and a belkin hub every USB stick works.... even USB3 one works... still the 60D did not worked with only Y cable...have to try it with the hub......
[Galaxy S I9000 Android Development] emilio280301:
I had problems with the Y cable and my DSLR, it was because the source was a bit small for the camera, use a source with, at least, 1A. With the powered hub it shoulds work properly too
[Galaxy S I9000 Android Development] sztupy:
For testing I advice using the power source of a notebook. They can usually easily give out 1A.
[Galaxy S I9000 Android Development] jamesd256:
This is a nice idea BTW, but....

If I understand correctly the spec sheet for the Wolfson Dac:

http://www.wolfsonmicro.com/documents/uploads/product_briefs/en/WM8994_ProductBrief_2.pdf

The headphone output is limited to a total of 5.3 mW, with a 2V peak to peak signal.

The DAC has speaker outputs at 5V peak to peak with 2x2W (stereo), but I suspect there are easier ways of getting power from the phone :)
[Galaxy S I9000 Android Development] sztupy:
You could connect the output of the battery pack of the phone to an 5V charge pump and get power from this :P
[Galaxy S I9000 Android Development] Epic_VS:
I was thinking of doing that
[Galaxy S I9000 Android Development] wwortel:
hub seen yes; no reaction to connecting usb devices

tested with the Semaphore JVU kernel and v0.1 USB H.Contr. on an SGS.

Use an OTG Cable and a V cable from a GSM dongle, the plug with just DC connected to a hub output for receiving 5V.

Tried a series of USB devices but they cause no reaction whatsoever; they do get powered though; just no reaction whatsoever in the syslog.

Have tried sztupy's suggestion to alternate between client and OTG mode. It just brings back the same situation.

The syslog shows:

Have checked the V cable for proper function in that the plug with data signals goes to the USB device and the other to the hub to get DC. Also when using it as USB cable extension it works fine.

What could be the problem ?

tnx for this great project and hope somebody can help me bringing this to life on my SGS.
[Galaxy S I9000 Android Development] remichi:
Is it possible to buy a USB female to female adapter and connect it to the micro USB - USB cable that came with the i9000 and use that with this kernel? I want to be able to connect a usb data stick to my i9000. When I connect an externel hard drive, I use its own power supply.
[Galaxy S I9000 Android Development] Epic_VS:
If the power supply for the external hdd is seperate, it will work in host and auto-host modes, but not in OTG mode.
[Galaxy S I9000 Android Development] remichi:
Okay now I'm feeling really dumb...what is the difference between host, auto-host and OTG modes?

Might go to the electric shop and buy an adapter this weekend.
[Galaxy S I9000 Android Development] coolfranz:
I think the 3rd post should answer your question!
[Galaxy S I9000 Android Development] Neuron:
can i connect small devices, like usb sticks with no external power supply?
[Galaxy S I9000 Android Development] frauhottelmann:
No, not yet (if ever)...read the d**** thread!
[Galaxy S I9000 Android Development] Neuron:
well it was way to big and it was such a little question!

+ one more

the otg cable.. is it just a little kind of adapter or is there more to it?
[Galaxy S I9000 Android Development] sztupy:
It is in the 35th word in the first post, and is part of the third whole english sentence of the whole thread. (The first two being the the title and a redirection to the Captivate/Nexus S topics)

It's a simple passive adapter. Nothing fancy.
[Galaxy S I9000 Android Development] jgaviota:
Wrong attitude, first of all this thread isn't big at all, second, the answers are on the first 3 posts which you HAVE TO READ to know what this is and how to use it.
[Galaxy S I9000 Android Development] emilio280301:
I did more test, now with a usb hub, I was able to use the DSLR, a card reader and a mouse at the same time without problems. I had a small trouble when mounting a memory card, I clicked "mount" and nothing happens, I gone into root explorer, navigated to /mnt and created the ehdd folder inside it, I mounted and unmounted the card without problem.

I don't know if is posible that the usb host app creates this folder, i think that, because it has root acces. Maybe in the next version.
[Galaxy S I9000 Android Development] flexoduss:
Is there anyone that could successfully connect a usb game controller?

I would like to see something like this 4 the sgs :D http://www.youtube.com/watch?v=SkB9vQDY3eU
[Galaxy S I9000 Android Development] Dinesen68:
http://xdaforums.com/showthread.php?p=21794055#post21794055

read the quote on the top it answers it all... (maybe..)
[Galaxy S I9000 Android Development] sztupy:
If it would be true then we'd all have power by now.
[Galaxy S I9000 Android Development] sztupy:
HID devices do work, so game controllers should too.
[Galaxy Note GT-N7000 Accessories] cyneverdie:
Anyone lucky enough to use :- liquipel ?

Sounds FANTASTIC but unfortunately available only in the USA for now.

Also waiting for Pong Research Cases.

So ideally looking at a combination of liquipel application with a Pong Research/Otterbox Defender "hybrid" Case which fits with the Mugen Battery [plus a kickstand] :cool:

Perhaps by the time the Note 3 comes out we will have such a solution easily available. :rolleyes:

I want to ideally keep my Note Extremely well protected for extended Camping sessions & as an SOS GPS solution [PERFECT when mated with findmespot]

Will charge the Note using a Crank Dynamo shock/water "proof" torch with USB charging capabilities.

Any suggestions/comments/opinions ?

PS: Uncrate [the site] -ROCKS !
[Galaxy Note GT-N7000 Accessories] planoman:
My daughter just got a new iPhone 4s and I recommended she send it to get "waterproofed"! I did not see the GNote as one of the approved devices but I would be interested if it was. Maybe after ATT launch?

The videos are pretty amazing! Just think of all the lost rice sales from people putting their wet phones in rice to dry them out LOL!
[Atrix 4G Q&A, Help & Troubleshooting] wasp_neal:
When I tried to install g++ by synaptic, error occurred:

E: /var/cache/apt/archives/libc6-dev_2.9-4ubuntu6_armel.deb: trying to overwrite `/usr/lib/libc.so', which is also in package rootfs

It seemed that there is something wrong with "libstdc++6-4.3", it cannot be installed correctly.

Any idea?
[Atrix 4G Q&A, Help & Troubleshooting] troycarpenter:
how are you installing it? Did you try:

sudo apt-get build-essential

I did that yesterday and was able to build a sample "helloworld.c" program (actually, I had to install one other library via synaptic, but I don't remember which one...if you compile, it will tell you).
[Atrix 4G Q&A, Help & Troubleshooting] wasp_neal:
I search g++ in synaptic and choose to install it.

I have tried "sudo apt-get install build-essential",

it also said

"E: /var/cache/apt/archives/libc6-dev_2.9-4ubuntu6_armel.deb: trying to overwrite `/usr/lib/libc.so'"

Maybe the g++ version is too high(4.3), which version are you using?
[Atrix 4G Q&A, Help & Troubleshooting] troycarpenter:
Here's what I got. It's 4.3.3:

adas@localhost:/etc$ g++ -v
Using built-in specs.
Target: arm-linux-gnueabi
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.3.3-5ubuntu4' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --disable-libssp --disable-sjlj-exceptions --with-arch=armv5t --with-tune=cortex-a8 --enable-checking=release --build=arm-linux-gnueabi --host=arm-linux-gnueabi --target=arm-linux-gnueabi
Thread model: posix
gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4)

I make the baseline assumption that you've run the webtop2SD and webtopscripts to have a working webtop environment. I have installed a few other things like OpenOffice also, but that shouldn't interfere. Last night I was able to install build-essential and compile a sample program after another library install (see http://xdaforums.com/showthread.php?t=1425968). Also, if you haven't compiled in debian/ubuntu before, don't forget you will also need to install many of the -dev packages which include the headers needed to compile. You will basically find out about those as you compile different packages (although that's not your current problem).
[Atrix 4G Q&A, Help & Troubleshooting] stewartsoda:
Try this:

http://xdaforums.com/showthread.php?p=20494551
[Android Q&A, Help & Troubleshooting] skylinetun3r:
So I am trying to develop an app for my conventions. I have never coded before in my life outside of a basic java class 7 years ago and have a bit of help but not anything android useful.

My buddy is an IT guy and is doing our sql server and VB layout for Windows based systems.

I want to be able to query the SQL server from my android devices an Asus Transformer TF101 and Galaxy S2 Sprint. I also want it to be able to modify entries in the database. It will be used to manage volunteer schedules. I want have updates to the database pushed to my phone.

The things I need to be able to query is Name, phone number, shift time for the current day, punch times for that day, and total logged time for the week.

I have read a few guides on here all with high ratings and have been lost with it all. Having no experience in coding I am trying to find a way to learn this but really prefer to have someone sit down and give me the basics. Best way for me to learn is watching and participating.

Any help would be appreciated.
[Android Q&A, Help & Troubleshooting] muqtaliff:
Vladimir Kulyukin is an associate professor at Utah State University and he teaches Android programming among other things. Search Google for the terms "Vladimir Kulyukin" + "android programming" and you will get his blog with links to all his videos. I cannot post the links here as I am a newbie and not allowed to post links.
[Android Q&A, Help & Troubleshooting] notriddle:
If your IT guy is making your SQL server directly accessible from the internet, fire him.

What you need is for him to prepare an API, a REST one perhaps. For REST APIs, you just use the HTTP client library that comes with Android.
[Xperia Arc General] zohaib0001:
Hy guys

we know xperia S have 2.3.7 rom and there are so many new features in it

look this video

http://www.youtube.com/watch?v=k1rPXqd6V30

I need Xperia S rom to make it possible to run on Arc too

Or any body els to do it ???

Its Just an idea.....

Please when the Xperia S Stock rom available, notify me, so work should be start on it ...... thank
[Xperia Arc General] migsguerra:
we can have that one ! i like it so much we have good developer can put in our lovely ARC .. hehe :p ,and i like to buy the sony Watch better than Liveview :D
[Xperia Arc General] gogobaba:
What i really like is a botton for the camera that is places on the screen
[Xperia Arc General] squalldua:
not needed. you can pretend there is a button, you can tab anywhere in the screen, and still the same result :P
[Xperia Arc General] Diffleks:
try this :) http://xdaforums.com/showthread.php?t=1448552
[Xperia Arc General] slo2lah:
Or you can draw a button on your precious Arc screen!!! :p