找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 7468|回复: 1
打印 上一主题 下一主题
收起左侧

LG GW620串口开启之旅

[复制链接]
跳转到指定楼层
楼主
huts 发表于 2013-6-14 19:28 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
                                                                                                1,hack phone
买了手机后,可能是出于专业吧,并不只是为了找刷机而找ROM,而是想hack it,google下发现了XDA里有"LG GW620 Development/Kernel hacking"一帖,接着发现了openetna和openeve。再到处google,无意间发现了gw620的手册,里面是详细的资料,包括原理图 等。(详见:[3][4][5][6][7])

2, 资料的研究
闲着没事就看看如何通过源码编译出ROM,可是又怎么进行调试自己的编译成果呢?如果没办法调试那不只是多了自己编译的一个高级刷机吗?于是也研究一下那 份资料,发现它有几个串口,可是怎么用呢?

3,别人的成功
终于发现了别人成功使用串口的案例,自己也想试一下,可是没手机换来用,平时也就只有它可用。(详见:[1])

4,RS232与TTL的理解
前几天换了手机,于是开始了自己盼了许久的实验。
知道手机的TX和RX都是TTL的,以为USB转串口的也是TTL,所以直接接上RX,可是出来的都是乱码,开始还以为手机自己出来的是加密数据,也以为 是由于编码格式不对,于是又在网上乱google了几天,什么英文和韩文、俄文的文章也看了不少,也乱试了好久,结果还是无果。
后来经过硬件的同学帮忙,才知道原来只接RX是不行,这样会造成乱码的。晕了半天,原来如此。
然后接上GND,可是为什么还是一样乱码!?再问,原来USB转串口的是RS232,并不是TTL。
最后借了硬件一个TTL串口转USB,终于看到了它的真面目。哈哈。

无电池,通过USB上电
[KEY] is_qwerty_keypad_pressed()
ptn 0 name='usd' start=285 len=4
ptn 1 name='pkg' start=289 len=44
ptn 2 name='boot' start=400 len=55
ptn 3 name='system' start=455 len=1600
ptn 4 name='userdata' start=2589 len=1506
ptn 5 name='lgdrm' start=2055 len=22
ptn 6 name='cache' start=2077 len=512
nandcfg: aa5400c0 0004745e (initial)
nandcfg: e85408c0 0004745e (used)
nandid: 5510bcad maker ad device bc
LGE: changed to CFG0 = e85408c0, CFG1 = 0004745e
block 3071 is bad
block 3348 is bad
block 3555 is bad
block 3903 is bad
USD start 0x0000011d, blocks 0x00000004
flash_read_image: failed (256 errors)
CANNOT READ USD offset 0x[00000000]
flash_read_image: failed (192 errors)
CANNOT READ USD offset 0x[00020000]
flash_read_image: failed (128 errors)
CANNOT READ USD offset 0x[00040000]
[fota_check] read_usd Error
[fota_check] read_usd[1] 0x00000000
err_reset_detect_status is 0. Magic1 : 0x00000000, Magic2 : 0x00000000

display lg logo
Displaying PowerOn LG Logo image
[IMG] Display_565rle_image() imagedata size : 16316
[MUIC] current charger type is 2
check_charger()
[CHG] Power_on_Status : 0x00000020, Batt_Valid : 0
[CHG] Charger attached
[BATT] Battery is charging? 0
[BATT] valid = 0. Charging = 0
[BATT] Level = 0%. Volt = 0mV. Temp = 0C
[BATT] Battery is not charging!!
[IMG] Displaying image #15
[BATT] No Charging!! or Battery is Dummy!!
[KEY] is_qwerty_keypad_pressed()
[KEY] is_key_pressed() ret : 0x00000000
[BATT] Power_on_Status : 0x00000020
[BATT] __________________________________________________________________

正常启动
[KEY] is_qwerty_keypad_pressed()
ptn 0 name='usd' start=285 len=4
ptn 1 name='pkg' start=289 len=44
ptn 2 name='boot' start=400 len=55
ptn 3 name='system' start=455 len=1600
ptn 4 name='userdata' start=2589 len=1506
ptn 5 name='lgdrm' start=2055 len=22
ptn 6 name='cache' start=2077 len=512
nandcfg: aa5400c0 0004745e (initial)
nandcfg: e85408c0 0004745e (used)
nandid: 5510bcad maker ad device bc
LGE: changed to CFG0 = e85408c0, CFG1 = 0004745e
block 3071 is bad
block 3348 is bad
block 3555 is bad
block 3903 is bad
USD start 0x0000011d, blocks 0x00000004
flash_read_image: failed (256 errors)
CANNOT READ USD offset 0x[00000000]
flash_read_image: failed (192 errors)
CANNOT READ USD offset 0x[00020000]
flash_read_image: failed (128 errors)
CANNOT READ USD offset 0x[00040000]
[fota_check] read_usd Error
[fota_check] read_usd[1] 0x00000000
err_reset_detect_status is 0. Magic1 : 0x00000000, Magic2 : 0x00000000

display lg logo
Displaying PowerOn LG Logo image
[IMG] Display_565rle_image() imagedata size : 16316
[MUIC] current charger type is 8

kernel @ 10008000 (2907972 bytes)
ramdisk @ 11000000 (510079 bytes)

5,串口在linux kernel中的开启
正常试动的时候信息是如此地少,在kernel里又是怎么使用串口的呢?只有这样才能进行调试android啊。
网上这方面的信息很少,只有几百个英文单词的描述。(详见[2])
而且并不是在openetan或openeve的开源代码(这两件来自LG的开源代码),只是在google的开源代码中成功了,可是这离使用起来还真是 远着呢,因为手机的很多硬件驱动也只有LG的代码,移植起来那时间和精力可不允许啊。
我也试过很多的串口驱动名,还是不行,于是研究openeve的代码(这是最后维护和更新的一个开源内核),结果还真被我搞定了,而且改动也很小,我这可 是第一人啊,哈,神了!(想到XDA上哄一下我的成果,哈)
实现如下:
通过svn checkout openeve (详见[7])
export PATH=$PATH:/opt/android/eclair/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin
export PATH=$PATH:/opt/android/building/out/host/linux-x86/bin
make CROSS_COMPILE=arm-eabi- ARCH=arm eve-perf_defconfig
make CROSS_COMPILE=arm-eabi- ARCH=arm menuconfig
然后打开 CONFIG_MSM_DEBUG_UART=3,CONFIG_MSM_DEBUG_UART3=y,CONFIG_MSM_SERIAL_DEBUGGER=y,CONFIG_MSM_SERIAL_DEBUGGER_CONSOLE=y
再修改:CONFIG_CMDLINE="no_console_suspend=1 console=/dev/ttyMSM2"

接着修改文件drivers/serial/msm_serial_debugger.c
diff --git a/trunk/drivers/serial/msm_serial_debugger.c b/trunk/drivers/serial/m
index 88b6784..7c05148 100644
--- a/trunk/drivers/serial/msm_serial_debugger.c
+++ b/trunk/drivers/serial/msm_serial_debugger.c
@@ -209,6 +209,7 @@ static void dump_irqs(void)
{
        int n;
        dprintf("irqnr       total  since-last   status  name\n");
+#if 0 // fi9
        for (n = 1; n < NR_IRQS; n++) {
                struct irqaction *act = irq_desc[n].action;
                if (!act && !kstat_cpu(0).irqs[n])
@@ -220,6 +221,7 @@ static void dump_irqs(void)
                        (act && act->name) ? act->name : "???");
                last_irqs[n] = kstat_cpu(0).irqs[n];
        }
+#endif
}

static void debug_exec(const char *cmd, unsigned *regs)

开始编译
make CROSS_COMPILE=arm-eabi- ARCH=arm zImage

打包
mkbootimg \
--cmdline 'no_console_suspend=1 console=/dev/ttyMSM2' \
--kernel /opt/android/openeve/trunk/arch/arm/boot/zImage \
--ramdisk /opt/android/building/out/target/product/generic/ramdisk.img \
-o boot-new.img

让gw620进入fastboot模式下后,通过fastboot启动image

/opt/android/android-sdk-linux_86/platform-tools/fastboot boot boot-new.img
[KEY] is_qwerty_keypad_pressed()
ptn 0 name='usd' start=285 len=4
ptn 1 name='pkg' start=289 len=44
ptn 2 name='boot' start=400 len=55
ptn 3 name='system' start=455 len=1600
ptn 4 name='userdata' start=2589 len=1506
ptn 5 name='lgdrm' start=2055 len=22
ptn 6 name='cache' start=2077 len=512
nandcfg: aa5400c0 0004745e (initial)
nandcfg: e85408c0 0004745e (used)
nandid: 5510bcad maker ad device bc
LGE: changed to CFG0 = e85408c0, CFG1 = 0004745e
block 3071 is bad
block 3348 is bad
block 3555 is bad
block 3903 is bad
USD start 0x0000011d, blocks 0x00000004
flash_read_image: failed (256 errors)
CANNOT READ USD offset 0x[00000000]
flash_read_image: failed (192 errors)
CANNOT READ USD offset 0x[00020000]
flash_read_image: failed (128 errors)
CANNOT READ USD offset 0x[00040000]
[fota_check] read_usd Error
[fota_check] read_usd[1] 0x00000000
err_reset_detect_status is 0. Magic1 : 0x00000000, Magic2 : 0x00000000
display lg logo
Displaying PowerOn LG Logo image
[IMG] Display_565rle_image() imagedata size : 16316
stop boot... and set jtag to arm11 mode...
usb: online (highspeed)
> download:00328000
recv data addr=10008000 size=00328000
> boot
bootimg: kernel addr=10008000 size=002fed5c
bootimg: ramdisk addr=11000000 size=0002838a
booting linux...
cmdline: ''
cmdline: 'no_console_suspend=1 console=/dev/ttyMSM2'
CMDLINE: 'no_console_suspend=1 console=/dev/ttyMSM2'
Uncompressing Linux... done, booting the kernel.
debug> [    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 2.6.32.9 (pxw@ubuntu910) (gcc version 4.4.0 (GCC) ) #15 PREEMPT Wed Jul 11 18:29:29 CST 2012
[    0.000000] CPU: ARMv6-compatible processor [4117b362] revision 2 (ARMv6TEJ), cr=00c5387f
[    0.000000] CPU: VIPT aliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine: Eve Board (LGE GW650)
[    0.000000] Partition (from atag) usd -- Offset:11d Size:4
[    0.000000] Partition (from atag) pkg -- Offset:121 Size:2c
[    0.000000] Partition (from atag) boot -- Offset:190 Size:37
[    0.000000] Partition (from atag) system -- Offset:1c7 Size:640
[    0.000000] Partition (from atag) userdata -- Offset:a1d Size:5e2
[    0.000000] Partition (from atag) lgdrm -- Offset:807 Size:16
[    0.000000] Partition (from atag) cache -- Offset:81d Size:200
[    0.000000] Ignoring unrecognised tag 0x54410009
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] allocating 12288 kB at 0xc1100000 (0x11100000 physical) for mdp pmem arena
[    0.000000] allocating  8192 kB at 0xc1d00000 (0x11d00000 physical) for adsp pmem arena
[    0.000000] allocating  1024 kB at 0xb0800000 (0x00800000 physical) for fb0
[    0.000000] allocating  7168 kB at 0xb0100000 (0x00100000 physical) for gpu0
[    0.000000] allocating  8192 kB at 0xc2500000 (0x12500000 physical) for gpu1 pmem arena
[    0.000000] allocating   128 kB at 0xcdfe0000 (0x1dfe0000 physical) for ram_console
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 56896
[    0.000000] Kernel command line: no_console_suspend=1 console=/dev/ttyMSM2
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 224MB = 224MB total
[    0.000000] Memory: 189824k/190112k available, 39264k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
[    0.000000]     vmalloc : 0xce800000 - 0xf0000000   ( 536 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xce000000   ( 224 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .init : 0xc0008000 - 0xc0030000   ( 160 kB)
[    0.000000]       .text : 0xc0030000 - 0xc062f000   (6140 kB)
[    0.000000]       .data : 0xc068a000 - 0xc06dc910   ( 331 kB)
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS:261
[    0.000000] Console: colour dummy device 80x30
[    0.000576] Calibrating delay loop... 525.92 BogoMIPS (lpj=2629632)
[    0.260594] Mount-cache hash table entries: 512
[    0.261636] Initializing cgroup subsys ns
[    0.261693] Initializing cgroup subsys cpuacct
[    0.261726] Initializing cgroup subsys devices
[    0.261753] Initializing cgroup subsys freezer
[    0.261776] Initializing cgroup subsys bfqio
[    0.261838] CPU: Testing write buffer coherency: ok
[    0.269836] NET: Registered protocol family 16
[    0.277233] smem_find(137, 64): wrong size 56
[    0.278553] socinfo_init: v2, id=16, ver=2.0, raw_id=368, raw_ver=3
[    0.278823] [HW] eve_get_hw_rev() HW version is 8
[    0.278851] acpu_clock_init()
[    0.279026] L val: PLL0: 12, PLL1: 40, PLL2: 55
[    0.279054] Turbo mode not supported.
[    0.279161] ACPU running at 528000 KHz
[    0.279191] Id CPU-KHz PLL DIV AHB-KHz ADIV AXI-KHz D0 D1 D2 U0 U1 U2
[    0.279231]  0   19200  -1   1   19200    1   30720 -1 -1 -1  5  6  4
[    0.279268]  1   61440   0   4   61440    1   30720 -1 -1 -1  5  6  4
[    0.279304]  2  122880   0   2   61440    2   61440  1 -1 -1  5  6  7
[    0.279341]  3  128000   1   6   64000    2   61440  1 -1 -1  5  8  7
[    0.279379]  4  176000   2   6   88000    2   61440  1  3 -1  5  8  7
[    0.279416]  5  245760   0   1   81920    3   61440  1  3  4 -1  8  7
[    0.279453]  6  256000   1   3  128000    2  128000  1  3  4 -1  8  7
[    0.279489]  7  352000   2   3   88000    4  128000  2  3  4 -1  8 12
[    0.279528]  8  384000   1   2  128000    3  128000  5  3  4 -1 -1 13
[    0.279564]  9  528000   2   2  132000    4  128000 -1  8  7 -1 -1 17
[    0.279601] 10  556800   2   2  132000    4  128000 -1  8  7 -1 -1 17
[    0.279639] 11  576000   2   2  132000    4  128000 -1  8  7 -1 -1 17
[    0.279676] 12  595200   2   2  132000    4  128000 -1  8  7 -1 -1 17
[    0.279714] 13  614400   2   2  132000    4  128000 -1  8  9 -1 -1 17
[    0.279751] 14  652800   2   2  132000    4  128000 -1 -1  9 -1 -1 17
[    0.279789] 15  672000   2   2  132000    4  128000 -1 -1  9 -1 -1 17
[    0.279826] 16  691200   2   2  132000    4  128000 -1 -1  9 -1 -1 17
[    0.279863] 17  710400   2   2  132000    4  128000 -1 -1  9 -1 -1 -1
[    0.279889] 14 scaling frequencies supported.
[    0.725281] console [debug_console0] enabled
[    0.736769] ram_console: got buffer at 1dfe0000, size 20000
[    0.742794] ram_console: uncorrectable error in header
[    0.748261] ram_console: no valid data in buffer (sig = 0x00800000)
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 2.6.32.9 (pxw@ubuntu910) (gcc version 4.4.0 (GCC) ) #15 PREEMPT Wed Jul 11 18:29:29 CST 2012
[    0.000000] CPU: ARMv6-compatible processor [4117b362] revision 2 (ARMv6TEJ), cr=00c5387f
[    0.000000] CPU: VIPT aliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine: Eve Board (LGE GW650)
[    0.000000] Partition (from atag) usd -- Offset:11d Size:4
[    0.000000] Partition (from atag) pkg -- Offset:121 Size:2c
[    0.000000] Partition (from atag) boot -- Offset:190 Size:37
[    0.000000] Partition (from atag) system -- Offset:1c7 Size:640
[    0.000000] Partition (from atag) userdata -- Offset:a1d Size:5e2
[    0.000000] Partition (from atag) lgdrm -- Offset:807 Size:16
[    0.000000] Partition (from atag) cache -- Offset:81d Size:200
[    0.000000] Ignoring unrecognised tag 0x54410009
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] allocating 12288 kB at 0xc1100000 (0x11100000 physical) for mdp pmem arena
[    0.000000] allocating  8192 kB at 0xc1d00000 (0x11d00000 physical) for adsp pmem arena
[    0.000000] allocating  1024 kB at 0xb0800000 (0x00800000 physical) for fb0
[    0.000000] allocating  7168 kB at 0xb0100000 (0x00100000 physical) for gpu0
[    0.000000] allocating  8192 kB at 0xc2500000 (0x12500000 physical) for gpu1 pmem arena
[    0.000000] allocating   128 kB at 0xcdfe0000 (0x1dfe0000 physical) for ram_console
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 56896
[    0.000000] Kernel command line: no_console_suspend=1 console=/dev/ttyMSM2
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 224MB = 224MB total
[    0.000000] Memory: 189824k/190112k available, 39264k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
[    0.000000]     vmalloc : 0xce800000 - 0xf0000000   ( 536 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xce000000   ( 224 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .init : 0xc0008000 - 0xc0030000   ( 160 kB)
[    0.000000]       .text : 0xc0030000 - 0xc062f000   (6140 kB)
[    0.000000]       .data : 0xc068a000 - 0xc06dc910   ( 331 kB)
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS:261
[    0.000000] Console: colour dummy device 80x30
[    0.000576] Calibrating delay loop... 525.92 BogoMIPS (lpj=2629632)
[    0.260594] Mount-cache hash table entries: 512
[    0.261636] Initializing cgroup subsys ns
[    0.261693] Initializing cgroup subsys cpuacct
[    0.261726] Initializing cgroup subsys devices
[    0.261753] Initializing cgroup subsys freezer
[    0.261776] Initializing cgroup subsys bfqio
[    0.261838] CPU: Testing write buffer coherency: ok
[    0.269836] NET: Registered protocol family 16
[    0.277233] smem_find(137, 64): wrong size 56
[    0.278553] socinfo_init: v2, id=16, ver=2.0, raw_id=368, raw_ver=3
[    0.278823] [HW] eve_get_hw_rev() HW version is 8
[    0.278851] acpu_clock_init()
[    0.279026] L val: PLL0: 12, PLL1: 40, PLL2: 55
[    0.279054] Turbo mode not supported.
[    0.279161] ACPU running at 528000 KHz
[    0.279191] Id CPU-KHz PLL DIV AHB-KHz ADIV AXI-KHz D0 D1 D2 U0 U1 U2
[    0.279231]  0   19200  -1   1   19200    1   30720 -1 -1 -1  5  6  4
[    0.279268]  1   61440   0   4   61440    1   30720 -1 -1 -1  5  6  4
[    0.279304]  2  122880   0   2   61440    2   61440  1 -1 -1  5  6  7
[    0.279341]  3  128000   1   6   64000    2   61440  1 -1 -1  5  8  7
[    0.279379]  4  176000   2   6   88000    2   61440  1  3 -1  5  8  7
[    0.279416]  5  245760   0   1   81920    3   61440  1  3  4 -1  8  7
[    0.279453]  6  256000   1   3  128000    2  128000  1  3  4 -1  8  7
[    0.279489]  7  352000   2   3   88000    4  128000  2  3  4 -1  8 12
[    0.279528]  8  384000   1   2  128000    3  128000  5  3  4 -1 -1 13
[    0.279564]  9  528000   2   2  132000    4  128000 -1  8  7 -1 -1 17
[    0.279601] 10  556800   2   2  132000    4  128000 -1  8  7 -1 -1 17
[    0.279639] 11  576000   2   2  132000    4  128000 -1  8  7 -1 -1 17
[    0.279676] 12  595200   2   2  132000    4  128000 -1  8  7 -1 -1 17
[    0.279714] 13  614400   2   2  132000    4  128000 -1  8  9 -1 -1 17
[    0.279751] 14  652800   2   2  132000    4  128000 -1 -1  9 -1 -1 17
[    0.279789] 15  672000   2   2  132000    4  128000 -1 -1  9 -1 -1 17
[    0.279826] 16  691200   2   2  132000    4  128000 -1 -1  9 -1 -1 17
[    0.279863] 17  710400   2   2  132000    4  128000 -1 -1  9 -1 -1 -1
[    0.279889] 14 scaling frequencies supported.
[    0.725281] console [debug_console0] enabled
[    0.736769] ram_console: got buffer at 1dfe0000, size 20000
[    0.742794] ram_console: uncorrectable error in header
[    0.748261] ram_console: no valid data in buffer (sig = 0x00800000)
[    1.245819] console [ram-1] enabled
[    1.419669] eve_init_accel
[    1.423468] eve_init_i2c_backlight: 0
[    1.429436] eve_init_i2c_amp
[    1.438716] eve_init_touch
[    1.442509] eve_init_prox
[    1.446278] eve_init_i2c_compass
[    1.576153] bio: create slab <bio-0> at 0
[    1.587166] SCSI subsystem initialized
[    1.594023] usbcore: registered new interface driver usbfs
[    1.601719] usbcore: registered new interface driver hub
[    1.608366] usbcore: registered new device driver usb
[    1.618348] i2c-gpio i2c-gpio.1: using pins 23 (SDA) and 33 (SCL)
[    1.626704] i2c-gpio i2c-gpio.2: using pins 85 (SDA) and 84 (SCL)
[    1.636043] i2c-gpio i2c-gpio.3: using pins 61 (SDA) and 60 (SCL)
[    1.644059] i2c-gpio i2c-gpio.4: using pins 17 (SDA) and 27 (SCL)
[    1.652598] i2c-gpio i2c-gpio.5: using pins 41 (SDA) and 42 (SCL)
[    1.660678] i2c-gpio i2c-gpio.6: using pins 89 (SDA) and 90 (SCL, no clock stretching)
[    1.671061] i2c-gpio i2c-gpio.7: using pins 2 (SDA) and 1 (SCL)
[    1.684189] Bluetooth: Core ver 2.15
[    1.689063] NET: Registered protocol family 31
[    1.693999] Bluetooth: HCI device and connection manager initialized
[    1.700814] Bluetooth: HCI socket layer initialized
[    1.707589] Switching to clocksource dg_timer
[    1.730449] NET: Registered protocol family 2
[    1.735828] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
[    1.744326] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[    1.752613] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[    1.759914] TCP: Hash tables configured (established 8192 bind 8192)
[    1.766588] TCP reno registered
[    1.770638] NET: Registered protocol family 1
[    1.775921] Trying to unpack rootfs image as initramfs...
[    1.811231] Freeing initrd memory: 160K
[    1.819626] smem_find(14, 40): wrong size 16424
[    1.824866] Notify: smsm init
[    1.830799] smem_find(15, 40): wrong size 16424
[    1.839128] smem_find(16, 40): wrong size 16424
[    1.847059] smem_find(21, 40): wrong size 16424
[    1.854054] smem_find(22, 40): wrong size 16424
[    1.861996] smem_find(23, 40): wrong size 16424
[    1.872254] smem_find(24, 40): wrong size 16424
[    1.880833] smem_find(25, 40): wrong size 16424
[    1.887173] SMD Packet Port Driver Initialized.
[    1.893633] smem_find(26, 40): wrong size 16424
[    1.901593] smem_find(27, 40): wrong size 16424
[    1.911884] smem_find(31, 40): wrong size 16424
[    1.920736] [adsp.c:adsp_init] rs3000000a -- 0
[    1.928714] smem_find(52, 40): wrong size 16424
[    1.939729] smem_find(53, 40): wrong size 16424
[    1.950359] smem_find(54, 40): wrong size 16424
[    1.957276] [audpp.c:audpp_probe] Number of decoder supported 5
[    1.963749] [audpp.c:audpp_probe] Number of concurrency supported 7
[    1.970468] [audpp.c:audpp_probe] module_name:AUDPLAY0TASK
[    1.976304] [audpp.c:audpp_probe] queueid:13
[    1.980818] [audpp.c:audpp_probe] decid:0
[    1.985321] [audpp.c:audpp_probe] nr_codec_support:10
[    1.990613] [audpp.c:audpp_probe] module_name:AUDPLAY1TASK
[    1.996593] [audpp.c:audpp_probe] queueid:14
[    2.001101] [audpp.c:audpp_probe] decid:1
[    2.005398] [audpp.c:audpp_probe] nr_codec_support:4
[    2.010789] [audpp.c:audpp_probe] module_name:AUDPLAY2TASK
[    2.016559] [audpp.c:audpp_probe] queueid:15
[    2.021254] [audpp.c:audpp_probe] decid:2
[    2.025549] [audpp.c:audpp_probe] nr_codec_support:4
[    2.030939] [audpp.c:audpp_probe] module_name:AUDPLAY3TASK
[    2.036713] [audpp.c:audpp_probe] queueid:16
[    2.041226] [audpp.c:audpp_probe] decid:3
[    2.045716] [audpp.c:audpp_probe] nr_codec_support:4
[    2.050918] [audpp.c:audpp_probe] module_name:AUDPLAY4TASK
[    2.056883] [audpp.c:audpp_probe] queueid:17
[    2.061386] [audpp.c:audpp_probe] decid:4
[    2.065683] [audpp.c:audpp_probe] nr_codec_support:1
[    2.088379] rpcrouter: Server create rejected, version = 0, program = 30000012
[    2.104258] rpcrouter: Server create rejected, version = 0, program = 3000fe00
[    2.128846] rpcrouter: Server create rejected, version = 0, program = 30000066
[    2.143964] RPC_TIME_TOD_SET_APPS_BASES:
[    2.143984]  tick = 141083
[    2.143994]  stamp = 1163284545
[    2.161743] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[    2.206969] eve_amp_ctl_probe()
[    2.234028] ashmem: initialized
[    2.239513] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    2.245994] yaffs built Jul 11 2012 16:26:26 Installing.
[    2.251951] msgmni has been set to 371
[    2.273434] alg: No test for stdrng (krng)
[    2.277966] io scheduler noop registered
[    2.282336] io scheduler deadline registered
[    2.287266] io scheduler cfq registered
[    2.291528] io scheduler bfq registered (default)
[    2.470011] msm_fb_probe:  phy_Addr = 0x800000 virt = 0xcec00000
[    2.478718] MDP HW Base phy_Address = 0xaa200000 virt = 0xcee00000
[    2.487191] primary mddi base phy_addr = 0xaa600000 virt = 0xce81e000
[    3.134676] Console: switching to colour frame buffer device 40x30
[    3.766104] FrameBuffer[0] 320x480 size=614400 bytes is registered successfully!
[    3.766246] load_565rle_image: Can not open /initlogo.rle
[    3.767706] Registered led device: lcd-backlight
[    3.856256] diagfwd initializing ..
[    3.860821] diag opened SMD port ; r = 0
[    3.866293] diagchar initializing ..
[    3.871909] diagchar initialized
[    3.878664] msm_serial: driver initialized
[    3.883779] msm_serial_hs.0: ttyHS0 at MMIO 0xa0200000 (irq = 45) is a MSM HS UART
[    3.894026] msm_serial_hs module loaded
[    3.915119] brd: module loaded
[    3.936014] loop: module loaded
[    3.940018] pmem: Initializing pmem (user-space) as cached
[    3.948376] pmem: Initializing pmem_adsp (user-space) as non-cached
[    3.951059] atcmd_probe:eve_atcmd
[    3.952959] android-vibrator: init
[    3.953204] android-vibrator: vibrator_probe: Done
[    3.955343] input: Slide Hall-ic as /devices/platform/hall-ic/input/input0
[    3.955614] android-hall_ic: hall_ic_probe: Done
[    3.959491] msm_nand_probe: phys addr 0xa0a00000
[    3.959536] msm_nand_probe: dmac 0x7
[    3.959633] msm_nand_probe: allocated dma buffer at ffc0f000, dma_addr 1da30000
[    3.960766] ONFI probe : CRC Check failed on ONFI Parameter data
[    3.960903] status: e00020
[    3.960929] nandid: 5510bcad maker ad device bc
[    3.960954] Found a supported NAND device
[    3.960973] NAND Id  : 0x5510bcad
[    3.960991] Buswidth : 16 Bits
[    3.961006] Density  : 512 MByte
[    3.961019] Pagesize : 2048 Bytes
[    3.961034] Erasesize: 131072 Bytes
[    3.961049] Oobsize  : 64 Bytes
[    3.961064] CFG0 Init  : 0xa85408c0
[    3.961081] CFG1 Init  : 0x0004745e
[    3.961096] ECCBUFCFG  : 0x00000203
[    3.961134] Creating 7 MTD partitions on "msm_nand":
[    3.961171] 0x0000023a0000-0x000002420000 : "usd"
[    4.075373] 0x000002420000-0x0000029a0000 : "pkg"
[    4.078798] 0x000003200000-0x0000038e0000 : "boot"
[    4.082161] 0x0000038e0000-0x0000100e0000 : "system"
[    4.085849] 0x0000143a0000-0x00001ffe0000 : "userdata"
[    4.089334] 0x0000100e0000-0x0000103a0000 : "lgdrm"
[    4.093104] 0x0000103a0000-0x0000143a0000 : "cache"
[    4.097601] PPP generic driver version 2.4.2
[    4.099374] PPP Deflate Compression module registered
[    4.099418] PPP BSD Compression module registered
[    4.102266] PPP MPPE Compression module registered
[    4.102314] NET: Registered protocol family 24
[    4.102411] PPPoL2TP kernel driver, V1.0
[    4.102766] SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256) (6 bit encapsulation enabled).
[    4.102804] CSLIP: code copyright 1989 Regents of the University of California.
[    4.107943] tun: Universal TUN/TAP device driver, 1.6
[    4.107991] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    4.110073] rmnet_init
[    4.117776] msm_otg_probe: rpc_connect(0)
[    4.118579] __msm_rpc_connect: server not found 3000001a:20001
[    4.118639] msm_chg_rpc_connect: connected to rpc vers = 10001
[    4.121481] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.121533] ehci_hcd: block sizes: qh 60 qtd 96 itd 160 sitd 96
[    4.123008] Initializing USB Mass Storage driver...
[    4.123924] usbcore: registered new interface driver usb-storage
[    4.124003] USB Mass Storage support registered.
[    4.126238] peripheral driver registered w/ tranceiver
[    4.126683] state: UNDEFINED
[    4.127574] adb_function_init
[    4.128866] android_probe : serial_number is 1234567890ABCDEF
[    4.131281] init : LGE Android Gadget USB - INIT PID is 618e
[    4.300269] android_usb gadget: using random self ethernet address
[    4.300343] android_usb gadget: using random host ethernet address
[    4.302113] usb0: MAC 62:06:00:cd:36:6f
[    4.302151] usb0: HOST MAC 22:90:34:c8:aa:7d
[    4.308133] diag_function_add
[    4.308318] mass_storage_function_add
[    4.309716] android_usb gadget: Number of LUNs=1
[    4.309778] android_usb gadget: android_usb ready
[    4.309858] msm_hsusb msm_hsusb: registered gadget driver 'android_usb'
[    4.357551] otg_reset: handle missing BSV event
[    4.357623] state: b_idle
[    4.357643] b_sess_vld
[    4.357663] Charging with 0mA current
[    4.357708] msm_hsusb msm_hsusb: msm72k_udc: IDLE -> ONLINE
[    4.432724] qwerty_kbd_irqsetup
[    4.438393] input: eve_qwerty as /devices/platform/eve_qwerty/input/input1
[    4.515954] msm_hsusb msm_hsusb: suspend
[    4.516334] input: synaptics-touch-button as /devices/virtual/input/input2
[    4.529759] synaptics_ts_probe:  client->irq :  84
[    4.530571] synaptics_ts_probe: Start touchscreen synaptics-touch-button in interrupt mode
[    4.540106] input: msm_touchscreen as /devices/platform/msm_touchscreen.0/input/input3
[    4.542783] GPIO Matrix Keypad Driver: Start keypad matrix for eve_keypad in interrupt mode
[    4.544189] input: eve_keypad as /devices/virtual/input/input4
[    4.590551] input: proximity as /devices/virtual/input/input5
[    4.598108] diyu/yong p = 0 disable
[    4.618741] using input dev eve_qwerty for key reset
[    4.624214] msm_hsusb msm_hsusb: reset
[    4.628471] IRQ state: b_peripheral
[    4.632203] otgsc = 8200f20
[    4.635223] portsc = 88000205
[    4.638579] using input dev eve_keypad for key reset
[    4.647001] RTC Registering with rs30000048
[    4.653524] msm_rpc_client_req: RPC call was not successful (3)
[    4.659924] msmrtc_setup_cb: RPC client registration for PROC:12 failed
[    4.667196] msmrtc_probe: Could not initialize RPC callback
[    4.673229] IRQ state: b_peripheral
[    4.676953] otgsc = 8202f20
[    4.679969] portsc = 88000205
[    4.683363] msm_hsusb msm_hsusb: reset
[    4.689778] using rtc device, msm_rtc, for alarms
[    4.694799] msm_rtc: dev (254:0)
[    4.698928] rs30000048 rs30000048.65536: rtc core: registered msm_rtc as rtc0
[    4.707929] msm_rtc_secure: dev (254:1)
[    4.707968] rs30000048 rs30000048.65536: rtc core: registered msm_rtc_secure as rtc1
[    4.708638] i2c /dev entries driver
[    4.709071] msm_hsusb msm_hsusb: PCI intr missedset speed explictly
[    4.719279] input: compass as /devices/virtual/input/input6
[    4.724331] diyu - bma150_probe
[    4.724743] Bosch Sensortec Device detected!
[    4.725608] BMA150/SMB380 registered I2C driver!
[    4.770481] BMA150 device create ok
[    4.770528] Linux video capture interface: v2.00
[    4.772859] mv9319: init
[    4.774123] drivers/media/video/msm/mv9319.c mv9319_probe_init:2500
[    4.777504] Registered led device: flashlight
[    4.778321] msm_batt_init: enter
[    4.778371] __msm_rpc_connect: server not found 3000001a:20002
[    4.811141] msm_batt_get_charger_api_version: num_of_chg_api_versions = 2. The chg api version = 0x00010002
[    4.811263] __msm_rpc_connect: server not found 30000089:20001
[    4.829433] msm_batt_init: Charger/Battery = 0x00010002/0x00010001 (RPC version)
[    4.834379] device-mapper: uevent: version 1.0.3
[    4.835969] device-mapper: ioctl: 4.15.0-ioctl (2009-04-01) initialised: dm-devel@redhat.com
[    4.836148] Bluetooth: HCI UART driver ver 2.2
[    4.836179] Bluetooth: HCI H4 protocol initialized
[    4.836201] Bluetooth: HCI BCSP protocol initialized
[    4.836221] Bluetooth: HCILL protocol initialized
[    4.836241] Bluetooth: HCI_IBS protocol initialized
[    4.836264] Bluetooth: Generic Bluetooth USB driver ver 0.6
[    4.837121] usbcore: registered new interface driver btusb
[    4.837201] Bluetooth: Generic Bluetooth SDIO driver ver 0.1
[    4.837911] Bluetooth: MSM Sleep Mode Driver Ver 1.1
[    4.913706] eve_sdcc_wlan_slot_status: gpio: 0, cd: 0
[    4.914976] mmc0: Qualcomm MSM SDCC at 0x00000000a0400000 irq 24,0 dma 8
[    4.915014] mmc0: 8 bit data mode disabled
[    4.915038] mmc0: 4 bit data mode enabled
[    4.915054] mmc0: polling status mode disabled
[    4.915078] mmc0: MMC clock 144000 -> 49152000 Hz, PCLK 64000000 Hz
[    4.915098] mmc0: Slot eject status = 1
[    4.915116] mmc0: Power save feature enable = 1
[    4.915141] mmc0: DM non-cached buffer at ffc13000, dma_addr 0x1da7e000
[    4.915166] mmc0: DM cmd busaddr 0x1da7e000, cmdptr busaddr 0x1da7e300
[    4.917576] msm_sdcc_setup_power(devid = 2, vdd = 0), vreg_sts = 0
[    4.917791] mmc1: Qualcomm MSM SDCC at 0x00000000a0500000 irq 26,94 dma 8
[    4.917818] mmc1: 8 bit data mode disabled
[    4.917836] mmc1: 4 bit data mode enabled
[    4.917853] mmc1: polling status mode disabled
[    4.917874] mmc1: MMC clock 144000 -> 49152000 Hz, PCLK 64000000 Hz
[    4.917896] mmc1: Slot eject status = 1
[    4.917914] mmc1: Power save feature enable = 1
[    4.917939] mmc1: DM non-cached buffer at ffc14000, dma_addr 0x1da63000
[    4.917966] mmc1: DM cmd busaddr 0x1da63000, cmdptr busaddr 0x1da63300
[    4.921826] hs_probe :h2w
[    4.923181] hs:0
[    4.927441] usbcore: registered new interface driver hiddev
[    4.928268] usbcore: registered new interface driver usbhid
[    4.928348] usbhid: v2.6:USB HID core driver
[    4.931096] logger: created 64K log 'log_main'
[    4.932168] logger: created 256K log 'log_events'
[    4.933891] logger: created 64K log 'log_radio'
[    4.934994] logger: created 64K log 'log_system'
[    4.936606] Advanced Linux Sound Architecture Driver Version 1.0.21.
[    4.938899] No device for DAI CODEC_DAI
[    4.938939] No device for DAI CPU_DAI
[    4.940111] msm_soc: create pcms
[    4.940696] asoc: CODEC_DAI <-> CPU_DAI mapping ok
[    4.940728] msm_soc: ALSA MSM Mixer Setting
[    4.949859] ALSA device list:
[    4.949906]   #0: msm-audio (MSM-CARD)
[    4.950128] GACT probability NOT on
[    4.950158] Mirror/redirect action on
[    4.950181] u32 classifier
[    4.950194]     Actions configured
[    4.950223] Netfilter messages via NETLINK v0.30.
[    4.950474] nf_conntrack version 0.5.0 (2973 buckets, 11892 max)
[    4.951044] CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
[    4.951083] nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or
[    4.951109] sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
[    4.951418] ctnetlink v0.93: registering with nfnetlink.
[    4.951834] xt_time: kernel timezone is -0000
[    4.951974] IPv4 over IPv4 tunneling driver
[    4.956639] msm_sdcc_setup_gpio(devid = 2, enable = 1)
[    4.956861] msm_sdcc_setup_power(devid = 2, vdd = 18), vreg_sts = 0
[    4.958596] ip_tables: (C) 2000-2006 Netfilter Core Team
[    4.958948] arp_tables: (C) 2002 David S. Miller
[    4.959073] TCP cubic registered
[    4.959114] NET: Registered protocol family 17
[    4.959434] Bridge firewalling registered
[    4.959539] Bluetooth: L2CAP ver 2.14
[    4.959563] Bluetooth: L2CAP socket layer initialized
[    4.959609] Bluetooth: SCO (Voice Link) ver 0.6
[    4.959629] Bluetooth: SCO socket layer initialized
[    4.960101] Bluetooth: RFCOMM TTY layer initialized
[    4.960164] Bluetooth: RFCOMM socket layer initialized
[    4.960194] Bluetooth: RFCOMM ver 1.11
[    4.960219] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    4.960243] Bluetooth: BNEP filters: protocol multicast
[    4.960271] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    4.961179] lib80211: common routines for IEEE802.11 drivers
[    4.961234] lib80211_crypt: registered algorithm 'NULL'
[    4.961266] lib80211_crypt: registered algorithm 'WEP'
[    4.961293] lib80211_crypt: registered algorithm 'CCMP'
[    4.961318] lib80211_crypt: registered algorithm 'TKIP'
[    4.965661] clock_late_init() disabled 17 unused clocks
[    4.968784] input: 7k_handset as /devices/virtual/input/input7
[    5.345461] msm_sdcc_setup_power(devid = 2, vdd = 18), vreg_sts = 4
[    5.346054] using input dev 7k_handset for key reset
[    5.346101] hs_rpc_init: failed to initialize rpc client, try server...
[    5.348263] msm_pm_init: initialize hidden reset magic_1 [0 -> 0x0]
[    5.348298] msm_pm_init: initialize hidden reset magic_2 [0 -> 0x0]
[    5.348499] eve_wifi_init: start
[    5.390241] msm_sdcc_setup_power(devid = 2, vdd = 18), vreg_sts = 4
[    5.392359] msm_sdcc_setup_power(devid = 2, vdd = 18), vreg_sts = 4
[    5.392881] msmrtc_tod_proc_result: 07/12/2012 06:13:42 (03)
[    5.392968] rs30000048 rs30000048.65536: setting system clock to 2012-07-12 06:13:42 UTC (1342073622)
[    5.394203] msm_sdcc_setup_gpio(devid = 2, enable = 0)
[    5.394448] msm_sdcc_setup_power(devid = 2, vdd = 0), vreg_sts = 4
[    5.455076] hs:0
[    5.457319] Freeing init memory: 160K
[    5.461423] Warning: unable to open an initial console.
[    6.087823] init: cannot open '/initlogo.rle'
[    6.221263] msm_hsusb msm_hsusb: suspend
[    6.221389]
[    6.221401] Charger Type: STD DOWNSTREAM PORT
[    6.223099] Charging with 0mA current
[    6.360774] msm_hsusb msm_hsusb: reset
[    6.363018] IRQ state: b_peripheral
[    6.363083] otgsc = 8200f20
[    6.363114] portsc = 88000a05
[    6.404379] msm_hsusb msm_hsusb: reset
[    6.406621] IRQ state: b_peripheral
[    6.406684] otgsc = 8200f20
[    6.406718] portsc = 88000a05
[    6.800949] Charging with 0mA current
[    6.938943] android_usb gadget: high speed config #1: android
[    6.940026] diag: USB connected
[    6.944004] Charging with 500mA current
[    8.011258] yaffs: dev is 32505859 name is "mtdblock3" rw
[    8.017476] yaffs: passed flags ""
[    8.021394] yaffs: Attempting MTD mount of 31.3,"mtdblock3"
[    8.292236] yaffs: restored from checkpoint
[    8.298314] yaffs_read_super: isCheckpointed 1
[    8.333341] yaffs: dev is 32505860 name is "mtdblock4" rw
[    8.339336] yaffs: passed flags ""
[    8.343334] yaffs: Attempting MTD mount of 31.4,"mtdblock4"
[    8.737378] block 483 is bad
[    8.823656] block 760 is bad
[    8.890776] block 967 is bad
[    8.999773] block 1315 is bad
[   21.875229] yaffs_read_super: isCheckpointed 0
[   21.899248] yaffs: dev is 32505862 name is "mtdblock6" rw
[   21.905716] yaffs: passed flags ""
[   21.909666] yaffs: Attempting MTD mount of 31.6,"mtdblock6"
[   25.432149] yaffs_read_super: isCheckpointed 0
[   25.504049] init: service 'console' requires console
[   25.663508] init: cannot find '/system/etc/install-recovery.sh', disabling 'flash_recovery'
[   25.759474] diag_function_disable
[   25.763868] diag: USB disconnected
[   25.769956] Packet dropped due to bad HDLC coding/CRC errors or partial packet received, packet length = 0
[   25.819233] diag_function_add
[   25.822876] mass_storage_function_add
[   25.859376] android_usb gadget: Number of LUNs=1
[   25.864453] android_usb gadget: adb_function_add
[   25.869568] android_usb gadget: android_usb ready
[   25.874668] msm_hsusb msm_hsusb: registered gadget driver 'android_usb'
[   25.882163] msm_hsusb msm_hsusb: msm72k_udc: IDLE -> ONLINE
[   26.025954] msm_hsusb msm_hsusb: suspend
[   26.059209] Charging with 0mA current
[   26.135776] msm_hsusb msm_hsusb: reset
[   26.139808] IRQ state: b_peripheral
[   26.143646] otgsc = 8202f20
[   26.146618] portsc = 88000205
[   26.149938] Charging with 0mA current
[   26.177034] msm_hsusb msm_hsusb: reset
[   26.181261] IRQ state: b_peripheral
[   26.184948] otgsc = 8202f20
[   26.187931] portsc = 88000205
[   26.191429] Charging with 0mA current
[   26.418758] warning: `rild' uses 32-bit capabilities (legacy support in use)
[   28.084728] msm_hsusb msm_hsusb: suspend
[   28.088991] Charging with 0mA current
[   28.224863] msm_hsusb msm_hsusb: reset
[   28.229051] IRQ state: b_peripheral
[   28.232736] otgsc = 8202f20
[   28.235709] portsc = 88000205
[   28.238964] Charging with 0mA current
[   28.268169] msm_hsusb msm_hsusb: reset
[   28.272213] IRQ state: b_peripheral
[   28.275894] otgsc = 8200f20
[   28.279019] portsc = 88000205
[   28.282369] Charging with 0mA current
[   28.570419] [snd.c:snd_ioctl] snd_set_volume 0 0 5
[   28.582673] [snd.c:snd_ioctl] snd_set_volume 6 0 5
[   28.593114] [snd.c:snd_ioctl] snd_set_volume 12 0 5
[   28.603783] [snd.c:snd_ioctl] snd_set_volume 3 0 5
[   28.611666] [snd.c:snd_ioctl] snd_set_volume 9 0 5
[   28.662264] [snd.c:snd_ioctl] snd_set_device 6 1 1
[   28.668861] snd_set_device - not fm radio
[   28.680381] [snd.c:snd_ioctl] snd_set_volume 25 0 5
[   28.774356] android_usb gadget: high speed config #1: android
[   28.780806] diag: USB connected
[   28.842711] Charging with 500mA current
[   32.567696] request_suspend_state: wakeup (3->0) at 31595231745 (2012-07-12 06:14:09.674710032 UTC)
[   32.603308] init: untracked pid 1276 exited
[   33.782941] [snd.c:snd_ioctl] snd_set_volume 0 0 5
[   33.803069] [snd.c:snd_ioctl] snd_set_volume 6 0 5
[   33.809958] [snd.c:snd_ioctl] snd_set_volume 12 0 5
[   33.824114] [snd.c:snd_ioctl] snd_set_volume 3 0 5
[   33.834089] [snd.c:snd_ioctl] snd_set_volume 9 0 5
[   33.861489] [snd.c:snd_ioctl] snd_set_device 6 1 1
[   33.867591] snd_set_device - not fm radio
[   33.874651] [snd.c:snd_ioctl] snd_set_volume 25 0 5
[   35.413959] request_suspend_state: wakeup (0->0) at 34441490076 (2012-07-12 06:14:12.520966696 UTC)
[   35.453173] init: untracked pid 1348 exited

6,开启了一个新的大门,将要进入一个新的世界。这只是一个很小的开始。

###########################################################################
[1]成功访问硬件串口。
http://forum.xda-developers.com/showthread.php?t=585784&page=63
http://maldn.blogspot.com/2010/07/access-serial-port-of-your-lg-gw620.html

[2]成功在内核中开启硬件串口。
http://maldn.blogspot.com/2010/08/got-2632-booting.html
http://forum.xda-developers.com/showpost.php?p=7194253&postcount=1312

[3]LG GW620 Development/Kernel hacking
http://forum.xda-developers.com/showthread.php?t=585784

[4]手机的详细资料
http://cyanogenroms.com/wp-content/uploads/metainfo/repo/gw620/manuals/LG_GW620_schematics.rar

[5]CM中gw620
http://cyanogenroms.com/gw_620/
http://cyanogenroms.com/wp-content/uploads/metainfo/repo/gw620/

[6]openetna
http://openetna.com/openetna/
http://code.google.com/p/openetna/

[7]openeve
http://code.google.com/p/openeve/


                                                                                            


评分

参与人数 1威望 +5 黑币 +5 收起 理由
absflash + 5 + 5 绝世好帖!

查看全部评分

分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 分享分享 分享淘帖 顶 踩
回复

使用道具 举报

沙发
absflash 发表于 2015-7-5 08:56 | 只看该作者
想必朋友接触过蓝牙串口调试助手,我想让串口调试助手收到某一标识后  触发手机震动或声音,
说白了就是想修改串口调试软件源码让其能控制手机震动或声音,,不知是否可行,,本人只懂一点单片机c语言,水平聊聊,,希望高人指教,谢谢
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|51黑电子论坛 |51黑电子论坛6群 QQ 管理员QQ:125739409;技术交流QQ群281945664

Powered by 单片机教程网

快速回复 返回顶部 返回列表