自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(67)
  • 资源 (2)
  • 收藏
  • 关注

转载 WPS:一键加密

如果没有有效的安全加密设置,自己的局域网很可能在无意间就变成了公共网络。但是,面对WEP、WPA、WPA2等加密技术,用户往往觉得无线安全设置太麻烦,甚至感到那是高深莫测的事情。正是考虑到普通用户对无线安全设置的困惑,Wi-Fi联盟(Wi-Fi联盟是一家非营利性的全球行业协会,拥有275家成员企业,致力于共同推动无线局域网产业的发展)于2006年末推出了名为WPS的认证程序,那么,什么是wps呢?

2013-04-26 10:03:02 1898

原创 atheros wifi new version port

1. scan result info format is not align with the above framwork.#ifdef ANDROIDret = os_snprintf(pos, end - pos, "====\n");if (ret = end - pos)return 0;pos += ret;#endif2.ioctl(drv->g

2013-04-25 14:17:00 1195

转载 android流量统计的小结

android流量统计的小结Posted on 2012.04.27 by onlinedj最近在开发双卡过程中,发现流量统计功能无法使用。经过调查,发现是我们kernel的问题:1. kernel版本低(3.0.0),android版本新,导致上层发出的请求,kernel没有对 应的实现。解决: 下载了官方的代码(3.0.28),把相应的实现替换进来就可以

2013-03-29 14:39:48 1634

转载 vim TAB and multi-line

1、显示 TAB 键文件中有 TAB 键的时候,你是看不见的。要把它显示出来::set list现在 TAB 键显示为 ^I,而 $显示在每行的结尾,以便你能找到可能会被你忽略的空白字符在哪里。 这样做的一个缺点是在有很多 TAB 的时候看起来很丑。如果你使用一个有颜色的终端,或者使用 GUI 模式,Vim 可以用高亮显示空格和TAB。 使用 ‘listchars’ 选项:

2013-03-12 16:33:49 810

转载 shell script learn

之前写测试程序使用脚本引发了兴趣,结合具体案例,检验学习成果。终于看懂了一个稍微复杂的shell脚本。里面还是有很多技巧性的东西存在。声明的变量名,BLUETOOTH_SLEEP_PATH没有用到[html] view plaincopyBLUETOOTH_SLEEP_PATH=/proc/bluetooth/sleep/proto  L

2013-03-08 10:21:48 628

转载 couldn't find import for class android.net.ethernet.EthernetDevInfo

android 添加系统service的关键一步  2010-11-09 11:39:43|  分类: Android|字号 订阅本想打算直接将android-x86的有线网服务直接移植过来arm版本的android-froyo上,按照从http://code.google.com/p/android-x86/downloads/detail?name=

2013-02-05 15:28:39 2470 2

原创 emacs cscope

cscope -Rbkq这个命令会生成三个文件:cscope.out, cscope.in.out, cscope.po.out。其中cscope.out是基本的符号索引,后两个文件是使用”-q”选项生成的,可以加快cscope的索引速度。上面所用到的命令参数,含义如下:-R: 在生成索引文件时,搜索子目录树中的代码-b: 只生成索引文件,不进入cscope

2013-01-06 16:14:38 533

转载 i.MX6 Gigabit Ethernet

We’ve recently been doing some digging into Gigabit Ethernet performance issues and questions for our i.MX6 boards and it’s time to publish some of our results. We’ve discovered a number of settings

2012-12-24 10:17:59 1579

转载 vim Ctags技巧

如何在Vim中使用ctags?之前在《把Vim打造成真正的IDE》系列里已经讲过大致的ctags在vim中的使用,这篇文章我们就详细的讲一下。ctags(1)到http://ctags.sourceforge.net/下载ctags源码ctags-5.6.tar.gzhttp://prdownloads.sourceforge.net/ctags/ctags-5.6.tar.gz

2012-12-13 13:13:32 506

原创 wifi display

code logic:1.frameworks/base/services/java/com/android/server/displaypersist.debug.wfd.enable   DisplayManagerService.javaOne peer invites the other will call requestPeers function. It wil

2012-12-10 14:05:26 1671

转载 Android 4.2 Feature Highlight: So, What Is This Miracast Thing And How Does It Work, Anyway?

Android 4.2 is out now and it brings a bunch of new goodies. Multiple users on a tablet, photospheres, and gesture typing are all pretty neat. What about this Miracast thing, though? If you're part

2012-12-07 17:26:32 822

转载 emacs + etags

使用emacs的etags阅读源代码Tue, 2009-10-20 01:53 — liuguangzhao在阅读代码的时候,经常需要在文件间,函数间跳转,跳转到某个函数,某个变量,这时候可以使用ctags方式实现这个功能.emacs自带一个叫etags的工具程序,用来生成一个给emacs用的TAGS索引文件,在emacs中实现函数文件间

2012-12-05 11:14:46 1125

原创 android sqlite3

数据库地址:/data/data/com.android.providers.*#sqlite3 *.db#.tables---查表#select * from table

2012-11-16 14:41:47 282

原创 Android.mk如何判断文件是否存在

举例说明如下:  $(hide) for GENERATED_MODULE_FILE in `find $(ATH_ANDROID_SRC_BASE)/compat/ \                    -name compat.ko 2> /dev/null`; do \        $(ACP) $(GENERATED_MODULE_FILE) $(TARGET_O

2012-11-13 09:22:20 3824

转载 ubuntu 小键盘用不了的解决方法

用过Ubuntu的人都会发现,Ubuntu开机的时候,小键盘不会自动开启,输入密码的时候需要我们手动开启小键盘,虽然这不是什么大问题,或者根本就不是什么问题,但多多少少给刚使用Linux的人一点不适应。我从Ubuntu 8.04就开始使用Ubuntu了,一直没去管这个细节。昨天闲来无事,就把这个不是问题的问题解决了。下面是方法,非常简单,无需命令知识,只需你会复制粘贴就OK:1,首先,需要

2012-11-08 10:58:56 1894

原创 emacs+ecb

1.cedet   下载cedet: http://cedet.sourceforge.net/按照INSTALL安装就行,然后设置.emacs。INSTALL里有一段关于设置的,粘贴过来即可,另外最好在.emacs中设一个speedbar的快捷键:(global-set-key [(f4)] 'speedbar-get-focus)这样按一个F4,speedbar就出来了。再

2012-11-07 14:51:12 427

转载 教你用电脑从 Google Play 下载 Android 程序 apk 文件

APKDownloader 是一款帮助你用电脑从 GooglePlay (原 Android Market ) 下载 Android 应用程序 apk 文件的 Chrome 扩展。@AppinnIvan 同学在 Group讨论组 里推荐了一个用电脑从 Google Play 里下载 Android 程序的方法,可以直接下载到 apk 文件。Google Play 有着著名的另类制度,比

2012-10-25 16:22:03 1383

转载 vold and init

android4.1section.1int Volume::mountVol() { dev_t deviceNodes[4]; int n, i, rc = 0; char errmsg[255]; const char* externalStorage = getenv("EXTERNAL_STORAGE");\\-----mnt/sdcard bool primarySto

2012-10-24 13:01:44 577

转载 Linux下Liberats SDIO wifi驱动分析

当内核检测到SDIO设备,开始执行if_sdio_probe:整体流程:    1.lbs_add_card的时候指定并打开线程priv->main_thread = kthread_run(lbs_thread, dev, "lbs_main");    2.在线程lbs_thread中处理cmd/packet/event。其中cmd/packet通过调用priv->hw_hos

2012-10-13 21:06:47 630

转载 Can you explain the ICMP ping test?

As for the first part of your question, whether the continuous ping test affects bandwidth, data flow, etc. depends on the following: A. The size of the ping packet;B. The frequency with which

2012-10-11 14:42:58 505

转载 android permission

. 文件(夹)读写权限 init.rc 中建立test1 test2 test3 文件夹mkdir /data/misc/test1 0770 root root   mkdir /data/misc/test2 0770 wifi wifimkdir /data/misc/test3 0770 system misc 其中test1

2012-08-21 16:10:07 323

转载 emacs常用命令

1.cedet   下载cedet: http://cedet.sourceforge.net/按照INSTALL安装就行,然后设置.emacs。INSTALL里有一段关于设置的,粘贴过来即可,另外最好在.emacs中设一个speedbar的快捷键:(global-set-key [(f4)] 'speedbar-get-focus)这样按一个F4,speedbar就出来了。再

2012-08-09 17:22:57 414

转载 gtags emmacs

看看Tutorial(指导)中的Overview就知道,通过gtags能够建立软件工程项目。这就说明,Emacs+gtags的组合,就可以是能够创建工程项目的编辑软件了。(基本等于sourceinsight,如果在加上cedet和ecb就更完美了)GNU GLOBAL is a source code tagging system that works the same way a

2012-08-09 17:20:55 912

原创 good guys's web

http://jinguo.iteye.com/category/98414http://hi.baidu.com/%D3%B0%D7%D3%B9%FA%B6%C8/blog

2012-07-24 20:42:04 608

转载 emacs dired模式

http://www.ibm.com/developerworks/cn/education/aix/au-emacs5/section2.html进入 Dired 模式的方法很简单,只要键入 ``ESC-x dired''即可。此时的 minibuffer 会显示出如下的文字:Dired (directory):``:'' 之後是目前所在的目录,此时可以修改目录名。确定所要

2012-07-20 14:00:48 1582

原创 how to debug native crash

Just share some debug method for native crash, it’s a very quickway to find out which line cause the crash in logcat, Generally, if some native service crash, we found crash log inlogcat like th

2012-07-20 11:34:00 2252

原创 how to convert UTC to local time

To convert UTC to local time, follow these steps:Determine your local time offset from UTC time. To do this, follow these steps on a Microsoft Windows-based computer:Click Start, click Run,

2012-07-19 10:01:43 1021

转载 Android 网络时间

Android的网络时间同步与SNTP协议无关,甚至与TCP/IP协议也毫无关系。       从设置的应用程序中可以了解到,自动同步网络时间的选项只是修改了Settings.System.AUTO_TIME这个设置: private void setAutoState(boolean isEnabled, boolean autotimeStatus) {       if (i

2012-07-16 13:53:10 535

原创 emacs often used commands

移动光标C-v : 向前翻页M-v : 向后翻页M-r : 将光标移动到屏幕中间那行C-a : 移到行首M-a : 移到句首,从行首到句首之间可能有空格C-e : 移到行尾M-e : 移到句尾M-{ : 向上移动一段M-} : 向下移动一段C-right : 向前移动一个单词C-left : 向后移动一个单词C-up : 向前移动一段C-down

2012-06-12 10:13:55 336

转载 enable_irq_wake

Enter your search termsSubmit search formWeblkml.orgFromKevin Hilman SubjectRe: [PATCH 1/3] ARM: omap2+: set IRQCHIP_SKIP_SET_WAKE for INTC interrupts.DateThu, 26 A

2012-06-02 17:38:52 1241

转载 Android中如何查看内存(上)

像Linux这种现代操作系统的内存使用是很复杂的,因此很难准确的知道你的应用程序使用了好多内存。查看内存使用的方式有很多种,但是各个方式查看到的结果可能会有微略不同。方式一,Running services通过手机上Running services的Activity查看,可以通过Setting->Applications->Running services进。关于Running s

2012-06-01 14:56:59 524

转载 Android内存之VSS/RSS/PSS/USS

TermsVSS - Virtual Set Size 虚拟耗用内存(包含共享库占用的内存)RSS - Resident Set Size 实际使用物理内存(包含共享库占用的内存)PSS - Proportional Set Size 实际使用的物理内存(比例分配共享库占用的内存)USS - Unique Set Size 进程独自占用的物理内存(不包含共享库占用的内存)一

2012-06-01 14:55:04 411

转载 How 802.11 Wireless Works

How 802.11 Wireless Works93 out of 108 rated this helpful - Rate this topicUpdated: March 28, 2003Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, W

2012-06-01 11:21:09 514

原创 bat and shell script tips

How to write .bat .sh script? this paper will keep track it.Often used .bat command:start /MIN http://www.kkpan.com

2012-05-30 10:31:08 301

原创 ctags+cscope in common use

1.TlistToggle-----display tag list2.ctrl+】jump to defination. ctrl+t return3. cscope -Rbkq

2012-05-29 17:26:28 235

原创 refer to this to understand networkatrribute

http://stackoverflow.com/questions/9510279/manually-starting-3g-connection-in-android-and-keeping-it-o

2012-05-25 11:32:27 287

原创 tasklet

Linux的中断处理框架大体为:入口点-->driver安装的中断处理函数-->退出点通常说Linux下的中断处理分为top和bottom两部分,top部分中断是关闭的,因此一般在这里的代码都会以迅雷不及掩耳盗铃之势做完该做的事,然后打开中断以防止可能的中断丢失。因为要迅雷不及掩耳盗铃,所以大部分耗时的任务交给了bottom部分去处理。bottom阶段中断是打开的,所以有可能被其他中断到来时所

2012-05-23 15:08:53 367

转载 mmc driver

内核版本(2.6.36)首先说一下Linux相关MMC的代码分布,主要有两个目录,一个头文件目录和一个源代码目录。分别位置如下:include/linux/mmcdrivers/mmc要阅读MMC相关代码就必须要看这两个目录。在drivers/mmc目录下分别有三个子目录,其将对应接下来要讲的MMC的体系结构。这三个子目录分别为:cardcorehost它们的内

2012-05-18 21:22:43 456

转载 vold study

本文简要介绍Android Gingerbread中Vold的启动过程。根据网上的资料和code改写了一下。1       Vold     Vold的全称是volume daemon。主要负责系统对大容量存储设备(USB/SD)的挂载/卸载任务,它是一个守护进程,该进程支持这些存储外设的热插拔。自Android 2.2开始,Vold升级为vold 2.0,之前的配置文件路径在sy

2012-05-15 12:51:28 524

转载 How to Buy a Wireless Router

Wireless routers are the starring players in a home or small business network, yet they often cause great frustration for home users, business users, and anyone who is not a wireless networking guru.

2012-05-07 16:09:37 585

Wi-Fi Display Specification

开发android平台wifi display的必备技术文档。

2013-03-29

Ti OMAP4 android4.0 datasheet

Ti OMAP4 android4.0 datasheet. Very powerful.

2013-03-29

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除