Create inode at startup

by Luca Belluccini » Sat, 31 Jan 2009 14:43:06 GMT


Sponsored Links
 I am using emulator environment for testing some device drivers.
At startup, I'm executing insmod mymodule.ko to load my module (for a
fake device).
Now I need to create my inode. Now, I'm doing it by using busybox.
I think there is a "standard way" to do it. But there is no
documentation.
Should I create it manually into mymodule? How to set permissions
after that? Maybe during init process?


--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



Other Threads

1. Problem with writing on Bitmap

Hi friends,

In my application I am using Bitmap, on that I am writing some data.

I dont know why suddenly my app is getting exited.

here is the log:
I/DEBUG   (   32): *** *** *** *** *** *** *** *** *** *** *** *** ***
*** *** ***

I/DEBUG   (   32): Build fingerprint: 'android-devphone1/
dream_devphone/dream/trout:1.5/CRB43/148830:userdebug/adp,test-keys'

I/DEBUG   (   32): pid: 1152, tid: 1186  >>>
com.blumedialab.karaoke_smooth <<<

I/DEBUG   (   32): signal 7 (SIGBUS), fault addr 00000000

I/DEBUG   (   32):  r0 00000080  r1 00000000  r2 00000060  r3 17808000

I/DEBUG   (   32):  r4 0000000c  r5 5e020000  r6 452f36d0  r7 452f36e8

I/DEBUG   (   32):  r8 00190690  r9 ffffff80  10 00000152  fp 00000200

I/DEBUG   (   32):  ip bc040000  sp 452f3698  lr afc1d698  pc
ace07fcc  cpsr 20000010

I/DEBUG   (   32):          #00  pc 00007fcc  /system/lib/libcorecg.so

I/DEBUG   (   32):          #01  lr afc1d698  /system/lib/libm.so

I/DEBUG   (   32): stack:

I/DEBUG   (   32):     452f3658  0000000b

I/DEBUG   (   32):     452f365c  ac12736c

I/DEBUG   (   32):     452f3660  0009a1b8  [heap]

I/DEBUG   (   32):     452f3664  00000000

I/DEBUG   (   32):     452f3668  ac12736c

I/DEBUG   (   32):     452f366c  001f5130  [heap]

I/DEBUG   (   32):     452f3670  452f3d10

I/DEBUG   (   32):     452f3674  beb580f4  [stack]

I/DEBUG   (   32):     452f3678  00000001

I/DEBUG   (   32):     452f367c  5e020000

I/DEBUG   (   32):     452f3680  00000000

I/DEBUG   (   32):     452f3684  00000060

I/DEBUG   (   32):     452f3688  17808000

I/DEBUG   (   32):     452f368c  afc1d6ac  /system/lib/libm.so

I/DEBUG   (   32):     452f3690  df002777

I/DEBUG   (   32):     452f3694  e3a070ad

I/DEBUG   (   32): #00 452f3698  00000074

I/DEBUG   (   32):     452f369c  00000080

I/DEBUG   (   32):     452f36a0  452f37ec

I/DEBUG   (   32):     452f36a4  00000020

I/DEBUG   (   32):     452f36a8  00000000

I/DEBUG   (   32):     452f36ac  00000080

I/DEBUG   (   32):     452f36b0  fffffff4

I/DEBUG   (   32):     452f36b4  00000074

I/DEBUG   (   32):     452f36b8  00000180

I/DEBUG   (   32):     452f36bc  00190690  [heap]

I/DEBUG   (   32):     452f36c0  ffffff80

I/DEBUG   (   32):     452f36c4  beb58144  [stack]

I/DEBUG   (   32):     452f36c8  00000200

I/DEBUG   (   32):     452f36cc  ac03e01c  /system/lib/libsgl.so

I/DEBUG   (   32):     452f36d0  00000147

I/DEBUG   (   32):     452f36d4  ac0a4ad8  /system/lib/libsgl.so

I/DEBUG   (   32):     452f36d8  452f36e8

I/DEBUG   (   32):     452f36dc  00000147

Can you please help me to solve this.

Thanks,
Manoj.
--~--~---------~--~----~------------~-------~--~----~

2. Why Android market is still bad news for devs ...

I agree that it is a little disappointing that there is no better protection
scheme, and that the losses hurt.

A quick story: our app, PhoneMyPC, a PC remoting app is a combination
application and hosted service. The phone and PC use our servers to
cooperatively get connected for each remote control session. This makes
PhoneMyPC ideal for people inside corporate firewalls, or who just don't
want to bother configuring for RDP or VNC.

We are nearing the end of a [protracted] Beta program. In the beginning, we
were hosting on port 443. Several weeks ago we switched to a different port
(temporarily), and kept both services running while users downloaded the new
release.

Most people moved to the new server within a week, but a large body (half of
all connections using our service) never moved at all. After more than two
weeks, we discontinued service on the old port, and there has not yet been a
single support contact as a result.

We made the decision to disconnect the old service even though it was still
being well used because we discovered our app being sold illegally on one of
the websites talked about in this group.

So, our "retention for pay" rate is also about 70%, yet we believe as many
as half of the people using our application (or at least possessing it) have
acquired it outside of the Android Market (and hence are not automatically
getting updates).

For our purposes, Google could trivially enable us to protect our resources
by adding any phone identifier into the Google Checkout records, such as
phone number or IMEI, so that we could tie phones running our app back to
thei purchase records.

Scott,
SoftwareForMe.com


On Thu, Oct 29, 2009 at 8:12 AM, admin.androidsl...@googlemail.com <





-- 
Warm regards,
The PhoneMyPC Team

--~--~---------~--~----~------------~-------~--~----~

3. Including 3rd party jars in Android App

4. SDK r3 on Ubuntu 9.10

5. UnsatisfiedLinkError in Native Method

6. Browser not working when behind a proxy

7. get incoming call number