Turn Phone into USB Keyboard without low level kernel modifications. - General Questions and Answers

Hello folks,
I am stuck and I hope you guys can help me out with a tip or two.
What I am trying to do is:
1) Connect my smartphone to a desktop through a USB cable (or OTG cable or anything that will do the job) and make the desktop think that a usb keyboard was connected to it and not a smartphone (hence no need for drivers installation).
2) After usb cable connection, the smartphone will be able to send keystrokes to the desktop.
Points of consideration:
* The desktop has no bluetooth nor wireless connections and nothing can be installed in it.
* installing an app (downloaded from store) into the smartphone is possible, but with no kernel modifications or root, I mean out of the box solution.
From reading those two great links:
[1] https://stackoverflow.com/questions...ogram-android-to-act-as-physical-usb-keyboard
[2] http://forum.xda-developers.com/showthread.php?t=1871281
It appears my best option is to use a USB cable with a "special hardware level converter " and attache it both to the desktop and smartphone. It will tell the desktop it is a USB keyboard and receive keystrokes from the smartphone, before forwarding them to the desktop.
My question is:
Does such cable exist?
If yes, where can I find it?
If not, is there a company that can help make it?
Thanks guys, Mozart

Related

USBHost Driver app by Teksoft

Has anyone tried this app on HD2
http://www.teksoftco.com/index.php?section=usbinput
USBInput is an advanced HID Driver for the Windows Mobile platform. Using it, you can easily connect USB keyboards or mouses to your Pocket PC's USB Host connector, and start using your favorite input device.
Plug-in a simple optical USB Mouse and get a real cursor on the screen of your mobile device. Or connect an USB Keyboard and type emails faster, browse the internet easier, or play games more comfortable. USBInput brings more fun and more productivity!
I desperately want to try it ... but i need microUSB male to USB female converter to try anything ... If someone has it.... please give it a go...
bshakil said:
Has anyone tried this app on HD2
http://www.teksoftco.com/index.php?section=usbinput
USBInput is an advanced HID Driver for the Windows Mobile platform. Using it, you can easily connect USB keyboards or mouses to your Pocket PC's USB Host connector, and start using your favorite input device.
Plug-in a simple optical USB Mouse and get a real cursor on the screen of your mobile device. Or connect an USB Keyboard and type emails faster, browse the internet easier, or play games more comfortable. USBInput brings more fun and more productivity!
I desperately want to try it ... but i need microUSB male to USB female converter to try anything ... If someone has it.... please give it a go...
Click to expand...
Click to collapse
There is no USB host support in our Leo, so makes not much sense to play with it.
"you can easily connect USB keyboards or mouses to your Pocket PC's USB Host connector"
BlueInput might help instead, but the current version works with the Microsoft Bluetooth stack only.
actulay it seams that it does have host support
check this out
h t t p .. w w w
htcphones.net/htc-patented-usb-host-adapter
As far as I remember there is currently a person on this forum that was working on a usb host but it had to have external power since the micro usb does not supply 5v like a mini usb can. But it was working and with a usb hub that had external power he was running a keyboard,mouse,card reader.
So do some actual searching and you will find the thread.

[Q] android tablet to use as point of sale

Hi. At the company I work for, we are looking for a tablet pc to use as point of sale on small stores. The idea is to stop using desktop pcs, and use tablets instead.
The exact requirement is a tablet that is:
1. Cheap (US$ 500 max)
2. Has USB Host ports or USB OTG. USB accesories to be connected include keyboard, USB to Serial, USB to Parallel converter, or USB Dot Matrix Ticket printer(Epson TMU), and a USB Wired network adapter.
3. If possible, one that has Wired network conectivity(RJ-45)
4. Has unlockable bootloader. It's best if it's provided by the manufacturer, but as long as it works, it's okay.
5. Tha manufacturer provides kernel source code.
Other conectivity options, such as WiFi or 3G really don't matter, as those will be disabled, because they are not needed.
The tablet would go inside a specially designed case, together with the ticket printer, the power adapters for both, and maybe the keyboard.
Any suggestions? Thanks in advance

[Q] Is it possible to QuickCharge AND Sync?

Hello Com,
Is it possible to be able to quick charge a tablet while having an active data connection at the same time?
Why I ask?
I want to build a solution where a tablet is connected to a pc. Both need to have a steady data connection as they share information and custom events. The tablet is for interacting with the user an will run a custom app. The computer is for controlling and operating other stuff the tablet is not capable of. Because of easy and fast substitutions, the tablet will have to stay in delivery condition - so modding the tablets hard-/software is out of question. The solution runs 24/7 and my current tests show that the power of the tablet is drained faster than it is recharged via the usb connection to the computer.
I tried to find accessories, but did not find any. All I found were ambigious information.
I know that the usb specification does not allow quick charge (more than 450mA) and a simultaneous data connection via a (single) cable. I thought of something like the splitted y-cable we know from external harddrives. Or maybe a custom adapter were you plug in an additional charger like those active usb hubs. I want to stay away from wireless data transmission (like using bluetooth and connecting a quick charger) if possible.
Therefor I ask of the general possibility of how to accomplish my task. If it is only possible with refaining from usb at all, then please tell me how.
(Please do not suggest solutions, without (at least theoretically) verifying them yourself first.)
Great thanks in advance.

[Q] Looking for confirmation - no USB accessory support

Hello.
I have a machine with a USB host and a USB accessory port.
I have successfully got an Android tablet to talk to the machine, using an OTG cable which puts the tablet into Host Mode (using the machine accessory port).
This has a couple of problems, one of which is charging while in host mode.
I am now trying to keep the tablet in accessory mode, and connect to the host port on the machine.
My research suggests that Android has no support for running as the accessory.
The ADK sample code clearly seems to intended to run on a host (as it enumerates accessories).
I know the tablet supports an accessory mode because when I plug it into a PC, it mounts as camera or storage.
I can understand why they would not expect a keyboard or hub to be running Android, but there do seem to be some legitimate use cases.
Can anyone confirm my understanding, that there is no way to run Android as the accessory ?
Thanks.
I have since found the Android Open Accessory Protocol. Using information from ver 1 and 2 of the protocol, I found enough info to switch the android device into the special android-accessory mode. Note that on Linux, you may need to change the adb program so it is owned by root if you want to run the debugger over the new connection.

How can I display the broken phone screen on a computer?

Hello, I am a new user of this forum and wanted to find out is there an application for downloading on a computer that allows you to use it from the phone on the computer display? I'm asking because the touch screen it does not work on the phone and I have to enter an important application and make a copy backup and I wanted to do it on my computer.
if only touch doesnt work, use your usb C to usb adapter (came with the phone) or if you lost that buy a usb c to usb otg- adapter.
connect a computer mouse to your phone, don you use the mouse to click.
not sure if this works if you cant use touch on your phone:
https://www.xda-developers.com/scrcpy-control-android-on-pc/
last way would be using adb (please dig deeper in that topic by yourself).
Regards

Categories

Resources