init.S78_M32_P36.rc 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. on early-init
  2. insmod /startup/modules/bcm5892-rtc.ko
  3. start ueventd
  4. on init
  5. insmod /startup/modules/devices_base.ko
  6. insmod /startup/modules/S78_M32_P36.ko
  7. insmod /startup/modules/ioconfig.ko
  8. insmod /startup/modules/pm_bcm5892.ko
  9. #USB support
  10. insmod /startup/modules/bcm589x-dwccom.ko
  11. insmod /startup/modules/bcm589x-otg.ko
  12. insmod /startup/modules/tty-devices.ko
  13. insmod /startup/modules/tty-host.ko
  14. #insmod /startup/modules/bcm589x-usb-host.ko
  15. #base drivers
  16. insmod /startup/modules/pmu_dummy.ko
  17. insmod /startup/modules/misc.ko
  18. insmod /startup/modules/input_base.ko power_key=223 press_time=2
  19. insmod /startup/modules/keypad_matrix.ko
  20. #power on gprs
  21. if property:ro.fac.radio!= write /sys/devices/platform/misc/gprs/cmd 0
  22. #card drivers (sci msr pcd)
  23. insmod /startup/modules/sci_bcm5892_ncn8025.ko
  24. # insmod /startup/modules/msr.ko
  25. # insmod /startup/modules/pcd_base.ko
  26. # insmod /startup/modules/pcd_rc663.ko
  27. #security drivers (bbl, sec, verify)
  28. insmod /startup/modules/bcm5892_bbl.ko
  29. insmod /startup/modules/bcm589x-sec.ko
  30. insmod /startup/modules/verify.ko
  31. #sound driver
  32. if property:ro.fac.audiocard=CS4344-CZZR insmod /startup/modules/bcm589x_i2s.ko
  33. #log server driver
  34. insmod /startup/modules/logger.ko
  35. #printer driver
  36. # if property:ro.fac.printer=LTPJ245G insmod /startup/modules/sii_printer.ko
  37. # if property:ro.fac.printer=PRT48AF insmod /startup/modules/prt_printer.ko
  38. chmod 666 /sys/power/state
  39. chmod 666 /sys/class/backlight/pwm-backlight/brightness
  40. #time of back light auto active, unit:Second
  41. setprop persist.sys.backlighttime 60
  42. setprop persist.sys.sleeptime 0
  43. setprop persist.sys.sleepwaittime 1
  44. # uart symlink
  45. symlink /dev/ttyAMA0 /dev/ttymodem
  46. symlink /dev/ttyAMA1 /dev/ttywl
  47. # usb ethernet driver
  48. #insmod /startup/modules/asix.ko
  49. # create some symlinks
  50. symlink /dev/input/event0 /dev/keypad
  51. symlink /dev/input/event1 /dev/keypad_ped
  52. symlink /dev/graphics/fb0 /dev/fb
  53. symlink /dev/graphics/fb1 /dev/fb_ped
  54. on post-fs
  55. #LCD driver
  56. # symlink /startup/firmware/lcd_320x240_r90.rle /startup/firmware/lcd.watermark
  57. # write /sys/class/backlight/pwm-backlight/brightness 0
  58. insmod /startup/modules/lcd_fb.ko
  59. insmod /startup/modules/lcd_hw_smc.ko
  60. insmod /startup/modules/lcd_panel_BTG_12864BU.ko
  61. service servicemanager /usr/bin/servicemanager
  62. class core
  63. user root
  64. group root
  65. critical
  66. onrestart restart systemservice
  67. onrestart restart ipservice
  68. service ipservice /usr/bin/ipservice
  69. disabled
  70. user root
  71. group root
  72. #service pedd /usr/bin/pedd
  73. # user root
  74. # group root
  75. service modemd /usr/bin/modemd
  76. disabled
  77. user root
  78. group root
  79. #service keyman /usr/bin/keyman
  80. # user root
  81. # group root
  82. service xcb /usr/bin/xcbd
  83. disabled
  84. user MAINAPP
  85. group MAINAPP
  86. service crashd /usr/bin/crashd
  87. user MAINAPP
  88. group MAINAPP
  89. service systemservice /usr/bin/systemservice
  90. user root
  91. group root
  92. on property:persist.sys.ipservice.enable=1
  93. start ipservice
  94. on property:persist.sys.ipservice.enable=0
  95. stop ipservice
  96. on property:persist.sys.modemd.enable=1
  97. start modemd
  98. on property:persist.sys.modemd.enable=0
  99. stop modemd
  100. on property:persist.sys.xcb.enable=1
  101. start xcb
  102. on property:persist.sys.xcb.enable=0
  103. stop xcb