yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] theos0o:
Just ordered this one:

http://www.ebay.com/itm/160703436578

check it out
[Galaxy S I9000 Android Development] Mateczek:
Great! I want to find this in next glitch kernel relase!

Wysłane z mojego GT-I9000 za pomocą Tapatalk
[Galaxy S I9000 Android Development] frauhottelmann:
There is an app for testing and you should be able to also test the full app for 15 minutes (enough for a quick plugin and functionality test...).

Nice work! Have you talked to Team Hacksung if they would include it in the default kernel? (with or without the app)
[Galaxy S I9000 Android Development] Dinesen68:
so you tried this???
[Galaxy S I9000 Android Development] jamesd256:
Trying something you know is impossible - sounds a bit like marriage to me.

Incidentally, the guy who posted this 'great' idea in the i9000 thread has two recent posts about the Galaxy S II. Clue?
[Galaxy S I9000 Android Development] sztupy:
the guy said that if you connect on OTG cable you get power. Now, if I connet an OTG cable I don't get power and neither do the other people who use OTG cables.
[Galaxy S I9000 Android Development] Dinesen68:
arrggghh so im late AGAIN!!!! raised my hopes bit but the guy was a troll:mad::mad::mad::mad::mad::mad::mad::mad::mad::mad::mad::mad::mad::mad:
[Galaxy S I9000 Android Development] ngenhit:
I bet you that he was talking thinking that all the phones with OTG behaves in the same way.

He must be owning a phone which truly supports OTG ( like SGS II ) . :-\ . Our SGS isn't exactly fully OTG capable as of now...... :-\ .

One who posts didn't have the time to look at the phone category he was posting to , doesnt mean that we shouldn't read it with a bit of "sense" . :-\ .
[Galaxy S I9000 Android Development] Dinesen68:
:mad::mad::mad::mad: he should have at least come and back correct the damn thing :mad::mad::mad:
[Galaxy S I9000 Android Development] AgentFour20:
Would something like this work to cancel out USB hub . Of course with the correct connectors.

www.amazon.com/Micro-SATA-Power-SILVER-eSATA/dp/B002P6Y5NK
[Galaxy S I9000 Android Development] sztupy:
What do you mean exactly? (link is broken btw)
[Galaxy S I9000 Android Development] AgentFour20:
I fixed the link . I'm talking about a cable with some sort of power source built in .
[Galaxy S I9000 Android Development] sztupy:
That's still a basic USB Y-cable, where the client end is hard-wired into that SATA converter box.
[Galaxy S I9000 Android Development] AgentFour20:
would it be safe to use this portable charger as a power supply

http://www.amazon.com/New-Trent-IMP...?s=electronics&ie=UTF8&qid=1327538653&sr=1-14

it says it's 5v/2a
[Galaxy S I9000 Android Development] jamesd256:
Safe for your phone, but not your wallet.
[Galaxy S I9000 Android Development] sztupy:
Yeah, portable chargers are fine, but this one is way to expensive (I now it's 9900mAh, but it's still an overkill). You can get smaller ones from around 20-30$, or hack together one for yourself for 10-20$ depending on quality
[Galaxy S I9000 Android Development] Epic_VS:
Last year I made a solar usb charger for ~$30. It is essentially made of 8 rechargable AA bateries a 5v regulator and 3 9v 110ma solar cells. But if you are really cheap you can make one for $8.77 with all parts from radioshack(you can probably get it cheaper online). All you need is a 9v Battery, a 5v regulator, and a 9v battery clip.
[Galaxy S I9000 Android Development] jamesd256:
The best combination of cheap and compact for your power supply would be a li-ion 12V from ebay with your own 5V regulator added on

A 6800 mAh battery at 12V will give you much more mAh at 5V, 16300 in fact.

Unless the regulator loses you some. Anyway, these things are small, have their own switch, and come with a charger.

I bought one for £25 to power an off camera monitor, and it has been fine.
[Galaxy S I9000 Android Development] wwortel:
series resistance of Y cable important

reported earlier that, using Semaphore kernel with USB Host, I did not see anything happening when connecting USB devices.

By soldering my own Y cable and not using the Y cable that came with a GSM dongle the USB Host came to life! Apparently the series resistance of the prefab Y cable is such that insufficient voltage reached the SGS because it seems to pull considerable current.

Markable difference: when I now connect the 5 V from the home brew Y cable the SGS beeps and starts charging battery. It did not do that before.

Measured the prefab Y cable that came with a Huawei GSM dongle. The ground between the two male USB connectors has low resistance and is connected in parallel to the USB's plug shielding metal and cable shield. The problem is the +5V wire. Even though the distance between the two male USB connectors is only 22 cm the resistance is 4,5 Ohm. Apparently ultra fine wire is used, as in many cheap USB cables, and once the SGS' battery charging circuit kicks in and draws some current as it normally does (Samsung's original charger is rated 0.7A) to charge the battery, best case only ~2V will reach the SGS assuming the OTG cable's resistance to be negligable. Conclusion: the trick is not so much in having a very powerful DC supply; 5V / 1A will be plenty, but in making the 5V reach the SGS while it is also charging its battery. This requires the cabling to have at most a few tenths of an ohm series resistance.
[Galaxy S I9000 Android Development] pckoloji:
Today i got my OTG cable and installed your kernel on Teamhacksung B14.

Y cable + 5V USB Rechargable battery + USB 2.0 2.5" External HDD worked fine.
[Galaxy S I9000 Android Development] sztupy:
I should also probably make a button to turn of the charger, so the external battery won't be depleeted to quickly.
[Galaxy S I9000 Android Development] wwortel:
That the SGS charges from the 5V provided through USB is a feature really. For portable operation would rather advocate to use a sufficiently large battery or e.g. a circuit that makes 5V out of the 12-13.6V of a car battery.

Actually Samsung has both types of chargers as products; the one from mains comes with the SGS and the car charger is an option product that I happen to have bought and can recommend.

What would be the ideal USB host cable is a Y that has one male micro OTG plug that goes into the SGS, one micro female plug that takes either the mains- or car charger, and one female USB plug to connect the USB device(s). Have not come across such a cable yet but perhaps it exists or can be made to exist!
[Galaxy S I9000 Android Development] FadeFx:
Yeah, tis cable woould be perfect, and then we just need a box with a 9v battery and a 5v regulator in case we have neither power source available...

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

tapatalked from GalaxyS
[Galaxy S I9000 Android Development] Epic_VS:
That would be very helpful for me. My usb mouse won't work when powering it by my battery, but works when I use my computer. My Nexus S is pulling too much current.
[Galaxy S I9000 Android Development] developersdevelopers:
For those of you who were curious about USB gaming controllers...

http://www.youtube.com/watch?v=wA4163wjs8s&context=C3ef83a2ADOEgsToPDskL_XY9P8omGK104UeFEiDH-

This was on my Nexus S, but of course it should work just fine on the SGS.
[Galaxy S I9000 Android Development] emilio280301:
Yes, it's a good idea that we can decide if the mobile is charging or not when used as host, many gadgets needs all the power of the source to work fine. Other importat question is that when making test the phone is continously charging and uncharging and that coult not be good for the battery health
[Galaxy S I9000 Android Development] pckoloji:
great. can you use﻿ for normal games or only for emulator games?
[Galaxy S I9000 Android Development] kotsos44:
Great job!!

I have a question :

I just made a Y cable and tried to connect a usb flash drive.

The application recognizes the flash drive but i cannot mount it. Any suggestions? Is it possible that i have messed up with the connections? (i don't think so because the application can identify the flash drive)

I tried to connect another usb device and same thing happened .

I used external power and power from USB port on my PC
[Galaxy S I9000 Android Development] coolfranz:
Does the "mount" button show up?

If yes, then go to /mnt and create a folder named "ehdd"
[Galaxy S I9000 Android Development] developersdevelopers:
Some "normal" games do work. I'm still in the progress of testing a few more. I started a thread over in the NS forum to try and keep track of which games work nicely (see post #2 http://xdaforums.com/showthread.php?t=1466958), and also to describe how I set things up.
[Galaxy S I9000 Android Development] kotsos44:
Thanks a lot, now it is working ! :)
[Galaxy S I9000 Android Development] emilio280301:
I'm using a xbox wired controller and is shown on the devices list but it doesnt works, I'm with the JVU and the sztupi kernel
[Galaxy S I9000 Android Development] sztupy:
It seems it's support was missing from the JVU kernel. I included it in the soon-to-be-released build 5
[Galaxy S I9000 Android Development] developersdevelopers:
Try rebooting your phone and then try it again as soon as everything has loaded. Once in awhile I'm also not able to get my controller detected too. It seems like this happens after I've been messing around with USB host controller and plugging in various flash drives etc. But if I set up the controller upon booting, it always works.

Also, make sure you're using the official 360 controller if you aren't already.
[Galaxy S I9000 Android Development] Epic_VS:
It also works on Nexus S 4G, so you can remove "3G version". I use it without a contract, but it still shows good connection in the settings-about-status.
[Galaxy S I9000 Android Development] sztupy:
I thought it used a bit separate kernel.
[Galaxy S I9000 Android Development] sztupy:
Build 5

Build 5 released

ChangeLog

Added ability to turn charging on/off while the USB is connected

Added ability to change the Host mode driver. Currently three drivers are present: S3C High-speed (the default), S3C Low-speed/Full-speed (this disables USB 2 mode. Use this if you want to have USB 1 compatibility), and DWC (a separate driver for the same OTG specification, that will probably get into upstream)

Fixed some small issues regarding cleanup after cable is disconnected

The DWC driver does NOT yet work, it will probably crash your phone if you try to use it. I however hope that I will be able to fix it. The other two drivers work well of course. Note that you have to turn off host mode if you want to change the driver (then turn it back on).

Also note that to change the charging mode you have to unplug every cable from the phone before changing the charging mode. In ICS it seems that the small battery icon on the top and the lock screen will still say the phone is charging, but the battery menu in the settings will properly tell you they are mistaken and the battery does not charge indeed.

Usb Host Controller has also changed to version 0.2.

I made a separate thread for it: http://xdaforums.com/showthread.php?t=1468531

Changes include stability fixes, a new icon, support for the new features mentioned above (changing drivers, disabling charger, etc.) and two nice commands:

Reset USB device

Re-read partition table

The latter command should probably solve a few issues where the flash drive was recognized, but there were no partitions to mount. It also solves the issues of connecting other Android devices. (Simply re-read the partition table after you have enabled usb mass storage mode on the other android, and you will be able to get files from the other phone too)

Nexus S and JVU build 5 will come later today. I will post when they are ready.
[Galaxy S I9000 Android Development] X10_minipro:
Hi!

Is there any chance that usb flash drives works or will work in the future ?

Thanks in advance

//

X10_minipro
[Galaxy S I9000 Android Development] coolfranz:
on my nexus they work already and so they should on i9000.

Gesendet von meinem Nexus S
[Galaxy S I9000 Android Development] FadeFx:
You do realize that this is a galaxy thread?

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

tapatalked from GalaxyS
[Galaxy S I9000 Android Development] X10_minipro:
Yes I do :D

I got an Galaxy S running Gamerz rom.

My username comming from the first smartphone I had, which is x10 mini pro obvious.

But thanks for pointing it out ;P
[Galaxy S I9000 Android Development] FadeFx:
It was more your sig that confuses...

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

tapatalked from GalaxyS
[Galaxy S I9000 Android Development] X10_minipro:
I dont see how my sig would confuse?

But lets stop with offtopic talk now...
[Galaxy S I9000 Android Development] kotsos44:
You are doing a great job, Congratulations!

About the ability to turn charging on/off ,is it working on client mode? because many times i connect my phone for few minutes as a device and i don't want it to charge .
[Galaxy S I9000 Android Development] tapip:
Is it made with b14 or b15 sources ?
[Galaxy S I9000 Android Development] sztupy:
Yes it works in client mode too.
[Galaxy S I9000 Android Development] sztupy:
Erm... Isn't this what this thread is about?
[Galaxy S I9000 Android Development] sztupy:
It's still b14. However there were not too much changes in the kernel code since then, so it should work with b15 too. I will update the kernel sources to b15 for the next release.
[Galaxy S I9000 Android Development] X10_minipro:
I thought I was bout getting usb otg mode working. How could I know what is supported lol.

Thanks for your reply.
[Galaxy S I9000 Android Development] coolfranz:
Perhaps by reading the thread/ first 3 posts?
[Galaxy S I9000 Android Development] sztupy:
Build 5 for JVU

Build 5 released for JVU too. There vere some issues with UHC, so I have uploaded a newer one to the Market. On JVU, do not use UHC 0.2 as it might crash a lot!

Build 5: http://xdaforums.com/showpost.php?p=21503469&postcount=6

UHC 0.3: http://xdaforums.com/showthread.php?t=1468531

The Nexus S also got the update: http://xdaforums.com/showthread.php?t=1459304 !
[Galaxy S I9000 Android Development] developersdevelopers:
For those of you interested in portable power solutions, I just tried out the New Trent IMP1000 portable charger. Yes it is a bit overkill with 11000 mAh and its expensive, but it works. It outputs 1A.
[Galaxy S I9000 Android Development] Epic_VS:
that charger is half the price I payed for my no contract nexus s 4g.
[Galaxy S I9000 Android Development] tapip:
When you will be making new release with b15 sources there will be b16 disponible :D joke. I hope that your new build will come soon. By the way, great work !
[Galaxy S I9000 Android Development] sztupy:
Kernel sources are up, so anyone can build a compeltely b15 compatible build. I'm currently happy with how it is (I'm personally still using Build 13, with a kernel based on B14 sources (guess which kernel :) ). There are some regressions bug in B14 and B15 beacuse of which I'm reluctant to upgrade)
[Galaxy S I9000 Android Development] Romonster:
Does it matter if the usb otg cable is cheap?

I'm about to buy one and i can find them with price ranging from 2$ to 20$.
[Galaxy S I9000 Android Development] sztupy:
I don't know. PErsonally I think it does not matter much.
[Galaxy S I9000 Android Development] sztupy:
As far as I know the SGS Plus has a Snapdragon processor instead of a HUmmingbird one, so this won't work on it.
[Galaxy S I9000 Android Development] lippol94:
Is there any possibility we'll see host-usb supporting without needing to connect the device to electricity at the same time?

thank you so much :)
[Galaxy S I9000 Android Development] sztupy:
For people having i9000B or Vibrant phones it seems onecosmic has made USB Host capable builds too: http://ics.samsung-updates.com/kernels/

It also seems some onecosmic / ICSSGS kernels do include usb otg host functionality by default.
[Galaxy S I9000 Android Development] frauhottelmann:
I guess you read what you just quoted?! Especially the last part...
[Galaxy S I9000 Android Development] sztupy:
You missed this only works on Hummingbird processors and I can't create one for other ones. The one in the Nexus One topic might be useful for you, but you have to ask someone with a Snapdragon processor to do the work for you.
[Galaxy S I9000 Android Development] domimatik:
I think porting this driver to the HD2 would be awesome.

A huge community would wait for you ;)
[Galaxy S I9000 Android Development] sztupy:
That one uses the same chip as the Nexus One, Desire, etc, so you should check those forums. I'm sure it's quite easy to port that, the fact that it's not included in every kernel is that it doesn't allow fast-switching, so a kernel is either client-only or host-only, and people usually prefer to have client access (so it can be connected to a PC).

This limitation can probably be solved, but without any QSDxxxx device in hand I can't really do anything.
[Galaxy S I9000 Android Development] frauhottelmann:
And again, the HD2 is as far away from the SGS as the SGS+...Go to Nexus One forums...

EDIT: uups too late :D
[Galaxy S I9000 Android Development] Nexz:
Related to the picture.

Is it possible?

Edit: On the pic: Sgs with hostmode activated running backtrack Linux, connected to a mouse, a Keyboard and a Linux compatible wireless card.
[Galaxy S I9000 Android Development] X10_minipro:
Why mouse and keyboard?

Isn't backtrack working hood anyway?

And it gotta be alot easier to just have wireless card connected?
[Galaxy S I9000 Android Development] jamesd256:
Related: http://www.youtube.com/watch?v=3-bLOc1qnMM

The guy in the video is just praying X11 doesn't crash before the end of the demo :)

I don't know if the host driver sztupy has enabled has the necessary features for these devices though.
[Galaxy S I9000 Android Development] Nexz:
@x10

.....

edit: whooops, i understood your post wrong....my fault. But yeah leaving out the mouse and keyboard will make things easier.

Well my question was, will my phone accept the external wifi card and use it as one ?
[Galaxy S I9000 Android Development] Nexz:
@arobase40

uuuh wrong topic?
[Galaxy S I9000 Android Development] wwortel:
USB Host 0.42 does not find root hub

Installed Teamhacksung latest build 15 and then kernel_usbhost_build5_cm9galaxysmtd.zip on my SGS.

Where it worked under JVU, now USB Hostcontroller does not find the root hub.

Any idea what could cause that ?

resolved; needed apparently to disable USB debug mode
[Galaxy S I9000 Android Development] jamesd256:
Speaking of root hubs, are there any links or recommendations for a small and reliable (well made) hub which works with the SGS, because I need to buy one.
[Galaxy S I9000 Android Development] sztupy:
Based on the SoC it uses it's still closer to the Nexus One, than the Galaxy S i9000, as it contains the next gen chip of what the Nexus One has.

Btw. The next gen chip of what the i9000 uses (eg SGS2) contains the same OTG hardware what the i9000 uses, so probably this hasn't much changed in the newer generation. Besides if one of those above mentined phones have opened their kernel and do support USB OTG, you might simply check it out and port it over to the SGS+
[Galaxy S I9000 Android Development] sztupy:
I have three hubs, all were the cheapest one to find when I bought them, and all of three are working just fine.
[Galaxy S I9000 Android Development] wwortel:
usb headset

have a USB headset (earphones & microphone) which is recognized (usb 2010:05e1 'USB VoIP device') via the USB Host.

How could I make the choice on the SGS between built-in speaker/microphone and the USB headset ?
[Galaxy S I9000 Android Development] frauhottelmann:
OK, I just tried it with a USB-female-to-female-adapter (plus a y-cable for power...) and it worked with my EOS 1000D and DSLR controller, but not very reliable (host app recognizes camera, dslr controller didn't), but once dslr controller recognized the camera everything worked fine :)

It worked also with my 8GB stick and my 16 GB USB 3.0 stick and it recognized my ZTE USB HSPA modem and its inbuilt micro sd card reader...
[Galaxy S I9000 Android Development] sztupy:
It seems ICSSGS RC4 now includes USB OTG support too!
[Galaxy S I9000 Android Development] drvector:
Does someone could check if the DAC USB works (Fiio E7, E10, E17) or other USB sound cards, mainly those portable with headphone amplifier.

If not, is there any possibility to make it happen?:)
[Galaxy S I9000 Android Development] sztupy:
Yes, but both are Snapdragons (the first being V1, the second being V2), and they might probably use the same OTG implementation. Manufacturers don't usually change everything when they release a newer version of their chip, they just upgrade some parts of it. Of course if you find a complete specification (including

for example SFR lists), then you can simply check whether this is true.

As I've said for example the SGS and SGS2 uses different Exynos chips, they are very different in some aspects (like the Exynos in the SGS2 is dual core) but they are actually very similar in a lot of other aspects. USB OTG is one these apsects.
[Galaxy S I9000 Android Development] sztupy:
If it uses isochronous transfers, as is standard for usb audio chips, then they will probably not work. If they are using bulk transfers, which is not really a standard, but they might use it as well, then it might work. You have to try and test yourselves. One guy here said that there are some DVB-T receviers for example that can use eithier bulk or isochronous transfers. Those are not audio chips though.
[Galaxy S I9000 Android Development] developersdevelopers:
i tried my TBAAM (turtle beach audio advantage micro) USB soundcard and it did not output any audio. But as sztupy said, this is due to the lack of isochronous transfer.
[Galaxy S I9000 Android Development] sztupy:
android doesn't support external audio cards natively, so the fact that you didn't get sound doesn't mean anything. And besides I don't think I have compiled usb audio support inside the kernel

Here are actually the modules you need: http://sven.killig.de/android/data/local/bin/snd

If you have compiled + loaded them up you can simply do a cat file.wav > /dev/snd/dsp from a console.

Getting all sound to go through that audio card is probably way harder. I think for that supports needs to be built inside Android too (so it won't be just a simple kernel update)

edit: /me doesn't have an usb audio card so I can't really test them.
[Galaxy S I9000 Android Development] developersdevelopers:
Ah okay thanks for clarifying.
[Galaxy S I9000 Android Development] sztupy:
Samsung did provide all the nescessary information about the S5PC110, the SoC, that's inside the SGS. (It's 2200 pages, and it was referenced in this thread at least a few times, so you should do your homework and read this thread, and all other threads that this references about this topic).

There is also a specifiaciton for the Exynos that's inside the SGS2. Other components inside the phone might miss datasheets (like the PMIC or the FSA), but their kernel drivers are usually enough to get started, and besides older versions of those IC's have avaialable specifications as well.
[Galaxy S I9000 Android Development] emilio280301:
Hi, I updated yesterday to the build 5 of the JVU kernel, I tried the xbox controller and it's listed by the software but did not works. Only when I press a button, not a trigger or a joystick, the ligths in the buttons menu and back get on. I can't move the menu or use it in games. anyone have this working? it's any other software needed?

In the other hand, the functionality with dslr controller works better and the posibility to not charge the phone works fine too. Later i will try it with the usb card reader that had problems in the older version.
[Galaxy S I9000 Android Development] sztupy:
It did work on the Nexus S / ICS, and I had added the appropriate modules to the JVU build. Haven't tested jostick access though. You might also try using Gamepad IME: https://market.android.com/details?id=de.killig.gamepadime It might work with that.