USB hosting on the x10 mini pro and x10i - Hardware Hacking General

I have a few of these devices lying around but have not been able to get hosting working on them.
Any suggestions or idea's?

Your question didn't give a lot of info, so excuse me if this is too simple:
Did you use an actual OTG adapter? (Unless it says "OTG", it isn't.)
Does the device try to raise Vbus?
Does it make it to 5 volts or merely 4 something?

Related

USB Host Capabilites

I read that engadget was able to get USB hosting working on the universal, however it appears that this is not possible (reading the threads here). I just wanted to confirm that using a 'usb dongle' to connect other devices to the universal does not work - as I thought that wm5 did support this. Is it just a question of drivers or is the hardward not capable?
Just to remind that topic...
I'm really interested is it possible to connect a portable harddrive to my MDA Pro?
i dun think so its true. If anybody proves this to be true, then please let us know.
noname_nick: have you found the engadget article?
V
@Vijay555,
It was a Q&A article they posted when they had just received the Universal. Should be there in their archives i guess.
Cheers.
I just checked with an sd card reader and a 40gig usb hdd....it didn't detect either :-(
don't think the universal supports usb hosting :-(
hope its just a software handicap and not a hardware one!
San
universaldoc said:
@Vijay555,
It was a Q&A article they posted when they had just received the Universal. Should be there in their archives i guess.
Cheers.
Click to expand...
Click to collapse
yeah I even posted in that engadget article asking to reconfirm their findings and thry did reply saying it could be used as a usb host as they had it dine themseves (it was one of the factors that made me get the universal) alas the dumbfuc*ers removed the ABILITY for usb host or maybe engadget was Forced to say yes(as in LIED) under pressure from htc etc??
just my 2 cents !
If I'm not mistaken, the hardware in the Universal supports USB Host. But it is not implemented in the software running on the Universal... It's like having a sound-card in your computer, but with no drivers to use it. Maybe there will be a patch or update for WM5 which supports USB Host.
Suspect that you need a USB host cable to have any chance of testing USB host functionality, this cable tells the PDA that it now needs to work in host mode.
The Sharp Zaurus has a similar arrangement where a single USB port can work in host or slave mode, which is switched using the relevant cable, link to such a cable http://www.streamlinecpus.com/store/product.php?productid=100&cat=0&page=1&featured
Suggest you search Zaurus forum (www.oesf.org) for more information.
Mike
does anyone has this cable and test it already?
It seems it will fit the mini USB port for the Universal?
Don't think it's native on the Universal - if it was, it ain't now. In the meantime, Softick Card Export II PC version 2.10 works great as USB Host services to the Storage Card!
Yes, I use the same thing on my Uni. I like it very much as i do not need a SD card reader anymore. But I still dream to be able to hook up my external slim HDD to my Uni.
Yes, I use the same thing on my Uni. I like it very much as i do not need a SD card reader anymore. But I still dream to be able to hook up my external slim HDD to my Uni.
vijay555 said:
noname_nick: have you found the engadget article?
V
Click to expand...
Click to collapse
Here is the article http://www.engadget.com/2005/09/02/...l-questions-weve-got-htc-universal/1#comments
I found driver for Toshiba E740 USB mass storage driver ( for PPC 2002) but maybe is a best way to find solution for Universal - it's look that only soft for this funcionality is missing :?: Deje PocketPC Page
usb host.....
USB standard provide 5 volt DC.
All HTC device have got 3,7v DC battery!! so it is not possible to power any kind of USB device!!.
The only way consist in voltage duplicator that should provide 5v using 3,7 v source, i think that HTC device has not this voltage regulator.
wishes
Antonio
fraant said:
USB standard provide 5 volt DC.
All HTC device have got 3,7v DC battery!! so it is not possible to power any kind of USB device!!.
The only way consist in voltage duplicator that should provide 5v using 3,7 v source, i think that HTC device has not this voltage regulator.
wishes
Antonio
Click to expand...
Click to collapse
the universal have the hw to have usb host functions but htc don't have put it to the out side world.
The mini-usb can't be used as initiator.
in thoery you could open the universal and hook another miniusb connector on the usb bus.... and then the drivers nightmare
Deje have drivers for mass-storage on ppc2003/ppc2 and they work fine.
I use both on casio-e200 and on the toshibare800.
btw:neither casio nor toshiba have 5v bateries and they work with external usb devices like keyboards mices etc, for disks i have to use external power...
bye

USB data input use on a non USB Host smartphone

Hy everyone,
First of all, thanks for this great forum which never fails to impress me.
I have a question which some of you might help answering: I'm wondering if it's possible to use the mini-usb port of my smartphone to get some data input.
Let me explain myself a bit more: I know that smartphones (HTC Touch for me) aren't USB hosts. However, the data connexions are still present.
Here's what I'd like to do: even though the smartphone can't control another peripheral, I'd like that external peripheral to send data to the smartphone, and the smartphone to use that data to control the screen. That would give an alternative way of controlling the screen.
The input would come from another touch surface, so my guess is that using the data to control the screen shouldn't be much of a problem.
So? Any idea if it's possible? What kind of platform/language would be nice to do that? C#?
(I have JAVA development experience, but I'm quite a newbie as far as Win Mobile devs are concerned. I'm willing to learn though
I think I searched this forum (and others) quite extensively before posting. If by any chance I missed a related post, I'd be glad to know about it
No ideas? Anyone?
Last up before I stop...
prob. not
i dont think that is technically possible. i think one has to be the host, and that host provides power. so to power the input device(im thinking keyboard) it would need the smartphone/ppc to be a host....
but i have no clue in this area...maybe someone could prove me wrong?
Hey, thanks for your answer.
The powering issues could be overcomed by cutting the cables and giving power from an external power source (I think several people have tried doing it, I need to find the links again). By the way, the peripheral itself is plugged on 110V, so there's plenty of available power
I'm not seeking here to "control" the device, just to aquire the signal it's sending... Does that seem feasible, or does the peripheral need to be somehow "activated" by a Host before sending anything?
Well, in order to get data, the host must ask the slave each time it needs some. Other things must be done by the host, like usb enumeration. That means there has to be a host or it won't work, unless you use usb on-the-go, but I do not know many devices that support it.
according to the qualcomm website, the msm chipsets support otg

Windows Mobile USB host drivers.

The Xperia doesn't have host capabilities, but is it possible to get such functions with suitable drivers? Such drivers are discussed in this thread:
http://forum.ppcwarez.org/viewtopic.php?f=57&t=58813
As you can see they work with certain winmo devices. I wasn't able to make them work with my Xperia, but maybe one of you guys would be able to do it. Any other solutions?
PC
Not sure I'd bother really. What do you need to connect? If it's for storage just get yourself devices that take SD cards, then use MicroSD in adapters, then y ou can easily take it out and put it in the Xperia to copy stuff over.
Well, I guess I want my Xperia to have all sorts of capabilities. Imagine connecting an external DVD-RW drive and burning a couple of disks...... How about that !
I don't think linking to warez sites is within the rules..
if you have to it would be better to stick the relevant text in your post
Um.... the site may be for anything, but the drivers are freeware made by a poster on that site. I don't think it is against the rules, but if it is a mod should take the necessary steps.
The only reason that I could reasonably see for having a USB host to to accept USB pendrives for copying data to the microSD card. I can see 3-4 reasons why it wouldn't work, the primary one being that the USB port won't provide 5v/500mA to power the external peripheral.
Just a idea...
i have an idea which i like to share with You ...Imagine one small box with 4 ordinary aa mignon bateries inside and a card reader inside and a mini usb cable going out from that thing. Ok, now what we have here? Alternative charger for Your Xperia if You need it,some extra backup space for Your data and all we need is Usb host drivers on xperia. Advantages of this stuff is that everyone can make it, its a cheap solution,You can buy a batteries in almost every market and its just a basic idea so You can upgrade it as You need it. The fact is that we now have a power (5v/500ma) which we need for usb host. Please let me know what are You think of this and sorry for my bad English
Hm.... So the Xperia doesn't have a powered USB right? Can't this be changed by a software hack or something or is it hardware related? Is there a device that can be put between the Xperia and the external flash and that provides some form of power, like the one "Mrca" suggested above my post?
I would like posibilyty to conect usb stick.
now and then I trawel by ferry it takes abaur 12 h of doing nothing.
and just watching movies on phone.
so stick is perfect for video or music. my mini 8gb sd is full with other crap.
and by hqaving external power to usb it alsoo charges phone.
so anyone ?!?!?!
PLEASE USE THE SEARCH FUNCTION !
This has allready been discussed here :
http://forum.xda-developers.com/showthread.php?t=480899
and here
http://forum.xda-developers.com/showthread.php?t=411905
You should have a look to those other subforums of devices which feature the same chipset / functions.... ( Touch HD , Touch Pro, Touch Diamond etc etc etc )

crazy testers needed

ok so I'm thinking of trying to get usb host mode working on x10
problem 1, the usb port in x10 does not provide power.to external devices...
i want some crazy tester to set.up a jig as mentioned here
http://forum.xda-developers.com/showthread.php?p=24618556
(just make the jig....do not.think about that kernel...that's a totally different phone)
next, the kernel.you have to.use.is this
http://forum.xda-developers.com/showthread.php?p=24217211
or, one.of.the two.kernels here
http://forum.xda-developers.com/showthread.php?p=24026342
(as per your ROM, select kernel)
next we.need a usb host controller app (sztupy has made.one)
so get that
if someone is ready to go through this.... please contact me
maybe we can get usb otg up and running on x10
Sent from my X10S using xda premium
Hey champ, just curious what the purpose of the jig is? If my understanding of a jig is correct, isn't it simply a 301ohm resistor between pins 4 and 5 in a USB connector? Usually used to put Samsung phones into download mode, I believe. I can see how I would need a usb OTG cable and a powered hub, but why the jig?
I hope that you're on to something here, USB host on the x10 would be incredible!
Sent from my X10 using Tapatalk
;24732035 said:
Hey champ, just curious what the purpose of the jig is? If my understanding of a jig is correct, isn't it simply a 301ohm resistor between pins 4 and 5 in a USB connector? Usually used to put Samsung phones into download mode, I believe. I can see how I would need a usb OTG cable and a powered hub, but why the jig?
I hope that you're on to something here, USB host on the x10 would be incredible!
Sent from my X10 using Tapatalk
Click to expand...
Click to collapse
actually yes....
we just need the otg cable and some way to provide power to the usb device....
rest my kernels i linked.to...I've complied them with host mode drivers enabled...
at the moment (for next 4-5 weeks) i do not have the time/energy/money/resources to set this hardware monkeying business....for that i need a volunteer.....
rest the kernel is up, and once device is connected, i can guide the person into mounting it too....
we just MIGHT do a big thing here
Sent from my X10S using xda premium
Hey champ, I did have a usb 4 port hub that used a power supply. Will something like this work?
Sent from my X10S using XDA
ToledoJab said:
Hey champ, I did have a usb 4 port hub that used a power supply. Will something like this work?
Sent from my X10S using XDA
Click to expand...
Click to collapse
yes maybe... see my fxp mod kernels have usb mode enabled...we have to try and see if it works
Sent from my X10S using xda premium
championswimmer said:
yes maybe... see my fxp mod kernels have usb mode enabled...we have to try and see if it works
Sent from my X10S using xda premium
Click to expand...
Click to collapse
I have not used fxp yet. Whats a good kernel & rom to test with.
Sent from my X10S using XDA
The circuit/adapter needed is rather simple:
It will let data pass through, and from an external source provide power to both the phone and the device.
I might be up to test this, but I have to gather some leftover parts from broken USB gadgets I have lying around.
Now where did I place that 5 volt power supply? * looks around*
I'll be back...
http://forum.xda-developers.com/showthread.php?t=923864
^^^ build your own hub.
get the hardware up guys, (I'm currently shifting homes, and all hardware related stuff cannot be found easily...lol)
I'll see what can be done about kernel and about mounting it..we might *just* be able to pull this off....
Sent from my X10S using xda premium
OmegaRED^ said:
http://forum.xda-developers.com/showthread.php?t=923864
^^^ build your own hub.
Click to expand...
Click to collapse
Wouldn't it be easier and cheaper just to buy a powered one? But it does remind me of how pissed off I was as a kid when I ordered a Sinclair ZX81 kit to build and the bloody idiots sent me an assembled unit instead at no additional charge. Useless.
TAL333 said:
Wouldn't it be easier and cheaper just to buy a powered one? But it does remind me of how pissed off I was as a kid when I ordered a Sinclair ZX81 kit to build and the bloody idiots sent me an assembled unit instead at no additional charge. Useless.
Click to expand...
Click to collapse
Usb connection needs to be modded to micro usb either way.
I had ZX81.. such a awesome toy and tool.
Hey all,
I have all the nessesary hardware - DIY battery powered hub module with PWM power.Works fine on some other devices, not on X10.
It is because I was making a lot of developing and experiments with otg mode on X10 (X10 schematics helped). I have also built kernel modules, loaded them succesfully, but nothing else - logcat or dmesg didnt see anything and no errors returned (stick,HDD,mouse,keyboard...).
So, i could be volunteer, because I am interested of it, and slso have hardware and software skills
BTW.: I am also very curious about new ideas in otg X10
HeliumX10 said:
Hey all,
I have all the nessesary hardware - DIY battery powered hub module with PWM power.Works fine on some other devices, not on X10.
It is because I was making a lot of developing and experiments with otg mode on X10 (X10 schematics helped). I have also built kernel modules, loaded them succesfully, but nothing else - logcat or dmesg didnt see anything and no errors returned (stick,HDD,mouse,keyboard...).
So, i could be volunteer, because I am interested of it, and slso have hardware and software skills
BTW.: I am also very curious about new ideas in otg X10
Click to expand...
Click to collapse
try using my v5 kCernel
(you'll have to use fxp cm7 rom along with it )
it has usb otg enabled in kernel
Sent from my X10S using xda premium
Ou... see that it requires unlocked bootloader
Sorry, is there any other solution how to get this kernel working? I. e. source code which can allow me to build locked bootloader kernel image?
And for your information, in kernel page (from your signature) version 5, link for wifi modules is dead , says file not found.
HeliumX10 said:
Ou... see that it requires unlocked bootloader
Sorry, is there any other solution how to get this kernel working? I. e. source code which can allow me to build locked bootloader kernel image?
And for your information, in kernel page (from your signature) version 5, link for wifi modules is dead , says file not found.
Click to expand...
Click to collapse
will try to build locked bl kernel for you...
for file download see my signature, there is dev host mirror and direct link both... (look inside x10 folder inside kernels)
Sent from my X10S using xda premium
championswimmer said:
will try to build locked bl kernel for you...
for file download see my signature, there is dev host mirror and direct link both... (look inside x10 folder inside kernels)
Sent from my X10S using xda premium
Click to expand...
Click to collapse
Anyway thanks for even try ! Good luck
(TX pressed )
I've been experminetning hoping i'd get anything to show up in the kernel logs when attempting to connect something to the port.
However, even if the chip itself does support this, I start to believe the circuit board simply isn't wired up to function in this way.
Now think about it: Why would SE put the extra circuitry in (even if themselves are rather primitive), if they never planned to include it in the first place?
What I've done so far:
Made a simple adapter based on a experiment board with two USB connectors, and a DC in jack that supplies both connectors with 5 volts, that charges the phone, provides the common ground and supplies the gadget one connects (In my case a simple USB flash memory)
I tested this adapter on another device that does support USB on the Go, or what it's called. It works.
Even if a kernel doesn't support the device itself, the log will show signs that an unknown device is connected, which is good enough for me, as confirms the hardware works.
Now onto the X10:
Tried the ROM FreeXperia FXP117, with the kernel from FXP115, as is. dmesg gives no result at all. Also tried flipping around the data + and -, no result. Device is charging, bu nothing else.
Tried the kCernels, from the link provided by the OP in the first post.
While I had trouble booting the device up completely (My own fault, has nothing tod with this thread), at least I was able to boot the kernel and was able to access the device from the debug bridge (adb shell).
Yet again no result. Nothing from dmesg, nothing on the flash memory that indicates kernel accessing it. (It flashes a few times initially when detected otherwise)
Questions:
Are we talking about a separate modified kernel module here?
If so I might have missed it.
Have I missed any importants steps? (loading the external modules for instance?)
EDIT:
Are now "screwing" around with some USB hubs, connectors and are also looking int othis S3C USB Host thing. I suspect that one is aspecial thing for samsung, and are not the same as other devices uses.
We might need another way to control the USB-mode in the X10 chipset, which I suspect is not a S3C based one.
I also suspect the device need a special chip in order to switch between host and device mode, and that chip also provides the "root hub" in question. I suspect the X10 lacks all those things, even if the chipset itself proviced support for it.
EDIT 2:
No success at all. I even tried to detect if there where any data exchange between the X10 and the hubs I've tried (Both straight and crossover on the data leads)
Nothing. There is no whatsoever activity at all going on between the devices.
With that. I'm pretty sure one need a special chip that wakes up the USB host mode in the chipset when certain circumstances are fulfilled. (Normally a chip integrated in the device itself, which the X10 lacks)
I'll place this little project of mine, on the shelf for the time being.
At least until someone can provide us with additional tips that can lead into forcing the X10 chipset into USB host mode.
To put this in simpler terms:
One cannot simply connect to devices to eachother. Nothing will happen.
Both devices will sit there, waiting for the other one to start speaking so either one can respond to the other.
That is how USB device and host mode works:
When a device is connected, the host will detect it and start speaking to it, asking questions the device have to respond to. The device itself will never start speaking, it will only listen, and only respond when asked.
Once this has happened, the data exchange between the device and the operating system can take its course.
The X10 is a device, it listens.
If we try to connect a device/gadget to it, that is not a host itself, it will also sit there listening.
In this situation, we have two or more devices that refuses to speak, as there are no host around to start the conversation.
What we nee to do here, is encourage the X10 to start speaking, by forcing it into host mode BEFORE we connect anything.
for SysGhost:
Same as I did before on doomlord kernels with same (no) results
If you want, i have X10i block diagram schemes. I have already researched them for many many days, but maybe you will find something else...
And one thing - have you loaded usb host kernel modules? Even if hardware supports it, but doesnt have its module, nothing will show up in kernel or system message bus Maybe you know it, maybe not....
HeliumX10 said:
for SysGhost:
Same as I did before on doomlord kernels with same (no) results
If you want, i have X10i block diagram schemes. I have already researched them for many many days, but maybe you will find something else...
And one thing - have you loaded usb host kernel modules? Even if hardware supports it, but doesnt have its module, nothing will show up in kernel or system message bus Maybe you know it, maybe not....
Click to expand...
Click to collapse
Any documents on the X10 would be helpful. If you got any, I'd gladly have a look.
SysGhost said:
Any documents on the X10 would be helpful. If you got any, I'd gladly have a look.
Click to expand...
Click to collapse
here there are
As I am uploading them here, i remember that I had found, that USB host cables are located (as in diagram) on the right side of the JTAG pins (under battery stick), because there is located an usb switcher (page 15).
But not sure about it - time to brainstorm

Notification Panel/USB OTG

Does anyone have an idea what Amazon calls their status/notification panel? Like is it an APK? Is it tied into something else? I'm trying some things, but I haven't been able to track down it's source. I may have completely missed this one, but until I'm accused of being blind as a bat, I'm stumped!
I changed the title of the thread because I wanted to add another question to this when I posted it, but had forgotten what I wanted to post.
I have downloaded a few apps for both my phone and my Fire HD 8 that tell you if your device is USB OTG (On The Go) capable and if it's turned on. Both my phone and the tablet have USB OTG both are supposedly working. Question is: Does a USB OTG adapter work on the tablets? If so, what kind do I need? I see several types on Amazon and some have every connection under the moon. I don't want to waste the 5 dollars or less if it doesn't work.
I want to be able to use my phone to talk to my tablet and unless you jerry rig a standard USB cable (I tried and the biggest problem is getting the rubber and plastic off the micro USB plug), USB OTG cable is the only other way I know of.
Delete
The HD 8 works with these https://www.amazon.com/Eversame-Ada...498949476&sr=8-5&keywords=otg+cable+blue+pink
Reuben Talbott said:
The HD 8 works with these https://www.amazon.com/Eversame-Ada...498949476&sr=8-5&keywords=otg+cable+blue+pink
Click to expand...
Click to collapse
Awesome. Thanks

Categories

Resources