Use xda as Usb Keyboard, Possible? - Windows Mobile Development and Hacking General

Hi, did a few searches about this but couldnt find anything.
Is it possible to make the device(in my case, the Hermes) act as a keyboard for another device?
The thing is, i have a Xbox 360, and today they released a update which among other things contained msn/live messenger integration.
and to make it easier to use this, Microsoft are launching a keyboard, which you plug in the controller ,blablabla.
But they havent released it yet, so, i was thinking of using the kard-Keyboard on my device as a USB keyboard for it.
any comments?

Never heard of anyone doing an app like this.
It is possible theoretically but someone would have to write a special program that would kill AS, then take over the USB port and identify as a keyboard.
Doubt any one will bother with this since there are plenty of real USB keyboards available at any computer store (small ones too)

the tricky part would be that the program would have to change what kinda usb device the pda would say it was
sounds like some lowlvl hacks would be required

As far as I know this isn't so hard. For example WM5torage does similiar thing by emulating Mass Storage Device. Personally, I would be interested in the bluetooth keybord emulation.

This is technically possible, but somebody will have to write USB function driver for HID device class for that.
For bluetooth - dont sure, if stack will allow extension.

how hard would that be?

Related

Connect Athena to external touch screen monitor, possibile?

Hi guys, i am currently trying to set up my Athena with my car, i wonder if it's possible to connect my Athena with a external touch screen monitor like this one: http://cgi.ebay.co.uk/8-INCH-TOUCH-...9QQihZ005QQcategoryZ32826QQrdZ1QQcmdZViewItem
throw the VGA cable.
I know it will display the screen throw VGA out, but I am not sure whether it will enable the touch screen function, any of you know this?
Thanks a lot
p.s. I will post some screen shot if I succeed in this project.
Is that a PS2 port?
Seems to me the key question is how would it get positioning info back to the ameo? That looks like a PS2 port on the non-vga cable. IF it was sending back mouse positioning info AND a simple ps2 to USB converter would work then I'd guess it MIGHT work with the mouse drivers i've seen discussed elsewhere. There is a fair few conditions to meet but mostly at a low level by the look of things. Not much info to go on and also it loks like they are using a pen of some kind there. That makes it less useful I think?
inframan said:
Seems to me the key question is how would it get positioning info back to the ameo? That looks like a PS2 port on the non-vga cable. IF it was sending back mouse positioning info AND a simple ps2 to USB converter would work then I'd guess it MIGHT work with the mouse drivers i've seen discussed elsewhere. There is a fair few conditions to meet but mostly at a low level by the look of things. Not much info to go on and also it loks like they are using a pen of some kind there. That makes it less useful I think?
Click to expand...
Click to collapse
I am sure you don't need a pen, there are lots of touch screen out there, for example this one: http://cgi.ebay.co.uk/ws/eBayISAPI....tToStoreCat&refwidgettype=cross_promot_widget
I just don't know if we simply plug in the vga cable from our Athena to the touch screen, will that work?
Possibility not, I can kind of see a usb cable there, how about plug that in the usb host ? but then maybe we still need to install the driver.....
Basically, what I am trying to do here to use get a bigger screen to show for Athena in a car. So, I will then have much bigger TOMTOM, and also can watch movie or go on internet.
Any good suggestion guys? Thanks a lot for all your help.
I cant see any specks on that, but i did find another that said it was usb, if thats the case theres no reason why it shouldnt work.
johnwalk said:
I cant see any specks on that, but i did find another that said it was usb, if thats the case theres no reason why it shouldnt work.
Click to expand...
Click to collapse
it seems like they all need to install driver, do you think it will work without driver?
thats the only problem, does it need specialist drivers? I havnt been able to come up with an answer yet.
But i wont be buying one for the car, somone nicked me vario yesterday from the car so not even chancing the Ameo.
I was just going to buy a little 7" tv I bought this tiny Keyboard out of Maplin on offer. thought it would look sweet in the car. but this is giving me other ideas, anybody shed light!
They ALL need specialist drivers.
Touchscreen is absolute position, mouse is relative. You NEED the custom driver. It may be possible, but I dont know how.
1. I think on the Pic is a S-Video cable not PS2.
(The specs say nothing about PS2)
2. Till now i just saw Touchscreens with USB and like Profer said they all
need secial drivers.
Basmelek said:
1. I think on the Pic is a S-Video cable not PS2.
(The specs say nothing about PS2)
2. Till now i just saw Touchscreens with USB and like Profer said they all
need secial drivers.
Click to expand...
Click to collapse
Thanks for your answer, i just ask one of the seller there on ebay, and the answer I got is I will be able to plug the VGA cable in, that will enable the screen to display, but in order to get the touch screen working, I also need to plug in a USB, so now the question is whether the USB host will work on this....and of course the driver need to work too
The 4in1 cable should allow the USB to connect, but you would have to convince 3m or somebody (make most of the drivers) to write a PPC driver.
As almost ALL ppc's are touchscreen, they probably wouldnt bother for the 1 customer that wants it
If you know a coding guru who understands USB, then get them to do it for you. Either way, I doubt its gonna happen.
IT WORKS!
Hi, everybody.
Don't know how many of u are interested in this issue, but anyway:
1. just grab the generic touch screen driver for win ce 5.0 from the usual site.
2. Copy 'n paste the UsbTouch.dll file into windows root directory of the X7500.
3. Plug the video cable (the one with usb connector).
4. Plug the xenarc TS usb cable in the abovementioned cable.
5. Wait for the dialogue box asking for the driver to be used with the unknown device.
6. Write the name of the .dll file copied into the device.
7. Press ok.
et voilĂ , les jeux sont fait! It woks perfectly, without even the need for calibration.
This is (even if it lacks some of the fun of setting up a carputer from scratch) the ultimate carputer, perfect integration among all application and real time (quite) OS.
Cheers.
Cyberlancer.
Pyrofer said:
The 4in1 cable should allow the USB to connect, but you would have to convince 3m or somebody (make most of the drivers) to write a PPC driver.
As almost ALL ppc's are touchscreen, they probably wouldnt bother for the 1 customer that wants it
If you know a coding guru who understands USB, then get them to do it for you. Either way, I doubt its gonna happen.
Click to expand...
Click to collapse
Your on the right track with this answer,
Look for a touch screen that has a protocol that is treated as a standard HID ( Human interface device ) Ie:mouse, keyboard etc.etc.
if you can find such a device then the built in drivers for plug and play HID's will work fine.
otherwise the rest are right
Did this really work??? What car? This would simply be quite fantabulous.
cyberlancer said:
Hi, everybody.
Don't know how many of u are interested in this issue, but anyway:
1. just grab the generic touch screen driver for win ce 5.0 from the usual site.
2. Copy 'n paste the UsbTouch.dll file into windows root directory of the X7500.
3. Plug the video cable (the one with usb connector).
4. Plug the xenarc TS usb cable in the abovementioned cable.
5. Wait for the dialogue box asking for the driver to be used with the unknown device.
6. Write the name of the .dll file copied into the device.
7. Press ok.
et voilĂ , les jeux sont fait! It woks perfectly, without even the need for calibration.
This is (even if it lacks some of the fun of setting up a carputer from scratch) the ultimate carputer, perfect integration among all application and real time (quite) OS.
Cheers.
Cyberlancer.
Click to expand...
Click to collapse

Access USB device directly. Is it possible?

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

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

usb devices attached to jade is it possible ?

well i started some searches and found out an app that enables jade to recognize some usb devices like a mouse key board stuff like this so
i was askin does any one has tried it and is it possible to plug a flash memory to jade puttin in consideration the plug of those devices needs an external power intake.
the app is called Zeno_USB_Host_Drivers
draconian said:
well i started some searches and found out an app that enables jade to recognize some usb devices like a mouse key board stuff like this so
i was askin does any one has tried it and is it possible to plug a flash memory to jade puttin in consideration the plug of those devices needs an external power intake.
the app is called Zeno_USB_Host_Drivers
Click to expand...
Click to collapse
The generic answer to your question is no, unless you are hooking up your smartphone to a computer with ActiveSync loaded, it will not be recognized by USB devices like a scanner, camera, keyboard, etc. unless special drivers are installed onto your smartphone.
However, I Yahoo'd Zeno_USB_Host_Drivers and came up with this website: http://www.cnpda.com.cn/thread-223519-1-1.html
It appears that if those Zeno drivers are installed to your smartphone, you will be able to connect to devices listed on that page. That page only lists one phone and WM 6.1 which makes me very leery about trying to download and install it. I would wait until more is known about these drivers if I were you. . .
I found this thread:
http://forum.xda-developers.com/showthread.php?t=480899
And the guy that made it says it's safe to try:
"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."
So I'd just try and see if it works if I were you.
Did it work on the Jade? Very interested to know seeing as most phones do not appear to work.

Using a phone as input device

I know you are able to use it as mouse or keyboard replacement for a PC (I assume this covers Mac as well), but how about another Android device?
Here is the thing, I bought an Android-on-a-stick device. You plug it into your TV's HDMI port and have ICS on the screen. Off course, this device doesn't come with any input options, but relies on USB, BT or WiFi for input. Since I have a HTC Desire that I no longer use except as music player, I thought it would be nice if I could incorporate something like GRemote but for another Android device, I suppose primary setup has to through USB, but after that it would be so much easier to use the screen of the Desire. Has anyone accomplished something like this, or are someone working on it and in need of Beta testers?

Categories

Resources