How to Build kernel with android build system?

by Jackie Wu » Wed, 18 Feb 2009 03:11:55 GMT

Sponsored Links
 Android doesn't use udev to handle the uevent from kernel but directly
use the init process to handle. By default, it will create the device
file under /dev with infor from uevent. There is no udev descriptor
and you have to specify the device file path in source code directly.

You can refer to system/core/init/init.c and deviced.c. That's code to
handle that.

Jackie (Weihua) Wu

If your driver and device have no problem, the device file should be created.



How to Build kernel with android build system?

by Greg KH » Tue, 10 Mar 2009 18:21:55 GMT


udev is not on the android system image, so unless you added it, nothing
is catching the uevents.


greg k-h



Sponsored Links

How to Build kernel with android build system?

by Manish Sharma » Sat, 14 Mar 2009 06:52:43 GMT

 Hi Greg,
Thanks for your response. I know udev is not there in Android rather init is
taking care of handling uevent. Actually on my system the init was stucking
in forever loop. When I checked the process status flash_recovery and
netstart were going in Z state.

After commenting following 2 services in init.rc the hotplug is working

#service flash_recovery /system/bin/flash_image recovery
#    oneshot
#service netstart /system/bin/netcfg eth0 dhcp
#    user root
#    oneshot

But still the system is not stable. Like when I try to play music/video it
gives an error "Application not responding" and init again goes in forever
loop. The process status of "app_process" goes to Z state.




Other Threads

1. Cara menghemat bandwidth di android

Ternyata android banyak sync dan background app yg saya ga bisa liat,
kalopun saya KILL, muncul lagi terus, dan itu ternyata menyedot banyak byte
koneksi internet.
Mengingat saya pake kartu im3 yang pelit internetannya, saya harus menghemat
pemakaian bandwidth.
Pertanyaannya, bagaimana caranya mematikan background proses yang tidak saya
perlukan (yang nyedot bandwidth), saya cuman butuh online di YM, fb dan
email (K-9) saja,
yang laen akan saya update/sync saat pakai wifi saja, adakah app yg bisa
melakukan itu?
Lana's (Acer Stream/Froyo)


2. terima kasih banyak

Mau mengucapkan bqnyak terima kasih atas bantuannya menyelesaiakan masalah
inject hh saya yang sempet trouble.
Terima kasih banyak buat mas yudha,mas lutfi,bang iwan,om piet yg blom
sempet maen ke ttokony,mas mada...terima kasih buat waktu dan sharenya......


3. Mirroring a RelativeLayout

4. service process priority: startService() vs bindService()

5. Can i manipulate JavaScript events or functions in WebView ?.

6. Long server process...solution

7. My Android device is port scanning, Port 137. Anyone heard of this?