Access USB device directly. Is it possible? - Windows Mobile Development and Hacking General

On WM5 has anyone been able to access USB devices like printer, Pendrive etc directly? Would be great to be able to print directly or access files from a USB memory stick.
Have heard of HP printer drivers for older versions of windows CE somewhere...

Using a usb device on the phone.
I know of no WM5 or WM6 phone for that matter that have a usb STACK on them that would allow them to use a usb device. They are designed to BE a usb device for a pc...not the other way around.

famewolf said:
I know of no WM5 or WM6 phone for that matter that have a usb STACK on them that would allow them to use a usb device. They are designed to BE a usb device for a pc...not the other way around.
Click to expand...
Click to collapse
i think you are mistaken.. there are a couple new WM5 and/or 6 devices that have USB hosting support.. among them is the Athena, O2 Flame, and toshiba g900, and those WM devices exclusive from/for japan..

Yeah, it is the other device that must be able to read the PPC.
My stereo read my Tytn as a storage device. Can play music directly from the PPC. However it is the Stereo doing the recognizing job. Not the other way around.

I'd just like to clarify a few things:
1) USB has two sides - host and client and they are different by hardware and not just software so there is no "able" question here.
2) In cases like memory stick, printer etc. when your device uses what is connected to it, the phone must act as host. The reason there are few devices with USB host is mainly because to be fully implemented this standard must provide up to 500 mA current to the hosted device and of course thats a bug problem when working on battery.
(Any phone that does implement it, provides it "unpowered" so not all devices will work)
3) In cases where something is using your device like the stereo, the phone acts as a client so with the right piece of software (like WM5Storage) any phone can be used.

The fujitsu Pocket LOOX T810/830 can act as a USB hub.
Some devices have this capability but not a feature that is common.
Sam.

I'm really unqualified to discuss this in great detail, but why I got there was - I've read somewhere in these forums about Win95 emulators for ppc devices. Now if it could be possible to "emulate" just the USB stack portion of Win95, maybe, the ppc could be connected to devices like printers which would not require a powered USB connection.
That's all ...
Atul

emulating an os dont add new features to the hardware though

Related

Q: Is Magician capable of USB Hosting ?

I saw some articles about USB Hosting on PDAs, and it took my attention very much, by this gate we can extend our Jam usage in variable ways, attaching USB flashdisks, HDs, digital cameras etc. Anyone has any idea on this issue ?
not possible. you need a usb host. the magician can only act as slave and not as host to a other device. not even with software because that's the way usb works. to keep cost low the chips for usb communication are mostly on a master and not the slave.
further more what could have been done is to connect both devices as slaves to a master and let it act as bridge (there are several devices that work that way) but since the magician doesn't support the mass storage device profile even this isn't possible.

External USB hard drive

Does anybody know if it is possible to connect the phone to a USB hard drive?
only with flame and Athena as they are the only ones which support usb host
other devices cant use usb devices only be used by usb hosts normaly a pc
There was actually someone who developed a working hard disk storage driver for windows mobile but last I checked the site no longer offered it. Searched for days trying to find the file elsewhere. No luck. Cant think of the company that made the driver.
I'm bumping this as I am also after the same sort of program / utility.
I want to be able to access my External HD and view / play files off it... anyone able to help me out?
Maybe with a external powersupplied disk
Rudegar said:
only with flame and Athena as they are the only ones which support usb host...
Click to expand...
Click to collapse
Correct
Our Hermes has no usb host support. I found a topic at forum.brighthand.com which suggested the host functionality could be added with a usb host driver. I found the software (attached zip) but alas... Though I did exactly as the 'manual' (readme.txt) explained, the usb-stick did not appear in my explorer.
Possibly an external drive with external power supply might work because the hermes usb port is simply not powerful enough to supply the power to the usb-stick. However I did not "explore that possibility" (don't have one ) and chances are 'just a driver' is not enough and hermes lacks "usb host hardware".
dident read the post because you dident give a link to the post just the forum
but i doubt that it's a general thing
many pda's have usbhost in the cpu itself but htc never connected those connectors
so it's not wired to the connector they have their own usb chip
so if the post you read said it about any other pda then htc based one it could be that that manufactor did connect the usb but dident supply the driver which would then be fixed with what you found
Rudegar said:
many pda's have usbhost in the cpu itself but htc never connected those connectors
Click to expand...
Click to collapse
Sounds like there could be the potential for a hardware hack...
heh, nice try. but it will end like GPS HW hack on the TyTN (aka Hermes). it is not worth it, I mean there is easy way, just buy device with GPS integrated, or buy external. I have electronic skills and proper tools, I can do such things but it is too complicated. in that hermes was problem, that antena was not properly connected and you can never get a GPS lock. I guess that with usb host is the same. missing circuitry.
Deuce Nitro said:
Sounds like there could be the potential for a hardware hack...
Click to expand...
Click to collapse
Yepp!
Hi,
this is correct
sinmae said:
heh, nice try. but it will end like GPS HW hack on the TyTN (aka Hermes). it is not worth it, I mean there is easy way, just buy device with GPS integrated, or buy external. I have electronic skills and proper tools, I can do such things but it is too complicated. in that hermes was problem, that antena was not properly connected and you can never get a GPS lock. I guess that with usb host is the same. missing circuitry.
Click to expand...
Click to collapse
The USB host port of the Samsung CPU is used to connect to the internal GSM/GPRS chipset. So no chance to break it up!
If someone would ever hack this hardware part, the result would be a hermes without radio.
The engineers at HTC used the USB host port to achieve the necessary bandwith for high speed data connection to the GSM/GPRS chips from Qualcomm.
Best regards,
scholbert
thats an interesting information, thanx
scholbert said:
The engineers at HTC used the USB host port to achieve the necessary bandwith for high speed data connection to the GSM/GPRS chips from Qualcomm.
Click to expand...
Click to collapse

IrDA on X1

I have a Scuba Diving computer that I use via IrDA on the Dell Axim that my X1 has just been purchased to replace.
Can anyone tell me if it would be possible to use an external USB IrDA dongle with the X1. I've only seen Windows XP/Vista drivers listed against these dongles.
What would be involved in developing a driver?
This might be tricky, as I read somewhere on the forum that the USB port is not powered, and therefore connecting dongles (including e.g. USB drives) is difficult.
The last I saw was that it might have been possible to connect the X1 to a powered port adapter, into which USB dongles were attached.
Would it not be easier to connect X1 to a Bluetooth / IRDA dumb client which is in between the IRDA device?
it require a pda to support usbHost to operate any type of usb devices
as far as i know x1 and most htc pda's dont support usbHost
Calvin H said:
Would it not be easier to connect X1 to a Bluetooth / IRDA dumb client which is in between the IRDA device?
Click to expand...
Click to collapse
Sounds like a useful suggestion. Could you point me to the type of device you mention.
Thanks for taking the time to answer my question.
Rudegar said:
it require a pda to support usbHost to operate any type of usb devices
as far as i know x1 and most htc pda's dont support usbHost
Click to expand...
Click to collapse
You're right on this one. It's not possible to connect USB devices to the X1 because there's no host. Even with a seperate power source, the X1 will not recognize it. Look at it this way, whenever you connect the X1 through USB, it'll act as a slave, waiting for input. Dongles need input themselves, so both devices will keep waiting for each other forever... It's like a bad fairytale!
Angelusz said:
... It's like a bad fairytale!
Click to expand...
Click to collapse
This this the sort of device that might enable Price Charming (the new name for my X1) to get together with Cinderella (the new name for my lonely, but very beautiful Dive computer)?

Is it possible? USB for WiMo...

Hy,
with so many ppl out there making there own audio-video-charging-whatnot cables for Smartphones of all kinds (especially the Omnia i know of) i would like to know if it would be possible to get any kind of external USB device like Keyboard, Mouse, USb-Hub or HDD working on a custom cable and driver of some sort. Sure when u allready have a USB-Port on your device the special cable is not needed, but the Driver part is, so interest and demand of this should be rather high me thinks...
Since i have no knowledge to program it, this post is more like a suggestion or request. If the hardware of Smartphones is not as reconfigurable like the Bluetooth-components that can be teached to understand Bluetooth-Keyboards and Mouse then let me know and close the thread
Thanks
Flashhawk
these are possible...if someone agrees to write drivers for all the stuff we want to run...atleast thats what ive heard n read (and remember )
Default Zeno USB Host Drivers v6.0a
Zeno USB Host Drivers v6.0a
==========================
Date: 2009-02-12
Original thread and discussion found here:http://forum.xda-developers.com/showthread.php?t=480899&highlight=zeno+usb
Requirements
============
PDA or Smartphone running WM5, WM6, WM6.1, propper USB cable for your device, PTP digital camera.
Information
===========
Made by Zeno Sloim. Based on RATOC Systems drivers.
The package contains:
- USB Mouse driver
- USB Keyboard US-101 HID driver
- USB-based external CD-DVD unit
- USB-based HDD unit, Memory Flash, USB-based card-reader MassStorage Driver
- USB-to-Serial Port driver (start Terminal in Start-Programs for configuration).
- RS232 USB Serial Driver (start RS232 USB Serial Driver in Start-Programs for configuration).
- PTPView for HOST & PTP Digital Cameras driver (non-USB Mass Storage such as Sony, Canon etc.).
- download photos and movies from PTP digital camera to your PDA
- photo preview
- multiple files download
- delete files from digital camera
All features tested on Fujitsu Siemens Pocket Loox 560N running WM6.1 with Transcend 16 GB SDHC Class 6.
Used with OEM USB keyboard, OEM external HDD, Kingston 8 GB memory-flash, OEM card-reader and various SD, SDHC cards, Microsoft various USB Mouses, Jura F9 automatic-coffee-machine serial port controller, OEM serial GPS unit, Canon Powershot G3, Canon PowerShot S3 IS
Download and run installer.exe on your pc, autorun.exe on your pda, autorun-s.exe on your smartphone.
History
=======
- Version 1.0: 2009-02-06 (first version)
- Version 2.0: 2009-02-07 added USB Host Mouse support for generic USB mouse. Only left-click and right-click support included, scroll-mouses are reduced to simple left and right click mouses.)
- Version 3.0: USB-to-Serial Port support added. V3 includes all previous versions, no need for uninstall. V3 does automatically soft-reset, which was not the case for v1 or v2.
- Version 4.0: PTP digital camera support added. V4 includes all previous versions, no need for uninstall.
- Version 5.0: added compatibility with older devices WM2003, as well as for WM Smartphones.
- Version 6.0: improved USB-to-Serial Port driver and added a second RS232 USB Serial Driver more suited for serial GPS units.
- Version 6.0a: modified installer, no longer forced reboot after full install, due to conflict with TouchFlo, SBSH iLauncher which caused a repeated reboot. You should manually restart your device after complete install.
FAQ
===
1. What you see on screen when you connect something?
For HDD, Memory Flash or CardReader, you can see in Explorer(Resco Explorer or WM Explorer) the new unit labeled as "Hard Disk".
For keyboard, you don't see , but in any program using the device own keyboard (Touch Screen or slide - HTC Touch Pro), you can just type on external USB keyboard.
For mouse you see a yellow-green mouse cursor on screen which follows the external mouse movements.
For DVD you see : "External Mass Storage"
For Serial port a little window prompts you to configure the serial port settings and communication protocol.
Or start Terminal in Start-Programs for configuration, or start RS232 USB Serial Driver in Start-Programs for configuration.
For digital camera start the program PTP View.
2. Is program limited to only devices with USB-host?
Yes and no. It depends on the hardware construction, accesible USB connector, even older devices without usb-host can have usb-host functionality. Many models and manufacturers has hidden this feature which really exists in their devices. The only way to find is to test it and if not working, search if other users succeeded. Original Fujitsu Siemens Pocket Loox 560N has included by default usb-host connector, with support for HDD-Memory Flash only.
3. Cables and power supply - which ones?
I always tested it with powersupply incoupled for my Loox, even if HDD or DVD-unit self was powered separated. More info on how to build an injected USB power supply here:
http://tabletblog.com/2006/01/usb-po...host-mode.html
or here:
http://www.google.com/search?hl=en&q...or&btnG=Search
You can use the cables/accessories from an external powered usb 2.5" hdd unit and adapter mini-usb to usb (usb cables with 2 heads at one end for external power supply).
4. I ran your installer but nothing happened, and nothing got installed?
You must run installer.exe on your PC with your pda connected via Active Sync. Or copy autorun.exe to your pda and run it from your pda.
The installer detects if any of the 7 modules are already installed and it jumps to next component to check if it is installed. If all components are installed you see the message that nothing has been installed. After install, if you want to remove a certain component, you can do it by choosing Setting-System-Remove Programs. You'll see all 7 components and just uninstall the desired one like any other ordinary installled program. There's no common uninstaller for all 7 components at once, but for any of the 7 individually.
5. Does it work on my device?
There's nothing harmful, nothing malicious hidden in my program, so you can test it on your devices without risk for dataloss or other unpleasant effects.
The installation (CABs) is not locked to certain device, it is uninstallable, it is not compressed to avoid installproblems on certain devices. On my FSC Loox 560N I could install/uninstall without problems. Test my program, if it works, I'll be glad I could help other users, without thinking of money or profit. If it does not work, I can not guarantee I can help you. Just try and see.
6. Can it read data from attached DVD-unit or NTFS partitions?
Yes. The DVD unit I used is an Acer USB-based CD&DVD-RW made 2004 for an Acer Tablet-PC.
7. Barcode readers?
A user commented that even an USB barcode reader worked ok.
8. Incompatibility problems with other programs?
I can only test on my FSC Loox 560N. You can try on other devices and report in this thread on your experiences.
9. Legal aspects. Is this program legal?
Yes. All informations and sources are based on free available information and sources. No licences or copyrights were infringed. All is legal to use.
10. How much does it cost?
This program made by me, Zeno Sloim, is completeley free to use and test. I do not demand any payment or any other material form of recompense.
My program is done as Freeware and may be used by anyone.
However it may be not used or included by any person or company in a shareware product or which demands paying.
http://rapidshare.de/files/45220151/...v6.0a.rar.html
Maaan!!!
That is great!! Will try as fast as i can!!
Thank you so much!!!
Flashhawk
if u read the whole thread u will know that it is not working for majority of the devices. i hope that someone could solve this problem soon.
That driver doesnt work on many devices, touch pro and diamond cant use it.

Plug external usb drive into TD2?

Since the phone has a miniUSB plug at the bottom, I'm wondering if it's possible to plug a USB hard drive into the TD2 (eg: using a male-male miniUSB cable) and then copy files from the drive onto the phone's SD card?
My TD2 has an 8GB memory card in it, so I pretty much use it as a portable hard drive for work. I often copy files off other drives to the phone, so I plug both my phone & the USB drive into a computer. It would be nice if I didnt need to use a computer
Thanks for any help!
Nice idea!
Who's gonna try this?
You can try it, but you will not have any success.
For that experiment, the Topaz should have a USB-Host functions.
But the Topaz is only a USB-"Client" (like other external USB-devices). So you'll don't have any success.
The only Device I know that is capable to do this: Toshiba TG01
Greetings from Cologne,
Arniebirdy
I expected more from a Windows OS-ed device.
Maybe would be possible to have this function starting with WM 6.5?
After all, the WM 6.5 phones will be called Windows phones, isn't it?
Thanks for the info arniebirdy.
I also realised that the TD2's USB doesn't provide the required 500mA of power needed for an external drive anyway. So even with correct drivers (if they exist) it wont work
ozmbie said:
I also realised that the TD2's USB doesn't provide the required 500mA of power needed for an external drive anyway. So even with correct drivers (if they exist) it wont work
Click to expand...
Click to collapse
But most of the external drives have their own power cord, so they don't depend on the USB power.
At least, this is the case of my 1.5 TB Seagate external HDD.
In this case, it could be possible!
In this case, it could be possible!
Click to expand...
Click to collapse
In order for a phone to see an external usb client device, there needs to be things:
1. A USB host controller chip on the phone's motherboard. I know of no modern phones which have this feature.
2. OS Drivers for EHCI/UHCI USB host controller. Winmo 6.x already has this.
So, there is no way you can plug in any USB client device unless you are seriously into hardware hacking.
Bothkill said:
I expected more from a Windows OS-ed device.
Maybe would be possible to have this function starting with WM 6.5?
After all, the WM 6.5 phones will be called Windows phones, isn't it?
Click to expand...
Click to collapse
It'd need to be supported in the underlying OS, Windows CE. WM6.5 is still based on WCE 5.0, as is WM6 and WM5.

Categories

Resources