Sharing character devices between an Android phone and a Linux PC?
I am an amateur and need some help.
I am working on a project, where character devices on an android phone must show up on the /dev directory of a linux PC. It can be shared via bluetooth /wi-fi or maybe USB. For example character devices like camera and accelerometer of the phone must me shared seamlessly from a Linux PC so that the PC thinks that these devices are its own. Here is the framework on how to implement it. http://s19.postimage.org/dv0ba4rg3/y_Cuxz_L.jpg Server- Phone, Client- PC This was taken from an IEEE paper called "Remote Virtual Peripheral Framework: Enabling Dynamically Composed Devices". The paper implemented this on a nokia maemo device. I figure, it can be done on an android device too, once its rooted.(I have a Desire HD and going root it) I don't know where to start. I have looked all over the net, but nothing of this sort is present. I have learnt about creating device drivers in linux, compiling them and adding them as modules and making them show up in /dev. Since “everything is a file” on linux, Can it be shared , using bluetooth library or something. Please direct me where to go next. Thank you. |
Here's how to start
1. Root the Android - xda-developers.com's forums or cyanogenmod.com's wiki are probably searchable on this. If the searches are blank, it may not be rootable. 2. It sounds like you are putting a rare amount of messing and software upon yourself to make something happen for which I see no huge advantage. My old Android has an Arm6 cpu running up to 528Mhz, "multitasking ability", internet access and a "hard disk" with space, a "sound card" and "graphics". Does one University student smell the project of another? Running the pc from the Android, that might be more interesting. |
Quote:
Quote:
i quote from the paper: Which was actually submitted by Nokia research Labs Quote:
Quote:
I know there are applications that can do that. But this would be different- it would apply to all the devices.And there is no need to install a seperate app to do this. Quote:
|
Ok, I retract.
You are going to have this problem: linux wants to be secure, users, groups, and doing stuff as root is generally a bad idea. So now root is available in the ether. . . Enjoy the challenge! Next year's project for me is in fibre optics. |
All times are GMT -5. The time now is 11:46 AM. |