You'll need to set correctly the permissions to access to it from any application (if you want) or a group. You can do it at boot time or editing the devices.c file, adding a row to the array. By the way you should wrap it with some daemon/Manager/Provider to guarantee access to all and/or asyncronous access. Check alarm stuff.
On 30 Ott, 11:33, pierre <phper...@gmail.com> wrote: > hi rabbit, > > Have a pointer to the file '/dev/monolcd' and read it - care it's a > character device I suppose. > > -- > Pierre > > On 28 oct, 03:29, rabbit <lerr...@gmail.com> wrote: > > > Could anyone guide me how to do it? I cannot find any result from > > website. > > > On 10月22日, 上午11時59分, rabbit <lerr...@gmail.com> wrote: > > > > I want to add a new device. It's an alpha-numeric (16X2) monochrome > > > LCD. I have finished the driver of kernel, and I can see the device > > > from console. The device's name is "/dev/monolcd". > > > Now I don't know how to control it from application. Can anyone tell > > > me how to do it? --~--~---------~--~----~------------~-------~--~----~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---